/*
Theme Name: Chloe Turgis Enfold Child
Description: Site customisations for the Chloe Turgis Enfold theme.
Author: Chloe Turgis
Template: enfold
Version: 1.0.0
Text Domain: chloe-enfold-child
*/

/* Header and appointment-link customisation migrated from Enfold 4.1.2. */
#header_meta {
    height: 45px;
    line-height: 45px;
    background: #b38888;
    position: fixed;
    left: 0;
    right: 0;
}

.av_phone_active_left .phone-info,
.av_phone_active_left .phone-info div,
.av_phone_active_left .phone-info a,
#header_meta .sub_menu .rdv,
#header_meta .sub_menu .rdv a {
    line-height: 45px;
    padding: 0;
    font-size: 16px;
    color: white;
}

#header_meta a {
    transition: all 200ms ease-in-out;
}

#header_meta .phone-info a {
    color: white;
}

#header_meta a:hover {
    text-decoration: none;
    color: #ddd;
}

.av_phone_active_left .phone-info div:before {
    content: '\260E';
    margin-right: 7px;
}

#top .social_bookmarks li {
    border: none;
}

#top .social_bookmarks li a {
    height: 45px;
    line-height: 45px;
    color: white;
}

.main_menu {
    top: 0;
}

.rdv {
    text-align: center;
    max-width: 250px;
    margin: auto;
}

/* Enfold 7 renders avia_meta_header content inside .sub_menu. */
#header_meta .sub_menu {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 45px;
    line-height: 45px;
    margin: 0;
}

#header_meta .sub_menu .rdv {
    max-width: none;
    margin: 0;
    white-space: nowrap;
}

#header_meta .sub_menu .rdv a {
    display: inline-flex;
    align-items: center;
    height: 45px;
}

.rdv a:link,
.rdv a:visited {
    color: white;
}

.rdv a:before {
    content: '\e85b';
    font-family: 'entypo-fontello';
    margin-right: 7px;
}

#header_main {
    padding-top: 60px;
}

.container .av-content-full.units {
    padding-top: 0;
}

#top .av_inherit_color a {
    text-decoration: underline;
    text-underline-position: under;
}

@media only screen and (min-width: 768px) {
    .rdv-mobile {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    #header_meta .sub_menu {
        position: static;
        transform: none;
    }

    .rdv {
        float: left;
    }

    .rdv-desktop {
        display: none;
    }

    .responsive .phone-info {
        float: right;
        width: auto;
    }
}
