/*===================================================================
Project: Design 39
Version:	 1.0
===================================================================*/

@import "colors.css"; /* Most of the design39 revisions will take place here */

body{
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}
img{
    display: block;
    border: 0;
    max-width: 100%;
}

/*====================================== 
Helper Classes
======================================*/
.tleft{
    text-align: left;
}
.tcenter{
    text-align: center;
}
.tright{
    text-align: right;
}
.uppercase{
    text-transform: uppercase;
}
.lowercase{
    text-transform: lowercase;
}
.left{
    float: left;
}
.right{
    float: right;
}
.center{
    float: none;
    margin: auto;
}
.inline-block{
    display: inline-block;
}
img.right{
    padding-left: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
img.left{
    padding-right: 20px;
    padding-bottom: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
img.rounded{
    border-radius: 50%;
}
.full{
    width: 100%;
}
.half{
    width: 50%;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.third{
    width: 33%;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.two-thirds{
    width: 66%;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.quarter{
    width: 25%;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.three-quarters{
    width: 75%;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.inline-block{
    display: inline-block;
    vertical-align: top;
}
.clear{
    clear: both;
}
.clearfix:after{
    content: "";
    clear: both;
    display: block;
}
.overlay {
    background:transparent; 
    position:relative; 
    width:100%;
    height:450px; /* your iframe height */
    top:450px;  /* your iframe height */
    margin-top:-450px;  /* your iframe height */
}


/*====================================== 
Structure / Template Specific
======================================*/
.container{
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.container:after{
    content: "";
    clear: both;
    display: block;
}
.container-nested{
    max-width: 1280px;
    margin: auto;
}
.staff {
	width:100%;
	margin:auto 0;
	text-align: center;
}

.staff-photo {
	text-align:center;
	display: inline-block;
	vertical-align:top;
	margin:0 8px;
	padding:0 8px;
	width:150px;
}

.staff h3 {
	color: #c79823;
	margin-bottom:-10px;
}

.staff p {
	font-family:'Open Sans', sans-serif;
	color:#000;
	font-size:1.1em;
}

.tt-tl {
	width:100%;
	margin:auto 0;
	text-align: center;
}

.tt-tl-photo {
	text-align:center;
	display: inline-block;
	vertical-align:top;
	margin:0 8px;
	padding:0 8px;
	width:190px;
}

.tt-tl h3 {
	color: #c79823;
}

.tt-tl p {
	font-family:'Open Sans', sans-serif;
	color:#000;
	font-size:1.1em;
}

section .container ul li {
	font-family: 'Roboto', sans-serif;
    font-size: 16px;
	font-weight:lighter;
    color: #054550;
    line-height: 23px;
}

.embed {position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;}
.embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/*====================================== 
Top/Header
======================================*/
header{
    position: relative;
}
.logo{
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    z-index: 200;
    width: 100%;
}
.mobilelogo {
    display:none;
}
.call-to-action{
    position: absolute;
    left: 40%;
    bottom: 20px;
    max-width: 750px;
    width: 100%;
    z-index: 400;
}
.address-social{
    margin-bottom: 8px;
}
.address-social:after{
    clear: both;
    content: '';
    display: block;
}

	
header .content{
    background: #fff;
    overflow: hidden;
    padding: 20px 40px 20px 40px;
}
header .content p{
    font-weight: lighter;
}
.social{
    margin: 0;
    padding: 0;
}
.social li{
    display: inline-block;
    vertical-align: middle;
}
/* Main Navigation */
.main-navigation{
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 60px;
    text-align: center;
}
.main-navigation ul{
    padding-left: 0;
    margin: 0;
}
.main-navigation li{
    display: inline-block;
    vertical-align: top;
    position: relative; /* This is used for dropdown */
}
.main-navigation a{
    display: block;
}
.main-navigation li ul{ /* Dropdown menu UL/wrapper styling */
    display: none;
    position: absolute;
    z-index: 999; /* Makes sure the dropdown is always on top */
    padding: 0;
    top: 60px;
    left: 0;
    text-align: left;
    min-width: 100%;
    white-space: nowrap;
    line-height: 35px;
}
.main-navigation li:hover ul, .main-navigation li:active ul{
    display: block;
}
.main-navigation li li{ /* Dropdown menu item styling */
    display: block;
    margin: 0;
    width: 100%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.main-navigation li li a{ /* Dropdown menu item a styling */
    padding-left: 20px;
    padding-right: 20px;
}

/*====================================== 
Main Content Area
======================================*/
/* Moving on... */

/*====================================== 
Footer
======================================*/
footer{
    position: relative;
}
footer .box{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
footer .left .left{
    padding: 0;
}
footer .menu{
    list-style-type: none;
    padding: 0;
}
footer .content .left{
    margin-right: 20px;
}

/*====================================== 
Subpages
======================================*/
.sub .call-to-action .content p, .sub .call-to-action .content h3{
    display: none;
}

/*====================================== 
Form
======================================*/
#form .clear {clear:both;}
#form .center {text-align:center;}
#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 Styles */
#form input:not([type=submit]):not([type=checkbox]):not([type=radio]) {
    width:96%;
    padding:10px 2%;
}
#form input[type=radio] {
    margin-bottom:5px;
}
#form textarea {
    width:96%;
    resize:none;
    padding:10px 2%;
    font:95%/1.4 'Tahoma',sans-serif;
}
#form select {
    width:101%;
    padding:10px 2%;
}

/*====================================== 
Responsive
======================================*/
.mobile{
    display: none; /* Applying this hides element on everything except "mobile" */
}
/* Responsive iframes/google maps */
.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
    height: auto;
} 
.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

/*====================================== 
Media Queries
======================================*/
@media only screen and (max-width: 1580px) {
.sub .call-to-action{
        position: relative;
        max-width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
    }	
}

/* Tablet range */
@media only screen and (max-width: 1170px) {
.logo{
    top: 80px;
}
.home .call-to-action{
        position: relative;
        max-width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
    }	
}
@media only screen and (max-width: 1100px) {
    .main-navigation a {
        font-size:16px;
    }
}

@media only screen and (max-width: 850px) {
.logo img{
    max-width: 260px;
    width: 100%;
    margin: auto;
}
}

/* Mobile range */
@media only screen and (max-width: 760px) {
    .desktop{
        display: none !important; /* Applying this hides element on "mobile" */
    }
    .mobile{
        display: block;
    }
    .half, .third, .two-thirds, .quarter, .three-quarters{
        margin:0 auto;
        width:100%;
    }
    .left, .right{
        float: none;
    }
    img.right{
        margin: 10px 0;
        width: auto !important;
    }
    img.left{
        margin: 10px 0;
        width: auto !important;
    }
    h1, h2, h3, h4, h5, h6{
        text-align: center;
    }
    a.button{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
        max-width: 250px;
    }
    .top-bar{
        padding: 10px 0;
        position: fixed;
        width: 100%;
        background: #fff;
        z-index: 500;
    }
    #menu-btn{
        cursor: pointer;
        display: block;
        left: 20px;
        position: absolute;
        top: 10px;
        z-index: 999;
    }
    header:after{
        display: none;
    }
    .cycle-slideshow img {
        display:none !important;
    }
    .cycle-slideshow {height:150px;}
    .mobile-button{
        display: block;
        width: 33px;
        height: 22px;
        background: url(../img/mobile-toggle.png) no-repeat 0px 0px;
        background-size: contain;
        position: absolute;
        margin: 0px 0px 0px 0px;
        z-index: 950;
        cursor: pointer;
        top: 0;
    }
    .main-navigation .mobile-button{
        position: absolute;
        top: 10px;
        right: 10px;
        width: 33px;
        height: 22px;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 0;
    }
    .main-navigation{
        float: none;
        display: block;
        text-align: center;
        margin-top: -35px;
    }
    .main-navigation{
        display: block !important;
        background: #F3DC45;
        position: fixed;
        top: 35px;
        left: -225px;
        bottom: 0px;
        width: 225px;
        padding: 41px 0 0 0;
        border: none;
        z-index: 99999;
        overflow-y: auto;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -ms-transition: all 0.1s ease-in-out;
        -o-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }
    .main-navigation.mobile-menu{
        left: 0;
    }
    .main-navigation > ul{
        width: auto;
        margin: 0;
        padding: 0;
    }
    .main-navigation > ul > li {
        height: auto;
        min-height: 20px;
        overflow: hidden;
        opacity: .9;
        display: block;
        margin: 0;
    }
    .main-navigation > ul li{
        float: none;
    }
    .main-navigation > ul li a:after{
        display: none;
    }
    .main-navigation > ul li:hover{
        background: #fff;
    }
    .main-navigation > ul > li a {
        display: block;
        float: none;
        font-size: 1.4em;
        border-bottom: 1px solid #fff;
        width: 100%;
        text-align: left;
        height: 45px;
        overflow: hidden;
        line-height: 45px;
        padding: 0px 0px 0px 15px;
        color: #000;
    }
    .main-navigation > ul > li a:hover{
        color: #000;
    }
    .main-navigation li ul li > a:after {
        display: none;
    }
    .main-navigation > ul > li a:first-child {width: 100%;}
    .main-navigation > ul li > ul {
        margin: 0px 0px 0px 0px;
        position: static;
        height: auto;
        min-height: 20px;
        overflow: hidden;
        background-color: #fffaf1;
    }
    .main-navigation > ul li > ul li a {
        height: 35px;
        line-height: 35px;
        font-size: 1.05em;
        letter-spacing:0.01em;
    }
    .main-navigation > ul li > ul li:hover a {
        color: #000 !important;
    }
    .logo{
        text-align: center;
        margin: auto;
        float: none !important;
        top: 70px;
        max-width: 300px;
    }
    .mobilelogo {
        display:block;
    }
    .desktoplogo {
        display:none;
    }
    .logo img{
        width: 50%;
    }
    .address-social *{
        text-align: center;
    }
    .content img{
        margin: auto;
    }
    .back-to-top {
        bottom:20px;
        right:15px;
    }
    .rotator{
        padding-top: 60px;
    }
	#color-set-3 .photo{
		border-left: 0px !important;
	}
    footer{
        text-align: center;
    }
    footer ul{
        margin: 20px 0;
        padding: 0;
    }
    #color-set-1 .content{
        padding-top: 10px;
        padding-bottom: 40px;
    }
    #color-set-3{
        padding-top: 20px;
    }
	
    #color-set-3 .content{
        padding-bottom: 40px;
    }
    #color-set-3 .photo iframe{
        border-left: 0px !important;
    }
    /* Forms */
    #form .column {
        float:none;
        margin:0;
    }
    #form .full, #form .half, #form .twothird, #form .onethird {
        width:100%;
        margin:0;
    }

}