/*
Theme Name: Enfold Child
Author: Elements Web Solutions
Author URI: http://www.elementswebsolutions.com
Template: enfold
*/

/* no @import rules needed */

/****************************************************************************
 * General
 ****************************************************************************/
html  {
    height: 100%;
}

body #wrap_all {
	font: 15px/1.65em "Lato", Arial, sans-serif;
}
.main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .news-thumb, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon {
    color: #666;
}
.header_color .primary-background, .header_color .primary-background a, div .header_color .button, .header_color #submit, .header_color input[type="submit"], .header_color .small-preview:hover, .header_color .avia-menu-fx, .header_color .avia-menu-fx .avia-arrow, .header_color.iconbox_top .iconbox_icon, .header_color .iconbox_top a.iconbox_icon:hover, .header_color .avia-data-table th.avia-highlight-col, .header_color .avia-color-theme-color, .header_color .avia-color-theme-color:hover, .header_color .image-overlay .image-overlay-inside::before, .header_color .comment-count, #top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text, .responsive #top .header_color .av-open-submenu.av-subnav-menu > li > a:hover, #top .header_color .av-open-submenu.av-subnav-menu li > ul a:hover {
    background-color: #e3974d;
    border-color: #cd2a2d;
}
h2 {
    font-size: 20px;
}
h3 {
    font-size: 22px;
}
h4 {
    font-size: 25px;
}
h5 {
    font-size: 14px;
    line-height: 1.8em;
}
h6 {
    font-size: 15px;
}
.main_color h1 {
    color: #fff;
    margin-top: 0px;
    font-size: 34px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}
.main_color h2 {
    color: #e9e9e9;
    margin-bottom: 3px;
}
.main_color h3 {
    color: #faa75d;
}
.main_color h4,
.main_color h5 {
    color: #900f0d;
}
.main_color h6 {
    color: #e5e5e5;
    margin-top: 10px;
}
.template-page .entry-content-wrapper h1, 
.template-page .entry-content-wrapper h2 {
    text-transform: none;
    letter-spacing: 0px;
}
.responsive .av-layout-grid-container { /* force constrained width of certain elements */
    max-width: 1500px;
    padding-left: 20px;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 479px) {
    .responsive .av-layout-grid-container {
        padding-left: 0px;
    }
}
@media only screen and (max-width: 479px) {
    .responsive #top #wrap_all .container {
        width: 93%;
        max-width: 93%;
    }
    .responsive #top #wrap_all .av-flex-cells .no_margin {
        padding-top: 15px !important;
        padding-bottom: 0px !important;
    }
}
#page-title-section .avia_textblock {
    position: absolute; top: 40px;
}
@media only screen and (max-width: 479px) {
    #page-title-section .avia_textblock {
        position: absolute; top: 13px;
    }
    #page-title-section,
    #page-title-section .container { 
        height: 170px;
        max-height: 170px;
    }
 /* ???   .responsive #top #main */
}

/****************************************************************************
 * Top bar
 ****************************************************************************/
#header_meta {
    background-color: #cd2a2d;
    border-bottom-width: 0px;
    min-height: 34px;
}
.header_color .meta-color, .header_color .minor-meta, .header_color .minor-meta a, .header_color .text-sep, .header_color blockquote, .header_color .post_nav a, .header_color .comment-text, .header_color .side-container-inner,  .header_color .pagination span, #top .header_color .extra-mini-title, .grid-entry-excerpt, .header_color .commentmetadata a,  .header_color .meta-heading > *, .header_color .slide-meta, .header_color .slide-meta a,  .header_color .phone-info, .header_color .phone-info a {
    color: #fff;
}
.phone-info {
    float: left;
    font-weight: bold;
    font-size: 15px;
}
@media only screen and (max-width: 767px) {
    .phone-info {
        display: none;
    }
}
.phone-info span {
    line-height: 1.9em;
}

/****************************************************************************
 * Language switcher (Weglot plugin)
 ****************************************************************************/
/* #top #weglot_switcher { */
#top .wg-default {
    position: absolute;
    top: 7px;
    height: 50px; /* otherwise this is so tall that it covers up the slideshow nav */
    left: calc(50% + 589px); /* if screen wider than 1500, force to stay inside "container" */
}
@media only screen and (max-width: 1500px) {
    #top .wg-default { /* else position directly from the right edge */
        left: auto;
        right: 45px;
    }
}
@media only screen and (max-width: 767px) {
    #top .wg-default {
        width: 100%;
        text-align: center;
        padding-left: 2%;
        right: auto;
    }
}
#top .wg-default.wg-list a {
    color: #fff;
    font-size: 15px;
}
#top .wg-list.country-selector .wgcurrent a {
    border-right: 1px solid #fff;
    text-decoration: none;
}

/****************************************************************************
 * Masthead (main)
 ****************************************************************************/
.header_color #header_main {    
  border-color: #bc0a0f !important;
  background: #721111;
  background: -moz-linear-gradient(top,  #721111 0%, #910f0d 99%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#721111), color-stop(99%,#910f0d));
  background: -webkit-linear-gradient(top,  #721111 0%,#910f0d 99%);
  background: -o-linear-gradient(top,  #721111 0%,#910f0d 99%);
  background: -ms-linear-gradient(top,  #721111 0%,#910f0d 99%);
  background: linear-gradient(to bottom,  #721111 0%,#910f0d 99%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#721111', endColorstr='#910f0d',GradientType=0 );
}
#header_main .container {
    padding-top: 7px;
    height: 98px; 
}
@media only screen and (max-width: 767px) {
    #header_main .container {
        padding-bottom: 7px;
    }
}
@media only screen and (max-width: 479px) {
    #header_main .container {
        padding-top: 3px;
        padding-bottom: 3px;
        height: 94px; 
    }
}
.main_menu ul:first-child > li a {
    height: 91px; 
}
@media only screen and (max-width: 479px) {
    .responsive #top #wrap_all #header_main .container {
        position: relative; left: -2px;
    }
    .responsive #top .logo img {
        height: 65px !important;
    }
}

/****************************************************************************
 * Menu
 ****************************************************************************/
.header_color .sub_menu > ul > li > a, .header_color .sub_menu > div > ul > li > a, .header_color .main_menu ul:first-child > li > a, #top .header_color .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a, #top .header_color .sub_menu li ul a {
    color: #fff;
}
.header_color .av-subnav-menu a:hover, .header_color .main_menu ul:first-child > li a:hover, .header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a {
    color: #f2bd80;
}
.av-main-nav > li > a {
    font-size: 16px;
    padding: 0px 18px;
}
.current-menu-item {
 /*   box-shadow: inset 0 0 30px rgba(0,0,0,0.2); */
}

/****************************************************************************
 * Mobile menu
 ****************************************************************************/
#advanced_menu_toggle { 
    color: #fff; 
    background-color: transparent; 
    font-size: 46px; 
    border-width: 0px;
}
#mobile-advanced, #mobile-advanced a, #mobile-advanced .mega_menu_title {
    color: #900f0d;
}

/****************************************************************************
 * Home page - Slide show
 ****************************************************************************/
body.home, body.home #wrap_all, body.home #main {
    height: 100%;
    min-height: 640px;
}
.home #av_section_1 {
    height: calc(100% - 200px); /* Force the slideshow to fill the page */
}
@media only screen and (max-width: 767px) {
    .home #av_section_1 {
        height: calc(100% - 191px); /* Force the slideshow to fill the page */
    }
}
@media only screen and (max-width: 479px) {
    .home #av_section_1 {
        height: calc(100% - 183px); /* Force the slideshow to fill the page */
    }
}
@media only screen and (max-width: 396px) {
    .home #av_section_1 {
        height: calc(100% - 192px); /* Force the slideshow to fill the page */
    }
}
.slide-entry p {
    margin: 0px;
}
.home .ls-fullwidth .ls-nav-prev, 
.home .ls-fullwidth .ls-nav-next, 
.home .ls-fullwidth .ls-loading-container {
    background-image: url("http://www.itsgenesis.us/wp-content/uploads/layerslider-skin-modified.png");
}
.home .ls-fullwidth .container {
    padding-left: 0px;  
    padding-right: 0px;
}
.home #av_section_1.av-minimum-height-75 .container,
.home #av_section_1 .ls-wp-fullwidth-container,
.home #av_section_1 .ls-wp-container,
.home #av_section_1 .ls-wp-fullwidth-helper,
.home #av_section_1 .avia_textblock,
.home #av_section_1 .av_textblock_section,
.home #av_section_1 .entry-content-wrapper,
.home #av_section_1 .post-entry {
   height: 100% !important; /* Force the slideshow to fill the page */
}
 @media only screen and (max-width: 767px) {
   .home .ls-wp-fullwidth-container {
        min-height: 445px !important;
     }   
} 
.home .ls-fullwidth h2, 
.home .ls-fullwidth h6 {
    text-align: right;
    padding-right: 50px; 
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 930px) {
    .home .ls-fullwidth h2,
    .home .ls-fullwidth h6 {
        position: relative; top: 580px; 
    }
}
@media only screen and (max-width: 767px) {
    .home .ls-fullwidth h2,
    .home .ls-fullwidth h6 {
        padding-right: 10px;
    }
}
@media only screen and (max-width: 479px) {
    .home .ls-fullwidth h2 {
        display: none;
    }
    .home .ls-fullwidth h6 {
        position: relative; top: 380px;
        font-size: 17px; /* why doesn't this work on iPhone? */
    }
}
@media only screen and (max-width: 1420px) {
    .home .ls-slide-1 img,
    .home .ls-slide-5 img { /* HACK for San Francisco and New York slides */
        position: relative; left: -100px;
    }
}
@media only screen and (max-width: 1300px) {
    .home .ls-slide-1 img,
    .home .ls-slide-5 img { /* HACK for San Francisco and New York slides */
        position: relative; left: -180px;
    }
}
@media only screen and (max-width: 1180px) {
    .home .ls-slide-1 img,
    .home .ls-slide-5 img { /* HACK for San Francisco and New York slides */
        position: relative; left: -240px;
    }
}
@media only screen and (max-width: 1060px) {
    .home .ls-slide-1 img,
    .home .ls-slide-5 img { /* HACK for San Francisco and New York slides */
        position: relative; left: -280px;
    }
}
@media only screen and (max-width: 940px) {
    .home .ls-slide-1 img,
    .home .ls-slide-5 img { /* HACK for San Francisco and New York slides */
        position: relative; left: -320px;
    }
}
@media only screen and (max-width: 767px) {
    .home .ls-slide-1 img { /* HACK for San Francisco slide */
        position: relative; left: -330px;
    }
    .home .ls-slide-5 img { /* HACK for New York slide */
        position: relative; left: -340px;
    }
}
@media only screen and (max-width: 479px) {
    .home .ls-slide-1 img { /* HACK for San Francisco slide */
        position: relative; left: -500px;
    }
}

/****************************************************************************
 * Home page - Welcome message
 ****************************************************************************/
@media only screen and (max-width: 479px) {
    .responsive #top.home #wrap_all #main .container {
        width: 100%;
        max-width: 100%;
    }
}
.home #welcome-section {
   position: absolute; top: 140px; /* force welcome message on top of slideshow */
}
@media only screen and (max-width: 767px) {
    .home #welcome-section {
       position: absolute; top: 120px; 
    }
}
.home .welcome-message .avia-button.avia-size-large {
    border-radius: 0px;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 26px;
}
.home .welcome-message {
    font-family: "Lato", sans-serif;
    background: rgba(13, 20, 92, 0.2);
    width: 452px;
    max-width: 100%;
    padding: 14px 0px 30px 23px;
    color: #fff;
    line-height: 1.3em;
}
@media only screen and (max-width: 479px) {
    .home .welcome-message {
        padding: 10px 0px 16px 16px;
    }
}
.home .welcome-message p:nth-child(1) {
    font-size: 54px;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0px;
}
.home .welcome-message p:nth-child(2) {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4em;
    margin: 0px;
}
.home .welcome-message p:nth-child(3) {
    margin-bottom: 22px;
    padding-right: 24px;
}
@media only screen and (max-width: 549px) {
    .home .welcome-message p:nth-child(1) {
        font-size: 48px;
    }
    .home .welcome-message p:nth-child(2) {
        font-size: 26px;
    }
    .home .welcome-message p:nth-child(3) {
        padding-right: 18px;
    }
}
@media only screen and (max-width: 479px) {
    .home .welcome-message p:nth-child(1) {
        font-size: 40px;
    }
    .home .welcome-message p:nth-child(2) {
        font-size: 22px;
   }
    .home .welcome-message p:nth-child(3) {
        margin-top: 4px;
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 390px) {
    .home .welcome-message p:nth-child(1) {
        font-size: 38px;
    }
    .home .welcome-message p:nth-child(2) {
        font-size: 20px;
   }
}

/****************************************************************************
 * About Us page
 ****************************************************************************/
.page-id-15 h3 {
    margin-top: 19px;
    margin-bottom: 16px;
}
.page-id-15 h3:first-child {
    margin-top: 9px;
}
.page-id-15 .hr {
    margin: 10px 0px;
}
.page-id-15 .hr,
.page-id-15 .hr-inner,
.page-id-15 .hr-inner-style {
    border-color: #f4d6bb;
}
.page-id-15 .av_one_third p {
    line-height: 1.5em;
    color: rgb(60, 60, 60);
}
.responsive #top.page-id-15 #wrap_all .av-flex-cells div.av_one_full {
    display: none; /* for wide screens, hide the first instance of the Holdings column */
}
@media only screen and (max-width: 767px) { 
    .responsive #top.page-id-15 #wrap_all .av-flex-cells div.av_one_full {
        display: block; /* for small screens, show the first instance of the Holdings column */
    }
    .responsive #top.page-id-15 #wrap_all .av-flex-cells div.av_one_fifth {
        display: none; /* for small screens, hide the second instance of the Holdings column */
    }
    .responsive #top.page-id-15 #wrap_all .av-flex-cells div.av_one_third,
    .responsive #top.page-id-15 #wrap_all .av-flex-cells div.av_one_half {
        margin-bottom: 0px;
    }
    .responsive #top.page-id-15 #wrap_all .av-flex-cells div.hr {
        display: none; /* for small screens, hide the hrule */
    }
}

/****************************************************************************
 * Contact page
 ****************************************************************************/
.page-id-19 .main_color a {
    color: inherit;
} 
.page-id-19 .main_color a:hover {
    color: #bb3f37;
} 

/****************************************************************************
 * Contact page -- Icon lists
 ****************************************************************************/
.avia-icon-list .iconlist_title {
    text-transform: none;
}
.main_color .avia-icon-list .iconlist_icon {
    background-color: #bb3f37;
}
.main_color .avia-icon-list .iconlist-timeline {
    display: none;
}
.avia-icon-list li {
    padding: 0 0 20px 0;
}
.avia-icon-list .iconlist_icon {
    height: 58px;
    width: 58px;
}
.main_color .iconlist_content {
    color: #333;
    font-size: 16px;
    line-height: 1.4em;
    font-weight: 300;
}
@media only screen and (max-width: 767px) {
    .iconlist_icon {
        display: none;
    }
}

/****************************************************************************
 * Specialties page -- "Coming Soon" for now
 ****************************************************************************/
.page-id-17 #footer {
    position: absolute; bottom: 0px;
    width: 100%;
}

/****************************************************************************
 * Footer
 ****************************************************************************/
#scroll-top-link {
    display: none;
}
#footer {
    padding: 0px;
    min-height: 63px; 
}
.footer_color {
    background-color: #055987;
    border-width: 0px;
    color: #f7f7f7;
    font-size: 12px;
}
.footer_color a {
    color: #f7f7f7;
}
#footer .widget {
    margin: 19px 0px 0px 0px;
}
#footer div.av_one_third {
    border-top: 4px solid #ddd;
    margin: 0px;
    margin-top: -2px;
}
#footer div.av_one_third:nth-child(1) {
    width: 26%;
    padding-right: 1.5%;
}
#footer div.av_one_third:nth-child(2) {
    width: 47%;
}
#footer div.av_one_third:nth-child(3) {
    width: 27%;
    padding-left: 1.5%;
}
#footer #text-2 img {
    vertical-align: middle;
    max-height: 24px;
    margin-top: -2px;
}
#footer #text-3 {
    text-align: center;
}
#footer #text-4 {
    text-align: right;
}
@media only screen and (max-width: 767px) {
    #footer {
        line-height: 1.2em;
    }
    #footer .container {
        padding-top: 5px;
        padding-bottom: 5px; 
    }
    #footer div.av_one_third {
        border-top: 0px;
    }
    #footer #text-2,
    #footer #text-4 {
        text-align: center;
    }
    .responsive #top #wrap_all #footer .flex_column {
        margin-bottom: 0px;
    }
    #footer .widget {
        margin: 0px;
    }
    .footer_color {
        font-size: 13px;
    }
    #footer #text-2 img {
        max-height: 16px;
    }
}
