/**
 * J!Blank Template for Joomla by JBlank.pro (JBZoo.com)
 *
 * @package    JBlank
 * @author     SmetDenis <admin@jbzoo.com>
 * @copyright  Copyright (c) JBlank.pro
 * @license    http://www.gnu.org/licenses/gpl.html GNU/GPL
 * @link       http://jblank.pro/ JBlank project page
 */
/* just example of css import */

/* just for test repaltive paths
@import url('print.css');
@import url('reset.css');
*/

/****************************************** FRONTEND STYLES ***********************************************************/

/* classic clearfix */
.clearfix {
    display: block;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    height: 1%;
}

html{
	height: 100%;
}
body{
	min-height: 100%;
	margin: 0;
	padding: 0;
}
body{
	background-size: contain;
	font-family: 'MullerLight'!important;
	font-size: 16px!important;
}
.all{
	position: relative;
	min-height: 100vh;
}
.main-content{
    padding-bottom: 50px;
}
.bottom{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}
.latestnews{
	margin-bottom: 150px!important;
}
a{
	color: #3A714E;
}
p{
	text-indent: 10px;
}
div.logo{
	text-align: center;
}
h1.logo{
	margin: 1px;
}
h1.logo a{
	font-size: 25px;
	font-weight: normal;
	cursor: pointer;
	text-shadow: 1px 1px 0 white,
				1px -1px 0 white,
				-1px 1px 0 white,
				-1px -1px 0 white;
	color: #2e8252;
	transition: all 0.5s;
	text-align: center;
  }
h1.logo.bold {
	font-weight: bold;
}
h1.logo a:hover {
    text-shadow: 1px 1px 0 #2e8252,
                 1px -1px 0 #2e8252,
                 -1px 1px 0 #2e8252,
                -1px -1px 0 #2e8252;
    color: white;
	text-decoration: none;
    }
div.logo {
	border-bottom: 1px solid;
	padding: 0 15px;
	box-sizing: border-box;
	-moz-border-image: url(../../../images/line.jpg) 30 round round;
    -webkit-border-image: url(../../../images/line.jpg) 30 round round; 
    -o-border-image: url(../../../images/line.jpg) 30 round round;
    border-image: url(../../../images/line.jpg) 30 round round;	
}
.content, .latestnews {
    border: 1px solid #d2d2d2;
    border: 1px solid rgba(0,0,0,0.1);
    border-bottom-color: rgba(0, 0, 0, 0.1);
	border-bottom-color: #9d9d9d;
	border-bottom-color: rgba(0,0,0,0.25);
	border-radius: 3px;
	background: #f7f7f9;
	background-clip: border-box;
	background-clip: padding-box;
	box-shadow: 0 1px 2px rgba(0,0,0,0.08);
	box-sizing: border-box;
	padding: 15px;
}
.item-page{
	margin-top: 15px;
}

a.wfpopup{
	margin: 5px;
}
.page-header{
	
}

.latestnews .sn-item-inner {
	background: #fff;
}

.article-info.muted dd{
	display: inline-block;
	margin-top: 10px;
	color: #7d7d7d;
	text-shadow: 0 1px 0 rgba(255,255,255,1.0);
	font-size: 14px;
}
dl.article-info.muted{
	padding-bottom:10px;
	background: url(../images/mod_box_header.png) 0 100% repeat-x;
}
/**********************************/
body{ font-family:arial; padding:20px; }

body.alias-home .page-header, 
body.alias-home .blog-featured{
	display:none;
}

.flex{
	display: flex;
	margin: 0 auto; /* выравниваем блок по центру */
	font-size:20px;
}
.flex a:hover{
	text-decoration: none;
}
.flex-item{
	flex-grow:1; /* растягивание элементов */
	margin: 1px;
	display: flex; 
	justify-content: center; 
	align-items: center; /* цифры по центру */
	text-align: center;
	box-sizing: border-box;
	padding: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

.flex-item.it-1{
	background: #f7f7f9;
}
.flex-item.it-2{
	background: #c6c6f9;
}
.flex-item.it-3{
	background: #baeab4;
}
.flex-item.it-4{
	background: #f9d3bd;
}
.flex-item.it-5{
	background: #fff0b6;
}
.flex-item.it-6{
	background: #8ff0cc;
}
.flex-item.it-7{
	background: #f27355;
}


.sideitem{
	/* flex:0 0 150px; */
	flex-basis:150px; /* ширина 150 */
	flex-shrink:0; /* Убираем уменьшение = 150 */				   
	
	display: flex;
	flex-direction: column;
}
.sideitem{ flex-wrap: wrap; } /* разрешаем перенос */
.item{ flex-basis:100%; } /* на всю ширину */
.item:first-child{ margin-right:0; }
}


a.flex-item {
    -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
    -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
    transition: transform ease-out 0.1s, background 0.2s;
	font-family: 'MullerLight';
	transition: all 0.5s;
}
a.flex-item:after {
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}
a.flex-item:hover {
    text-shadow: 1px 1px 0 rgba(0,0,0,1.0);
    -webkit-transform: scale(0.98);
    -moz-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
    font-weight: bold;
	color:#86ce7c;
	border: 1px solid #86ce7c;
}
a.flex-item:hover i {
    color: #fff;
}
a.flex-item:hover:after {
    -webkit-animation: sonarEffect 1.3s ease-out 75ms;
    -moz-animation: sonarEffect 1.3s ease-out 75ms;
    animation: sonarEffect 1.3s ease-out 75ms;
}
@-webkit-keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255, 255, 255, 0.5);
        -webkit-transform: scale(1.5);
        opacity: 0;
    }
}
@-moz-keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255, 255, 255, 0.5);
        -moz-transform: scale(1.5);
        opacity: 0;
    }
}
@keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1.5);
        opacity: 0;
    }
}

#JournalBlock {
    display: block;
    float: left;
    width: 180px;
	text-align: center;
}
#JournalTable .shadow_img {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.6) inset;
    display: inline;
    float: left;
    height: auto;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 17px;
    margin-top: 10px;
    position: relative;
}
#JournalTable .shadow_img img {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-bottom-color: #eee;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-image-outset: 0 0 0 0;
	border-image-repeat: stretch stretch;
	border-image-slice: 100% 100% 100% 100%;
	border-image-source: none;
	border-image-width: 1 1 1 1;
	border-left-color:#eee;
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color:#eee;
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: #eee;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-top-style: solid;
    border-top-width: 1px;
    display: block;
    margin-bottom: 6px;
    margin-left: 6px;
    margin-right: 6px;
    margin-top: 6px;
    z-index: -1;
}

.pagination ul{
	display: flex;
}
.pagination ul li{
	flex-grow:1; /* растягивание элементов */
	margin: 1px;
	display: flex; 
	justify-content: center; 
	text-align: center;
	box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.1);	
}
.pagination ul li a{
	display: block;
	width: 100%;
	height: 18px;
}

.pagination ul li span.pagenav{
	display: block;
	width: 100%;
	height: 18px;
	background: #fff;
}
body #jf_mm_menu.jf_mm_rtl .jf_mm_wrapper h2, body #jf_mm_menu.jf_mm_rtl .jf_mm_wrapper li {

}
#jf_mm_menu ul li a {
	font-family: 'MullerLight'!important;
}
.jf_mm_wrapper .ltr, .jf_mm_wrapper .rtl{
	box-sizing: border-box;
	padding-top: 10px;
}

.logo-img{
	float: left;
	width: 135px;
	height: auto;
}
.image-table{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
.image-table .image-block{
	width: 200px;
	margin: 5px;
}

/**************************************/
/*New menu*/
nav {
  display: table;
  margin: 0 auto;
}
nav ul.topmenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.topmenu:after {
  content: "";
  display: table;
  clear: both;
}
.topmenu > li {
    flex-grow: 1;
    margin: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.1);
	position: relative;
}
.topmenu > li.it-1,
.topmenu > li.it-1 ul.submenu {
	background: #f7f7f9;
}
.topmenu > li.it-2,
.topmenu > li.it-2 ul.submenu{
	background: #c6c6f9;
}
.topmenu > li.it-3,
.topmenu > li.it-3 ul.submenu {
	background: #baeab4;
}
.topmenu > li.it-4,
.topmenu > li.it-4 ul.submenu {
	background: #f9d3bd;
}
.topmenu > li.it-5,
.topmenu > li.it-5 ul.submenu {
	background: #fff0b6;
}
.topmenu > li.it-6,
.topmenu > li.it-6 ul.submenu {
	background: #8ff0cc;
}
.topmenu > li.it-7,
.topmenu > li.it-7 ul.submenu {
	background: #f27355;
}

.topmenu > li > a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  color: #404040;
  padding: 15px 30px;
}
.topmenu li a:hover { color: #D5B45B; }
.submenu-link:after {
  content: "\f107";
  font-family: "FontAwesome";
  color: inherit;
  margin-left: 10px;
}
.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 5;
  width: 180px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: 0 0;
  transition: .5s ease-in-out;
  border: 1px solid rgba(0,0,0,0.1);
}
.submenu a {
	display: block;
	height:100%;
	width: 100%;
	color: #404040;
	text-align: left;
	border-bottom: 1px solid rgba(255,255,255,.1);
	text-align: center;
}
ul.submenu{
	display: block;
	width: 100%;
	padding-left: 0;
}
.submenu li{
	width: 100%;
	text-align: left;
	margin-top: 10px;
	list-style: none;
}
.submenu li:last-child a { border-bottom: none; }
.topmenu > li:hover .submenu{
  opacity: 1;
  transform: scaleY(1);
}
@media (min-width: 975px) and (max-width : 1220px) {
	.topmenu > li > a {
    padding: 15px 20px;
	}
}
@media (min-width: 768px) and (max-width : 974px) {
	.topmenu > li > a {
    padding: 10px 5px;
	font-size: 13px;
	}
}

/***************************************/
/*Форма обратной связи*/
#WJCForm102 input{
	margin-bottom: 10px;
	font-size:16px;
	padding: 5px;
}
#WJCForm102 .informtext{
	margin-bottom: 10px;
}
#WJCForm102 input.title{
	min-width: 320px;
}
#WJCForm102 textarea.customer-comment {
	width: 100%;
	min-height: 150px;
	box-sizing: border-box;
	padding: 10px;
}
#WJCForm102 .modal-footer button{
	width: 160px;
	height: 55px;
}

.jf_mm_menu ul{
	display: block!important;
}