/*!
Theme Name: pozvonok
Theme URI: http://underscores.me/
Author: Alexey Sholomitski
Author URI: https://sholex.by
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pozvonok

*/

/******FONT FACE******
**********************/

/*@font-face {
    font-family: 'BritannicBoldRegular';
    src: url(https://pozvonochnik.guru/wp-content/themes/pozvonok/fonts/BritannicBoldRegular/BritannicBold.otf);
}
@font-face {
    font-family: 'BritannicBoldRegular';
    src: url(fonts/BritannicBoldRegular/BritannicBold.svg);
}
@font-face {
    font-family: 'BritannicBoldRegular';
    src: url(fonts/BritannicBoldRegular/BritannicBold.ttf);
}
@font-face {
    font-family: 'BritannicBoldRegular';
    src: url(fonts/BritannicBoldRegular/BritannicBold.woff);
}
@font-face {
    font-family: 'BritannicBoldRegular';
    src: url(fonts/BritannicBoldRegular/BritannicBold.eot);
}*/

/*
@font-face {
    font-family: 'CalibriBold';
    src: url(fonts/Calibri/CalibriBold/Calibri-Bold.svg);
}
@font-face {
    font-family: 'CalibriBold';
    src: url(fonts/Calibri/CalibriBold/Calibri-Bold.ttf);
}
@font-face {
    font-family: 'CalibriBold';
    src: url(fonts/Calibri/CalibriBold/Calibri-Bold.woff);
}
@font-face {
    font-family: 'CalibriBold';
    src: url(fonts/Calibri/CalibriBold/Calibri-Bold.eot);
}

@font-face {
    font-family: 'CalibriRegular';
    src: url(fonts/Calibri/CalibriRegular/Calibri.svg);
}
@font-face {
    font-family: 'CalibriRegular';
    src: url(fonts/Calibri/CalibriRegular/Calibri.ttf);
}
@font-face {
    font-family: 'CalibriRegular';
    src: url(fonts/Calibri/CalibriRegular/Calibri.woff);
}
@font-face {
    font-family: 'CalibriRegular';
    src: url(fonts/Calibri/CalibriRegular/Calibri.eot);
}
*/
/****BASE****
*************/
*{
	padding: 0;
	margin: 0;
    -webkite-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  box-sizing:border-box;
}
body{
    font-family: 'PT Sans Narrow', sans-serif;
}
ul li{
    list-style: none;
}
a{
    color: #3e3e3e;
    cursor: pointer; 
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
a:hover{
    /*text-decoration: underline;*/
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
p{
    color: #3e3e3e;
    font-size: 18px;
    font-weight: 400;
}
h1{
    color: #3a93a2;
    font-size: 36px;
    font-weight: 400;
}
h2{
    color: #3e3e3e;
    font-size: 30px;
    font-weight: 400;
}
h3{
    color: #3e3e3e;
    font-size: 24px;
    font-weight: 400;
}
h4{
    color: #3e3e3e;
    font-size: 18px;
    font-weight: 400;
}
h5{
    color: #3e3e3e;
    font-size: 16px;
    font-weight: 400;
}
h6{
    color: #3e3e3e;
    font-size: 14px;
    font-weight: 400;
}

button:focus,
div:focus,
input:focus{
    outline:none;
}
select{-webkit-appearance:none;-moz-appearance:none;appearance:none;}
textarea{resize:none;}

input[type="text"], 
input[type="submit"], 
textarea {
    -webkit-appearance: none;
}


table {
    border-collapse: collapse;
	width: 100%;
	
}

th, td {
    padding: 15px;
    text-align: left;
	border: 1px solid #aaaaaa;
	
}

td{
	
}




/****ELEMENTS****
*****************/
.container{
    margin: 0 auto;
    width: 1170px;
}
.container-sm{
    margin: 0 auto;
    width: 950px;
}
.clear{
    clear: both;
}
.header .mask{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 2;
    background-color: rgba(0,0,0,0.6);
}
.header .show {
    right: 0;
}

.alignright {
    float:right;
    margin: 0 0 0 30px;
}

.alignleft {
    float: left;
    margin: 0 30px 0 0;
}

/****HEADER******
*****************/
.header{
    background: #3a93a2;
}
.header.main-head{
    background: transparent;
    border-bottom: 1px solid #a0c5cc;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.header .logo{
    float: left;
    padding: 10px 0;
}
.header .logo a{
    display: block;
}
.header .logo img{
    margin-right: 10px;
    vertical-align: middle;
}
.header .logo a span{
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: lowercase;
    vertical-align: middle;
}

.header .menu-container{
    float: right;
    padding: 15px 0;
}
.header .menu-container ul{
    display: inline-block;
    margin-right: 180px;
}
.header .menu-container .sub-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    /*background: url(https://pozvonochnik.guru/wp-content/themes/lechenie/img/menu.png) no-repeat 60px 10px;*/
    top: 20px;
    left: -30px;
    z-index: 100;
}
.header .menu-container .sub-menu > li{
    width: 300px;
}
.header .menu-container .sub-menu li a{
    color: #1796a1;
    display: block;
    padding: 13px 25px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.header .menu-container .sub-menu li a:hover{
    background:#c7eef6;
    color: #1796a1;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.header .menu-container .sub-menu li:first-child{
    margin-top: 5px;
}
.header .menu-container .sub-menu li:last-child{
    /*border-bottom: none;*/
    margin-bottom: 5px;
}
.header .menu-container .sub-menu li a:hover:after{
    opacity: 0;
}
.header .menu-container ul li:hover .sub-menu{
    display: block;
}

.header .menu-container ul li{
    display: inline-block;
    position: relative;
}
.header .menu-container ul li a{
    border-bottom: 1px solid transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 12px;
    position: relative;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.header .menu-container ul li a:after{
    bottom: -5px; 
    border-style: solid;
    border-width: 3px 3.5px 0 3.5px;
    border-color: #fff transparent transparent transparent;
    line-height: 0;
    _border-color: #fff #000000 #000000 #000000;
    _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
    content: '';
    display: inline-block;
    left: 0;
    height: 0;
    position: absolute;
    margin:0 auto;
    opacity: 0;
    right: 0;
    width: 0;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.header .menu-container ul li a:hover{
    border-bottom: 1px solid #fff;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.header .menu-container ul li a:hover:after{
    opacity: 1;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.header .menu-container a.login{
    background: rgba(83, 163, 177, 0.6); 
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 40px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.header .menu-container a.login:hover{
    background: rgba(255, 255, 255, 1);
    color: #51a3b1;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.header .open-bars{
    display: none;
}

.header .search-form{
	display:inline-block;
	width:150px;
}
.header .search-form input {
	height: 30px;
}


/****FOOTER******
*****************/
.footer{
    background: #f6f7f7;
}
.footer .copyright{
    float: left;
    padding: 30px 0;
}
.footer .copyright span{
    color: #3a93a2;
    font-size: 16px;
    font-weight: 700;
}
.footer .logo{
    float: right;
    padding: 15px 0;
}
.footer .logo a img{
    vertical-align: middle;
}
.footer .logo a span{
    color: #3a93a2;
    font-size: 16px;
    font-weight: 700;
}

/****MAIN PAGE******
********************/
.main-content .banner{
    background: url(img/main-bg.jpg) no-repeat;
    background-size: cover;
    padding: 90px 0 25px 0;
}
.main-content .banner .container{
    display: table;
}
.main-content .banner .left-side,
.main-content .banner .right-side{
    background: #005f6c;
    display: table-cell;
    padding: 25px 50px;
    position: relative;
    width: 50%;
    vertical-align: middle;
}
.main-content .banner .left-side{
    border-right: 5px solid #327d8b;
}
.main-content .banner .left-side .headline h1{
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.main-content .banner .left-side .headline p{
    color: #fff;
    font-family: 'CalibriRegular';
    font-size: 16px;
    font-weight: 500;
    padding-left: 50px;
    position: relative;
}
.main-content .banner .left-side .headline p:before{
    background:url(img/spine.png) no-repeat;
    bottom: 0;
    content: '';
    display: block;
    height: 56px;
    left: 0;
    position: absolute;
    margin: auto;
    top: 0;
    width: 37px;
}

.main-content .banner .right-side:after{
    bottom: 0;
    border-style: solid;
    border-width: 9px 0 9px 11px;
    border-color: transparent transparent transparent #327d8b;
    line-height: 0;
    _border-color: #000000 #000000 #000000 #327d8b;
    _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
    content: '';
    display: inline-block;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin: auto;
    width: 0;
}
.main-content .banner .right-side .division ul li{
    padding-bottom: 10px;
    position: relative;
}
.main-content .banner .right-side .division ul li:last-child{
    padding-bottom: 0px;
}
.main-content .banner .right-side .division ul li:after{
    background:#fff;
    bottom: 0;
    content: '';
    display: block;
    height: 10px;
    left: 22px;
    position: absolute;
    width: 1px;
}
.main-content .banner .right-side .division ul li:last-child:after{
    content: none;
}
.main-content .banner .right-side .division ul li a{
    display: block;
}
.main-content .banner .right-side .division ul li a .icon-wrap{
    background: transparent;
    border: 2px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
    height: 45px;
    position: relative;
    width: 45px;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .banner .right-side .division ul li a .icon-wrap img{
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    position: absolute;
}
.main-content .banner .right-side .division ul li a .icon-wrap img.visible{
    opacity: 1;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .banner .right-side .division ul li a .icon-wrap img.hover{
    opacity: 0;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .banner .right-side .division ul li a span{
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-left: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}

.main-content .banner .right-side .division ul li a:hover span{
    text-decoration: underline;
}
.main-content .banner .right-side .division ul li a:hover .icon-wrap{
    background: #fff;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .banner .right-side .division ul li a:hover img.visible{
    opacity: 0;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .banner .right-side .division ul li a:hover img.hover{
    opacity: 1;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}


.main-content .categories{
    padding: 25px 0 25px 0;
}
.main-content .categories .category{
    float: left;
    margin: 0 5px;
    width: 300px;
}
.main-content .categories .category p{
    background: #919193;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px;
    position: relative;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.main-content .categories .category p:after{
    bottom: -5px; 
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #919193 transparent transparent transparent;
    line-height: 0;
    _border-color: #919193 #000000 #000000 #000000;
    _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
    content: '';
    display: inline-block;
    left: 35px;
    height: 0;
    position: absolute;
    width: 0;
}
.main-content .categories .category ul li{
    margin: 5px 0;
    padding-left: 10px;
}
.main-content .categories .category ul li a{
    display: block;
}
.main-content .categories .category ul li a .icon-wrap{
    background: #3a93a2;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
    height: 60px;
    position: relative;
    width: 60px;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .categories .category ul li a .icon-wrap img{
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    position: absolute;
}
.main-content .categories .category ul li a span{
    color: #69696a;
    font-size: 16px;
    font-weight: 400;
    margin-left: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}

.main-content .categories .category ul li a:hover{
    text-decoration: none;
}
.main-content .categories .category ul li a:hover .icon-wrap{
    background: #005f6c;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .categories .category ul li a:hover span{
    color: #3a93a2;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}


.main-content .news{
    background: url(img/news-bg.jpg) repeat;
}
.main-content .news span{
    background: #3a93a2;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 30px;
    position: relative;
    text-transform: uppercase;
    width: 370px;
}
.main-content .news span:after{
    bottom: -8px; 
    border-style: solid;
    border-width: 8px 12px 0 12px;
    border-color: #3a93a2 transparent transparent transparent;
    line-height: 0;
    _border-color: #3a93a2 #000000 #000000 #000000;
    _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
    content: '';
    display: inline-block;
    left: 35px;
    height: 0;
    position: absolute;
    width: 0;
}
.main-content .news ul{
    padding: 40px 0 15px 0;
}
.main-content .news ul li{
    float: left;
    margin-right: 20px;
    width: 370px;
}
.main-content .news ul li:nth-child(3){
    margin-right: 0;
}
.main-content .news ul li a .img-wrap{
    height: 240px;
    overflow: hidden;
    width:100%;
}
.main-content .news ul li a .img-wrap img{
    width: 100%;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .news ul li a p{
    color: #69696a;
    font-size: 24px;
    font-weight: 400;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
    height: 70px;
}
.main-content .news ul li a:hover p{
    color: #3a93a2;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}

.main-content .news .more{
    color: #3a93a2;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding-left: 35px;
    position: relative;
    margin: 35px 0;
    text-transform: uppercase;
}
.main-content .news .more:before{
    background:url(img/arrow.png) no-repeat;
    bottom: 0;
    content: '';
    display: block;
    height: 27px;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 27px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.main-content .news .more:hover:before{
    -moz-transform: rotate(90deg); /* Для Firefox */
    -ms-transform: rotate(90deg); /* Для IE */
    -webkit-transform: rotate(90deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(90deg); /* Для Opera */
    transform: rotate(90deg);
}

/****RUBRIKA*********
*********************/
.content{
    padding: 20px 0 0 0;
}
.content #crumbs{
    margin-bottom: 10px;
}
.content #crumbs span{
    color: #afaeae;
    font-size: 16px;
}
.content #crumbs span a{
    color: #7c7b7b;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content #crumbs span a:hover{
    color: #3a93a2;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content #crumbs span a:after{
    content: '\f105';
    display: inline-block;
    font-family: 'FontAwesome';
    margin: 0 5px;
}

.content .content-wrap{
    float: left;
    width: 825px;
}
.content .content-wrap .headline{
    margin-bottom: 10px;
}

.content .related-posts{
    margin-top: 20px;
    padding: 0;
}
.content .related-posts ul{
    margin: 0;
    padding: 0 0 15px 0;
}
.content .related-posts ul li{
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 30px;
    padding: 0;
    width: 370px;
    vertical-align: top;
}
.content .related-posts ul li:before{
    content: none;
}
.content .related-posts ul li:nth-child(2n){
    margin-right: 0;
}
.content .related-posts ul li a .img-wrap{
    height: 240px;
    overflow: hidden;
    width:100%;
}
.content .related-posts ul li a .img-wrap img{
    padding: 0;
    width: 100%;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .related-posts ul li a p{
    color: #69696a;
    font-size: 24px;
    font-weight: 400;
    margin-top: 10px;
    padding: 0;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .related-posts ul li a:hover{
    text-decoration: none;
}
.content .related-posts ul li a:hover p{
    color: #3a93a2;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}


.content .pagination{
    margin-bottom: 50px;
}
.content .pagination ul{
    padding: 0;
}
.content .pagination ul li{
    display: inline-block;
    margin: 0 2.5px;
    padding: 0;
    text-align: center;
}
.content .pagination ul li:before{
    content: none;
}
.content .pagination ul li .page-numbers{
    background: #3a93a2;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
    display: block;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    width: 30px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .pagination ul li .page-numbers.current{
    background: #adb0b0;
}

.content .pagination ul li .page-numbers:hover{
    background: #adb0b0;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .pagination ul li .page-numbers.dots:hover{
    cursor: pointer;
    text-decoration: none;
}

.content .sidebar{
    float: right;
    width: 305px;
}
.content .sidebar span{
    border-bottom: 1px solid #a5a6a6;
    color: #535252;
    display: block;
    font-size: 18px;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.content .sidebar span:before{
    background: #3a93a2;
    bottom: -1px;
    content: '';
    display: block;
    height: 1px;
    position: absolute;
    width: 50px;
}
.content .sidebar span:after{
    background: #fff;
    bottom: -1px;
    content: '';
    display: block;
    height: 1px;
    left: 50px;
    position: absolute;
    width: 2px;
}

.content .sidebar ul{
    margin: 0 0 10px 0;
}
.content .sidebar .cats li{
    display: inline-block;
    margin:5px 0;
    padding: 0;
    width: 49%;
}
.content .sidebar .cats li:before{
    content: '\f105';
    color: #6d6c6c;
    display: inline-block;
    font-family: 'FontAwesome';
    margin: 0 8px 0 0;
}
.content .sidebar .cats li a{
    color: #6d6c6c;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .sidebar .cats li a:hover{
    color: #3a93a2;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}

.content .sidebar .news li{
    padding: 0 0 0 15px;
    position: relative;
    margin-bottom: 25px;
}
.content .sidebar .news li:last-child{
    margin-bottom: 0;
}
.content .sidebar .news li:before{
    bottom: 0;
    content: '\f105';
    color: #3a93a2;
    display: block;
    font-family: 'FontAwesome';
    height: 18px;
    left: 0;
    position: absolute;
    margin: auto;
    top: 0;
}
.content .sidebar .news li a{
    color: #6d6c6c;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .sidebar .news li a:hover{
    color: #3a93a2;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}

.content .sidebar .tags{
    margin: 15px 0 60px 0;
}
.content .sidebar .tags li{
    display: inline-block;
    margin: 0 3px 5px 0;
    padding: 0;
}
.content .sidebar .tags li:before{
    content: none;
}
.content .sidebar .tags li a{
    background: transparent;
    border: 1px solid #949393;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #646464;
    display: block;
    font-size: 18px;
    padding: 6px 25px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .sidebar .tags li a:hover{
    background: #3a93a2;
    border: 1px solid #3a93a2;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}


/****POST*********
******************/

.content .headline .info{
    margin-top: 10px;
}
.content .headline .info span.date,
.content .headline span.tag a{
    color: #979999;
    font-size: 18px;
    font-weight: 400;
}
.content .headline .info span.tag:before{
    content: '|';
    color: #3a93a2;
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
}
.content .headline .info span.tag a{
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content .headline .info span.tag a:hover{
    color: #3a93a2;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}

#toc_container{
    margin: 25px 0;
    /*padding: 20px 27px 13px 27px;*/
}
#toc_container p{
    /*border-bottom: 1px solid #34b8c0;*/
    display: inline-block;
}
#toc_container p.toc_title{
    border-bottom: 1px solid #34b8c0;
    color: #7c7979;
    font-size: 24px;
    padding: 0;
}
#toc_container .toc_list{
    margin-top: 18px;
}
#toc_container ul{
    padding: 0;
}
#toc_container ul li{
    padding: 5px 0;
}
#toc_container ul li a{
    color: #787777;
    font-size: 16px;
    font-weight: 400;
    margin: 15px 0;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
#toc_container ul li a:hover{
    color: #3a93a2;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
#toc_container ul li:before{
    content: none !important;
}
.toc_list ul li{
    margin-left: 35px;
}
#toc_container ul li span.toc_number{
    background: #3a93a2;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    margin-right: 10px;
    min-width: 22px;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    margin-top: 10px;
}
.content img{
    max-width: 100%;
    padding: 10px 0;
    width: auto;
	height: auto;
}
.content p{
    padding: 5px 0;
}
.content ul,
.content ol{
    margin: 10px;
}
.content ol{
    counter-reset:li;
    list-style:none;
}
.content ul li{
    color: #3e3e3e;
    font-size: 18px;
    padding: 5px 0;
}
.content ul li:before{
    content: '\f105';
    color: #3a93a2;
    display: inline-block;
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.content ul li.rw-ui-group-item:before{
    content:unset;
}
.content ul li.rw-ui-group-item > .rw-ui-content-recommendation > .rw-ui-container> .rw-ui-info-container{
    display:none !important;
}
.rw-ui-control.rw-ui-content-recommendations .rw-ui-content-recommendations-title, .rw-ui-control.rw-ui-content-recommendations .rw-ui-group-title, .rw-ui-control.rw-ui-content-recommendations .rw-ui-title {
    display: inline-block !important;
    width: 200px;
}

.content ol li{
    color: #3e3e3e;
    font-size: 18px;
    padding: 5px 0;
}
.content ol li:before {
    background: #3a93a2;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
    content:counter(li);
    counter-increment:li;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    margin-right: 10px;
    min-width: 22px; 
}

.content blockquote > p{
    background: #3a93a2;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    font-size: 22px;
    padding: 15px 55px;
    position: relative;
    margin: 5px 0;
}
.content blockquote > p:before{
    content: '\f10e';
    color: #fff;
    display: block;
    font-family: 'FontAwesome';
    left: 20px;
    position: absolute;
    top: 20px;
}

.content a{
    color: #3a93a2;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content a:hover{
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
.content a:visited{
    color: #9e9f9f;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}

.content .related-posts span{
    border-bottom: 1px solid #a5a6a6;
    color: #535252;
    display: block;
    font-size: 18px;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    margin-bottom: 20px;
    text-transform: uppercase;
    width: 270px;
}
.content .related-posts span:before{
    background: #3a93a2;
    bottom: -1px;
    content: '';
    display: block;
    height: 1px;
    position: absolute;
    width: 50px;
}
.content .related-posts span:after{
    background: #fff;
    bottom: -1px;
    content: '';
    display: block;
    height: 1px;
    left: 50px;
    position: absolute;
    width: 2px;
}

/***FORMS****/
form input{
    border:1px solid #dbd8d8;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 16px;
    height: 45px;
    margin: 5px 0;
    padding: 0 10px;
    width: 100%;
}
form select{
    border:1px solid #dbd8d8;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 16px;
    height: 45px;
    margin: 5px 0;
    padding: 0 10px;
    width: 100%;
}
form textarea{
    border:1px solid #dbd8d8;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 16px;
    margin: 5px 0;
    padding: 10px;
    width: 100%;
}
form input[type="submit"]{
    background: #3a93a2;
    border: 1px solid #3a93a2;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    width: auto;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
form input[type="submit"]:hover{
    background: #2d717d;
    border: 1px solid #2d717d;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
#wpcf7-f2022-p5721-o1 form .vozrast{
    border:1px solid #dbd8d8;
    display: block;
    height: 35px;
    margin: 5px 0;
    width: 87px;
}
#wpcf7-f2022-p5721-o1 form .vozrast input{
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
#wpcf7-f2022-p5721-o1 form .vozrast .minus, 
#wpcf7-f2022-p5721-o1 form .vozrast .plus{
    background: #fff;
    border:none;
    bottom: 0;
    color: #6d6c6c;
    cursor: pointer;
    display: block;
    float: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    left: 0;
    line-height: 13px;
    height: 100%;
    overflow: visible;
    margin: 0;
    text-decoration: none;
    right: 0;
    top: 0;
    vertical-align: text-top;
    width: 25px;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
#wpcf7-f2022-p5721-o1 form .vozrast .minus{
    border-right: 1px solid #dbd8d8;
}
#wpcf7-f2022-p5721-o1 form .vozrast .plus{
    border-left: 1px solid #dbd8d8;
}
#wpcf7-f2022-p5721-o1 form .vozrast .minus:hover, 
#wpcf7-f2022-p5721-o1 form .vozrast .plus:hover{
    background: #dfdada;
    transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
}
#wpcf7-f2022-p5721-o1 form .vozrast input.wpcf7-number{
    background: #fff;
    border:none;
    color: #6d6c6c;
    float: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    height: 100%;
    margin-top: 0;
    text-align: center;
    width: 35px;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type='number'] {
    -moz-appearance: textfield;
}


/******RESPONSIVE STYLES******
******************************/

/*RESPONSIVE ELEMENTS*/
@media (max-width: 1280px){
    .container{
        width: 960px;
    }
}
@media (max-width: 1024px){
    .container,
    .container-sm{
        width: 90%;
    }
    .menu-container ul li.menu-item-has-children span:after {
        content: '\f196';
        color: #4ebec8;
        font-size: 19px;
        font-family: FontAwesome;
        display: block;
        cursor: pointer;
    }
    .menu-container ul li.active_block span:after {
        content: '\f147';
    }
    .menu-container ul li:hover .sub-menu {
        display: none;
        position: inherit;
        left: -15px;
        top: 0;
    }
    .menu-container ul li.menu-item-has-children span {
        position: absolute;
        right: 15px;
        top: 10px;
        width: 25px;
        text-align: center;
        z-index: 2;
    }
    .header .search-form {
        position: absolute;
        top: 15px;
    }
}

/*RESPONSIVE HEADER*/
@media (max-width: 1280px){
    .header .menu-container ul{
        margin-right: 25px;
    }
    .header .menu-container ul li a{
        font-size: 14px;
    }
    .header .menu-container a.login{
        padding: 10px 20px;
    }
}
@media (max-width: 1024px){
    .header .container{
        position: relative;
    }
    .header .menu-container{
        background: #fff;
        -webkit-box-shadow: 0px 5px 15px -10px rgba(0,0,0,0.8);
        -moz-box-shadow: 0px 5px 15px -10px rgba(0,0,0,0.8);
        box-shadow: 0px 5px 15px -10px rgba(0,0,0,0.8);
        display: none;
        height: 100%;
        position: fixed;
        right: 0;
        top: 0;
        padding: 60px 15px 0 15px;
        width: 270px;
        z-index: 3;
    }
    .header .menu-container ul{
        display: block;
        margin: 0;
    }
    .header .menu-container ul li{
        border-bottom: 1px solid #e4e4e4;
        display: block;
    }
    .header .menu-container ul li:last-child{
        border-bottom: none;
    }
    .header .menu-container ul li a{
        border-bottom: none;
        color: #69696a;
        display: block;
        font-size: 16px;
        margin: 0;
        padding: 10px 0;
    }
    .header .menu-container ul li a:hover{
        border-bottom: none;
        color: #3a93a2;
    }
    .header .menu-container ul li a:hover::after{
        opacity: 0;
    }
    .header .menu-container a.login{
        background: #005f6c;
        bottom: 25px;
        position: absolute;
    }
    .header .menu-container a.login:hover{
        background: #005f6c;
        color: #fff;
    }
    .header .open-bars{
        cursor: pointer;
        display: block;
        top: 25px;
        right: 0;
        position: absolute;
        z-index: 2;
        transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    }
    .header .open-bars span{
        display: none;
    }
    .header .open-bars .bar-1,
    .header .open-bars .bar-2,
    .header .open-bars .bar-3{
        width: 20px;
        height: 2px;
        background-color: #fff;
        margin: 5px 0;
        transition: 0.4s;
    }
    .header .close{
        position: fixed;
        top: 25px;
        right: 15px;
        z-index: 4;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
    }
    .header .close span{
        color: #69696a; 
        display: block;
        font-size: 16px;
        font-weight: 400;
        right: 30px;
        text-transform: uppercase;
        top: -2px;
        position: absolute;
    }
    .header .close .bar-1{
        background-color: #69696a;
        -moz-transform: rotate(-45deg) translate(-2px, 3px);
        -ms-transform: rotate(-45deg) translate(-2px, 3px);
        -webkit-transform: rotate(-45deg) translate(-2px, 3px) -o-transform:rotate(-45deg) translate(-2px, 3px);
        transform: rotate(-45deg) translate(-2px, 3px);
    }
    .header .close .bar-2 {
        display: none;
    }
    .header .close .bar-3 {
        background-color: #69696a;
        -moz-transform: rotate(45deg) translate(-1px, -4px);
        -ms-transform: rotate(45deg) translate(-1px, -4px);
        -webkit-transform: rotate(45deg) translate(-1px, -4px) -o-transform:rotate(45deg) translate(-1px, -4px);
        transform: rotate(45deg) translate(-1px, -4px);
    }
}
@media (max-width: 768px){
    .header.main-head{
        background: #005f6c;
        position: relative;
    }
}

/*RESPONSIVE FOOTER*/
@media (max-width: 460px){
    .footer .logo a span{
        display: none;
    }
}

/*Ads Block*/
@media only screen and (min-width: 310px) and (max-width:500px) {
	#adTop {
		height: 100px;
		background: #ffffff;
		left:0;
		position: fixed;
		text-align:center;
		bottom: 0px;
		width:100%;
		z-index:999;
	}
	#adTop .adclose{
		height: 20px;
		width: 20px;
		
		display:inline-block;
	/*	padding: 10px, 15px;*/
		background: #000;
		color: #fff;
		position:absolute;
		
		right: 0px;
		top: -20px;
		
	}
	#adTop .adclose:before{
		color:#fff;
		content:"x";
		display:block;
		position:absolute;
		left:0;
		right:0;
		margin:auto;
		top: -3px;
	}
	#adTop .adclose:hover{
		cursor:pointer;
	}
}


/*RESPONSIVE MAIN PAGE*/
@media (max-width: 1280px){
    .main-content .news span{
        width: 300px;
    }
    .main-content .news ul li{
        margin-right: 15px;
        width: 300px;
    }
    .main-content .news ul li a .img-wrap{
        height: 200px;
    }
}
@media (min-width: 1025px){
    .main-content .news ul li a:hover img{
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
    }
}
@media (max-width: 1024px){
    .main-content .categories .category{
        margin: 0 1%;
        width: 31%;
    }
    .main-content .news span{
        width: 32%;
    }
    .main-content .news ul li{
        margin-right: 1%;
        width: 32%;
    }
    .main-content .news ul li a .img-wrap{
        height: auto;
    }
    .main-content .news ul li a p{
        font-size: 18px;
        margin-top: 0;
        height: 50px;
    }
}
@media (max-width: 768px){
    .main-content .banner{
        padding: 0;
    }
    .main-content .banner .container{
        background: #005f6c;
        width: 100%;
    }
    .main-content .banner .left-side, .main-content .banner .right-side{
        border-right: none;
        display: block;
        padding: 25px 0;
        margin: 0 auto;
        width: 90%;
    }
    .main-content .banner .left-side .headline p{
        padding-left: 0;
    }
    .main-content .banner .left-side .headline p::before{
        content: none;
    }
    .main-content .banner .right-side::after{
        bottom: -9px;
        border-width: 9px 11px 0 11px;
        border-color: #005f6c transparent transparent transparent;
        _border-color: #005f6c #000000 #000000 #000000;
        _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
        right: 0;
        top: auto;
    }
    .main-content .news span{
        width: 50%;
    }
    .main-content .news ul li{
        margin:0 0 25px 0;
        width: 100%;
    }
    .main-content .news ul li a .img-wrap{
        float: left;
        margin-right: 25px;
        width: 50%;
    }
    .main-content .news ul li a p{
        font-size: 24px;
        margin-top: 0;
    }
}
@media (max-width: 700px){
    .main-content .categories .category{
        float: none;
        display: inline-block;
        margin: 0 1% 20px 1%;
        width: 47%;
        vertical-align: top;
    }
}
@media (max-width: 650px){
    .main-content .news span,
    .main-content .news ul li a .img-wrap{
        width: 40%;
    } 
}
@media (max-width: 500px){
    .main-content .news span,
    .main-content .news ul li a .img-wrap{
        width: 100%;
    } 
    .main-content .news ul li a .img-wrap{
        float: none;
        margin: 0;
    }
}
@media (max-width: 460px){
    .main-content .categories .category{
        margin: 0 0 20px 0;
        width: 100%;
    }
}

/*RESPONSIVE RUBRIKA*/
@media (max-width: 1280px){
    .content .content-wrap{
        width: 600px;
    }  
    .content .related-posts ul li{
        width: 280px;
    }
    .content .related-posts ul li a .img-wrap{
        height: 185px;
    }
    .content .related-posts ul li a p{
        margin-top: 0;
    }
}
@media (min-width: 1025px){
    .content .related-posts ul li a:hover img{
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
    }
}
@media (max-width: 1024px){
    .content{
        padding: 35px 0 0 0;
    }
    .content #crumbs{
        margin-bottom: 20px;
    }
    .content .content-wrap .headline{
        margin-bottom: 10px;
    }
    .content .content-wrap{
        width: 100%;
    }
    .content .related-posts ul li{
        margin-right: 2%;
        width: 48%;
    }
    .content .related-posts ul li a .img-wrap{
        height: auto;
    } 
    .content .sidebar{
        display: none;
    }
    .content .pagination{
        text-align: center;
    }
}
@media (max-width: 768px){
    .content .related-posts ul li{
        margin:0 0 25px 0;
        width: 100%;
    }
    .content .related-posts ul li a .img-wrap{
        float: left;
        margin-right: 25px;
        width: 50%;
    }
    .content .related-posts ul li a p{
        font-size: 24px;
        margin-top: 0;
    }
}
@media (max-width: 700px){
    .alignleft,
    .alignright{
        margin: 0;
        width: 100% !important;
    }
}
@media (max-width: 650px){
    .content .related-posts ul li a .img-wrap{
        width: 40%;
    } 
}
@media (max-width: 500px){
    .content .related-posts span{
        width: 100%;
    }
    .content .related-posts ul li a .img-wrap{
        float: none;
        margin: 0;
        width: 100%;
    }
}

/*Custom*/
/*Custom youtube image*/
.rll-youtube-player .play {
    background: url('img/youtube.png') no-repeat !important;
}