﻿/*--------------------
TABLE OF CONTENTS
01. Base Styles
02. Typography/Link Styles
03. Header Styles
04. Navigation Styles
05. Content Styles
06. Footer Styles

/*======================
01. BASE STYLES
========================*/

* {margin:0;}

html, body {height:100%;}

body {
    font:100%/1.4 'Source Sans Pro', sans-serif;
    color:#fff;
    background:#1fa2b5;
}

img {max-width:100%;}

.wrapper {
    width:100%;
    z-index:1;
    position:relative;
}

.container {
    width:95%;
    margin:0 auto;
    max-width:1200px;
}

.container:after{
    display: block;
    clear: both;
    content: '';
}

.column {
    float:left;
    margin:0 1%;
}

.grid12 {width:98%;}
.grid11 {width:89.6667%;}
.grid10 {width:81.3333%;}
.grid9 {width:73%;}
.grid8 {width:65%;}
.grid7 {width:56.3333%;}
.grid6 {width:48%;}
.grid5 {width:39.6667%;}
.grid4 {width:31%;}
.grid3 {width:23%;}
.grid2 {width:14.6667%;}
.grid1 {width:6.3333%;}

.clear {clear:both;}

.alignleft,.alignright,.alignmid, .border {
    border:2px solid #000000;
}

.alignleft {
    float:left;
    margin-right:15px;
}
.alignright {
    float:right;
    margin-left:15px;
}
.alignmid {
    display:block;
    margin:0 auto;
}
.center {text-align:center;}

blockquote {
    color:#FCD83B;
    font-size: 1.6em;
    line-height: 1.1em;
    margin-bottom:20px;
    font-family: 'Life Savers', cursive;
}

hr {
    border:0;
    height:2px;
    background:#3A842B;
    padding:0;
    margin-top:10px;
    margin-bottom:25px;
}

.orange{
    color: #f17928;
}
.red{
    color: #b10104;
}
.green{
    color: #9ccb3b;
}
.yellow{
    color: #fcd83b;
}
.light-blue{
    color: #B0F8FE;
}
.blue{
    color: #1fa2b5;
}
.orange-bg{
    background: #f17928;
}
.green-bg{
    background: #9ccb3b;
}
.yellow-bg{
    background: #fcd83b;
}
.blue-bg{
    background: #1fa2b5;
}

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; height: 0; 
    overflow: hidden; 
    max-width: 100%; 
} 
.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

.mobile{
    display: none;
}

/*======================
02. TYPOGRAPHY/LINK STYLES
========================*/

h1,h3,h5 {
    padding-bottom:0;
    color:#fcd83b;
    font-weight:bold;
    font-family: 'Life Savers', cursive;
}
h2,h4,h6 {
    font-family: 'Life Savers', cursive;
    color:#B0DB58;
    padding-bottom:15px;
    font-weight:bold;
}
h1 {font-size:3em;}
h2 {font-size:2.5em;}
h3 {font-size:2.0em;}
h3.address{
    font-weight: bold;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4em;
}
h4 {font-size:1.5em;}
h5 {font-size:1.0em;}
h6 {font-size:0.8em;}

a {color:#B0F8FE;transition:0.5s all ease;}

a:hover {color:#05484F;}

a.button,#form input[type=submit] {
    font-family: 'Life Savers', cursive;
    background:#f17928;
    color:#000;
    text-transform: uppercase;
    text-align:center;
    display:inline-block;
    padding:12px 15px;
    text-decoration:none;
    font-weight: bold;
    border:0;
    cursor:pointer;
}

a.button:hover,#form input[type=submit]:hover {
    background:#9CCB3B;
}

/*======================
03. HEADER STYLES
========================*/

.header {
    position: relative;
    padding-top: 0px;
    text-align:center;
    background:#fff;
}

.logo{
    position: absolute;
    top: 48px;
    left: 70px;
    right: 0;
    margin: auto;
    display: block;
    z-index: 1000;
    max-width: 550px;
    width:28%;
}

.addressbar {
    background: #008DA9 none repeat scroll 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 38px;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 9999;
}

.addressbar p {margin:0;padding:0;}

.smimage {display:none;}

/*======================
04. NAVIGATION STYLES
========================*/
nav {
    position:relative;
    z-index:9998;
    margin:0 auto;
}

nav ul{
    list-style-type:none;
    padding-bottom:0;
    text-align:center;
}

nav li {
    display:inline-block;
    margin:0;
    padding:0;
    position:relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

nav li img {
    vertical-align:middle;
    margin-top:-7px;
}

nav li a {
    font-family: 'Life Savers', cursive;
    display:block;
    text-decoration:none;
    color:#fff;
    font-size:1.1em;
    transition:0.5s all ease;
    line-height:60px;
    padding:0 18px;

    text-transform: uppercase;
    font-weight: bold;
}

#menu li a{
    line-height: normal !important;
}

nav li:hover a {
    background:#bde56a;
    color:#010101;
}

/* DROPDOWN */

nav li ul {
    display: none;
}
nav li:hover ul {
    display: block;
    margin-left: 0;
    position: absolute;
    top: 60px;
    z-index: 9999;
}
nav li:hover li {
    float: none;
    white-space: nowrap;
    width: 100%;
    background:none;
}

nav li:hover li a {
    display: block;
    margin:0;
    height: auto;
    text-align: left;
    line-height:50px;
    padding:0 40px 0 20px;
    border:0;
    font-size:0.9em;
}
nav li:hover li a:hover {
    background: #9ccb3b;
}

#main-navigation{
    background: #9ccb3b;
    width: 100%;
    top:42px;
    /*  should be top:38px;*/
}
#main-navigation li:first-child a{
    border-left: 0;
}
#main-navigation li:last-child a{
    border-right: 0;
}
#main-navigation a{
    border-right: 3px solid #bde56a;
    margin:0 -3px;
}
#main-navigation li ul li a{
    border-right: 0;
}
#main-navigation li:hover ul{
    margin-left: -3px;
}

/*======================
05. CONTENT STYLES
========================*/
.slideshow {
    position:relative;
    margin-left:10px;
    width:940px;
    height:320px;
}

.slideshow img {
    left:0;
    position:absolute;
    top:0;
    z-index:9;
}

.quick-links{
    color: #000;
    position:relative;
    width:100%;
    margin-bottom:30px;
}

.quick-links a {text-decoration:none;color:#000}

#main-content{
    padding:20px 0;
    position:relative;
}

#main-content img{
    border: 2px solid #fcd83b;
}

.dark .dateposted {color:#ccc !important;}

#main-content .reviews img {border:0;}

#meet-dr-marn{
    background: url('../img/bridge-skyline.jpg') no-repeat top center;
    background-size: cover;
    color: #000;
    padding-top: 60px;
    padding-bottom: 40px;
}

#meet-dr-marn img{
    border: 2px solid #f17928;
}

#meet-dr-marn .button{
    margin-bottom: 20px;
}

.callout{
    background: #59E8F8;
    color: #000;
    padding: 20px 30px 30px 30px;
    border: none;
}
.callout ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.callout li{
    margin: 0;
}
.callout a{
    color: #08626C;
    text-decoration: underline;
}

.callout a:hover {
    color:#000;
}

/* FORM STYLES */

#form .clear {clear:both;}
#form .center {text-align:center;}
#form h3 {margin:0 1%;}
#form small {font-style:italic;}
#form hr {width:98%;margin:10px 1% 15px 1%;}

/*GRID */
#form .column {
    float:left;
    margin:0 1%;
}

#form .full {width:98%;margin:0 1%;}
#form .half {width:48%;}
#form .twothird {width:65%;}
#form .onethird {width:31%;}

#form input:not([type=submit]):not([type=checkbox]):not([type=radio]) {
    width:96%;
    padding:10px 2%;
    border: 2px solid #1fa2b5;
}

#form input[type=radio] {
    margin-bottom:5px;
}

#form label {margin-right:15px;}

#form textarea {
    width:96%;
    resize:none;
    padding:10px 2%;
    font:95%/1.4 'Tahoma',sans-serif;
    border: 2px solid #1fa2b5;
}

#form input[type=submit] {font-size:1.2em;}

#form select {
    width:101%;
    padding:10px 2%;
}

/*======================
06. FOOTER STYLES
========================*/

footer {
    background: url('../img/skyline.jpg') no-repeat center top;
    background-size: cover;
    color: #1f1f1f;
    padding: 30px 0;
    font-size: 14px;
}

footer a {color:#1f1f1f;}

footer .address{
    font-size: 1.4em;
}

footer .last{
    margin-top: 50px;
}

footer h3{
    margin: 1% 0;
}

footer ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer ul a{
    text-decoration: underline;
}

.windowtop {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 30px;
    overflow: hidden;
    text-indent: 100%;
    background: #1fa2b5 url('../img/top-arrow.png') no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    border-radius:10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    z-index:9999;
    transition:0.5s all ease;
    cursor:pointer;
}

.windowtop.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.no-touch .windowtop:hover {
    background-color: #e86256;
    opacity: 1;
}

/*======================
MEDIA QUERIES
========================*/

@media (max-width:1400px) {
    .smimage {display:inline-block;}
    .bigimage {display:none;}

    .logo {
        width:33%;
        top:40px;
    }
}

@media (max-width: 1024px) {

    .smimage {display:none;}

    .header {
        background:url('../img/header-mobile.jpg') center top;
        height:600px;
        background-size:cover;
    }

    .logo {
        width:450px;
        top:55px;
        left: 50px;
    }

    .desktop{
        display: none !important;
    }
    .mobile{
        display: block;
    }
    .addressbar {
        text-align:right;
        line-height: 35px;
        font-size: 1.2em;
    }
    .addressbar span {display:none;}

    .addressbar p {padding-right:20px;}

    #menu-toggle{
        display: block;
        position: fixed;
        z-index: 9999;
        width:15%;
        cursor: pointer;
        top: 0;
        left:0;
        background:#9CCB3B;
        line-height: 35px;
        text-align: center;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
    }

    nav {margin:0;}

    nav li a{
        margin: 0;
    }

    nav ul li:hover a {background:none;}

    nav li:hover li a:hover {
        background: none;
    }
    .quick-links .container{
        width: 100%;
    }
    footer .last ul{
        text-align: center;
    }
    footer li{
        margin: 0;
    }
    footer .copyright{
        margin-top: 30px;
    }
}

@media screen and (max-width:767px){
    .grid1,.grid2,.grid3,.grid4,.grid5,.grid6,.grid7,.grid8,.grid9,.grid10,.grid11,.grid12 {
        width:100%;
        margin:0;
    }

    .alignleft, .alignright {
        float:none;
        display:block;
        margin:0 auto 20px auto;
    }

    .container img {margin:0 auto;display:block;}
    #form .column {
        float:none;
        margin:0;
    }
    #form .full, #form .half, #form .twothird, #form .onethird {
        width:98%;margin:0;
    }
    footer {
        text-align:center;
    }
}

@media screen and (max-width:600px) {
    .logo {
        top:80px;
        width:350px;
        left:0
    }


}

@media screen and (max-width:350px) {
    .logo {
        top:80px;
        width:90%;
    }
}