/*===================================================================
Project: KSB Dental
Version:	1.1
===================================================================*/

body{
    font-family: 'Open Sans', sans-serif;
    background: #252323;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}
img{
    display: block;
    border: 0;
    max-width: 100%;
}
a{
    color: #4e81bd;
}
h1, h2, h3, h4, h5, h6{
    font-weight: normal;
}

/*====================================== 
Helper Classes
======================================*/
.blue{
    color: #4e81bd;
}
.tleft{
    text-align: left;
}
.tcenter{
    text-align: center;
}
.tright{
    text-align: right;
}
.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;
}
.half .half{
    padding: 0;
}
.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;
}

p {margin:0;padding:0;margin-bottom:20px;}

/*====================================== 
Structure / Template Specific
======================================*/
.container{
    max-width: 1020px;
    margin: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.container:after{
    content: "";
    clear: both;
    display: block;
}

/*====================================== 
Header / Post Header
======================================*/
header{
    background: #fff;
    line-height: 90px;
}
.logo img{
    max-width: 100%;
    padding: 20px 0;
    display: block;
}
.phone{
    font-size: 25px;
    font-weight: lighter;
}
.phone span{
    font-weight: 600;
}
.post-header{
    background: url(../images/header.jpg) top center no-repeat;
    background-size: cover;
}

/*====================================== 
Main Content Area
======================================*/
.content-area{
    background: rgba(255, 255, 255, 0.75);
    padding: 5%;
}
.slogan{
    color: #4e81bd;
    padding: 5% 0 12%;
}
.round-button-circle {
    width: 100%;
    height:0;
    padding-bottom: 100%;
    border-radius: 50%;
    border:4px solid #fff;
    overflow:hidden;
    background: #4e81bd; 
    box-shadow: 0 0 3px gray;
}
.round-button-circle:hover{
    background:#30588e;
}
.round-button-circle a {
    display:block;
    float:left;
    width:100%;
    padding-top:50%;
    padding-bottom:50%;
    line-height:1em;
    margin-top:-0.5em;
    text-align:center;
    color:#e2eaf3;
    font-family:Verdana;
    font-size:15px;
    text-decoration:none;
    text-transform: uppercase;
}

/*====================================== 
Footer
======================================*/
footer{
    color: #fff;
    position: relative;
    padding-bottom: 20px;
    font-weight: lighter;
    font-size:0.9em;
}
footer a{
    text-decoration: none;
}
footer a:hover{
    text-decoration: underline;
}

/*====================================== 
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:1000px) {
    a.round-button {font-size:0.7em;}
}

/* Mobile range */
@media only screen and (max-width: 860px) {
    .desktop{
        display: none !important; /* Applying this hides element on "mobile" */
    }
    .mobile{
        display: block;
    }
    .half, .two-thirds, .quarter, .three-quarters{
        margin:0 auto;
        width:100%;
    }
    .left, .right{
        float: none;
    }
    .content-area .left {float:left;}

    a.round-button {font-size:1em;}
    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;
    }
    header{
        line-height: normal;
    }
    .logo img{
        margin: auto;
    }
    .phone{
        text-align: center;
        margin-bottom: 20px;
    }
    .content-area .third{
        max-width: 300px;
        margin-bottom: 20px;
    }
    .container{
        padding: 20px 0;
    }
    .dox-logo{
        margin: 40px auto 0 auto;
    }
    footer {text-align:center;}
    footer .half{
        margin-bottom: 20px;
    }

    footer .tleft {text-align:center;}
}

@media screen and (max-width:640px) {
    a.round-button {font-size:0.7em;}
}

@media screen and (max-width:500px) {
    .content-area .left {float:none;}
    .third {
        margin:0 auto;
        width:100%;
    }
    a.round-button {font-size:1.1em;}
}

/*====================================== 
Form Fields
======================================*/
#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%;}
#form label{
    display: none;
}

/*GRID */
#form .column {
    float:left;
    margin:0 1%;
}
#form .full {width:98%;margin:0 1%;}
#form .half {width:48%; padding: 0;}
#form .twothird {width:65%;}
#form .onethird {width:31%;}

/*FORM STYLES*/
#form p{
    margin: 7px 0;
}
#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:0.9em/1.4 'Tahoma',sans-serif;
    margin: 0;
}
#form select {
    width:101%;
    padding:10px 2%;
}
#form input[type=submit]{
    background: #4e81bd;
    color: #fff;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
}
/*MEDIA QUERIES */
@media (max-width:767px) {
    #form .column {
        float:none;
        margin:0;
    }
    #form .full, #form .half, #form .twothird, #form .onethird {
        width:100%;margin:0;
    }
    #form br{
        display: none;
    }
}