/*=================== 1199px ============================= */
@media only screen and (max-width: 1199px){

.carier-foto {
   
    background-size: contain;
    background-position-y: bottom;
}

.sp-module.mod-callbacktop {
    width: 100%;
    margin: auto;
    height: 530px;
    padding-top: 50px;
}
.custom.mod-callbacktop {
    width: 400px;
    float: right;
    margin-right: 5%;
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    border: 10px solid #2a3b7e;
    text-align: center;
}
.adr:before, .graf:before {
    left: -5px;
}
.tel:before {
    left: 28px;
}
.tel {
    padding-left: 63px;
}
.adr, .graf {
    padding-left: 32px;
}
.tel{
    font-size: 15px;
}
.adr, .graf {
    font-size: 14px;
}
.sp-megamenu-parent >li >a {
    margin: 0 5px;
}
#sp-map .row, #sp-page-title .row, #sp-slider .row {padding:0; margin:0;}
div#sp-title, div#sp-mapbottom, div#sp-slide {padding: 0;}

.jmm-simple-img-slider-in .caption-inner-left {
    width: 100%;
    height: 100%;
    padding: 40px 10px 0px 10px;
}
.jmm-simple-img-slider-in h2 {
    /*font-size: 24px;
    line-height: 30px;*/
}
.jmm-simple-img-slider-in h4 {
   /* font-size: 15px!important;
    line-height: 20px;*/
}
.jmm-simple-img-slider-in .caption-inner-right {
   width: 100%;
    height: 100%;
    padding: 40px 10px 0px 10px;
}
.itemid-101 .page-header h1 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: #226eb7;
    font-weight: 600;
}
.doc-home-txt p {
    font-size: 14px;
    margin: 0;
}
.sp-module .sp-module-title {
    font-size: 14px;
    padding-bottom: 11px;
}
.home-naprav ul >li >a {
    color: #677078;
    font-size: 15px;
    display: block;
    /* padding: 5px 0; */
    line-height: 34px;
    padding: 2px 0;
    -webkit-transition: 300ms;
    transition: 300ms;
}
.sp-module.home-naprav ul >li >ul >li:before {
    font-family: 'FontAwesome';
    content: "\f067";
    position: relative;
    font-size: 13px;
    color: #fff;
    background: #226eb7;
    height: 20px;
    width: 20px;
    text-align: center;
    z-index: 1;
    top: 8px;
    display: inline-block;
    float: left;
    margin-left: 8px;
    margin-right: 12px;
}
.itemid-106 .sp-page-title {
    background-position-y: center!important;
}
.blog.akcii .entry-image.intro-image img {
    height: 100%;
    width: auto;
    max-width: inherit;
}
.itemid-110 .blog.akcii article.item .row .entry-header h2, .itemid-137 .blog.akcii article.item .row .entry-header h2, .itemid-138 .blog.akcii article.item .row .entry-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1;
    padding: 8px 15px;
    min-height: 52px;
}
.itemid-110 .sp-page-title, .itemid-137 .sp-page-title, .itemid-138 .sp-page-title {
    background-position-y: -380px!important;
}
.itemid-109 .sp-page-title {
    background-position-y: -400px!important;
}
.graf-date {
    font-size: 10px;
}
.graf-time {
    height: 88px;
}

div.metro {
    width: 33.333333%;
    margin: 15px 0;
}

.container-slider .page-button .control-button {
    z-index: 1;
}
}

/*=================== 1199px - 992px ============================= */
@media (max-width: 1199px) and (min-width: 992px){ 
.zapishome-mod .field input {height:52px;}
.zapishome-mod button#button7 {
    height: 67px!important;
    text-transform: uppercase!important;
    width: 150px;
    float: right;
}
.zapishome-mod h3, .zapishome-mod p{
    text-shadow: 2px 1px 0px #ffff;
    text-align:center;
}

.header-txt {
    display: inline-block;
    float: left;
    margin-top: 30px;
}
.header-logo-txt-inner-1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #2d55ac;
    line-height: 1;
    text-align: center;
}
.header-logo-txt-inner-2 {
    font-size: 12px;
    border-top: 1px solid #dededf;
    text-align: center;
    display: block;
}
.header-logo-cont-inner-1 {
    font-size: 24px;
}
}

/*============================================ 1000px =========================================== */


@media only screen and (max-width: 1000px){
    
.modal.yslygi-modal .modal-dialog {
    width: inherit;
}
}


/*=================== 991px ============================= */
@media only screen and (max-width: 991px){
    
.carier-foto {
   
   display:none;
}


#sp-header, #sp-header.fixed-header {
    position: inherit;
}
body {
    padding-top: 0;
}
.customheader {
    height: inherit;
    text-align: center;
    display: table;
    width: 100%;
}
.header-logo-txt {
    width: 100%;
    float: none;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}
.header-logo {
    padding: 5px 0;
    display: block;
    float: none;
    width: 100%;
    margin-right: 0;
    text-align: center;
}
.header-logo img {
    margin: auto;
    height: 130px;
}
.header-txt {
    display: block;
    float: none;
    margin-top: 20px;
}
.header-logo-txt-inner-1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #2d55ac;
    line-height: 1;
}
.header-logo-txt-inner-2 {
    font-size: 14px;
    border-top: none;
}
.header-logo-cont {
    display: block;
    width: 100%;
    float: none;
    height: auto;
    text-align: center;
    margin-bottom: 20px;
  line-height: inherit;
}
.header-logo-cont-inner-1 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    font-weight: 600;
    margin-top: 20px;
    line-height: 1;
    margin-bottom: 10px;
}
.header-logo-cont-inner-2, .header-logo-cont-inner-3 {
    text-align: center;
}
.header-logo-cont-inner-3 {
    margin-top: 5px;
}
section#sp-menu {
   background: #226eb7;
    top: 20px;
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 9999;
    right: 20px;
    padding-left: 0;
    padding-right: 0;
        border-radius: 100%;
}

#offcanvas-toggler >i {
    color: #ffffff!important;
}
section#sp-menu .container {
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
    width: 60px;
}
section#sp-menu .row {
    margin-right: 0px!important;
    margin-left: 0px;
    width: 60px;
}
#offcanvas-toggler {
    float: none;
    margin-left: 0px;
    display: inherit;
    font-size: 34px;
    line-height: 60px;
}

#sp-header .logo a {
    text-align: center;
    display: block;
}
#sp-header .logo img {
    display: initial;
}
.tel:before, .adr:before, .graf:before {
    left: 0px;
}
.tel, .adr, .graf {
    padding-left: 35px;
}
.tel{
    font-size: 16px;
}
.adr, .graf {
    font-size: 15px;
}
#sp-slide.col-sm-12{
    padding: 0!important;
}
#sp-slider .row {
    margin-right: 0px;
    margin-left: 0px;
}
.jmm-image {
    height: 350px;
}
.jmm-simple-img-slider-in .caption-inner-left {
    width: 100%;
    height: 100%;
    padding: 20px 10px 0px 10px;
}
.jmm-simple-img-slider-in h2 {
    font-size: 24px;
    line-height: 30px;
}
.jmm-simple-img-slider-in h4 {
    font-size: 15px!important;
    line-height: 20px;
}
.jmm-simple-img-slider-in .caption-inner-right {
   width: 100%;
    height: 100%;
    padding: 20px 10px 0px 10px;
}
.itemid-101 .page-header h1 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}
div#sp-component {
    width: 100%;
    padding: 5px;
}
.doc-home-txt p{
    font-size: 14px;
}
.nav.home-about>li>a {
    font-weight: 600;
    padding: 20px 0 0 60px;
}
.nav.home-about .fa {
    left: 10px;
}
div#sp-right {
    width: 100%;
}
.home-naprav .item-108 ul li {
    width: 33.333333%;
    padding: 5px;
    float: left;
}
.home-naprav .item-108 ul li a {
    font-size:15px;
}
.item-108 ul >li:last-child {
    border-bottom: 1px solid #e8e8e8;
}
.home-naprav .sp-module-title {
    margin-top: 40px;
    text-align: center;
}
section#sp-zapis-na-priem {
    /*background-image: none;*/
}
.zapishome-mod h3, .zapishome-mod p{
    text-align: center;
}
.jmm-round {
    border: 2px solid #ffffff;
    height: 170px;
    width: 170px;
}
.homecounter .jm-count{
    font-size: 48px!important;
    line-height: 1.1;
}
.jmm-counter.default .jmm-subtitle {
    font-size: 14px;
}
.custom.about-bot {
    font-size: 16px;
    text-align: center;
}
.custom.about-bot img {
    display: initial;
}

div#sp-bottom2 {
    padding-left: 160px;
}
div#sp-bottom2 ul li{
    font-size: 16px;
}
.custom.contact-bot {
    font-size: 16px;
    text-align: center;
}
.custom.contact-bot .fa-facebook-f:before, .custom.contact-bot .fa-facebook:before,
.custom.contact-bot .fa-vk:before,
.custom.contact-bot .fa-instagram:before{
    font-size: 34px;
}
.contact-bot a, .contact-bot a:hover {
    width: 60px!important;
    height: 60px;
}
.contact-bot i.fa.fa-facebook, .contact-bot i.fa.fa-instagram, .contact-bot i.fa.fa-vk {
    width: 60px!important;
    height: 60px;
    line-height: 60px;
}
.itemid-106 .sp-page-title {
    background-position-y: center!important;
}

element.style {
    position: relative;
}
#sp-map .row, #sp-page-title .row {padding:0; margin:0;}
div#sp-title, div#sp-mapbottom {
    padding: 0;
}
.itemid-109 .sp-page-title {
    background-position-y: bottom!important;
}
.itemid-138 .sp-page-title {
    background-position-y: bottom!important;
}
.doc-left-column {display:none;}
.doc-mobile {
    display: block;
    width: 200px;
    height: 200px;
    float: left;
    margin-right: 30px;
    overflow: hidden;
}
.about-docs .doc-mobile .entry-image.full-image {
    border: 1px solid #226eb7;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
    width: 200px;
    border-radius: 100%;
}
.about-docs .doc-mobile .entry-image.full-image img {
    width: 200%!important;
    max-width: 200%;
    position: relative;
    right: 50%;
}
.graf-time {
    font-size: 13px;
}
table.clinisled {
    border: 2px solid #fff;
    margin-bottom: 30px;
}
table.clinisled {
    border: 2px solid #fff;
    margin-bottom: 30px;
}
.blog.akcii .entry-image.intro-image img {
    height: 100%;
    width: auto;
    max-width: inherit;
}
.itemid-110 .blog.akcii article.item .row .entry-header h2, .itemid-137 .blog.akcii article.item .row .entry-header h2, .itemid-138 .blog.akcii article.item .row .entry-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1;
    padding: 8px 15px;
    min-height: 52px;
}
.itemid-110 .sp-page-title, .itemid-137 .sp-page-title, .itemid-138 .sp-page-title {
    background-position-y: center!important;
}
.menu.transition.visible {
    max-height: 1000px!important;
}

}


/*=================== 767px ============================= */

@media only screen and (max-width: 767px){
    
.sp-module.vopros-bottom #area_fields_1, .sp-module.vopros-bottom #area_fields_10 {
    float: none;
    width: 100%;
    display: block;
    padding: 0px;
    margin: 0;
}
.txtareahome.hide-in-desktop {
    display: block!important;
}
.custom.vopros-bottom div#area_fields_10 {
    display: none;
}

.yslygi.yslygi-fiz {
    width: 50%;
}

section#sp-slider {
    background: #f1f1f1;
    height: 530px;
}
.sp-module.mod-callbacktop {
    width: 100%;
    margin: auto;
    padding-top: 50px;
    height: 530px;
}
#sp-slider .row {
    background-image: none;
}
.custom.mod-callbacktop {
    width: 400px;
    float: none;
    margin: 0 auto;
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    border: 10px solid #2a3b7e;
    text-align: center;
}
#sp-menu {
    width: 100%;
}    
#sp-header .logo {
    width: 100%;
}
.tel {
    padding-left: 0;
    text-align: center;
    font-size: 18px;
    margin:0;
    padding: 20px 0;
}
.adr, .graf {
    padding-left: 0;
    text-align: center;
    font-size: 16px;
     margin:0;
    padding: 20px 0;
}
.adr {
    border-top: 1px solid #e4e4e4;
     border-bottom: 1px solid #e4e4e4;
     width: 250px;
    margin: auto;
}
.custom.h-contacts>div {
    margin-top: 0px!important;
    margin-bottom: 0px!important;
}

.tel:before, .adr:before, .graf:before {
    display:none;
}

 .doc-home-img {
    display: table-header-group;
    text-align: center;
}
.doc-home-txt {
    display: table-footer-group;
}
.nav.home-about .fa {
    display: none;
}
.nav.home-about>li>a {
    font-weight: 600;
    padding: 20px 0 0 0px;
    display: block;
    text-align: center;
}
a.btn.btn-default.btn-lg.btn-white {
    display:none;
}
.doc-home-txt p {
    font-size: 16px;
}
.itemid-101 .nav-tabs {
    border-bottom: none;
    margin-top: 20px;
}
.doc-home-img img{
    width: 60%;
    display: initial;
}
.home-naprav .item-108 ul li {
    width: 50%;
    padding: 5px;
    float: left;
}
.home-naprav.sp-module-title {
    font-size: 18px;
    padding-bottom: 11px;
}
.zapishome-mod .field {
    margin: 10px 0!important;
}
.zapishome-mod input, .zapishome-mod .ui.dropdown.selection,
.contright input{
    height: 50px!important;
}
.contright input, .contright .ui.checkbox{
    margin-bottom:30px!important;
}

.zapishome-mod .ui.dropdown.selection .text{
    line-height: 25px;
}
.zapishome-mod .dropdown.icon{
    padding-top: 18px!important;
}
.g-recaptcha {
    transform: scale(1)!important;
    -webkit-transform: scale(1)!important;
    transform-origin: 0 0!important;
    -webkit-transform-origin: 0 0!important;
    width: 100%;
    text-align:center;
}
.g-recaptcha>div{
    margin: auto;
}
div#sp-bottom2 {
    padding-left: 10%;
    display: grid;
    float: none;
    position: relative;
}
.doc-mobile {
    display: block;
    width: 100%;
    height: auto;
    float: none;
    margin-right: 0;
    overflow: hidden;
}
.about-docs .doc-mobile .entry-image.full-image {
    border: 1px solid #226eb7;
    height: auto;
    overflow: hidden;
    margin-bottom: 0;
    width: 404px;
    border-radius: 0;
}
.about-docs .doc-mobile .entry-image.full-image img {
    width: auto;
    max-width: 100%;
    position: inherit;
    right: 0;
}

.graf-single .graf-column {
    width: 50%;
}
.graf-time {
    font-size: 16px;
}
.graf-time {
    height: inherit;
}
.graf-date {
    font-size: 16px;
}
table.table.table-price td {
    width: inherit;
}
table.table.table-price .cell-prev {
    min-width: 1px;
}
table.table.table-price th.col-cost {
    min-width: 100px;
}
table.table.table-price th.col-time {
    min-width: 100px;
}
.img-naprav {
    display: none;
}
div#sp-akcbot {
    margin-bottom: 50px;
}
div.metro {
    width: 100%;
    margin: 15px 0;
}
p.metro-time {
    font-size: 16px;
    font-family: inherit;
}
    
}   

/*=================== 480px ============================= */

@media only screen and (max-width: 480px){
 .doc-home-img {
    display: table-header-group;
    text-align: center;
}
.doc-home-img img {
    display: initial;
    border-radius: 100%;
    border: 1px solid #226eb7;
    width: 70%;
}
.doc-home-txt {
    display: table-footer-group;
}
.doc-home-txt a.btn.btn-default.btn-lg.btn-white {
    display: none;
    width: 200px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
.nav.home-about>li.active:before {display:none;}


.doc-home-txt p {
    font-size: 16px;
    margin: 0;
}


ul.nav.nav-tabs.home-about {
    border-bottom: none;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
}
.nav-tabs.home-about>li {
    width: 25%;
    height: 1px;
    display: block;
    text-align: center;
    background: none;
    border: none;
}
.nav.home-about>li>a {
    font-weight: 600;
    padding: 0;
    /* display: none; */
    font-size: 0;
    text-align: center;
}
.nav.home-about .fa {
    left: 50%;
    margin-left: -17.5px;
    border: 1px solid;
    top: 0;
    height: 46px;
    width: 46px;
    padding-top: 9px;
    display: block;
}
.nav-tabs.home-about>li.active {
    background: none;
}
.nav.home-about>li.active .fa {
    color: #ffffff;
    border: 1px solid #2d55ac;
    background: #2d55ac;
}
.nav.home-about .fa.fa-desktop {
    font-size: 21px;
    padding-top: 12px;
}
.nav.home-about .fa.fa-heartbeat {
    padding-top: 10px;
} 
div#sp-right {
    margin-top: 100px;
}
.home-naprav .item-108 ul li {
    width: 100%;
    padding: 8px;
    float: left;
}

.sp-module.home-naprav ul >li >ul >li:before {
    font-family: 'FontAwesome';
    content: "\f067";
    position: relative;
    font-size: 19px;
    color: #fff;
    background: #226eb7;
    height: 30px;
    width: 30px;
    text-align: center;
    z-index: 1;
    top: 3px;
    display: inline-block;
    float: left;
    margin-left: 8px;
    margin-right: 12px;
}
.home-naprav .item-108 ul li a {
    font-size: 18px;
}
.about-docs .doc-mobile .entry-image.full-image {
    border: 1px solid #226eb7;
    height: auto;
    overflow: hidden;
    margin-bottom: 0;
    width: 100%;
    border-radius: 0;
}
.ui.form .eight.wide.field {
    width: 100%!important;
}
.field.wide.doczap.txtareavrach.col-md-6.col-sm-6.col-xs-12 {
    margin-top: 20px;
}
table.table.table-price th.col-code,  table.table.table-price tr td:nth-child(1),
table.table.table-price th.col-time,  table.table.table-price tr td:nth-child(3){
    display: none!important;
}
table.table.table-price.tbl-biomat tr td:nth-child(1) {display:table-cell!important;}
table.table.table-price th.col-cost {
    min-width: inherit;
}
.g-recaptcha {
    transform: scale(0.89)!important;
    -webkit-transform: scale(0.89)!important;
    transform-origin: 0 0!important;
    -webkit-transform-origin: 0 0!important;
    width: 50%;
}

 /*======================================================================================================================*/   
}    
@media only screen and (max-width: 440px){
section#sp-menu {
    bottom: 80px!important;
    top: inherit;
    border-radius: 100%;
}
.scrollup {
    bottom: 10px!important;
    left: 10px!important;
}
}

@media only screen and (max-width: 530px){
span.header-logo-cont-inner-1-tel1,
span.header-logo-cont-inner-1-tel2,
span.header-logo-cont-inner-1-mail,
span.header-logo-cont-inner-1-skype{
    margin-right: 0;
    width: 100%;
    display: block;
    margin-bottom: 15px;
}
.callback-popup .field {
    float: none;
    clear: none!important;
    margin: 20px 0 0 0!important;
    width: 100%!important;
}
.custom.callback-popup {
    height: auto;
}
.alert h4 {
    width: 90%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.alert-text {
    width: 90%;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}



}
@media only screen and (max-width: 425px){
.custom.mod-callbacktop {
    width: 100%;
    float: none;
    margin: 0 auto;
    background: #f1f1f1;
    padding: 70px 20px;
    border-radius: 0;
    border: none;
    text-align: center;
    height: 465px;
}
.sp-module.mod-callbacktop {
    width: 100%;
    margin: auto;
    padding-top: 0;
    height: 465px;
}
section#sp-slider {
    background: #f1f1f1;
    height: 465px;
}
p.tfs2 {
    font-size: 20vw;
}
.yslygi.yslygi-fiz {
    width: 100%;
}
}



@media only screen and (max-width: 390px){

div#sp-bottom2 {
    padding-left: 0;
    display: table;
    float: none;
    position: inherit;
    margin-bottom: 20px!important;
    padding-right: 0;
    width: 100%;
}  
.custom.menu-bot >div {
    padding: 0;
    width: 100%;
    padding-left: 0;
}
.custom.menu-bot {
    text-align: center;
    width: 100%;
}
.graf-single .graf-column {
    width: 100%;
}

}