/* **************************************************************
CSS for iPhone6 Plus
****************************************************************/

@media only screen and (max-width : 736px) {
  .mobile-photo {
  	width: 100%;
  }	
  .fixedTop{
    position:relative; width:100%; left:0; top:0; z-index:100000; background:#FFF; border:none;
  }
  .page-title{
   margin-top:0;
  }
	.hidden-xs {
		display: none;
	}
	.hidden-lg {
		display: block;
	}
	.progcontent h3 {
		font-size: 1rem;
	}
    .progcontent p.hm {
		font-size: 1.2rem;
		text-align: center;
	}
/*	.progcontent-v2 h3 {
		font-size: 1.2rem;
		font-weight: bold;
		font-family: Helvetica, Arial, sans-serif;
	}*/
	.progcontent-v2 h4.header-left {
	    font-size: 1rem;
	}
	.page-content p {
	  font-size: 0.9rem;
	}
	.page-content ul.dot-style-gray li {
	    font-size: 0.9rem;
	}
/* http://www.kivach.ru/about/ */ 
	.about-left-img {
	    margin-bottom: 20px;
	}
/* http://www.kivach.ru/about/fotogalery/ */
	li.photo-album-item {
	    padding: 0 !important;
	}
/* http://www.kivach.ru/about/filialy/ */
	.fillial ul {
	    display: block !important;
	}
/* http://www.kivach.ru/services/programmy/baza/ */
	.listcheck ul li {
	    background: url(/img/check.png) left top 5px no-repeat;
	    background-size: 22px;
	}
	.listcheck-orange ul li {
	    background: url(/bitrix/templates/dasystem_med_green_clean/img/green/check-orange.png) left top 5px no-repeat;
	    background-size: 22px;
	}
/* http://www.kivach.ru/services/programmy/baza/info.php */
	.progcontent h2 {
	    padding-bottom: 0;
	    margin-bottom: 15px; 
	    line-height: normal;
	}
/* footer */
	.page-footer .widget-alt nav {
		text-align: center !important;
	}
/* отключаем картинки в разделе ПРОГРАММЫ, т.к. они сильно "режутся" на мобилах */	
	.progheader {
		background: none !important;
	}
	.progheaderinfo {
		background: url('http://www.kivach.ru/services/programmy/baza/kivach.jpg') center bottom no-repeat !important;
		background-size: cover !important;
		margin-bottom: 15px;
	}
/* http://www.kivach.ru/services/programmy/baza/info.php */
	.progcontent p {
		font-size: 0.9rem;
	}
	.crcNumList, .incNumList {
		margin-bottom: 15px;
	}
	.crcNumList li, .incNumList li {
		font-size: 0.9rem;
	}
	.listcheck ul li {
	    font-size: 0.9rem;
	    padding-left: 32px;
	}
	.progmore {
		margin-bottom: 15px;
	}
	#progmore-registration-btn {
		padding: 15px;
		font-size: 25px;
		width: 75%;
	}
	.progmore-btn-wrap {
		text-align: center;
	}
	#progmore-btn {
		width: auto;
	}
	.progcontent h2 {
	    font-size: 24px;
	}
/* http://www.kivach.ru/services/programmy/general/info.php */
	.tabs-content-table {
		margin-bottom: 20px;
	}
/* http://www.kivach.ru/services/programmy/health60plus/info.php */
	.head-table-tab th {
	    padding: 0 4px;
	    border: 1px solid #00B85D;
	}
/* http://www.kivach.ru/services/programmy/baza/price/baza-syuit.php */
	#tabs-table h3 {
		text-align: center;
	}
/* http://www.kivach.ru/services/programmy/additional/ */
	.aboutProgLayerCu table {
		margin-bottom: 20px;
	}
	.aboutProgLayerCu table tr td:first-child {
		padding-right: 7px;
		width: 50%;
	}
	.aboutProgLayerCu table tr td:nth-child(2) {
		padding-left: 7px;
		width: 50%;
	}
/* scrollUp button */	
	#scrollUp {
	    font-size: 1.4rem;
	}

/* about-page */
	.about-page b, .progcontent b {
		font-family: Helvetica, Arial, sans-serif;
	}
	.about-page .submenu-wrap, .plastic-wrapper .submenu-wrap {
	    display: block; 
	    margin-bottom: 30px;
	}
	.about-page .submenu, .plastic-wrapper .submenu, .cosmetic-wrapper .submenu {
	    display: block; 
	    width: 100%; 
	    text-align: center;
	}
	.about-page .submenu-list, .plastic-wrapper .submenu-list, .cosmetic-wrapper .submenu-list {
		width: 100%;
	}
	.about-page .submenu-link, .plastic-wrapper .submenu-link, .cosmetic-wrapper .submenu-link {
	    display: block;
	    font-size: 1rem;
	    color: #fff;
	    transition: all 0.3s ease;
	    padding: 7px 0;
	    border-bottom: 1px solid #59E6A1;
	}
	.about-page .submenu-img, .plastic-wrapper .submenu-img, .cosmetic-wrapper .submenu-img {
	    display: block; 
	}
	.plastic-wrapper .image, .cosmetic-wrapper .image {
	    margin-bottom: 20px;
	}
	.about-page .image img:hover, .image-second img:hover {
	    -webkit-transform: none;
	    -moz-transform: none;
	    -o-transform: none;
	}
	.about-page h2 {
	    font-size: 1.4rem;
	}
	.about-page h3 {
	    font-size: 1.4rem;
	}
	.about-page .header-icon {
	    padding: 2px 5px;
	    border-radius: 45px;
	    margin-right: 15px;
	    font-size: 1rem;
	}
	.about-page .link-box {
	    display: block;
	    margin-bottom: 50px;
	}
	.about-page .link-box__text {
	    display: block;
	    padding: 0;
	    text-align: center;
	    width: 100%;
	    margin-bottom: 20px;
	}
	.about-page .link-box__link {
	    display: block;
	    padding: 0;
	}
	.about-page .program-link-box {
	    width: 100%; 
	    margin-bottom: 10px;
	}
	.about-page .zabolel_block .ul_small li {
	    width: 100%;
	}
	.about-page .link-box__btn {
		margin: 0 auto;
	}	
	.about-page .ill-item {
		width: 100%;
	}
	.about-page .ill-list {
	    margin-bottom: 20px;
	}
	.about-page figure {
	    margin-right: 0px;
	    margin-bottom: 10px;
	}
	.about-page .program-link-box__img {
		height: 100px;
	    width: 30%;
	}
	.about-page .program-link-box__link {
	    height: 100px;
	}
	.about-page .program-link-box__text {
	    padding-left: 15px;
	}
	.about-page .program-link-box__text h4 {
	    font-size: 0.8rem;
	    line-height: 0.8rem;
	}
	.about-page .program-link-box__text p {
	    font-size: 0.6rem;
	    padding-right: 10px;
	}
	.about-page .program-link-box__link:after {
		position: absolute;
	    right: -5px;
	    top: 50%;
	    content: '\203A';
	    font-size: 2rem;
	    margin-top: -2rem;
	    font-weight: bold;
	    color: #B5B9C0;
	}
	.about-page .medic-lists-wrap {
		margin-bottom: 30px;
	}
	.about-page .medic-list {
		width: 50%;
		float: left;
		margin-bottom: 0px !important;
	}
	.about-page .medic-list:nth-child(3) {
		margin-top: -25px !important;
	}
	.about-page .contact_callme {
	    display: block !important;
	}
/* http://www.kivach.ru/services/protsedury/organoterapiya */
	.procedure-img-left {
	  width: 100%;
	  float: none;
	  margin: 0 0 20px 0;
	}
	.procedure-img-right {
	  width: 100%;
	  float: none;
	  margin: 0 0 20px 0;
	}
/* http://www.kivach.ru/contacts/ */
	.time-table {
		display:none;
	}
	.time-table-mobile {
		display: table;
	}
	#map20 {
		height: 250px !important;
	}
	.bx-yandex-view-layout {
		margin-bottom: 40px;
	}
/* кнопка "посмотреть все отзывы" */
	.more-reviews-link a {
	    position: absolute;
	    right: 50%;
	    bottom: 50px;
	    margin-right: -57px;
	}
/* http://www.kivach.ru/services/programmy/for-child/kanikuly-s-psikhologom/ */
	.progtitle-responsive {
		width:100%; 
	}
/* http://www.kivach.ru/services/cosmetology/chistka-lica/ */	
	.cosmetic-table thead {
		display: none;
	}
	.cosmetic-table tr {
		margin-bottom: 10px;
		display: block;
		border-bottom: 2px solid #00b85d;
    }
    .cosmetic-table tr td {
		display: block;
		text-align: right;
		font-size: 16px;
		border: none;
		border-bottom: 1px dotted #ccc;
		position: relative;
		padding-left: 29%;
		text-align: left;
    }
    .cosmetic-table td:last-child {
		border-bottom: 0;
    }
    .cosmetic-table td:before {
	    position: absolute;
	    left: 0;
	    top: 23px;
	    width: 29%;
		content: attr(data-label);
		float: left;
		font-size: 13px;
		text-transform: uppercase;
		font-weight: bold;
		color: #000;
    }
/* CSS для новой версии программ */
	.dropdown-table-td {
	  display: block;
	  width: 100%;
	  margin-bottom: 20px;
	}
	.dropdown-header {
	  padding: 7px 11px;
	}
	.dropdown-table-thead {
		width: 100%;
	}
/* submenu (default) */
	.submenu-origin-wrap {
	    display: block;
	    margin-bottom: 30px;
	}
	.submenu-origin-list {
		width: 100%;
	}
	.submenu-origin {
		display: block;
		width: 100%;
	}
	.submenu-origin-img {
		display: block;
		width: 100%;
		height: 330px;
	    background-position: center;
	    background-size: cover;
	}	
	.submenu-origin-link {
	    display: block;
	    font-size: 0.85rem;
	}
/* Наши гости http://www.kivach.ru/about/nashi-gosti/ */
	.guest-review p:first-child:before {
	    content: '';
	}
	.guest-review p {
	    padding: 0 20px 0 20px;
	}
	.last-par {
		margin-bottom: 20px !important;
	}
/* Сотрудничество http://www.kivach.ru/about/sotrudnichestvo/ */
	.partnership-form {
	  width: 100%;
	}
/* table price */
	.table_price {
	    font-size: 0.6rem;
	}
	.table_price th {
	    padding: 10px 5px; 
	}
	.table_price tr td:first-child {
	    padding: 5px;
	}
}

/* **************************************************************
CSS for iPhone6 Plus (orientation:portrait)
****************************************************************/

@media only screen 
and (max-width : 736px) 
and (orientation : portrait) {
	main.page-content {
		font-size: 0.9rem;
	}
	#scrollUp{
	     right: Calc(100% - 70px);
	}
	.clear-mobile-text-right {
		margin:0 auto 20px; 
		float: none;
	}	
	.clear-mobile-text-left {
		margin:0 auto 20px; 
		float: none;
	}
/* http://www.kivach.ru/about/ */
	.prof-lecheniya {
	    width: 100%;
	}
	.prof-lech-img {
		float: none;
	    margin: 0 auto;
	}
/* http://www.kivach.ru/about/unikalnaya-metodika.php */
	.quotes {
	    margin-left:0;
	}
	.info-quot {
	    margin-top: 5px; 
	}
	.images-people {
		margin: 0 auto 20px;
		display: block;
	}
/* http://www.kivach.ru/about/zabolevaniya/davlenie/ */
	.baz-prog-link {
	    margin-left: 0px;
	    text-transform: uppercase;
	}
/* http://www.kivach.ru/about/litsenzii.php */
	.licenzion .lic-item {
		margin-right: 0;
		margin-bottom: 30px;
		width: 49%;
	}	
	.about-page .licenzion .lic-item {
		margin-right: 0;
		margin-bottom: 30px;
		width: 100%;
	}	
	.licenzion-1 .lic-item:nth-child(2n):after {
		content: '';
		display: table;
		clear: both;
		height: 1px;
	}
	.licenzion-2 .lic-item:nth-child(2n+1):after {
		content: '';
		display: table;
		clear: both;
		height: 1px;
	}
	.licenzion-3 .lic-item:nth-child(2n+1):after {
		content: '';
		display: table;
		clear: both;
		height: 1px;
	}
/* http://www.kivach.ru/about/mestoraspolozhenie.php */
	.images-loaction {
		height: auto;
	}
	li.photo-album-item {
	    margin: 0;
	    float: left;
	    padding: 0px;
	    display: inline;
	}
/* http://www.kivach.ru/video/ */
	.news_wrapper {
	    margin: 0px auto;
	    display: block;
	}
/* http://www.kivach.ru/about/filialy/ */
	.fillial ul li {
	    background-size: 10px;
	}
/* http://www.kivach.ru/services/programmy/general/ */
	p.day {
		margin-bottom: 0;
	}
	.listcheck ul li {
	    padding: 0 0 0 45px;
	}
/* http://www.kivach.ru/services/programmy/miracle/ */
	.center-long {
		text-align: center;
		font-size: 1rem;
	}
/* Форма "Заказать звонок" */	
	#contact-container .contact-input {
	    font-size: 0.7rem;
	}
	#contact-container label {
	    font-size: 0.6rem;
	}
/* Photogallery */
	.photo-main {
		min-width: 396px !important; 
		width: 396px !important;
	    margin: 0 0 0 -6px !important;
	}
	.photo-wrap {
	    padding: 0 !important; 
	}
/* http://www.kivach.ru/services/programmy/check-up/ */
	.check-up img {
		display: block;
	    margin-right: 0px; 
	    margin-bottom: 20px;
	    float: none;
	}
/* http://www.kivach.ru/doctors/ */
	.doctors .grid {
	    margin: 0px -15px;
	}
	.doctors {
    	margin-bottom: 20px;
	}
	.doctors .item {
	    float: left; 
	    display: table;
	    margin: 0;
	    width: 100%;
	    margin-bottom: 10px;
	}
	.doctors .pic {
	    display: table-cell;
	    position: relative; 
	    padding-bottom: 0%;
	    width: 40%;
	    line-height: 0;
	}
	.doctors .pic img {
	    position: relative; 
	    width: 100%;
	    height: auto;
	}
	.itemFixHeight h3 {
	    height: auto !important;
	}
	.doctors h3, .doctors h3 a {
	    padding-top: 0;
	    margin-bottom: 0;
	}

	.itemFixHeight:after {
	    content: '\203A';
	    font-size: 2rem;
	    font-weight: bold;
	    color: #B5B9C0;
	    position: absolute;
	    top: 50%;
	    right: 11px;
	    margin-top: -34px;
	}
	.doctors p {
	    position: relative;
	    padding-bottom: 20px;
		height: auto !important;
	    padding: 0;
	    margin: 0;
	    line-height: normal;
	    border: none;
	    color: #A4A5A4;
	    font-size: 0.8rem;
	}
	.doctors .item:hover h3, .doctors .item:hover p {
	    background: none;
	}
	.doctors .item:hover h3, .doctors .item:hover h3 a {
	    color: #000;
	}
	.doctors .item:hover .links {
	    opacity: 0;
	}
	.itemFixHeightCur span {
	    height: auto !important;
	    line-height: normal;
	    border-bottom: none;
	    padding: 0;
	}
	.itemFixHeightCur p { 
	}
	.itemFixHeight h3 {
	    margin-bottom: 0;
	    padding: 0;
	    border-bottom: none;
	    display: table-cell;
	    vertical-align: middle;
	    width: 60%;
	    padding-left: 10px;
	    text-align: left;
	}
/* image menu in pages */
	.menu-img-content {
	    margin: 0 0 10px 0 !important;
	    position: relative;
	}
	.menu-img-content-head {
	    top: 50%;
	    margin-top: -25px;
	    line-height: 50px;
	    padding-left: 30%;
	    width: 70%;
	    background: none;
	    color: #000;
	}
	.menu-img-content img {
		max-width: none !important;
    	width: initial !important;
		height: 129px;
	    top: 0;
	    bottom: 0;
	    display: table;
	}	
	.menu-img-content-head-smaller h3 {
	    margin-top: 0px; 
	}
	.menu-img-content-head:hover {
	    background: none;
	}
	.menu-img-content h3 {
	    line-height: normal;
	    margin-bottom: 0;
	    text-align: left;
	    color: #000;
	    padding: 0 10px;
	}
	.menu-img-content-head {
	    line-height: normal !important; 
	    display: table;
	    top: 0 !important;
	    bottom: 0;
	    margin: auto !important;
	    left: 0;
	    right: 0;
	    max-width: 100%;
	    max-height: 100%;
	}
	.menu-img-content:after {
	    content: '\203A';
	    font-size: 2rem;
	    font-weight: bold;
	    color: #B5B9C0;
	    position: absolute;
	    right: 0;
	    top: 50%;
	    margin-top: -34px;
	}
	.mobile-menu-img-content-desc {
		display:block;
		margin-bottom: 0 !important;
		text-transform: none;
		margin-bottom: 0;
		color: #000;
	}
/* page Plastic surgery */
	.page-plastic-hirurg figure {
	    width: 100%;
	    float: left;
	}
	.plastic-wrapper h2, .plastic-wrapper h3 {
	  text-align: center;
	}
	.conversation-link-2, .conversation-link {
	  width: 245px;
	}
	.complex-program-item a {
	    font-size: 15px;
	}
	.conversation-block-wrap {
	    height: 150px;
	    background-size: cover;
	    background-position-x: -200px;
	}
	.pokazaniya, .results {
	  width: 100%;
	  float: none;
	}
	.before-photo, .after-photo {
	  width: 100%;
	  float: none;
	}
	.before-photo {
	  margin-bottom: 25px;
	}
	.about-operation__item {
	  width: 100%;
	}	
	.about-procedure__item-col-3, .about-procedure__item-col-2 {
	  width: 100%;
	  margin-bottom: 30px;
	}
	.about-procedure-row:nth-child(1) {
		margin-bottom: 0;
	}
	.reminder-download {
	  width: 100%;
	}
	.faq-list > li:before {
	    margin-top: -21px;
	    height: 41px;
	}
	.faq-item-answer {
	    padding-left: 23px;
	}
	.page-content ul.dot-style-gray li:before {
	    font: normal normal normal 14px/1 FontAwesome;
	    position: absolute;
	    top: 2px;
	    left: 0;
	    color: #efefef;
	    content: '\f111';
	    font-size: 20px;
	}
	.album-link {
	    width: 187px;
	    height: 120px;
	}
	.album-item {
		width: 110px;
		height: 95px;
		display: inline;
		float: left;
		overflow: hidden;
		margin-right: 2px;
		margin-bottom: 2px;
	}
	.complex-programm-effect li {
	    width: 90%;
	}
	.where-used, .where-used-descr {
	  display: block;
	  text-align: left;
	  border: none;
	}
	.where-used {
	  width: 100%;
	}
	.where-used-descr {
	  width: 100%;
	  padding: 0 0 20px 0px;
	}
	.lazer-delete-img {
	  width: 37%;
	}
	.hirurg-delete-img {
	    width: 45%;
	}
	.abdo-img {
		width: 100%;
		float: none;
		margin-right:0px;
	}

/* NO-calculator page */
	.connect-block {
	  width: 100%;
	  float: none;
	}
	.program-cost__banner {
		height: 150px;
		background-size: cover;
    	background-position-x: 50%;
	}
	.program-cost__banner img {
	  display:none;
	}
	.program-cost__banner p {
		width: 90%;
		padding: 20px;
		text-align: center;
		font-size: 23px !important;
	}
	.program-cost .feedback .input {
		margin-bottom: 20px;
	}
/* NEW-calculator page */
	.calc-first-row {
	  margin-bottom: 0px;
	}
	.input-program {
	  width: 100%;
	  float: none;
	  margin-right: 0;
	  margin-bottom: 20px;
	}
	.input-date, .input-room, .input-person, .input-button {
	  width: 100%;
	  float: none;
	  margin-right: 0;
	  margin-bottom: 20px;
	}
/* footer */
	.cta-footer {
		display: block;
	}
/* dropdown more info */	
	.personal-wrap figure {
	  width: 100%;
	  min-height: 315px;
	}
	/* cosmetology - main page */
	.cosmetic-wrapper .image img {
	    height: auto;
	}
/* Наши гости http://www.kivach.ru/about/nashi-gosti/ */
	.guest-video {
		float: none;
    	margin: 0 0 20px 0;
	}
	.guest-video iframe {
		width: 89%;
    	margin: 0 auto;
	}
	.guest-name {
	    font-size: 1rem;
	}
/* photogallery */
    .album-link {
        width: 187px;
        height: 120px;
    }
    .album-item {
      width: 95px;
      height: 95px;
      display: inline;
      float: left;
      overflow: hidden;
      margin-right: 2px;
      margin-bottom: 2px;
    }
/* detox - общая */
   .detox-programm-links a {
	  width: 100%;
	  margin-bottom: 20px;
	}
/* сравнение программ */
	.compare-btn-list li:first-child {
		display: block;
	}
	.compare-head tr th, 
	.compare-head-hidden tr th {
		padding: 10px 0px;
	    font-weight: normal;
	    font-size: 14px;
	}
	.detox-compare {
		font-size: 14px;
	}
/* интерактивный прейскурант */
	.pp-checkbox-list {
		width: 100%;
	}
	.row-controls__program, 
	.row-controls__rooms,
	.row-controls__period {
		margin-bottom: 20px;
		width: 100%!important;
	}
	.row-controls__period ul li {
		display: block;
	}
/* проживание */
	.room-categories, 
	.room-media {
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
	}
	.room-categorie-3,
	.room-photo,
	.room-video {
		width: 100%;
	}

}


/* **************************************************************
CSS for iPhone6 Plus (orientation:lanscape)
****************************************************************/

@media only screen  
and (max-width : 736px) 
and (orientation : landscape) {
#scrollUp {
	     right: Calc(100% - 70px);
	}
/* http://www.kivach.ru/about/unikalnaya-metodika.php */
	.quotes {
	    margin-left:0;
	}
	.info-quot {
	    margin-top: 0px; 
	}
/* http://www.kivach.ru/about/zabolevaniya/davlenie/ */
	.grid-row>section.reviews {
	    margin-bottom: 0;
	    margin-left: 150px;
	}
	.sliderp {
	     margin-right: 0px; 
	}

/* http://www.kivach.ru/doctors/ */
	.doctors .item {
	    width: 50%;
	}
/* http://www.kivach.ru/video/ */
	.news_wrapper {
	    width: 265px;
	}
/* http://www.kivach.ru/about/filialy/ */
	.fillial ul li {
	    background-size: 16px;
	}
/* http://www.kivach.ru/services/programmy/miracle/ */
	.listcheck-third {
	  width: 100%;
	  margin: 0;
	}
	.center-long {
		text-align: left;
	}
/* Photogallery */
	.photo-main {
		min-width: 500px !important; 
		width: 500px !important;
	    margin: 0 0 0 -6px !important;
	}
	.photo-wrap {
	    padding: 0 !important; 
	}
	.photo-prev-slide span, .photo-next-slide span {
	    top: 50% !important;
	    margin-top: -30px;
	}
/* меню-картинки в горизонтальной ориентации в две колонки */
	.menu-img-content {
	    margin: 0 17px 10px 0 !important;
	    width: auto !important; 
	    height: 280px !important;
	}
	.menu-img-content-head {
	    bottom: 0;
	    margin-top: 0px; 
	    line-height: 50px;
	}
/* plastic surgery */
	.pokazaniya, .results {
	    width: 100%;
	}
	.album-link {
	    width: 177px;
	    height: 114px;
	}
	.album-item {
	    display: inline;
	    float: left;
	    width: 109px;
	    height: 109px;
	    overflow: hidden;
	    margin-right: 3px;
	    margin-bottom: 3px;
	}
	.complex-programm-effect li {
	    width: 100%;
	}
	.page-content ul.dot-style-gray li:before {
	    font: normal normal normal 14px/1 FontAwesome;
	    position: absolute;
	    top: 0;
	    left: 0;
	    content: '\f111';
	    color: #efefef;
	    font-size: 22px;
	}
	.about-operation__text {
	    font-size: 0.9rem;
	}
	.reminder-download__text {
	    font-size: 0.9rem;
	}
	.page-content ul.dot-style li, .page-content ul.dot-style-black li, .page-content ul.dash-style li {
	    font-size: 0.9rem;
	}
	.faq-item {
	    font-size: 0.9rem;
	}
	.faq-item:before {
	    margin-top: -21px;
	    height: 41px;
	}
/* NEW calculator */	
	#calc-submit {
	    padding: 6px 2px;
	}
/* photogallery */
    .album-link {
        width: 177px;
        height: 114px;
    }
    .album-item {
        display: inline;
        float: left;
        width: 109px;
        height: 109px;
        overflow: hidden;
        margin-right: 3px;
        margin-bottom: 3px;
    }

}
/* **************************************************************
CSS for iPad (orientation:portrait)
****************************************************************/
@media only screen
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : portrait) {

	#progmore-btn {
		width: 100%;
		text-align: center;
	}
	#progmore-btn a.progmore {
		float: none !important;
	}
	#progmore-btn {
		margin-bottom: 20px;
	}
	.about-operation__item {
	    width: 100%;
	}
	.program-cost__banner p {
	    font-size: 1rem;
	    width: 65%;
	}
	.program-cost .feedback .input {
		margin: 0 0 20px 0;
	}
	#calc-submit {
	    font-size: 12px;
	}
	.plastic-wrapper .submenu-wrap {
	    margin: 0 auto 30px;
	}
	.plastic-wrapper .submenu, .plastic-wrapper .submenu-img {
		display: table-row;
	}

}

/* **************************************************************
CSS for iPad (orientation:landscape)
****************************************************************/
@media only screen
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : landscape) {

	#progmore-btn:nth-child(1) {
	    display: inline-block;
	    float: left;
	    width: 40%;
	    margin-left: 30px;		
	}
	#progmore-btn:nth-child(2) {
	    display: inline-block;
	    float: right;
	    width: 40%;
	    margin-right: 30px;
	    margin-left: 0;		
	}
	.about-operation__item {
	    width: 100%;
	}
	.program-cost .feedback .input {
		margin: 0 0 20px 0;
	}
	.program-cost__banner p {
	    font-size: 1rem;
	}
	#calc-submit {
	    font-size: 12px;
	}
	.plastic-wrapper .submenu-wrap {
	    margin: 0 auto 30px;
	}
	.plastic-wrapper .submenu, .plastic-wrapper .submenu-img {
		display: table-row;
	}
}

/* **************************************************************
CSS for iPhone 3, 4, 4s
****************************************************************/
@media only screen 
and (min-width : 320px) 
and (max-width : 413px) {
	.link-filial {
		background-size: contain;
	    top:-4px;
	    right: 0;
	    z-index: 11;
	    padding: 15px 10px 0 0;
	    width: 98px;
	    line-height: 0.7rem;
	    font-size: 12px;
	    text-shadow: 0px 2px 1px rgba(0, 76, 7, 1);
	}
	.block_menu_search {
	    margin: 0px 0 45px 0 !important;
	}
	.logo {
		position: relative;
    	z-index: 11;
	}
	.link-filial__link, .link-filial__link:visited, .link-filial__link:hover {
	    color: #fff;
	}
	.phone-time {
		white-space: nowrap;
	}
    .cosmetic-table tr td {
		padding-left: 33%;
    }
    .time-table-mobile__train, 
    .time-table-mobile__from, 
    .time-table-mobile__time, 
    .time-table-mobile__to {
		padding: 5px 2px;
		font-size: 0.7rem;
    }
	.time-table-mobile__thead td {
	    font-size: 0.5rem;
	}
	.common-pp-wrap {
		max-width: 100%;
    	overflow: auto;
	}
}
/* Выравниваем размеры картинок в menu-img 
на мобильных устройствах 
************************************ */
@media only screen and (max-width : 375px) {
	.menu-img-content img {
	    height: 116px;
	}
	.menu-img-content-img-wrap {
		height: auto;
		overflow: hidden;
		width: 30%;
	}
}
@media only screen and (max-width : 480px) {
	.menu-img-content img {
	    /*height: 150px;*/
	}
}
@media only screen and (max-width : 320px) {
	.menu-img-content img {
	    height: 98px;
	}
	.menu-img-content-img-wrap {
		height: auto;
		overflow: hidden;
		width: 30%;
	}
	.complex-program-item {
	    width: 49%;
	    margin-bottom: 5px;
	    text-align: center;
	}
	.complex-program-item img {
	    display: block;
	    margin: 0 auto 10px;
	}
	.main-nav li a {
	    font-size: 14px !important;
	    padding: 10px 0px 10px 20px !important;
	}
}

/* **************************************************************
CSS from style.css (old)
****************************************************************/

/* --- Mobile Patch Begin --- */   
.nowrap-box {
  white-space: nowrap;
}                          
.progcontent h2 span.smallDescr {
  font-size: 22px!important;
  color: #999;
  display: block;
}
.progheader p.more-info {
  color:#333;
  font-size:18px;
}
/* Title */
@media only screen and (min-width : 990px) and (max-width : 1199px){    
  section.progheader div.grid-row.content {    
    font-size: 26px;    
  }    
  section.progheader p.money, .progheader p.day, .progheader p.more-info {
    font-size: 22px;
  }
}
@media only screen and (min-width : 767px) and (max-width : 991px){   
  section.progheader p.money, .progheader p.day {
    font-size: 18px;
  }
  section.progheader p.money span {
    font-size: 16px!important;
  }
  section.progheader div.grid-row.content {    
    font-size: 22px;    
  }
  .progtitle{    
    font-size: 24px !important;      
  }
  img.response-width-bg {
    width: 100%!important;
    height: auto !important;
  }
}
@media only screen and (min-width : 680px) and (max-width : 766px){
   section.progheader p.money, .progheader p.day {
    font-size: 14px;
  }
  section.progheader p.money span {
    font-size: 12px!important;
  }
  section.progheader div.grid-row.content {    
    font-size: 22px;    
  }
  .progtitle{    
    font-size: 24px !important;      
  }     
  img.response-width-md {
    width: 100%!important;
    height: auto !important;
  }
}
  
@media only screen and (max-width : 679px) {
  .grid-row {
    margin: 0 10px !important;
  }
  .tabs-content-table tbody td {
    font-size: 0.9rem;
	vertical-align: middle;
  }
  .progcontent h2 span.smallDescr {
    padding: 0 18px;
    font-size: 16px!important;
    color: #999;
    display: block;
  }
  section.progheader p.more-info {
    padding-left: 0;
    background: none;
    padding: 5px 0;
    font-size: 16px;
  }
  section.progheader p.day, .progheader p.money  {
    padding-left: 0;
    padding: 5px 0;
    font-size: 16px;
    background-size: 22px;
    text-indent: 1.5rem;
  }
  section.progheader p.money span {
    font-size: 14px!important;
  }
  .progheader {
    padding: 0 10px !important;
    
  }
  section.progheader div.grid-row.content {
    
    font-size: 26px;       
  }
  .progtitle{    
    font-size: 20px !important;      
    padding: 10px 0 0 0 !important;
  }
  .page-title nav {
    font-size: 14px!important;
  }
  .sliderp {
    font-size: 14px;
  }
  img.response-width-sm {
    width: 100%!important;
    height: auto !important;
  }
/* fillial link */
	.mobile-menu-button {
	  font-size: 28px;
	  margin-top: 0px;
	  position: fixed;
	  z-index:100;
	}
	.link-filial {
	  	display: block;
	    position: absolute;
	    top:-4px;
	    right: 0;
	    z-index: 11;
	    padding: 15px 10px 0 0;
	    width: 112px;
	    height: 113px;
	    background-image: url('http://www.kivach.ru/bitrix/templates/main/img/bookmark-link.png');
	    background-repeat: no-repeat;
	    background-size: contain;
	    text-align: right;
	    line-height: 0.9rem;
	    font-size: 15px;
	    text-shadow: 0px 2px 1px rgba(0, 76, 7, 1);
	}
	.link-filial__link:visited, .link-filial__link:hover {
		color: #fff;
	}
}
@media only screen and (min-width : 680px) {
	/* fililal button in nav on desctop */ 

	.main-nav-filial-btn > ul > li:last-child {
	  margin: 4px 0 0 9px;
	  background-color: #e87474;
	  -moz-border-radius: 17px;
	  -webkit-border-radius: 17px;
	  -khtml-border-radius: 17px;
	  border-radius: 17px;    
	  -webkit-transition: all 0.4s;
	  -moz-transition: all 0.4s;
	  transition: all 0.4s; 
	}
	.main-nav-filial-btn > ul > li:last-child:hover {
	  margin: 4px 0 0 9px;
	  background-color: #e87474;
	}
	.main-nav-filial-btn > ul > li:last-child:hover a {
	  background-color: #D86363 !important;
	}
	.main-nav-filial-btn > ul > li:last-child a {
	  color: #fff;
	  padding: 10px 29px 10px 12px;
	  -moz-border-radius: 17px !important;
	  -webkit-border-radius: 17px !important;
	  -khtml-border-radius: 17px !important;
	  border-radius: 17px !important; 
	}
	.main-nav-filial-btn > ul > li:last-child:after {
	    position: absolute;
	    top: 50%;
	    margin-top: -15px;
	    right: 10px;
	    content: '\f105';
	    color: #fff;
	    display: inline-block;
	    font: normal normal normal 14px/1 FontAwesome;
	    font-size: inherit;
	    text-rendering: auto;
	    -webkit-font-smoothing: antialiased;
	    -moz-osx-font-smoothing: grayscale;
	    font-size: 1.4rem;
	    -webkit-transition: all 0.4s;
	    -moz-transition: all 0.4s;
	    transition: all 0.4s;
	}
	.main-nav-filial-btn > ul > li:last-child:hover:after {
	    right: -25px;
	}
	
	

	
	
	
}

@media only screen and (min-width : 768px) {
/* http://www.kivach.ru/services/programmy/for-child/kanikuly-s-psikhologom/ */
	.progtitle-responsive {
		width:55%; 
		padding: 40px 0;
	}
}

/* Title */

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
  .render-img {
    width: 100%;
  }
  .images-loaction {
    width: 100%!important;
  }   
  .guest1, .guest2, .guest3, .guest4, 
  .lechenie1, .lechenie2, .lechenie3, .lechenie4, 
  .restoran1, .restoran2, .restoran3, .restoran4,
  .restoran5, .pitanie1, .pitanie2, .pitanie3, .pitanie4, .pitanie5, .pitanie6 {
    width: 100%!important;
	background-position: top center!important;
  }
  
 .auto_player{
    position: fixed;
    background: #FFF;
    border: 1px solid #E5E5E5;
    padding: 10px;
    border-radius: 5px;
    left: 15px;
    bottom:100px;
    z-index: 100001;
}       
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
  .render-img {
    width: 100%;
  }
  .images-loaction {
    width: 100%!important;
  }
  .guest1, .guest2, .guest3, .guest4, 
  .lechenie1, .lechenie2, .lechenie3, .lechenie4, 
  .restoran1, .restoran2, .restoran3, .restoran4, 
  .restoran5, .pitanie1, .pitanie2, .pitanie3, 
  .pitanie4, .pitanie5, .pitanie6 {
    width: 100%!important;
background-position: top center!important;
  }      
}
@media (min-width: 992px) and (max-width: 1199px) {
	.hidden-md {
		display: none !important;
	}
	.images-loaction {
		width: 100%!important;
	}     
	.guest1, .guest2, .guest3, .guest4, 
	.lechenie1, .lechenie2, .lechenie3, .lechenie4, 
	.restoran1, .restoran2, .restoran3, .restoran4, 
	.restoran5, .pitanie1, .pitanie2, .pitanie3, .pitanie4, .pitanie5, .pitanie6 {
		width: 100%!important;
	}  
	.slider-rm-wrap {
	  margin: 0 60px;
	  margin-right: 60px;
	  margin-left: 60px;
	}
	.slider-rm-style {
	  margin: 0 60px 20px;
	}     
}
@media screen and (min-width: 1200px) {
	.hidden-lg {
		display: none !important;
	}
	.input_block {
	    width: 173px;
	}
	#calc-submit {
	    font-size: 14px;
	}
}
.sliderp {
  height: 180px!important;
  overflow-y: auto!important;
}
/* --- Mobile Patch End --- */