/* --------------------------------------
=========================================
RESPONSIVE FIXES
=========================================
-----------------------------------------*/


@media (max-width: 1200px){
    .slider .container {
        margin-left: -485px;
    }
    .stories-item-before {
        margin-top: 88px;
    }
    .stories-item-after {
        margin-top: 60px;
    }
    .footer-title {
        font-size: 19px;
    }
    .opening-right {
        font-size: 12px;
    }
    .blog-2.blog .blog-item-date {
        width: 100px;
        font-size: 11px;
    }
    .blog-2.blog .blog-item-comments {
        width: 45px;
        font-size: 11px;
    }
    .blog-2.blog .blog-item-view {
        width: 55px;
        font-size: 11px;
    }
    .blog-2.blog .blog-item-category {
        font-size: 12px;
    }
    .related-item-button {
        margin-top: 70px;
    }
    .doctor-info-hours-right {
        font-size: 12px;
    }
    .nav-tabs li a {
        font-size: 11px;
        padding: 17px 10px;
    }
    .header-phone {
        font-size: 14px;
    }
    .header-phone i {
        font-size: 16px;
    }
    .header-logo {
        font-size: 32px;
        float: left;
        margin-left: 20px;
    }
    .header-logo img {
        height: auto;
        max-width:95px
    }
    .header-button .btn {
        font-size: 14px;
    }
}

@media (max-width:1199px) and (min-width:769px){
    .header-button-position{
        text-align: right;        
    }
    .header-button-position .header-button{
        margin-right: 0;
        margin-top: 0;
    }
    
    .header-logo {
        font-size: 20px;
        text-align: left;
    } 
    .header-logo span {
        display: block;
    }
    .header-logo-text {
        font-size: 11px;
        margin-top: 3px;
        padding-bottom: 20px;
    }    
    
    .phone_mobile{
        background-color: #f0f8fa;
        margin-top: 20px;
    }
    .header-phone{
        display: flex;
        align-items: center;
    }
    .header-phone div{
        display: flex;
        column-gap: 15px;
    }
    .top-bar.active .top-bar-adress {
        display: none;
        transition: 0.5s;
      }
    .top-bar.active {
        background: #ffffff;
        transition: 0.5s;
      }
    .navbar-nav > li{
        float:none;
        position: relative;
        display: block;
    }
    .mob_top_menu .navbar-nav > li > .menu_no_click {
        color: #777;
        font-size: 16px;
        line-height: 32px;
        display: block;
        padding: 10px 15px;
      }
    .caret.navbar-toggle{
        display: block;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        border: medium none;
      }
    .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
        padding: 5px 15px 5px 25px;
        color: #000;
    }
    .navbar-nav>li:hover{
        background-color: transparent;
    }
    .navbar-nav>li.dropdown:after{
        display: none;
    }
}

@media (max-width: 992px) {
    .header-phone {
        font-size: 16px;
        padding: 5px 16px;
    }
    .header-button .btn {
        font-size: 15px;
    }
    .slider .container {
        margin-left: -375px;
    }
    .service h3 {
        font-size: 20px;
    }
    .review-item-quote {
        right: 20px;
        bottom: 20px;
    }
    .h2, h2 {
        font-size: 30px;
    }
    .opening-left {
        width: 41%;
        margin-left: 0%;
        font-size: 10px;
    }
    .opening-right {
        width: 59%;
        font-size: 10px;
    }
    .footer-item-3-phone {
        font-size: 16px;
    }
    .footer-item-3-location {
        /*margin-bottom: 20px;*/
        margin-bottom: 0;
    }
    .footer-item-3-socials a {
        width: 28px;
        height: 28px;
        font-size: 16px;
        line-height: 29px;
        margin-right: 1px;
    }
    .right-bar-archive ul {
        padding-left: 25px;
    }
    .right-bar-archive ul li a {
        font-size: 11px;
    }
    .related-item-button {
        margin-top: 30px;
    }
    .tt-calendar-day {
        font-size: 11px;
    }
    .tt-row-item {
        padding: 15px 2px;
    }
    .makeform-container {
        padding: 60px 150px;
    }
    .feedback .container {
        padding: 0 70px;
    }
    .blog-2.blog .blog-item-bottom-socials {
        display: table;
        margin: 0 auto;
        padding: 10px 0;
        float: none;
    }
    
}
@media (max-width: 800px){
    .carousel-prev {
        /*left: 15px;*/
        left: 0;
    }
    .carousel-next {
        right: 0px;
    }
}

@media (min-width: 769px){
	.top-menu ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;    
    }
    .top-menu .navbar-nav{
       	/*display: block !important;*/
        display: flex !important;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .t-tooltip:hover .t-tooltip-text {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 769px) {
    .doctors {
        padding: 0 0 70px 0;
    }
    #how_oms .how_oms_table td {
        display: block;
        width: 100%;
    }
    #how_oms .round_number {
        margin-bottom: 20px;
    }
    #how_oms .color_block{
        height: auto;
    }
    .mob_hide {
        display: none;
    }
    #how_oms .w80.top_weight {
        width: 100%;
    }
    #how_oms .top_h2 {
        text-align: center;
        padding: 0 20px;
    }
    .header {
        padding: 25px 0 0 0;
    }
    .header-phone-bg {
        background-color: #f0f8fa;
        margin-top: 20px;
    }
    .header-phone span {
        width: 100% !important;
        line-height: 1.5;
    }
    .header-phone span a {
        color: #455f68;
    }
    .header-phone div {
        text-align: left;
        padding: 5px 0;
    }
    .header-phone i {
        font-size: 26px;
        vertical-align: middle;
        display: table-cell;
        font-weight: bold;
        padding-right: 10px;
    }
    .top-bar {
        font-size: 11px;
    }
    .top-bar.active {
        background: #ffffff;
        transition: 0.5s;
    }
    .top-bar.active .top-bar-adress {
        display: none;
        transition: 0.5s;
    }
    .top-bar-social i {
        font-size: 15px;
        top: 0px;
    }
    .top-bar-mail {
        margin-right: 0;
    }
    .header-logo {
        display: table;
        margin: 0;
        float: none;
        font-size: 20px;
        text-align: left;
    }
    .header-logo-text {
        font-size: 11px;
        margin-top: 3px;
        padding-bottom: 20px;
    }
    .header-logo-wrap {
        padding-right: 0;
        position: relative;
        top: -10px;
    }

    
    .header-button-position .header-button {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 0;
        margin-bottom: 0;
    }
    .header-logo .color-child-6 {
        margin-right: 5px;
    }
    .header-logo img {
        width: 100% !important;
        margin-right: 0px;
        top: -1px;
        height: auto;
        object-fit: contain;
    }
    .header-button {
        margin: 15px auto 10px;
        display: table;
        float: none;
    }
    .header-phone {
        float: none;
        display: table;
        margin: 0 auto;
    }
    .top-menu{
        top: 253px;
        max-height: 100%;
        overflow-y: auto;
        position: absolute;
        z-index: 1;
        right: 0;
        background: none;
        display: inline-block;
    }
    .top-menu .navbar-nav{
        display: none;
    }
    .color-sw-open{
        display: none;
    }
    .color-sw{
        top: 150px;
    }
    .mobile-bar {
        display: block;
    }
    .slider .container {
        margin-left: 0;
        left: 0px;
    }
    .slider-welcome {
        font-size: 25px;
    }
    .slider-title {
        font-size: 37px;
    }
    .slider-subtitle {
        /*font-size: 27px;*/
        color: #fff;
        text-shadow: none;
        transform: none;
        line-height: 1.3;
        font-size: 22px !important;
        font-weight: 700 !important;
    }
    .slider-text ul {
        padding: 0;
        margin: 20px 0;
    }
    .slider-text span,
    .slider-text li {
        font-size: 15px;
        line-height: 1.4;
        list-style: none;
        margin: 10px 0;
        font-weight: 600;
    }
    .slider-text {
        /*font-size: 24px;*/
        font-size: 18px;
        color: #ffffff;
        font-weight: 200;
    }
    .about-bg {
        /*display: none;*/
        height: 278px;
        background-position: center top;
        position: relative;
        top: auto;
        right: auto;
        background-size: cover;
        margin-bottom: 40px;
    }
    .review .carousel-next {

    }
    
    .review .carousel-prev {
        left: 0px;
    }
    
    .h2, h2 {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 13px;
        padding: 0 15px;
    }
    .doctors .carousel-next {
        right: 40px;
    }
    .doctors .carousel-prev {
        left: 40px;
    }
    .numbers-item {
        margin-bottom: 40px;
    }
    .stories-item-before {
        margin-top: 28px;
    }
    .stories-item-after {
        margin-top: 17px;
    }
    .tips {
        margin-bottom: 40px;
    }
    .footer-item-4 {
        position: relative;
        width: 100% !important;
        /*height: 200px;*/
    }
    .opening-left {
        width: 41%;
        margin-left: 5%;
        font-size: 13px;
    }
    .opening-right {
        width: 54%;
        font-size: 13px;
    }
    .page-title h1 {
        font-size: 30px;
    }
    .page-title p {
        font-size: 13px;
    }
    .history-text {
        margin-top: 30px;
    }
    .make-text {
        text-align: center;
        margin-bottom: 20px;
    }
    .make-text h2 {
        font-size: 27px;
    }
    .make-text p {
        font-size: 13px;
    }
    .make-button {
        text-align: center;
    }
    .services-1-text {
        padding: 0 15px;
    }
    .services-1-title {
        padding: 0 15px;
    }
    .services-1 .service-text {
        margin-bottom: 40px;
    }
    .serv ul#isotope-filter li a {
        display: block;
    }
    .right-bar-archive ul li a {
        font-size: 14px;
    }
    .quote {
        font-size: 13px;
    }
    .blog-2.blog .blog-item-text-image.left {
        margin-bottom: 20px;
    }
    .blog-2.blog .blog-item-poster-image {
        margin-right: 20px;
        width: 50px;
    }
    .comment-avatar {
        width: 55px;
        padding: 20px 20px 0 0;
    }
    .comment-avatar img {
        width: 40px;
    }
    .comment-body {
        width: calc(100% - 55px);
        padding-right: 0px;
    }
    .comment .comment {
        margin-left: 55px;
    }
    .blog-2.blog .blog-item-commform {
        padding: 50px 30px;
    }
    .blog-2.blog .blog-item-commform .latest-row span {
        margin-top: 20px;
        margin-left: 0;
    }
    .subscribe {
        margin-top: 40px;
    }
    .subscribe-text {
        text-align: center;
        margin-bottom: 20px;
    }
    .btn-sm {
        padding: 5px 20px;
    }
    .doctors-text-text {
        float: none;
        width: 100%;
    }
    .doctors-text-doctor {
        float: none;
        width: 100%;
    }
    .doctor-text-booking {
        padding: 50px 20px;
    }
    /* Правки форм (под АТС) / task-136367 */
    body.ats .doctor-text-booking {
        padding: 50px 20px !important;
    }
    .gallery-text {
        padding: 0 15px;
    }
    .gallery-1 ul#isotope-filter li a {
        display: block;
    }
    .gallery-1-items {
        margin-top: 220px;
    }
    .prices-text {
        padding: 0 15px;
    }
    .prices-item-desc-image {
        float: none;
        width: 100%;
    }
    .prices-item-desc-text {
        float: none;
        width: 100%;
    }
    .prices-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
        line-height: 18px;
        margin: 0;
    }
    .prices-item-table-title {
        font-size: 11px;
    }
    .prices-item-table-cost {
        font-size: 13px;
    }
    .prices-item-offer-cost {
        right: 10px;
        font-size: 23px;
        width: 100px;
        height: 100px;
        line-height: 18px;
        padding: 29px 0;
    }
    .prices-item-offer-text {
        padding-right: 100px;
    }
    .prices-item-table-cost-old {
        padding-right: 0;
    }
    .timetable {
        width: 750px;
        overflow: scroll;
        white-space: nowrap;
    }
    .makeform-container {
        padding: 60px 20px;
    }
    .map-info {
        position: relative;
        top: 0;
        left: 50% !important;
        margin-left: -145px;
    }
    .get-item {
        margin: 15px 0;
    }
    .feedback .container {
        padding: 0 20px;
    }
    .bookform-left {
        width: 320px;
        float: none;
        padding: 20px;
        height: 670px;
    }
    .bookform-right {
        width: 320px;
        float: none;
    }
    .bookform.bookform-1 .bookform-left {
        padding: 40px 25px 40px 25px;
        height: 770px
    }
    .section-title {
        padding: 0 15px;
        text-align: center !important;
    }
    .owl-review2 .owl-controls {
        top: -29px;
        right: 50%;
        margin-right: -27px;
    }
    .fancybox-close-btn {
        top: 5px;
        right: 5px;
        color: #fff;
        border: 2px solid #666;
        background: #666;
    }
    .right-bar-tags {
        margin-bottom: 30px;
    }
    .panel-group .panel-heading h4 a {
        font-size: 16px;
    }
    .serv ul#isotope-filter li a {
        font-size: 11px;
        padding: 14px 25px;
    }
    .bookform.bookform-1 .bookform-right {
        padding: 50px 35px 0 35px;
    }
    .bookform.bookform-1 .bookform-right-info-1:after {
        display: none;
    }
    .gallery-1 ul#isotope-filter {
        padding: 15px 15px;
        text-align: center;
    }
    .gallery-1 ul#isotope-filter li a {
        font-size: 11px;
        padding: 14px 20px;
    }
    .t-tooltip-text {
        width: 232px;
    }
    .t-left .t-tooltip-text {
        margin-right: -18px;
    }
    .t-tooltip-text .btn-sm {
        padding: 4px 15px;
        font-size: 14px;
    }
    .top-menu-logo {
        font-size: 20px;
    }
    .top-menu .navbar-nav li a:hover, .top-menu .navbar-nav li a:focus {
        background: transparent;
        color: #455f68;
    }
    .top-menu ul.dropdown-menu.with-bg {
        background: #fff;
    }
    .mobile-bar-cont {
        float: none;
        background-color: #fff;
    }
    .bookform-right {
        display: none;
    }
    .blog-2.blog .blog-item-navs-prev {
        width: 50%;
    }
    .blog-2.blog .blog-item-navs-next {
        width: 50%;
    }
    .serv-item-image {
        float: none;
        width: 100%;
    }
    .tt-search input{
        padding: 26px 20px;
        font-size: 13px;
    }
    .tt-search button{
        right: 10px;
    }
    .review-item-image {
        float: none;
        width: 94px;
        margin: 0 auto;
    }
    .review-item-text {
        padding: 15px;
    }
    .review-item-name {
        padding-left: 15px;
    }
    .review-item-position {
        padding-left: 15px;
    }
    .notfound-image {
        float: none;
        width: 100%;
        height: 300px;
    }
    .booking-form-item textarea {
        height: 120px !important;
    }
	.slider .container{
		display:none;
	}
	.service{
		display:block;
	}
}

@media (max-width: 359px){
    .top-bar-social i {
        margin-left: 10px;
    }
    .top-bar {
        font-size: 10px;
    }
    .top-menu-logo {
        font-size: 18px;
        margin-right: 0px;
    }
    .bookform-left {
        width: 280px;
    }
	.service{
		display:block;
	}
	.slider .container{
		display:none;
	}
	.review-item-text,
	.owl-review2 .review-item-name,
	.owl-review2 .review-item-position{
		padding-left:15px !important;
	}
	iframe {
		width:100%;
	}
}
	@keyframes fadein {
	    from {opacity: 0;}
	    to {opacity: 1;}
	}
	.js-popup-block {
		display: none;
		animation:  fadein ease 0.2s;
	}
	.js-btn-toggle.active+.js-popup-block {
		display: block;
	}
	.main-search-wrap {
		position: relative;
		z-index: 3;
	}
	.main-search-wrap .btn.btn-default {
		/*background: #00acdb;*/
		background: transparent;
	}
	.main-search-wrap .btn.btn-default:hover {
		/*background: #00dba5;*/
	}
	.main-search-wrap .search-block {
		/*width: 330px;*/
		/*position: absolute;
		top: 0;right: 0;*/
        position: relative;
        top: auto;
        right: auto;
        display: block;
	}
	.frm-search {
		display: block;
		height: 40px;
		position: relative;
		overflow: hidden;
	}
	.frm-search button,
	.frm-search input[type="submit"] {
		display: block;
		position: absolute;
		top: 0;
        right: 0;
		z-index: 2;
	}
	.frm-search input[type="text"],
	.frm-search input[type="search"] {
		display: block;
		height: 40px;
		padding: 0 40px 0 20px;
		border-radius: 20px;
		width: 100%;
	}
	.prices-wrap .prices-item-title {
		cursor: pointer;
		position: relative;
		padding-right: 30px;
		margin-bottom: 10px;
	}
	.prices-wrap .prices-item-title.active {
	}
	.prices-wrap .prices-item-table-wrap {
		margin-top: -10px;
	}
	.prices-wrap .prices-item-title:hover:before, .prices-wrap .prices-item-title:hover:after,
	.prices-wrap .prices-item-title.active:before, .prices-wrap .prices-item-title.active:after {
		background: #fff;
	}
	.prices-wrap .prices-item-title:before, .prices-wrap .prices-item-title:after {
		content: "";
		display: block;
		width: 10px;height: 2px;
		background: #eee;
		position: absolute;
		top: 50%;right: 15px;
		margin-top: -2px;
		margin-right: 4px;
		-webkit-transform: -webkit-rotate(45deg);
		-webkit-transform: rotate(45deg);
		    -ms-transform: rotate(45deg);
		        transform: rotate(45deg);
		-webkit-transform-origin: 50% 50%;
		    -ms-transform-origin: 50% 50%;
		        transform-origin: 50% 50%;
	}
	.prices-wrap .prices-item-title:after {
		margin-right: -2px;
		-webkit-transform: -webkit-rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		    -ms-transform: rotate(-45deg);
		        transform: rotate(-45deg);
	}
	.prices-wrap .prices-item-title.active:before {
		-webkit-transform: -webkit-rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		    -ms-transform: rotate(-45deg);
		        transform: rotate(-45deg);
	}
	.prices-wrap .prices-item-title.active:after {
		-webkit-transform: -webkit-rotate(45deg);
		-webkit-transform: rotate(45deg);
		    -ms-transform: rotate(45deg);
		        transform: rotate(45deg);
	}
	@media (max-width: 992px) {
		.main-search-wrap .search-block {
			width: 290px;
		}
		.frm-search {
			height: 35px;
		}
		.frm-search button,
		.frm-search input[type="submit"] {
			height: 35px;
		}
		.frm-search input[type="text"],
		.frm-search input[type="search"] {
			height: 35px;
		}
	}
	@media (max-width: 768px) {
        /* Правки форм (под АТС) / task-136367 */
        body.ats .doctor-text-booking {
            padding: 35px 20px !important;
        }
		.main-search-wrap .search-block {
			right: auto;
            left: 0;
			/*width: 283px;*/
			width: 100%;
		}
		.main-search-wrap .frm-search button,
		.main-search-wrap .frm-search input[type="submit"] {
			right: auto;left: 0;
		}
		.main-search-wrap .frm-search input[type="text"],
		.main-search-wrap .frm-search input[type="search"] {
			padding: 0 10px 0 60px;
		}
		.header-button {
			display: inline-block;
			vertical-align: top;
			float: none;
			margin-left: 0;
			margin-right: 0;
		}
		.header-button+.header-button {
			margin-left: 5px;
		}
		.header .row {
			text-align: center;
		}
	}
	@media (min-width: 769px) {
		.header-phone {
			margin-right: 0;
			/*margin-left: 15px;*/
		}
		
	}
