/*   
Theme Name: template
*/

@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/opensans-regular-webfont.eot');
    src: url('fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansbold';
    src: url('fonts/OpenSans-Bold-webfont.eot');
    src: url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansextrabold';
    src: url('fonts/OpenSans-ExtraBold-webfont.eot');
    src: url('fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-ExtraBold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('fonts/OpenSans-Semibold-webfont.eot');
    src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body, div, span, iframe,
h1, h2, h3, h4, p, a, em, img, q, s, samp,
small, sub, sup, b, u, i, center,
dl, dt, dd, ol, ul, li, form, label, legend,
table, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, figure, figcaption,
footer, header, menu, nav, section, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    box-sizing: border-box;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

button, input, textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    display: table;
    line-height: 1;
    overflow-y: scroll;
    overflow-x: hidden; 
    font-family: 'open_sansregular';
    color: black;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:focus {
    outline: none;
}

::-webkit-input-placeholder {color:#303030;}
::-moz-placeholder          {color:#303030;}
:-moz-placeholder           {color:#303030;}
:-ms-input-placeholder      {color:#303030;}


.center_cnt {
	width: 1024px;
	margin: 0 auto;
	padding: 0 32px;
}

a:hover {
    text-decoration: none;
}

h1 {
    color: #303030;
    text-transform: uppercase;
    font-family: 'open_sansextrabold';
    font-size: 36px;
    margin: 30px 0 35px;
    line-height: 52px;
}

h2 {
    color: #303030;
    font-family: 'open_sansextrabold';
    font-size: 30px;
}

h3 {
    color: #303030;
    font-family: 'open_sansextrabold';
    font-size: 20px;
    margin-bottom: 20px;
}



/* header */

header .center_cnt {
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.header_top_line {
	background: #2486df;
}

.header_contacts_btn {
	font-size: 14px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
    font-family: 'open_sansbold';
    padding: 20px 30px;
    display: inline-block;
    background: #246bb1;
    transition: all ease-out 0.2s;
}

.header_contacts_btn:hover {
    background: #1c5792;	
}

.header_phone {
	font-size: 22px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
    font-family: 'open_sansbold';
}

.header_contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;	
}

.socials {
	display: flex;
	flex-wrap: wrap;
    margin-right: 30px;
}

.socials a {
	width: 30px;
	height: 30px;
	background-color: rgba(255,255,255,0.4);
    background-position: center;
    background-repeat: no-repeat;
    transition: all ease-out 0.2s;
}

.socials a:not(:last-child) {
	margin-right: 5px;
}

.socials a:hover {
	background-color: rgba(255,255,255,0.6);	
}

.header_bottom_line {
	padding: 20px 0 25px;
}

.logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-decoration: none;	
}

.logo img {
	margin-right: 25px;
	    width: 90px;
}

.logo_text {
	font-size: 14px;
	text-transform: uppercase;
	color: #202626;
}

.logo_text strong {
	display: block;
	font-size: 18px;
	color: #246bb1;
    font-family: 'open_sansextrabold';
	margin-top: 5px;
}

.header_menu {

}

.header_menu a {
	color: #202626;
	text-decoration: none;
	font-size: 15px;
    font-family: 'open_sanssemibold';
    transition: all ease-out 0.2s;
}

.header_menu a:not(:last-child) {
	margin-right: 15px;
}

.header_menu a:hover {
	color: #246bb1;
}


/* footer */

footer {
    background: #10222e;
    color: white;
    padding: 45px 0 25px;
    min-height: 345px;
}

footer .center_cnt {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.footer_col {
    width: 33.3333%;
}

.copyright {
    position: absolute;
    bottom: 0;
    font-size: 14px;
}

.footer_col_title {
    font-size: 18px;
    font-family: 'open_sansbold';
    margin-bottom: 15px;
}

.footer_menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    line-height: 37px;    
}

.footer_menu a {
    color: white;
}

.footer_menu a:hover {
    text-decoration: none;
}

.footer_address {
    line-height: 24px;
    margin-bottom: 40px;
}

.footer_phone {
    margin-bottom: 65px;
}

.footer_socials a {
    width: 40px;
    height: 40px;
    margin-right: 10px !important;
}



.socials_vk {
    background-image: url(img/VK_Blue_Logo.svg);
	    background-size: 200%;
    background-color: transparent !important;
}
.socials_fb {
    background-image: url(img/fb_ico.png);
}
.socials_od {
    background-image: url(img/od_ico.png);
}
.socials_yt {
    background-image: url(img/yt_ico.png);
}


/* main page */

.main_directions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

.single_direction {
    width: 33.33333%;
    height: 330px;
    background-color: #e7e7e7;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    color: white; 
}

.single_direction:before {
    content: '';
    background: rgba(40, 40, 40, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.single_direction_cnt {
    z-index: 1;
    position: relative;
    margin: 85px 0 40px;
    transition: all ease-out 0.2s;
}

.single_direction:hover .single_direction_cnt {
    margin-top: 50px;
}

.direction_name {
    font-family: 'open_sansextrabold';
    text-transform: uppercase;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    margin-top: 40px;
}

.direction_name:before {
    content: '';
    background: #2486df;
    width: 30px;
    height: 3px;
    position: absolute;
    left: 50%;
    margin-left: -15px;
    top: -20px;
}

.direction_link {
    z-index: 1;
    position: relative;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
    width: 140px;
    background: #2486df;
    font-size: 14px;
    font-family: 'open_sanssemibold';
    padding: 13px 0;
    opacity: 0;
    transition: all ease-out 0.2s;
}

.direction_link:hover {
    background: #246bb1;
}

.single_direction:hover .direction_link {
    opacity: 1;
}

.report_us_direction {
    background-image: url(img/report_bg.jpg);
}

.rehab_direction {
    background-image: url(img/rehab_bg.jpg);
}

.help_direction {
    background-image: url(img/help_bg.jpg);
}

.sbn_direction {
    background-image: url(img/sbn_bg.jpg);    
}

.main_news h2 {
    text-align: center;
    margin-bottom: 45px;
}

.main_news_list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.news_item {
    width: calc(33.333% - 20px);
    margin: 0 30px 40px 0;
}

.news_item:nth-of-type(3n){
    margin-right: 0 !important;
}

.news_item_img {
    width: 100%;
    background: #f5f5f5;
    text-align: center;
    margin-bottom: 20px;
    display: block;
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news_region {
    position: absolute;
    bottom: 0;
    background: #2486df;
    color: white;
    padding: 10px;
    font-size: 12px;
    border-top-right-radius: 10px;
    /*box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);*/
}

.news_item_meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news_item_cat {
    color: #2486df;
    font-family: 'open_sansextrabold';
    text-decoration: none;
}

.news_item_cat:hover {
    text-decoration: underline;
}

.news_item_date {
    color: #737373;
    font-family: 'open_sansbold';
}

.news_item_name {
    font-family: 'open_sansbold';
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
    color: #303030;
    display: block;
}

.news_item_name:hover {
    text-decoration: underline;
}

.news_item_anonce {
    margin-top: 10px;
    color: #737373;
    font-size: 14px;
    line-height: 20px;
    height: 60px;
    overflow: hidden;
}

.blue_btn_large {
    font-size: 18px;
    font-family: 'open_sanssemibold';
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    background: #2486df;
    transition: all ease-out 0.2s;
}

.blue_btn_large:hover {
    background: #246bb1; 
}

.all_news_btn {
    display: block;
    text-align: center;
    padding: 18px 0;
    width: 300px;
    margin: 0 auto 60px;
}


/* news */

.news_filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 50px 0 45px;
}

.news_cats {
    border: 2px solid #2486df;
    display: flex;
}

.news_cat {
    text-decoration: none;
    text-transform: uppercase;
    color: #303030;
    font-family: 'open_sanssemibold';
    padding: 15px 25px;
    transition: all ease-out 0.2s;
}

.news_cat:hover {
    background: rgb(239, 239, 239);
}

.news_cat:not(:last-child) {
    border-right: 2px solid #2486df;
}

.news_cat.active {
    color: white;
    background: #2486df; 
}

.c_select {
    font-family: 'open_sanssemibold';
    position: relative;
    z-index: 2;
}

.current_option {
    border: 2px solid #2486df;
    padding: 15px 40px 15px 20px;
    z-index: 1;
    position: relative;
    background: white;
}
.c_select:hover .current_option:after {
    transform: rotate(-180deg);
}

.current_option:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #2486df;
    right: 15px;
    top: 19px;
    transition: all ease-out 0.3s;
}

.c_select_options {
    position: absolute;
    border: 2px solid #2486df;
    width: 100%;
    top: 48px;
    left: 0;
    background: white;
    box-shadow: 2px 4px 30px 0px rgba(0,0,0,0.2);
    z-index: 0;
    display: none;
}

.c_select_option {
    padding: 15px 25px;    
    transition: all ease-out 0.2s;
}

.c_select_option:hover {
    background: #2486df; 
    color: white;
    cursor: pointer;    
}

.c_select:hover .c_select_options {
    display: block;
}

/* contacts */

#map {
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
}

.contacts_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;    
}

.contacts_content > div {
    width: 385px;
    line-height: 26px;
}

.contacts_content > div a {
    color: #2486df;
}

.contacts_form,
.report_form {
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cf_left {
    width: 50%;
    margin-right: 15px;
}

.contacts_form input,
.report_form input,
.faq_form input {
    width: 100%;
    margin-bottom: 15px;
}

.contacts_form textarea,
.report_form textarea {
    width: calc(50% - 15px);
    height: 243px;
}

.faq_form textarea {
    width: calc(50% - 15px);
    height: 119px;   
}

.contacts_send,
.report_send,
.faq_send {
    width: 260px !important;
    margin-top: 15px;
}


/* ordinary pages */

.text_content_area {
    margin-bottom: 70px;
}

.text_content_area strong {
    font-family: 'open_sansbold';    
}

.text_content_area a {
    color: #2486df;
}

.text_content_area p {
    line-height: 26px;
    margin-bottom: 15px;
}

.text_content_area h2 {
    margin: 40px 0 25px;
}

.text_content_area ul,
.text_content_area ol {
    margin: 30px 0 30px 30px;
}

.text_content_area ul li {
    line-height: 26px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.text_content_area ol li {
    line-height: 26px;
    margin-bottom: 10px;
    position: relative;
    margin-left: 25px;
}

.text_content_area ul li:before {
    content: '';
    width: 7px;
    height: 7px;
    background: #246bb1;
    position: absolute;
    top: 9px;
    left: 0;
    border-radius: 100%;
}


/* rehab */

.rehab_tab_head {
    display: flex;
    justify-content: space-between;
    text-align: center;    
}

.rehab_step {
    width: 25%;
    background: #2486df;
    color: white;
    font-family: 'open_sanssemibold';
    padding: 15px 25px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all ease-out 0.2s;
}

.rehab_step:hover {
    background: #246bb1;
}

.rehab_step.active {
    background: #1c5792;
}

.rehab_step:not(:last-child) {
    margin-right: 2px;
}

.rehab_tab_body {
    display: flex;
    flex-wrap: wrap;
    border: 2px solid #1c5792;
    padding: 0 50px 50px;   
}

.rehab_step_cnt {
    display: none;
}

.rehab_step_cnt.active {
    display: block;
}

.form {
    border: 2px solid #1c5792;
    padding: 35px 50px 50px;
    background: #f7f7f7;    
}

.form_title {
    width: 100%;
    text-align: center;
    color: #303030;
    font-family: 'open_sansextrabold';
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

input:not([type="checkbox"]),
textarea {
    border: 1px solid #1c5792;
    font-size: 16px;
    padding: 13px 15px;
    color: black;
    font-family: 'open_sansregular';
    box-sizing: border-box;
}

.rehab_form,
.faq_form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 60px;
}

.rehab_form a{
	display: inline-block;
	margin: 40px 0 0 0;
}

.rehab_phone,
.rehab_name,
.rehab_send {
    width: 238px;
}

.rehab_phone, .rehab_name {
    margin-right: 15px;
}

.rehab_send,
.contacts_send,
.report_send,
.faq_send,
.partner_send,
.filial_send {
    font-size: 16px;
    background: #2486df;
    color: white;
    font-family: 'open_sanssemibold';
    padding: 16px 25px;
    text-transform: uppercase;
    cursor: pointer;
    width: 245px;
    text-align: center;
    transition: all ease-out 0.2s;
}

.rehab_send:hover,
.contacts_send:hover,
.report_send:hover,
.faq_send:hover,
.partner_send:hover,
.filial_send:hover {
    background: #246bb1;
}

.rehab_tab {
    margin-bottom: 80px;
}

.rehab_center_item {
    width: calc(50% - 15px);
    margin: 0 30px 55px 0;
}

.rehab_center_item:nth-of-type(2n){
    margin-right: 0;
}

.rehab_center_item .rehab_send{
	
}

.text_content_area .rehab_center_item .rehab_send{
	color: #fff;
}

.rehab_centers_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;   
}

.rehab_center_item_name {
    font-family: 'open_sansbold';
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    color: #303030 !important;
    display: block;
    margin-bottom: 15px;
}

.rehab_center_item_name:hover {
    text-decoration: underline !important;
}

.rehab_center_item_anonce {
    color: #737373;
    font-size: 14px;
    line-height: 20px;
}

.rehab_center_item_img {
    display: block;
    margin-bottom: 20px;
}

.single_rc_page {
    min-height: calc(100vh - 615px);
}

.rc_gallery_item {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rc_gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.rc_gallery_item {
    width: 180px;
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 15px 15px 0;
    border: 3px solid #ffffff;
    padding: 5px;
    box-shadow: 0 0 0 1px #ccc;
    transition: all ease-out 0.2s;
}

.rc_gallery_item:hover {
    box-shadow: 0 0 0 1px #2486df;    
}

.rc_gallery_item:nth-of-type(5n){
    margin-right: 0;
}

/* single news */

.related_news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.related_news h2 {
    width: 100%;
    margin-bottom: 35px;
}

.related_news .news_item_name {
    color: #303030 !important;
}

.related_news .news_item {
    margin-bottom: 0;
}

.single_news_head {
    font-family: 'open_sansbold';
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    margin-bottom: 35px;
}

.single_news_head .single_news_date {
    color: #737373;
    font-family: 'open_sansextrabold';
    margin-right: 5px;
}

.single_news_region {
    margin-left: 5px;
    color: #737373;
}

.single_news_head a {
    margin: 0 5px;
}

.single_news_page h1 {
    margin: 30px 0;
}

.single_news_thumb {
    float: left;
    margin: 0 35px 20px 0;
    max-width: 350px;
    height: auto;
    border: 1px solid #ccc;
    padding: 5px; 
    transition: all ease-out 0.2s; 
}

.news_cnt {
    clear: both;
}

/* faq */

.faq_item {
    margin-bottom: 30px;
}

.faq_q {
    font-size: 20px;
    font-family: 'open_sansextrabold';
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.faq_q:before {
    content: '?';
    font-family: 'open_sansextrabold';
    font-size: 36px;
    color: #246bb1;
    position: absolute;
    top: -9px;
    left: 0; 
}


/* partnership */

.partnership_forms {
    display: flex;
    justify-content: space-between;
    /*align-items: flex-start;*/
}

.partnership_forms .form {
    width: calc(50% - 20px);
    /*text-align: center;*/
}

.partner_form {
    margin-right: 40px;
}

.partner_form input:not([type="checkbox"]):not(.partner_age),
.filial_form input,
.partner_form textarea,
.filial_form textarea {
    width: 100%;
    margin-bottom: 15px;
}

.partner_form textarea,
.filial_form textarea {
    height: 100px;
    resize: none;
}

.partner_age {
    width: 130px;
    margin-right: 15px;
}

.cf_double {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.partner_send, 
.filial_send {
    display: block;
    margin: 15px auto 0;
}

.partner_car ~ label:before {
    content: '';
    width: 20px;
    height: 20px;
    border: 1px solid #1c5792;
    background-color: white;
    display: inline-block;
    margin-right: 15px;
}

.partner_car ~ label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.partner_car ~ label:after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(img/check.png) top center no-repeat;
    left: 3px;
    top: -5px;
    background-size: 25px 23px;
    opacity: 0;
}

.partner_car:checked ~ label:after {
    opacity: 1;
}

/* sbn */

.sbn_reports_gall {
    width: 100%;
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
}     

.sbn_gallery_item  {
    height: 225px;
    width: 180px;
    padding: 5px;
    border: 1px solid #ccc;
    transition: all ease-out 0.2s;
    margin: 0 15px 15px 0px;
}

.sbn_gallery_item:nth-of-type(5n) {
    margin-right: 0;
}

.sbn_gallery_item:hover,
.single_news_thumb:hover {
    border-color: #2486df;
}

.sbn_gallery_item  span {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 100%;
    height: 100%;
}

.sbn_reports {
    position: relative;
    margin-bottom: 40px;
}

.news_cnt > p > br {

}

.news_cnt iframe {
    width: 100% !important;
    height: 500px !important;
    margin: 10px 0;
}

.burger-click-region,
.mobile_menu {
    display: none;
}

.thanks_overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: none;
}

.thanks_window {
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    margin: -65px 0 0 -250px;
    padding: 30px;
    text-align: center;
    font-size: 22px;
    line-height: 30px;
    cursor: pointer;
}

.thanks_window strong {
    margin-bottom: 15px;
    display: inline-block;
}