/* Add your own custom css to this file. You may wish to use css !important calls to override css from the template css files.
----------------------------------------------------------- */
/*html{
 
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: grayscale(1);
    filter: gray;

}*/
body {
    color: #5F3A3A;
    line-height:170%;
}
p {line-height: 1.4}


/*.item-page {
	padding: 0 57px 0 57px;
	text-align: justify;
  	max-width: 640px
}*/

.blog-featured {
	padding: 0 57px 0 57px;
	text-align: justify;
}

em {color:#5F3A3A;}

.btn, #s5_drop_down_text_inner, legend, label, #s5_breadcrumb_wrap, h1, h2, h3, h4, h5, .s5_mod_h3, .pagenav a, #s5_loginreg, #s5_nav li a, p.readmore a, .readon_highlight1, .readon_highlight2, .uppercase_letters, .highlight1_button, .highlight2_button {
text-transform:none !important;
}
#s5_component_wrap_inner h2, #s5_component_wrap_inner h1 {
font-size:1.4em;
}
#s5_logo_module {
    float: none;
    max-width: 100% !important;
}
#s5_logo_module h1 {
    font-size:23px;
}
#s5_header_area1 {
    background: #fff url(../images/winter.jpg) no-repeat;
    background-position:right bottom;
    background-size: 380px 130px;
    /*filter: brightness(1.1);*/
    -webkit-filter: brightness(1.1);
}
#s5_header_area1 {
    
    padding:12px;
}
#s5_header_wrap {padding:0 12px 0 12px;}
#s5_menu_wrap {
    background: #edc;
    border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
}
#s5_menu_wrap_inner2 {
    margin-left: 11px;
}
.module_round_box_outer {
    margin-left: 11px;
}
#s5_nav li {padding-top:5px;padding-bottom:5px; text-align:center;transition-delay: ease-out 0.9s;
    
    
     transition: box-shadow 0.2s ease-out 0.2s;
}

.width1 {width:220px;}
.width2 {width:200px;}
.width3 {width:180px;}
.width4 {width:140px;}
.width5 {width:130px;}
.width6 {width:160px;}

#s5_nav li .s5_level1_span1 {
    
    padding-left: 10px;
    padding-right: 10px;
}
#s5_nav .mainParentBtn a {background:none;}
#s5_nav .active.mainParentBtn a {background:none;}
#s5_nav li.mainParentBtn .s5_level1_span2 a {
    padding-right: 0px !important;
}
#s5_nav li:hover, #s5_nav li.active:hover, .mainMenuParentBtnFocused {box-shadow: 2px 2px 6px grey;}
#subMenusContainer div.s5_sub_wrap ul {
    -webkit-box-shadow: 2px 2px 6px grey;
	-webkit-box-shadow: 2px 2px 6px grey;
	-webkit-box-shadow: 2px 2px 6px grey;
}
/*
.S5_submenu_item:hover, .S5_grouped_child_item .S5_submenu_item:hover {
    background: #9dc;
}*/
.S5_submenu_item {
	padding:10px;
	display:block;
	border-bottom:solid 1px #aaa
}
/*5_breadcrumb_font_wrap{
  border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
}*/
.article-info {
    
    color: #cb9e78;
    margin: 0px;
}
.pull-left  {
    
    width: 100%;
    
}
.item {
display: block;
padding-bottom:0px;
margin-bottom:0px;
}
#s5_component_wrap p.readmore a {
    margin-top: 16px;
    display: inline-block;
    margin-bottom: 16px;
}
.page-header {
 margin:0 0 10px 0;   
}

.module_round_box_outer ul li a {
    color: #38A793;
    line-height: 140%;
}
.module_round_box_outer {
    margin-bottom: 30px;
   
}
.module_round_box_outer ul li {
    padding-bottom: 10px;
    font-weight:800;
}
#s5_component_wrap_inner {
    padding-left: 12px;
    padding-right: 12px;
}

.mfp-image-holder .mfp-close {
color: white;
right: 0;
text-align: center;
padding-right: 0px;
width: 40px;
}
h1, h2, h3, h4, h5, h6 {
color: #5F3A3A;
}
#s5_component_wrap h2 a {
    color: #38A793 !important;
}
.thumbnail {
    padding: 0px;
    line-height: 20px;
   border: none;/* 1px solid #4badad;*/
    box-shadow: 0 0 0 #fff;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
     margin: 0;
     -webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}
.blog-featured img {    border: 1px solid #4badad;}
.item-page img {    border: none;/*1px solid #4badad;*/}
.tags {display:flex; top:-10px; margin-left:0;}
.tags li {list-style-type:none; padding: 2px;/* margin-bottom:px;*/ }
.label-info[href] {background-color: #38A793;}
.category-name {font-size: 0.7rem;}
a [class^="icon-"], a [class*=" icon-"] {
    display: inline;
    padding-right: 5px;
}
/*
#s5_footer_area1 {background: #3eb38b;}
#s5_footer_module, #s5_footer_module a {color:white !important;}
#s5_center_area1 {padding-top: 0px;}
.item-page p {max-width:640px; text-align:justify;}
.item-page .page-header {max-width:640px;}
.zoomin {margin-right:0 !important;}
#s5_logo_module img{min-width:100px;}
@media screen and (min-width: 980px) {.item-page {padding-left:15%;}}*/
p a[href $='.jpg']:after {
    content:"\f1c5" ;
font-family: 'Font Awesome 5 Free';
padding-left:5px;
}
p a.thumbnail[href $='.jpg']:after {
    content:unset;
font-family: 'Font Awesome 5 Free';
padding-left:5px;
}
a[href $='.xls'], a[href $='.xlsx']:after {
    
    content:"\f1c3" ;
font-family: 'Font Awesome 5 Free';
padding-left:5px;
color:green;

}
a[href $='.pdf']:after {
    
    content:"\f1c1" ;
font-family: 'Font Awesome 5 Free';
padding-left:5px;
color:red;

}
a[href $='.doc']:after, a[href $='.docx']:after, a[href $='.rtf']:after {
  content:"\0020\f1c2\00a0\0020" ;
font-family: 'Font Awesome 5 Free';
color:blue;

}
a[href $='.ppt']:after, a[href $='.pptx']:after {
  content:"\0020\f1c4\00a0\0020" ;
font-family: 'Font Awesome 5 Free';
color:orange;

}
a[href $='.zip']:after, a[href $='.rar']:after {
  content:"\0020\f1c6\00a0\0020" ;
font-family: 'Font Awesome 5 Free';
color:purple;

}
/*#s5_component_wrap a[href^="http"]:not([href*="kurobr.spb.ru"]):before
{
    content:"\f35d" ;
font-family: 'Font Awesome 5 Free';
padding-right:5px;
font-weight: 600;
}*/
.thumbnail[href^="http://"]:not([href*="kurobr.spb.ru"]):before
{
    content:"" ;
    padding:0;

}
a[href^="mailto"]:before
{
    content:"\f0e0" ;
font-family: 'Font Awesome 5 Free';
padding-right:5px;

}
.uk-modal {z-index:1000000;}
.pull-left img {
    margin: 6px 6px 6px 0;
}

.s5_responsive_mobile_present #s5_responsive_mobile_bar_active {
    font-size:17px !important;
}
.s5_responsive_mobile_present #s5_responsive_mobile_drop_down_menu ul li.deeper ul li, .s5_responsive_mobile_present #s5_responsive_mobile_drop_down_menu ul li.deeper ul li a {
    font-size: 18px !important;
    font-weight:300;
    padding: 8px 0 8px 8px;
    
    
}
.current  {background-color:white;}
 #s5_responsive_mobile_drop_down_menu ul li {
    list-style: circle;
    font-size: 18px !important;
    font-weight:700;
    
}
#s5_responsive_mobile_drop_down_menu a {
    font-size: 20px !important;
}
.s5_responsive_mobile_present #s5_responsive_mobile_drop_down_menu {
    width: 85%;}
#s5_footer_area1
{
    background-color:#edc;
    color: #5F3A3A !important;
    padding:0 0 30px 0;
}
#s5_footer_area2
{
    padding:20px 0;
    background-color:#38A793 ;
    color: #fff !important;
}
#s5_footer_menu_wrap {
    color: #fff !important;
}

#s5_footer_menu_wrap a {
    color: #fff !important;
}
#s5_center_area1 {
    padding-top: 0px;
}
#fontControls{float:left;}
#fontControls a{font-size:1.2em; color:#38A793}
#s5_body_padding{margin-top:-26px;}
/*.resetSize, .decreaseSize, .increaseSize {font-size:1.2em; color:#38A793;}*/
.form-inline .element-invisible {display:none}

.pull-right  {max-width: 500px;}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.banneritem {
    margin: 12px 0 0 0;
}

.row-fluid, .row-fluid .span12 {
    margin: 0 0 20px 0;
}

@media screen and (max-width: 970px){
    
body {
    font-size: 0.9em !important;
    }
    #s5_nav li a {
    font-size: 1em;
}

	.blog-featured, .item-page {
	padding: 0 10px 0 10px;
}  
  
#s5_header_wrap {
    padding: 0;
}
#s5_logo_module img{
    
    width:83px;
}
#s5_logo_module h1 {
    font-size:18px;
}
#s5_body_padding{margin-top:0px;}
s5_menu_wrap_inner2 {
    margin-left: 10px;
    margin-right: 10px;
}

}
