/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #111111;
    padding: 0.2em 0;
}







/* ==========================================================================
   General styles
   ========================================================================== */

body{
    font: 400 16px/26px 'Source Sans Pro', sans-serif;
    color: #252525;

    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}


h1, 
h2, 
h3, 
h4{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #222;
}


img{
    max-width: 100%;
    height: auto;
}

a:link,
a:visited{
    text-decoration: none;
}



ul {
    margin: 0;
    padding: 0;
}



.section-contents{
    padding: 80px 0;  
}

h3.related-borders{
    color: #65318f;
    position: relative;
}

h3.related-borders:before,
h3.related-borders:after{
    content: '';
    width: 106px;
    height: 2px;
    background: #65318f;
    position: absolute;
    top: 50%;
}

h3.related-borders:before{    
    left: 50%;
    margin-left: -180px;
}

h3.related-borders:after{
    right: 50%;
    margin-right: -180px;
}

h3.protocols:before{
    margin-left: -240px;
}
h3.protocols:after{
    margin-right: -240px;
}

p.sub-head{
    font-size: 18px;
    color: #959595;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header,
.navbar-default{
    padding: 10px 0;
    background: #fff;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
    border: none;
}

h1.logo{
    margin-top: 0;
    margin-bottom: 0;
}

.nav > li > a {
    font: 600 14px/24px 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    color: #555555;
}

.navbar {
    margin-bottom: 0;
}

.navbar-nav > li > a {
    padding-bottom: 5px;
    padding-top: 5px;
   
}

.nav > li > a:hover{    
    background: none;
    text-decoration: underline;
}


.navbar-toggle .icon-bar {
    background: #65318f;

}



/*************************************************************
Section-Banner
**************************************************************/

.section-banner{
    padding-top: 66px;
}

.section-banner img{
    display: block;
    width: 100%;
}


.health-protocol{
    background: #e3e3e3;
}
.health-protocol p{
    max-width: 960px;
    margin: auto;
}

/*************************************************************
Section-prices
**************************************************************/
.prices li{
   padding: 10px 15px;
}

.prices h2{   
   font-size: 40px;
   font-weight: 700;
}


header.price{
    background: #65318f;
    width: 108px;
    height: 108px;
    margin: auto;

    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.prices li h2{
   color: #65318f;
   margin: 0 auto;
}



.prices li p{
   color: #65318f;
   text-transform: uppercase;
   font-size: 17px;
}

li.highlight header.price{
   background: #31bbb3;
}

li.highlight p,
li.highlight h2{
    color: #31bbb3;
}
header.price h2{
    color: #fff;
    line-height: 108px;
}




/*************************************************************
 Site-About
**************************************************************/
.section-about{
    background: url(../images/bg.jpg);
    text-align: ;
}


.section-about h3.related-borders:before{ 
    margin-left: -220px;
}

.section-about h3.related-borders:after{
    margin-right: -220px;
}

.section-about p{
    text-align:  justify;
    margin-top: 20px;
}




/*************************************************************
 Section Location
**************************************************************/
/*  CSS for <iframe> responsive Google Map */
.map{
    position: relative;    
    padding-bottom: 56.6666667%; 
    height: 0;
    margin: auto;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.location a{
    color: #252525;    
}

.location h2{
    font-size: 26px;
    color: #65318f;
}




/*************************************************************
 Site-footer
**************************************************************/
.site-footer{
    background: #65318f;
    padding: 50px;
}

.site-footer p{
    background: #65318f;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}


#scrollUp {
    bottom: 15px;
    display: block;
    height: 35px;
    position: fixed;
    right: 15px;
    text-align: center;
    width: 35px;
    background: #31bbb3;
    color: #fff;
    font-size: 20px;    
    line-height: 38px;


    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}

.purple-col{color: #65318f;}

/*************************************************************
 Responsive styles Less-than-767px
**************************************************************/
@media screen and (max-width: 767px){  
    .site-header,
    .navbar-default{
        padding: 15px 0;
        background: #fff;
    }   
    .section-contents{
        padding: 60px 0;  
    }    

    h1.logo{
        position: absolute;
        left: 15px;
        top: -10px;
    }

    .navbar-default h1.logo{        
        top: 5px;
    }

    h1.logo span{
        padding: 0 10px;
    }
 
    .nav{
        border-top: 1px solid #e3e3e3;
        padding: 0  15px;
        margin-top: 20px;
    }

    .navbar-toggle{
        border: none;
        padding: 8px;
    }

    .nav > li > a{
        border-bottom: 1px dashed #e3e3e3;
    }
    .book-btn{
        padding: 10px 15px;
    }

    h3.related-borders:before,
    h3.related-borders:after{
        width: 50px;
    }

    h3.related-borders:before{   
        margin-left: -110px;
    }

    h3.related-borders:after{
        margin-right: -110px;
    }
    h3.protocols:before{   
        margin-left: -170px;
    }

    h3.protocols:after{
        margin-right: -170px;
    }

    .section-banner{
        padding-top: 50px;
    }


    .section-about h3.related-borders:before{ 
        margin-left: -150px;
    }

    .section-about h3.related-borders:after{
        margin-right: -150px;
    }

    

}


@media screen and (max-width: 480px){
    h1.logo{
        font-size: 26px;
        line-height: 28px;
        top: -5px;
    }
    h1.logo span{
        font-size: 16px;
        padding: 0 10px;
    }

    .navbar-default h1.logo{        
        top: 8px;
    }

    h3.related-borders:before,
    h3.related-borders:after{
        width: 20px;
    }

    h3.related-borders:before{   
        margin-left: -90px;
    }

    h3.related-borders:after{
        margin-right: -90px;
    }

    .prices li{
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }

    .prices li:last-child{
        margin-bottom: 0;
    }

    .prices h2{   
       font-size: 26px;
    }


    .section-about h3.related-borders:before{ 
        margin-left: -120px;
    }

    .section-about h3.related-borders:after{
        margin-right: -120px;
    }

    .location h2{
        font-size: 20px;
    } 

    .location a{
        font-size: 14px;
    }
    
    .site-footer p{
        font-size: 14px;
    }

   
}


@media screen and (min-width: 768px){
    .nav{
        margin-top: 17px;
    }
  

    .map{
        width: 80%;
    }    

    .large-font{
        font-size: 24px;    
    }

    .location p{
        margin-bottom: 30px;
    }  

    .location h2{
        margin-top: 0;
        margin-bottom: 0;
    }

    .map{
        margin-top: 12%;
    }

    .location p.no-mb{
        margin-bottom: 0;
    }
}





@media screen and (min-width: 768px) and (max-width: 991px){
    .container{
        width: 100%;
    }
    .map{
        width: 100%;          
        padding-bottom: 66.6666667%; 
    }

    .logo{
        max-width: 120px;
    }
}



@media screen and (min-width: 992px) and (max-width: 1200px){
    .prices li{
        width: 33%;
    }

}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
