/******************************************************************
Theme Name: Keowee Family Dentistry Responsive Theme
Description: This site has been developed by Trimark Digital for Keowee Family Dentistry.
Author: Trimark Digital
Author URI: http://www.trimarkdigital.com
Version: 1
******************************************************************/

.new-keowee-layout .header,
.new-keowee-layout .header * {
    transition: none !important;
}

.new-keowee-layout .homepage-hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.new-keowee-layout .intro-section .text-image-row .image-column img {
    display: block;
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 1024px) {
    .new-keowee-layout .intro-section .text-image-row .image-column {
        position: static;
        overflow: visible;
    }

    .new-keowee-layout .intro-section .text-image-row .image-column img {
        position: static;
        min-height: 0;
        object-fit: contain;
    }
}

/* CTA BUTTON ON HOMEPAGE SLIDER OVERLAY */
.slider .homePageSlider li a .slider-overlay p span {
    display: block;
    max-width: 290px;
    width: 100%;
    height: 100%;
    color: #fff;
    background: #45718a;
    border-bottom: 4px solid #fff;
    margin: 20px auto;
    padding: 6px 10px;
    text-align: center;
    text-transform: uppercase;
}
.slider .homePageSlider li a .slider-overlay p:hover span {
    color: #fff !important;
    background: #45718a; /* #5185a3; */
    border-bottom: 4px solid #fff;
}

/* INTERNAL DIVIDER PADDING */
.bodyCopy .divider {
    padding: 20px 0 0 0;
}

@media screen and (max-width: 400px) {
    .header .header-top .header-top-items .phone a.header-phone {
        font: normal 17px/30px "Alegreya-Regular", Helvetica, Arial, sans-serif !important;
    }
    .bodyCopy h3.banner {
        font: 100 14px/14px "Alegreya-Regular", Helvetica, Arial, sans-serif !important;
        padding: 12px 0px 12px 14px;
    }
    .bodyCopy h1 {
        font: normal 30px/36px "Alegreya-Regular", Helvetica, Arial, sans-serif;
    }
}

/* FEATURED CONTENT ON HOMEPAGE FIXES */
@media screen and (max-width: 768px) {
    body.home .main .feature-content .inner article {
        background: #fefefe url(library/img/img-map-seneca.jpg) no-repeat;
        background-size: contain;
        padding: 15px;
    }
    body.home .main .feature-content {
        bottom: 30px !important;
    }
}

/* MAKING ABOUT PAGE VIDEO RESPONSIVE */
.video-container img {
    width: 100%;
    height: 100%;
    max-width: 393px;
    max-height: 221px;
    display: block;
    margin: auto;
}
.video-container .wistia_embed {
    width: 100%;
    height: 253px;
}

.two-col-list,
.bodyCopy ul.two-col-list {
    width: 100% !important;
}

aside .sidePromo {
    margin: 30px 0px;
}

#testimonial {
    position: relative;
    background: rgba(222, 218, 207, 0.2);
    display: block;
    margin: 30px auto;
    padding: 30px 50px;
    z-index: 0;
}
#testimonial:before {
    position: absolute;
    left: 20px;
    top: 10px;
    display: block;
    content: "\f10d";
    font: normal normal 40px/1 "FontAwesome";
    color: #fff;
    z-index: -1;
}
#testimonial:after {
    position: absolute;
    right: 20px;
    bottom: 10px;
    display: block;
    content: "\f10e";
    font: normal normal 40px/1 "FontAwesome";
    color: #fff;
    z-index: -1;
}
#testimonial p {
    margin: 0;
    padding: 0;
}
#testimonial p strong {
    display: block;
    text-align: right;
}

.bodyCopy .about-staff li h3 {
    margin: 0;
}
.bodyCopy .about-staff li p {
    font-style: italic;
}
.bodyCopy .about-staff li img {
    max-width: 160px;
}
.bodyCopy .about-dentists li img {
    max-height: 160px;
    max-width: 160px;
}
.bodyCopy .about-dentists li img.photo {
    float: right;
    max-width: 100%;
    max-height: 100%;
    margin: 20px;
}

#breadcrumb h2 {
    color: #45718a;
    font-size: 15px;
    line-height: 18px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

#breadcrumb h2 a {
    color: #45718a;
    font-size: 15px;
    line-height: 18px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

/* Added August 10, 2017 */

@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    height: auto;
}

body {
    color: #444;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.slider2 {
    height: 100%;
    background: none !important;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.slider2__nav {
    width: 12px;
    height: 12px;
    margin: 2rem 12px;
    border-radius: 50%;
    z-index: 10;
    outline: 6px solid #ccc;
    outline-offset: -6px;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.slider2__nav:checked {
    -webkit-animation: check 0.4s linear forwards;
    animation: check 0.4s linear forwards;
}
.slider2__nav:checked:nth-of-type(1) ~ .slider2__inner {
    left: 0%;
}
.slider2__nav:checked:nth-of-type(2) ~ .slider2__inner {
    left: -100%;
}
.slider2__nav:checked:nth-of-type(3) ~ .slider2__inner {
    left: -200%;
}
.slider2__nav:checked:nth-of-type(4) ~ .slider2__inner {
    left: -300%;
}
.slider2__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 100%;
    -webkit-transition: left 0.4s;
    transition: left 0.4s;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}
.slider2__contents {
    height: 100%;
    padding: 2rem;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.slider2__image {
    font-size: 2.7rem;
    color: #2196f3;
}
.slider2__caption {
    font-weight: 500;
    margin: 2rem 0 1rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}
.slider2__txt {
    color: #999;
    margin-bottom: 3rem;
    max-width: 100%;
}

input.slider2__nav {
    margin-top: 220px;
}

@-webkit-keyframes check {
    50% {
        outline-color: #333;
        box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
    }
    100% {
        outline-color: #333;
        box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
    }
}

@keyframes check {
    50% {
        outline-color: #333;
        box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
    }
    100% {
        outline-color: #333;
        box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
    }
}

@media (min-width: 1401px) {
    input.slider2__nav {
        margin-top: 100px;
    }
}

@media (min-width: 1301px) and (max-width: 1400px) {
    input.slider2__nav {
        margin-top: 100px;
    }
}

@media (min-width: 1201px) and (max-width: 1300px) {
    input.slider2__nav {
        margin-top: 105px;
    }
}

@media (min-width: 1101px) and (max-width: 1200px) {
    input.slider2__nav {
        margin-top: 110px;
    }
}

@media (min-width: 1001px) and (max-width: 1100px) {
    input.slider2__nav {
        margin-top: 120px;
    }
}

@media (min-width: 901px) and (max-width: 1000px) {
    input.slider2__nav {
        margin-top: 130px;
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    input.slider2__nav {
        margin-top: 140px;
    }
}

@media (min-width: 701px) and (max-width: 800px) {
    input.slider2__nav {
        margin-top: 150px;
    }
}

@media (min-width: 601px) and (max-width: 700px) {
    input.slider2__nav {
        margin-top: 180px;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    input.slider2__nav {
        margin-top: 210px;
    }
}

@media (min-width: 451px) and (max-width: 500px) {
    input.slider2__nav {
        margin-top: 250px;
    }
}

@media (min-width: 351px) and (max-width: 450px) {
    input.slider2__nav {
        margin-top: 380px;
    }
}

@media (min-width: 321px) and (max-width: 350px) {
    input.slider2__nav {
        margin-top: 430px;
    }
}

@media (max-width: 320px) {
    input.slider2__nav {
        margin-top: 460px;
    }
}
header .alert-banner {
    position: relative;
    padding: 6px 20px;
    background-color: #45718a;
    color: #fff;
    text-align: center;
    z-index: 999;
}
header .alert-banner a {
    color: #fff;
    font: normal 22px/30px Alegreya-Bold;
    transition: all 0.2s;
}
header .alert-banner a:hover {
    text-decoration: none;
    color: #282016;
}

/* blog styling */
.blog .blog-grid {
    display: grid;
    align-items: stretch;
    gap: 20px;
}

.blog .blog-grid .card {
    background-color: #eee;
    border: 3px solid #888;
    padding: 16px;
    height: 100%;
}

.blog .card .post-title {
    margin-top: 0;
}

.blog .card .read-more {
    display: block;
    margin-top: 12px;
}

@media (min-width: 768px) {
    .blog .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .blog .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px){
    .header .phone {
        display: none;
    }
}
@media (max-width: 767px) {
    .new-keowee-layout .header .header-top .header-top-items .wrap .phone {
        display: none;
    }

    .new-keowee-layout .header .header-top .header-top-items .wrap .cta-nav-button {
        justify-content: center;
    }

    .mobile-phone-icon {
        color: #545a54!important;
        cursor: pointer;
        .fa-phone {
            font-size: 2em;
            transform:translateY(2px);
        }
    }
    .mobile-nav-links {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }
    .show-mobile-menu {
        width: auto!important;
        padding-left: 15px!important;
    }
}
