/*
Theme Name: Maine Composities Alliance
Description: Child Theme based on Enfold
Version: 1.0
Author: Neil Arnold
Author URI: http://www.neilarnold.com
Template: enfold
*/


/* Header, Logo --- --- --- */
#header_main .logo img {
    padding: 2% 0 2% 0;
}
@media only screen and (max-width: 767px) {
    #header_main .logo img {
        max-width: 230px;
    }
}
.header-scrolled #header_main .logo img { padding: 2.5% 0; }
/* END -  Header, Logo --- --- --- */

/* Header, Primary Nav --- --- --- */
#top .av_header_glassy.av_header_transparency .header_bg {
    background-color: #3a3a3a;
    opacity: 0.9;
    filter: alpha(=9);
}

/*#header_main .container_wrap { border-top: none; }*/
.header_color .main_menu ul:first-child > li > a
{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

#top .av_header_transparency .avia-menu-fx {
    bottom: 29%; /* move bar closer to text */
}
/*.av-main-nav > li > a {
    padding: 0 17px;
}*/

/* END - Header, Primary Nav --- --- --- */

/* Header, Top Bar --- --- --- */
.header_color .phone-info,
.header_color .phone-info a,
.header_color .social_bookmarks a,
.header_color .sub_menu > ul > li > a {
    font-size: 12px;
    font-weight: 600;
}
.phone-info span:before,
#top .av_header_transparency .phone-info.with_nav span:before {
    content: '\f041';
    font-family: FontAwesome;
    color: #ffffff;
    display: inline-block;
    padding-right: 5px;
    font-size: 15px;
    font-weight: normal;
    position: relative;
    top: 1px;
}

#top #wrap_all .sub_menu > ul > li > a,
#top #wrap_all .av_header_transparency .sub_menu > ul > li > a {
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
}

.menu-icon:before {
    font-family: FontAwesome;
    color: #ffffff;
    display: inline-block;
    padding-right: 6px;
    font-size: 14px;
    font-weight: normal;
    position: relative;
    top: 0px;
}
.menu-icon-mail:before { content: '\f0e0'; }

@media only screen and (max-width: 990px) {
    .av_secondary_right .sub_menu { display: none; }
}
/* END -  Header, Top Bar --- --- --- */

/* Title Bar & Breadcrumb --- --- --- */
.html_header_top.html_header_topbar_active.html_header_sticky #top #main {
        padding-top: 130px;
}
#top .alternate_color.title_container,
#top .title_container .container {
    background-color: #cad5de;
    color: #708ca6;
}
.alternate_color .breadcrumb a { color: #708ca6; }
#top .alternate_color.title_container .main-title a {
    color: #708ca6;
    font-size: 19px;
}
.alternate_color .breadcrumb { color: #8a8a8a; }
/* END - Title Bar & Breadcrumb --- --- --- */

/* Page Title --- --- --- */
.responsive .page-title .container {
    padding: 0;
    max-width: 100%;
}
.responsive .page-title .container .content {
    /*padding-top: 0;*/
    padding-bottom: 0;
}
body .page-title .av-special-heading .av-special-heading-tag {
    margin-top: 330px;
    color: #a8e458;
    background-color: rgba(23, 23, 23, 0.65);
    font-size: 39px;
    width: 100%;
    text-align: right;
    padding-right: 0.5em;
    text-transform: none;
    font-weight: normal;
}
.page-title .special_amp {
    font-size: 1.0em;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
}
@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .page-title .container {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    body .page-title .av-special-heading .av-special-heading-tag {
        margin-top: 100px;
        font-size: 28px;
    }
}
/* END - Page Title --- --- --- */

/* Footer --- --- --- */
.widget_nav_menu ul:first-child > .current-menu-item > a, .widget_nav_menu ul:first-child > .current_page_item > a,
.widget_nav_menu a { padding: 0; }
#footer .widget-title { font-size: 13px; }
#footer .textwidget p {
    font-size: 11px;
    line-height: 1.3em;
    line-height: 1.8em;
}

#footer .textwidget > h4 { position: relative; top: 10px;}
#footer .textwidget > h4 span.av_font_icon { position: relative; top: -10px; }
/* END - Footer --- --- --- */

/* Home --- --- --- */
.ls-container .ls-layer { }
.ls-container .ls-layer h1 { }
.ls-container .ls-layer p { }

.home-blue-cols { border-top: solid 7px #ffffff; }
.home-blue-cols > .flex_cell { background-color: #00accb; }
.home-blue-cols > .flex_cell:nth-child(2) { background-color: #0099be; }
.home-blue-cols > .flex_cell:nth-child(3) { background-color: #007ba7; }

.home-blue-cols h2 { font-size: 21px; }
.home-blue-cols .avia_textblock a { color: #ffffff; }

.home-blue-cols .av_font_icon .av-icon-char {
    border: none;
    padding: 10px;
}

.av-border-cells .flex_cell {
    /*border-left-width: 7px;*/
}

#top .avia-smallarrow-slider-heading h3 {
    text-align: center;
}
#top .avia-logo-element-container .slide-entry {
    padding: 30px;
}

/* END - Home --- --- --- */

/* About Us --- --- --- */
.staff-bios {
    margin: 0 -4px;
    width: calc(100% + 8px);
}
.staff-bios .flex_cell {
    border-left: solid 4px #ffffff;
    border-right: solid 4px #ffffff;
}
@media only screen and (max-width: 768px) {
    .staff-bios {
        margin: 0;
        width: 100%;
    }
    .staff-bios .flex_cell {
        border-left: none;
        border-right: none;
        border-bottom: solid 4px #ffffff;
    }
}

.avia-team-member > h3 { color: #333333; padding: 10px 30px 0; }
.avia-team-member > .team-member-description { color: #333333; padding: 0 30px; }
/* END - About Us --- --- --- */

/* Gravity Forms --- --- --- */
.gform_wrapper li.gfield ul.gfield_radio li input[type="radio"] + input[type="text"] {
    width: 45.25% !important;
    display: inline-block !important;
    margin-left: 6px !important;
}
.gform_wrapper .ginput_complex .ginput_right select {
    padding: 5px 12px !important;
}
#top .gform_wrapper .gfield_radio li label {
    margin-left: 10px !important;
}
/* END - Gravity Forms --- --- --- */

/* Globals, Overrides --- --- --- */
.border-top { border-top: solid 7px #ffffff !important; }
.border-bottom { border-bottom: solid 7px #ffffff; }
.team-img-container,
.avia-image-container-inner, .avia_image, .av-image-caption-overlay {
    border-radius: 0;
}
/* END - Globals, Overrides --- --- --- */
