/*====================================== 
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;
}
.mobile{
    display: none; /* Applying this hides element on everything except "mobile" */
}

/*
GLOBAL STYLES
*/

html, body {
    height:100%;
}

.wrapper {
    min-height:100%;
    height: auto !important;
    height:100%;
    margin:0 auto;
}

.push {
    height:150px;
}

body {
    font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; /* Font type for the entire website */
    color:#ffffff; /* Color of the font on the entire website */
    letter-spacing:-0.01em;
    line-height:20px;
    font-size:11pt; /*  Size of the font on the entire website */
    background:url('../img/site/bg-repeat2.jpg') #20a4cb top center no-repeat fixed;
    /* Above is the background of the large circles of blue, the color decimal number is when you scroll down beyond the size of the circles
     image, it needs a color to display, make it the same color as on the bottom of the bg image */
}

#container, #footer .container {
    margin:0 auto;
    max-width:900px;
    height:100%;
    position:relative;
}

#address {
    background:#f8cf39;
    color:#077681;
    border:1px #2c96a1 solid;
    border-radius:8px; /*This is the generic one when all browsers support it */
    -moz-border-radius:8px; /* This is specific for firefox */
    -webkit-border-radius:8px; /* This is webkit browsers such as chrome and safari */
    height:auto;
    padding:15px 15px;
    display:block;
    text-align:center;
    font-size:1.2em;
    max-width:450px;
    margin:auto;
}

#address a {
    color:#077681;
    text-decoration:none;
}

#logo {
    max-width:350px;
    height:100%;
    z-index:999;
    position:relative;
    float: left;
}

#logo img{
    max-width: 100%;
    display: block;
    width: 100%;
    height: auto;
}

#logo-phone {
	position:absolute;
	bottom:7%;
	color:#32abca;
	width:90%;
	text-align:center;
}

#logo-phone a {
	color:#32abca;
}

#slideshow {
    max-width:499px;
    height:295px;
    margin:95px 0 0 0;
    z-index:700;
    float: left;
}

#slideshow div{
    max-width: 100%;
    width: auto;
}

#slideshow img{
    max-width: 100%;
    display: block;
    width: 100%;
}

.ql-button{
    background: -webkit-gradient(linear, left top, right top, from(#fdbd40), to(#f47721));
    background: -webkit-linear-gradient(top, #fdbd40, #f47721);
    background: -moz-linear-gradient(top, #fdbd40, #f47721);
    background: -o-linear-gradient(top, #fdbd40, #f47721);
    background: -ms-linear-gradient(top, #fdbd40, #f47721);
    background: linear-gradient(top, #fdbd40, #f47721);
    background-color: #fdbd40;
    color: #fff;
    text-align: center;
    min-width: 210px;
    max-width: 250px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display: block;
    text-decoration: none;
    padding: 10px;
    font-size: 20px;
}

.ql-button:hover{
    color: #fff;
    background: -webkit-gradient(linear, left top, right top, from(#f47721), to(#fdbd40));
    background: -webkit-linear-gradient(top, #f47721, #fdbd40);
    background: -moz-linear-gradient(top, #f47721, #fdbd40);
    background: -o-linear-gradient(top, #f47721, #fdbd40);
    background: -ms-linear-gradient(top, #f47721, #fdbd40);
    background: linear-gradient(top, #f47721, #fdbd40);
    background-color: #fdbd40;
}

/*
HEADING STYLES
*/

h1 { /* Heading for the pages */
    font-family: 'Signika', sans-serif;
    font-size:2.2em;
	line-height:0.9em;
    color:#fff600;
    letter-spacing:0.04em;
    padding-bottom:5px;
    margin-bottom:0;
}

h2 { /* Heading for the dental topics and subheaders like the dentists */
    font-size:2em;
	line-height:1.2em;
    padding-bottom: 14px;
    font-family: 'Signika', sans-serif;
    color:#913d81;
    margin-bottom:-5px;
    letter-spacing:0.04em;
    border-bottom:#afd1ff dotted 3px; /* This is the line that is below the headings */
}

/* Header for the back to top links. Call it using "Heading 3." */

h3 {
    font-size:1.2em;
    font-family: 'Signika', sans-serif;
    color:#094f5d;
    margin-bottom:-5px;
    letter-spacing:0.04em;
}	

/*
NAVIGATION STYLES
*/

#nav {
    background:url('../img/site/nav_bg.png') no-repeat fixed center top; /* The wavy bar that contains the navigation */
    height:102px;
    font-size:12pt; /* Size of the link text */
    position:fixed; /* This code keeps the navigation at the top of the browser so it doesn't go away */
    width:100%;
    left:0;
    z-index:998;
}

#nav_social {
    max-width:240px;
    margin:0 auto;
    position:fixed;
	float:left;
	z-index:1000;
	top:8px;
}

#nav_contain {
    max-width:900px;
    margin:0 auto;
    position:relative;
}

#nav_contain ul {
    list-style:none;
    text-align:right;
    margin:0;
    padding-top:13px;
}

#nav_contain ul li {
    display:inline-block;
    margin:0;
    position:relative;
    margin-left:10px;
}

#nav_contain ul li a {
    color:#077681; /* Color of the link text in the navigation */
    text-decoration:none;
    padding:4px 10px 5px 10px;
    background:#ffd800;
    border-radius:5px; /*This is the generic one when all browsers support it */
    -moz-border-radius:5px; /* This is specific for firefox */
    -webkit-border-radius:5px; /* This is webkit browsers such as chrome and safari */
}

#nav_contain li:hover a {
    color:#fff; /* Color of the link text when you roll over it */
    background:#077681; /* background box when you roll over the links at the top */
    height:30px;

    /* These 3 lines are the epicness that is CSS3, it puts a curved border on the boxes when you hover */
    border-radius:5px; /*This is the generic one when all browsers support it */
    -moz-border-radius:5px; /* This is specific for firefox */
    -webkit-border-radius:5px; /* This is webkit browsers such as chrome and safari */
    /* End CSS33 epicness */
}

#nav_contain li ul {display:none;position:absolute;}

#nav_contain li:hover ul {display:block;}

#nav_contain li:hover li {float:none;font-size:15px;}

#nav_contain li:hover li a {
    background:url('../img/site/dropdown-bg.png');
    color:#fff;
    border:1px #2c96a1 solid;
    height:auto;
    padding:8px 15px;
    display:block;
    text-align:center;
    font-size:15px;
    width:150px;
}

#nav_contain li:hover li a:hover {background:#fece70; color:#077681;}

.quick-link-set{
   margin: 0 0px 20px 20px; 
   padding: 25px;
   background: #ffd800 ;
}
.quick-link-set h2{
   margin-top: 0;
   margin-bottom: 10px;
   color: #094f5d;
   font-size: 2.4em;
   display: block;
   padding: 0;
}
.quick-link-set a{
   color: #094f5d;
}

/* ====================================== 
Mobile Menu
====================================== */
#page-wrapper {
    -moz-transition: -moz-filter 0.25s ease;
    -webkit-transition: -webkit-filter 0.25s ease;
    -ms-transition: -ms-filter 0.25s ease;
    transition: filter 0.25s ease;
}
nav #menu-toggle{
    display: inline-block;
    padding: 10px 15px;
    color: #077681;
    background-color: #ffd800;
    text-transform: uppercase;
    margin: 0px 0px 0px 0px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    left: 10px;
    top: 10px;
}

nav #menu-toggle:hover{
    background-color: #EAEAEA;
    color: #303030;
}

#menu {
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -moz-pointer-events: none;
    -webkit-pointer-events: none;
    -ms-pointer-events: none;
    pointer-events: none;
    -moz-transition: opacity 0.35s ease, visibility 0.35s;
    -webkit-transition: opacity 0.35s ease, visibility 0.35s;
    -ms-transition: opacity 0.35s ease, visibility 0.35s;
    transition: opacity 0.35s ease, visibility 0.35s;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: rgba(46, 49, 65, 0.8);
    cursor: default;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    text-align: center;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 1000;
}

#menu .inner {
    padding: 2.5em 1.5em 0.5em 1.5em ;
    -moz-transform: translateY(0.5em);
    -webkit-transform: translateY(0.5em);
    -ms-transform: translateY(0.5em);
    transform: translateY(0.5em);
    -moz-transition: opacity 0.35s ease, -moz-transform 0.35s ease;
    -webkit-transition: opacity 0.35s ease, -webkit-transform 0.35s ease;
    -ms-transition: opacity 0.35s ease, -ms-transform 0.35s ease;
    transition: opacity 0.35s ease, transform 0.35s ease;
    -webkit-overflow-scrolling: touch;
    background: #6bcde7;
    border-radius: 5px;
    display: block;
    max-width: 100%;
    opacity: 0;
    position: relative;
    width: 18em;
    margin: 0 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#menu h2 {
    border-bottom: solid 2px #fff;
    padding-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-top: 0;
}

#menu .close {
    background-image: url("../img/close.svg");
    background-position: 75% 25%;
    background-repeat: no-repeat;
    background-size: 2em 2em;
    border: 0;
    content: '';
    display: block;
    height: 4em;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-align: center;
    text-indent: 4em;
    top: 0;
    width: 4em;
}
#menu .links {
    list-style: none;
    margin-bottom: 1.5em;
    padding: 0;
}
#menu .links li {
    padding: 0;
    margin: 0;
}
#menu .links li ul{
    display: none;
}
#menu .links li a {
    border-radius: 5px;
    border: 0;
    display: block;
    font-family: Raleway, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: bold;
    line-height: 1em;
    padding: 0.75em 0;
    text-transform: uppercase;
    text-decoration: none;
}
#menu .links li a:hover {
    background: #30c4c9;
    color: #fff;
}
@media screen and (max-width: 736px) {
    #menu .inner {
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }
    #menu .inner .close {
        background-size: 1.5em 1.5em;
    }
}

body.is-menu-visible #page-wrapper {
    -moz-filter: blur(1.5px);
    -webkit-filter: blur(1.5px);
    -ms-filter: blur(1.5px);
    filter: blur(1.5px);
}
body.is-menu-visible #menu {
    -moz-pointer-events: auto;
    -webkit-pointer-events: auto;
    -ms-pointer-events: auto;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
body.is-menu-visible #menu .inner {
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

/*
-----------  LINK STYLES  ---------------------------------------------------------------
*/

a {
    color:#fff600; /* Color of ALL links */
}

a:hover {       /* This is when you hover over the link. */
    color:#ffa800;
    text-decoration:none; /* This takes away the line under the link, set it to "underline" to remove that effect */
}	

/*
CONTENT STYLES
*/
.button{
    padding: 10px 20px;
    background: #f8cf39;
    color: #077681;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-decoration: none;
}
.button:hover{
    background: #077681;
    color: #fff;
}
#content {
    padding:10px 40px;
}
#content img{
    max-width: 100%;
    display: block;
}

#social-media {
    position:absolute;
    /*width:125px;*/
    left:50px;
    top:5px;
    z-index:1000;
}

#social-media img {
    border:0;
}

#nav-bg {
    position:fixed;
    top:0;
    left:0;
    width:1680px;
    height:93px;
    background: url('../img/site/nav_bg.png') 0 0 no-repeat fixed !important;
    background-attachment: fixed;
}

#quicklinks {
    padding:10px 20px;
    border-left:3px #fff dotted; /* Border to the left of the quicklinks */
}

hr {          
    width:100%; /* Width of the line in percent */
    background:#afd1ff; /* Color of the line */
    height:2px; /* Height of the line */
}

#content .book {     /* This is what holds the book descriptions in a "CSS table". */
    width:400px;
    height:145px;
    padding:5px 10px 20px 10px;
    background-color:#3095e8; /* Change background color of book tables */
    margin:0 auto; /* Centers the book table in the middle of page */
}

#content .doctor-photo{
    margin-top: 20px;
}
#content .doctor-photo img{
    border: 2px #fff solid;
}

.floatright {
    margin-left:10px;
    float:right;
    border: 2px #fff solid;
}

.floatleft {
    margin-right:10px;
    float:left;
    border: 2px #fff solid;
}

.floatmid {
    margin: 0 auto;
    border: 2px #fff solid;
}

.clear{
    clear:both;
}

.center{
    text-align:center;
}

/*FOOTER STYLES */

#footer {
    background:url('../img/site/footer-bg2.png') repeat-x bottom center;
    font-size:8pt;
    height:300px;
    bottom:0;
    color:#000; /* Text color of the footer */
    padding-top:10px;
    line-height: normal;
}
#footer:after{
    content: '';
    clear: both;
    display: block;
}

#footer .container > .half{
    padding-top: 70px;
}

#footer .left .left.first{
    padding: 0;
}

#footer a {
    color:#000; /* Link color of the footer */
}

#footer a:hover {
    color:#00315a; /* Color of the Links when you hover over them in the footer */
    text-decoration:none;
}

#footer, .push {

    clear:both;
}

#footer ul li{
    display: inline-block;
    width: 45%;
    margin: 0;
    vertical-align: top;
}

/* 	
MISC
*/

.content img {
    margin-left:10px;
    margin-right:10px;
}

#sealant { 
    width:400px;
    height:125px;
    padding:5px 10px 20px 10px;
    margin:0 auto;
}

.seal {
    width:200px;
    text-align:center;
    float:left;
}

.predev {
    font-size:11pt;
    font-weight:bold;
    margin-bottom:-10px;
}

ol li {
    list-style-type:decimal;
    text-decoration:none;
}

ol li p {
    font-weight:normal;
    margin-top:0px;
}

.dhome_title {
    width:250px;
    float:left;
    height:10em;
}

.dental_home h4 {
    padding-right:25px;
    width:250px;
}

.back-to-top{
    background-image: url(../img/back-to-top.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fcb53c;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    height: 50px;
    width: 50px;
    text-indent: -9999px; /* Hides text from human view */
    position:fixed;
    bottom:20px;
    right:20px;
    display:none;
    z-index: 999;
}

#form .clear {clear:both;}
#form .center {text-align:center;}
#form small {font-style:italic;}

#reviews-post a.icon-star, #reviews-stream a.icon-star {
	font-size: 5.3vmax!important;
}

.reviews p {
	padding: 2vmax 0 0 0!important;
}

/*GRID */
#form .column {float:left;margin:0 1%;}
#form .full {width:98%;margin:0 1%;}
#form .half {width:48%;}

/*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:100%;padding:10px 2%;}

/*MEDIA QUERIES */
@media (max-width:767px) {
	#form .column {float:none;margin:0;}
	#form .full,#form .half {width:100%;margin:0;}
}

@media only screen and (max-width: 900px) {
    .desktop{
        display: none !important; /* Applying this hides element on "mobile" */
    }
    .mobile{
        display: block;
    }
    #social-media{
        display: none;
    }
    nav #menu-toggle{
        right: 10px;
        left: auto;
        position: absolute;
    }
}


@media only screen and (max-width: 780px) {
    .half, .third, .two-thirds, .quarter, .three-quarters{
        margin:0 auto;
        width:100%;
    }
    .left, .right, .floatleft, .floatright{
        float: none;
        margin: 10px auto;
    }
    img.floatright, img.floatleft{
        display: block;
    }
    img.right{
        margin: 10px 0;
        width: auto !important;
    }
    img.left{
        margin: 10px 0;
        width: auto !important;
    }
    nav #menu-toggle{
        left: 10px;
        right: auto;
        position: relative;
    }
    #logo{
        float: none;
        margin: auto;
    }
    #logo img{
        max-width: 100%;
        display: block;
        height: auto;
    }
    #social-media{
        display: block;
        left: auto;
        right: 10px;
        top: 10px;
        position: fixed;
    }
    #slideshow{
        display: none;
        float: none;
        height: auto;
        margin: 0 auto;
    }
    #content{
        padding: 10px;
        text-align: center;
    }
    #content img{
        max-width: 100%;
        display: block;
        margin: 10px auto;
        padding: 0;
    }
    #content table td{
        width: 100%;
        display: block;
    }
    #quicklinks{
        border-left: 0px;
    }
    #footer{
        height: auto;
        overflow: hidden;
        text-align: center;
        padding: 10px;
    }
    #footer ul li{
        width: 100%;
        display: block;
    }
    #footer .container > .half{
        padding: 0;
    }
    .back-to-top{
        right: 10px;
        bottom: 10px;
    }
    .ql-button{
        margin: auto;
    }
}

@media only screen and (max-width: 480px) {
    #logo{
        z-index: auto;
    }
}

#form .clear {clear:both;}
#form .center {text-align:center;}
#form small {font-style:italic;}

/*GRID */
#form .column {float:left;margin:0 1%;}
#form .full {width:98%;margin:0 1%;}
#form .half {width:48%;}

/*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:100%;padding:10px 2%;}

/*MEDIA QUERIES */
@media (max-width:767px) {
	#form .column {float:none;margin:0;}
	#form .full,#form .half {width:100%;margin:0;}
}
