﻿/*** dental - RUS ***/
@import 'Site221.css'; 

/*General Styles*/
.section-title h1, .section-title h2, #headline h1, .bookSection .grid-rows .grid-row-text h2 { font-family:Ubuntu-Regular, Arial;}

/*Inner Promotion Zone*/
.promoZone-content a {display: inline-block; border: 2px solid #000; border-radius: 3px; padding-top: 2px; text-align: center; background: transparent; color: #da444c; 
    line-height: 1; padding: 10px 20px; margin-top: 10px; transition: all .25s ease-in-out; -webkit-transition: all .25s ease-in-out;}
.promoZone-content a:hover { transition: all .25s ease-in-out; -webkit-transition: all .25s ease-in-out; background: #d93c43; color: #fff; border-color: #d93c43;}
.promoZone-content p strong { display: inline-block; margin-top: 10px;}
.button-holder#FixFormOuter { width: 80px;}

/*****Home Page*****/

#promotionWindow-first { max-width: 345px;}
#promotionWindow-second h3 { font-size: 115%; color: #121212 !important;}

/*Top Banner*/
#home-gallery .gallery-caption .gallery-text { font-size: 219%;}
#home-gallery .gallery-caption .gallery-text a { max-width: 340px; width: 100%;}
#home-gallery .gallery-caption { top: 45%;}

/*Side Form*/
.home-page .button-holder#FixFormOuter {width: 80px;}

/*Book Section*/
.bookSection .grid-rows .grid-row-text a.grid-row-button { margin-top: 25px;}
.bookSection { margin: 0 auto;}

/*Recommendation Section*/
.textCustomerSection { margin-bottom: 0;}
.textCustomerSection .grid-text p:first-child{ margin-top: 0;}
.home-page .grid-text { margin-top: 30px;}

/*Footer*/
.textArticleSection { margin-bottom: 40px;}

/*****About Page*****/
.about .promoZone-content p:nth-child(3) { display: none;}
.promoZone-content p:last-child strong, .promoZone-content p:last-child strong a { margin-top: 0;}
.section-title h1, .section-title h2, #headline h1, .bookSection .grid-rows .grid-row-text h2 { font-weight: bold;}
#text1 ul > li::before { font-family: Titillium-Regular;}

/*****Business page*****/
.business h4 { margin-top: 25px;}
.business .promoZone-content p:nth-child(2) { padding-bottom: 0; }
.business .promoZone-content p:nth-child(3) { border-bottom: none; padding-bottom: 0px;}
.business .promoZone-content p:nth-child(4) { color: #da444c; padding-top: 10px; }
.business .promoZone-content p:nth-child(5) { display: none; }
#text1 ul > li::before { top: -11px;}

/*****Book Page*****/
.theBook #text1 > table td > p { font-size: 100%;}
#text1 h3:after { display: none;}

/*Recommendations Page*/
.recommandations strong { margin-top: 3%; display: inline-block; }
.recommandations #headline h1:after { margin-top: 5px; } 
.recommandations .promoZone-content p:nth-child(2) { border-bottom: none; }
.recommandations .promoZone-content p:nth-child(4) { font-size: 94%; /*border-bottom: none;*/}
.recommandations .promoZone-content p:nth-child(5) { display: none; } 

/*Blog Page*/
.blog-post-image img { max-height: 290px;}
.blog-related-posts.row { display: none; }

@media(min-width: 1280px) {
    .theBook #text1 > table td > p { font-size: 100%; width: 85%; margin: auto; }
}

@media(min-width: 1025px) {
    #home-gallery .gallery-caption .gallery-text .smallTextHP {margin-top: 20px;}
    .home-page .grid-row-cell.section-animation-item.grid-row-cell-text.col-sm-6.col-xs-12.up.shown { padding: 30px 0; }
    .promoZone-content p {font-size: 104%;}
    .promoZone-content a {  font-size: 120%; margin-top: 0;}
    .promoZone-content p strong { font-size: 100%;}
    .recommandations .promoZone-content a {font-size:106%; margin-top: 10px;}
}

@media (min-width: 991px) {
    #GridPromo.fixedLayoutForm, #GridPromo.fixedLayoutForm.affix { width: 359px; max-width:359px;}
    .home-page #side-contact-form.fixedLayoutForm, .fixedLayoutForm {max-width: 355px;}
}

@media (min-width: 768px){
    #header2 ul.menu { min-width: 390px; }
    .theBook #text1 > table table:not(.payplal) td:nth-child(1):after { left: auto; right: 0;}
}

@media(min-width: 1170px) and (max-width:1440px) {
    .promoZone-content a { font-size: 114%;}
}

@media(min-width: 992px) and (max-width: 1170px) {
    .home-page #DynamicFormObject .dynamicFormObjectField .must:before { left: 20px;}
    #DynamicFormObject .dynamicFormObjectField .must:before { left: 5px;}
}

@media(min-width: 960px) and (max-width: 1024px) {
    .bookSection .grid-rows .grid-row-text { margin-top: 0;}
}

@media(min-width: 960px) and (max-width:1170px) {
    .theBook #text1 > table table:not(.payplal) td:nth-child(1):after { right: -4px;}
    .theBook #text1 > table td > p { font-size: 100%; width: 95%; margin: auto; }
}

@media(min-width: 768px) and (max-width: 959px) {
    .textArticleSection { margin-top: 20px;}
    #home-gallery .scroll-down { bottom: 10%;}
    .section-title h1, .section-title h2 { font-size: 230%;}
    .blog-post-image img { max-height: 210px; height: 210px; }
    .theBook #text1 img { max-width: 85%; display: block; margin: auto;}
    .recommandations .promoZone-content p img { max-width: 55%;}
}

@media(min-width: 768px) and (max-width: 1024px) {
    .theBook #text1 > table td > P { padding-bottom: 20px; }
}

@media(max-width: 1024px) {
    .bookSection .grid-rows .grid-row-text h2 { font-size: 190%; }
    #header2 .menu-nav .closed { vertical-align: top;}
}

@media(max-width: 768px) {
    .theBook #text1 > table td > p { font-size: 100%; width: 93%; margin: auto; }
}

@media(max-width: 767px) {
    #SiteFooter #partners-section p { font-size: 106%; }
    #SiteFooter #partners-section p:nth-child(2) { margin-top: 15px; }
    .theBook #text1 > table td > p { padding-bottom: 10px;}
    .blog-post-image img { max-height: 124px; }
    #home-gallery .gallery-caption .gallery-text { font-size: 135%;}
    #home-gallery .gallery-caption .gallery-text .smallTextHP { font-size: 68%;}
    #home-gallery .gallery-caption { top: 37%;}
    #home-gallery .gallery-caption .gallery-text a { width: 200px; line-height: 1.4;}
    #home-gallery .scroll-down { bottom: 12%; }
    #text1 h2 { font-size: 126%; }
    .home-page .grid-text-section .section-title { margin-bottom: 0;}
    .home-page .grid-text { margin: 20px 0; }
}

@media(min-width: 378px) and (max-width: 415px) {
    .theBook #text1 > table td > p:nth-child(2) { width: 73%; margin: auto; }
}

@media(min-width: 361px) and (max-width: 375px) {
    .theBook #text1 > table td > p:nth-child(2) { width: 80%; margin: 0 auto;}
}

@media(min-width: 321px) and (max-width: 360px) {
    .theBook #text1 > table td > p:nth-child(2) { width: 85%; margin: 0 auto;}
}

@media(max-width: 375px) {
    #header2 ul.menu li .menu-sub a { font-size: 105%;}
    #SiteFooter #partners-section p { font-size: 98%; }
}

@media(max-width: 320px) {
    #SiteFooter #partners-section p:nth-child(2) { font-size: 88%;}
    #header2 ul.menu li .menu-sub a { font-size: 95%;}
    #home-gallery .gallery-caption { top: 32%;}
    #home-gallery .scroll-down { bottom: 10%; }
}
