/* custom css file */

/* 
** HEADER **
*/

header.site-header { border-bottom: 1px solid #ccc; }

/* secondary nav menu */
.nav-secondary { display: none; }
.menu-secondary { float: right; width: auto !important; }

.home .nav-secondary { display: none; }

/* logo */
.header-image .site-header .wrap .title-area { background-size: contain; }

/* header right */
header .widget-area { margin-top: 24px; }

/* main nav */
#menu-main-menu { text-align: right; }
#menu-main-menu li { display: inline-block; float: none; }
#menu-main-menu li:last-child a { padding-right: 0 }
header section .textwidget p { font-size: 23px; }

/* main content */
main.content { padding: 0 20px 20px 0; }

/* site inner */
.full-width-content .site-inner { max-width: 100% !important; padding: 0; }

/* full width content */
.full-width-content .content-sidebar-wrap { width: 100% !important; }
.full-width-content .content { width: 100% !important; }

/* entry content */
.entry-content { margin-top: 0; }

/* entry header */
.entry-header { display: none; }

/* site inner */
.content-sidebar .site-inner { margin-bottom: 40px; max-width: 1140px; }

/* links */
.site-inner a,.site-inner a:visited { color: #2E3192; }
.site-inner a:hover { color: #555; }

/* paragraphs */
p { margin: 0 0 12px 0; }
p:last-of-type { margin: 0; }

/* headings */
h1,h2,h3 { font-weight: normal !important; }
h1,h2,h3,h4,h5,h6 { margin-top: 15px !important; }

/* internal content headings */
.internal-heading .pp-sub-heading p { font-size: 20px !important; }
.internal-heading .pp-heading-content { margin: 0 !important; }
.internal-heading .pp-heading-content h3 { margin: 0 !important; }

/* widget area on right */
.site-header  .widget-area { padding: 4px 0 0 0; }

/* breadcrumbs */
.content-wrapper { background: #f1f1f1; }
.breadcrumb { background: none; max-width: 1140px; margin: 0 auto; }
.breadcrumb a { color: #c03f1f; }

/* internal content */
.internal-content .fl-module-content, .internal-content .fl-row-content-wrap { padding: 0 !important; margin: 10px auto 0 auto !important; }

/* nopadding sections */
.nopadding .fl-module-content, .nopadding .fl-row-content-wrap { padding: 0 !important; margin: 0 !important; }

/* page headers */
.page-header .fl-row-content-wrap { padding-bottom: 0; margin-bottom: 0; }
.page-header .pp-heading-content { margin: 12px 0 0 !important; }
.page-header h1 { padding: 0 !important; margin: 0 !important; font-size: 40px !important; text-align: center !important; color: #fff !important; text-transform: uppercase; font-weight: bold !important; vertical-align: middle; line-height: 100% !important; }
.page-header i { margin-right: 15px; font-size: 30px; vertical-align: middle; display: none; }

/* page headers - search and archive pages */
body.search .content h1.archive-title { margin: 40px auto 0 auto !important; padding: 0 !important; font-size: 44px; font-weight: 500; color: #c03f1f !important; text-align: center; }
body.search .content article { margin: 20px 0; padding: 20px; background: #f1f1f1; }
body.search .content article h2.entry-title { font-size: 24px; }

/*
**  BEAVER BUILDER **
*/
.fl-builder-bar-title { padding-top: 12px; }
.fl-builder-bar-title img { display: none !important; }

/* single buttons */
.pp-button-wrap a { background: #7EB0DE !important; padding: 15px 30px !important; border: 1px solid #fff !important; line-height: 100% !important; font-size: 20px !important }
/* single buttons */
.pp-button-wrap a:hover { background: #333 !important; }
.pp-button-wrap a.pp-button * { color: #fff !important; }

/* infoboxes sections */
.section-infoboxes .pp-infobox { padding: 0; }
.section-infoboxes polygon { color: #007115 !important; }
.section-infoboxes .fl-module-pp-infobox p.pp-infobox-title { text-transform: uppercase; margin-top: 0 !important; font-size: 30px; color: #c03f1f; line-height: 100%; }
.section-infoboxes span.pp-icon, .section-infoboxes .pp-infobox-icon-inner { height: 50px; width: 50px; }
.section-infoboxes span.pp-icon, .section-infoboxes .pp-infobox-icon-inner span:before { font-size: 60px !important; }
.section-infoboxes span.pp-icon, .section-infoboxes .pp-infobox-icon-inner span.pp-icon { background: transparent; color: #119443; }
.section-infoboxes .pp-more-link, .section-infoboxes .pp-more-link:visited, .section-infoboxes .pp-more-link:active { width: auto; background: #119443; color: #fff !important; padding: 10px 20px; font-size: 16px; margin-top: 5px !important; text-align: center; }
.section-infoboxes .pp-more-link:hover { background: #555; color: #fff !important; }
.section-infoboxes .pp-heading-wrapper { padding: 0; margin: 0; vertical-align: top !important; }
.section-infoboxes .pp-infobox-image { padding: 0; margin: 0; }

.pp-infobox-title-wrapper .pp-infobox-title { color: #555 !important; margin-top: 0 !important; font-weight: 700 !important; }
.pp-infobox { border: 1px solid #ccc !important; }
.pp-infobox .pp-infobox-image img { width: 100%; }
.pp-infobox .paragraph { min-height: 140px; }

/* internal infoboxes */
.internal-infoboxes .pp-infobox { padding: 0; text-align: left; }
.internal-infoboxes .pp-infobox-title-wrapper .pp-infobox-title { text-transform: uppercase; margin-top: 0 !important; font-weight: 400 !important; color: #119443 !important; line-height: 100%; }
.internal-infoboxes .fl-module-content { margin-top: 0; }
.internal-infoboxes span.pp-icon, .internal-infoboxes .pp-icon-wrapper { display: none; }
.internal-infoboxes span.pp-icon, .internal-infoboxes .pp-infobox-icon-inner span:before { display: none; }
.internal-infoboxes span.pp-icon, .internal-infoboxes .pp-infobox-icon-inner span.pp-icon { display: none; }
.internal-infoboxes .pp-more-link, .internal-infoboxes .pp-more-link:visited, .section-infoboxes .pp-more-link:active { width: auto; background: #119443; color: #fff !important; padding: 10px 20px; font-size: 16px; margin-top: 5px !important; text-align: center; }
.internal-infoboxes .pp-more-link:hover { background: #555; color: #fff !important; }
.internal-infoboxes .pp-heading-wrapper { padding: 0; margin: 0; vertical-align: top !important; }
.internal-infoboxes .pp-infobox-image { padding: 0; margin: 0; }

/* infoboxes bordered */
.infobox-bordered .pp-infobox { position: relative; min-height: 300px; padding: 20px; background: #f1f1f1; border: 20px solid #e1e1e1; }
.infobox-bordered a.pp-more-link { padding: 0; margin: 0; }
.infobox-bordered li { text-align: left; }
.infobox-bordered .pp-infobox .pp-infobox-title { text-transform: uppercase; color: #fff !important; display: block; width: 100%; background: #2E3192; padding: 10px }
.infobox-bordered .pp-infobox img { background: #f7f7f7; width: auto; height: 150px; }
.infobox-bordered .pp-infobox-description { text-align: left; }
.infobox-bordered.centered .pp-infobox-description { text-align: center; }
.infobox-bordered .button { display: block; width: 100%; }
.infobox-bordered .button:hover { background: #555; }
.infobox-bordered .pp-more-link:visited, .infobox-bordered .pp-more-link:active { background: transparent !important; }

/* bordered boxes with photos */
.bordered.fl-module-photo { background: transparent; border: 0; }
.bordered.fl-module-photo .fl-module-content { background: #2E3192; color: #fff; border: 1px solid #e1e1e1; }
.bordered.fl-module-photo .fl-module-content .fl-photo-caption { padding: 15px 0; text-transform: uppercase; font-size: 20px; }

/* bordered elements */
.bordered { background: #f1f1f1; border: 1px solid #e1e1e1; }

/* home hero */
.home-hero .home-hero-text { background: rgba(0,0,0,0.4); margin-bottom: 25px; }
.home-hero h1, .home-hero h2 { color: #fff !important; }
.home-hero h1 { font-size: 42px !important; }
.home-hero h2 { font-size: 24px !important; }
.home-hero  .pp-button-wrap a { background: #777 !important; padding: 15px 30px !important; border: 1px solid #fff !important; line-height: 100% !important; min-width: inherit !important; }
.home-hero  .pp-button-wrap a:hover { background: #000 !important; }

/* home infoboxes */
.home-infoboxes .uabb-new-ib-title { padding: 8px 0 16px !important; background: rgba(0,0,0,0.3) !important; position: absolute; bottom: 0; }

/* gravity forms */
.gform_wrapper, .gform_wrapper .gfield, .gform_legacy_markup_wrapper li.hidden_label input
 { margin-top: 0 !important; }
.gform_wrapper .gfield_required { color: #2E3192 !important; }
.gform_wrapper .gform_footer input[type=submit] { background: #777 !important; color: #fff; border: 0 !important; margin: 0; }
.gform_wrapper .gform_footer input[type=submit]:hover { background: #000 !important; }
.gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label, .gform_wrapper .field_sublabel_above div[class*=gfield_date_].ginput_container label, .gform_wrapper .field_sublabel_above div[class*=gfield_time_].ginput_container label, .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label, .gform_wrapper .field_sublabel_below div[class*=gfield_date_].ginput_container label, .gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label, .gform_wrapper .gfield_description { font-size: 14px !important; }
.gform_wrapper .input-medium input { width: 50% !important; }

/* forms in content */
.gform_wrapper input, .gform_wrapper select { font-size: 18px !important; background: #ffffff; border: 1px solid #ccc; padding: 6px !important }
.gform_wrapper input[type=submit] { padding: 10px 20px !important }

.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper label.hidden_sub_label,
.gform_wrapper label.screen-reader-text {
 clip: rect(1px, 1px, 1px, 1px);
 position: absolute!important;
 height: 1px;
 width: 1px;
 overflow: hidden;
}
.gform_wrapper li.hidden_label input {
 margin-top: 12px;
}
.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text],
.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
 margin-bottom: 12px;
}
.gform_wrapper .left_label li.hidden_label input,
.gform_wrapper .right_label li.hidden_label input {
 margin-left: 3.7%;
}
.gform_wrapper .hidden_label input.large,
.gform_wrapper .hidden_label select.large,
.gform_wrapper .top_label input.large,
.gform_wrapper .top_label select.large {
 width: 100%;
}

/* opening text */
.opening-text { margin: 30px auto; }
.opening-text, .opening-text p { font-size: 20px; }

/* bloom sign up form */
.et_bloom_form_text { text-align: center; }
.et_bloom_form_text h2 { color: #2E3192 !important; }
.et_bloom_form_text p { color: #2E3192 !important; font-size: 16px !important; }

/*
**  FOOTER **
*/
#ez-fat-footer-container-wrap { border-top: 1px solid #ccc; }
#ez-fat-footer-container { max-width: 1160px !important; }

#ez-fat-footer-container img, #ez-fat-footer-container p img { max-width: 180px; }
#ez-fat-footer-container .ez-widget-area { text-align: center; }
#ez-fat-footer-container .ez-widget-area h4 { margin: 0; padding: 0; }

#ez-fat-footer-container .ez-widget-area ul li { list-style-type: none; display: inline-block; margin: 10px !important; }
#ez-fat-footer-container .ez-widget-area ul li a { text-transform: uppercase; }
#ez-fat-footer-container .ez-widget-area ul li a:hover { color: #ccc !important; }

.ez-widget-area ul, .ez-widget-area ol { padding-bottom: 0 !important; }


/* footer social icons */

#ez-fat-footer-container h4.widget-title { text-transform: uppercase; font-weight: 500; }
#footer_bottom_section { background: #777; max-width: 100%; padding: 10px; margin: 0 auto; text-align: center !important; color: #efefef; }
#footer_bottom_section p { font-size: 13px; color: #fff !important; }
#footer_bottom_section a { color: #fff !important; }
#footer_bottom_section a:hover { color: #000 !important; }
#footer_bottom_section .simple-social-icons a { color: #fff !important; }
#footer_bottom_section section:first-child { text-align: center !important; }

footer.site-footer { display: none; }

/* flexboxes */
/*On the flex container*/
.flexcontainer {
   display: -webkit-flex;
   display: flex;
}
.flexrow { 
   -webkit-flex-direction: row;
   flex-direction: row;
}
.flexrow.wrap {
    flex-wrap: wrap;
}
.flexequal.half { flex: 1 0 50%; margin: 20px 0; }
.flexequal.third { flex: 1 0 30%; margin: 20px 0; }

/* custom post types */
/* single pages */
.page-custom-header p { margin: 0; }
article.type-company header { display: none; }

/* padded, nopadding */
.padded { padding: 30px; }
.padded-large-top-bottom { padding: 50px 0; }
.nopadding { padding: 0; }
.padded-xlarge { padding: 250px 0; }

/* margin */
.margin-top-bottom { margin: 30px auto; }
.margin-top-sm { margin: 15px 0 0 !important; }
.margin-top-bottom-sm { margin: 15px 0 !important; }

/* parallax with content */
.parallax-content { background-size: cover !important; }
.parallax-content h1, .parallax-content h2, .parallax-content h3, .parallax-content h4, .parallax-content h5, .parallax-content p { color: #fff !important; }

/* margin, nomargin */
.nomargin { margin: 0 !important; }
.bottom-margin { margin: 0 0 30px; }

/* alignment */
.rightalign { text-align: right; }

/* text */
.text-light, .text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light p { color: #fff !important; }
.text-dark { color: #555 !important; }
.text-medium, .text-medium p { color: #ccc !important; }
.centered { text-align: center; }

/* main content section */
.main-content-section .fl-row-content-wrap { padding: 50px 0; }

/* form buttons with icons */
input[type=submit]:hover { background: #555; }
.fa-fa {
  font-family: FontAwesome, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
.gform_wrapper .gform_footer input[type=submit]:hover { background: #efefef !important; color: #2E3192 !important; }

/* admin edit link */
.post-edit-link { display: none; }

/* internal logos */
.logo-small img { max-height: 80px; max-width: inherit; width: auto; }
.logo-caption .fl-photo-caption { font-size: 20px; color: #aaa; }

/* lists */
.site-inner ul { padding-bottom: 0 !important; margin-top: 15px !important; }

/* dual headings */
.second-bold .uabb-second-heading-text { font-weight: bold; }

/* internal headings */
.header-internal h2, .header-internal h4 { text-align: center !important; margin: 0 0 15px 0 !important; }
.header-internal h2 { font-weight: bold !important; }

/* CTA */
.cta .fl-col-content { padding: 30px 0; }
.cta .gform_wrapper { margin: 0; }
.cta .gform_wrapper input[type=text], .cta .gform_wrapper input[type=tel], .cta .gform_wrapper input[type=email] { padding: 16px 4px !important; }
.cta a { color: #fff !important; }

/* h2 in content */
.uabb-new-ib-desc h2, h2.uabb-new-ib-title { color: #fff !important; }

/* mobile */
@media screen and (max-width: 1140px) {
    /* top menu */
    ul.menu-secondary, .site-header ul.genesis-nav-menu { float: right; margin-right: 0 !important; }
    /* logo */
    .header-image .site-header .wrap .title-area { float: left; height: 40px; width: 15%; margin: 10px 0% 0 2.5%; padding: 0; }
    .header-image .title-area, .header-image .site-title, .header-image .site-title a { width: 20%; height: 70px; margin: 0; }
    .nav-primary a { font-size: 16px !important; }
    /* header widget area */
    header .widget-area { float: right !important; width: 80% !important; margin-right: 2%; }
    /* main menu */
    ul.menu-primary { text-align: left; }
    /* main menu social */
    .menu-primary > li:last-child { margin-right: 0; }
    /* main content */
    main.content { border-right: none; }
    /* sidebar */
    aside.sidebar-primary { display: none !important; }
    /* header slogan */
    header section .textwidget p { font-size: 16px !important; margin: 14px 0 0; }
    /* home hero */
    .home-hero h1 { font-size: 36px !important; }
    .home-hero h2 { font-size: 24px !important; }
}
@media screen and (max-width: 980px) {
    /* logo */
    .site-header .wrap { text-align: center; margin: 0 auto; }
    .header-image .site-header .wrap .title-area { float: none; height: 50px; width: 174px; margin: 10px auto 0 !important; padding: 0; text-align: center; display: inline-block;  }
    header .site-title { float: none !important; margin: 0 auto !important; height: 50px !important; }
    .header-image .title-area, .header-image .site-title, .header-image .site-title a { height: 50px !important; }
    header .site-description { display: none !important; }
    /* header widget area */
    header .widget-area { width: 100% !important; float: none; text-align: center !important; padding-top: 0 !important; margin: 0 auto !important; }
    header section .textwidget p { margin-top: 0; }
    /* mobile menu */
    #wprmenu_bar .menu_title a { color: #fff; }
    /* secondary menu */
    .nav-secondary { display: none; }
     /* titles */
     .pp-heading-content .pp-heading .heading-title { line-height: 120%; font-size: 30px; }
     h1 { font-size: 30px; }
     h2 { font-size: 26px; }
     h3 { font-size: 24px; }
     h4 { font-size: 20px; }
     h5 { font-size: 18px; }

     /* body fonts */
     .dynamik-page-builder .site-inner p, .dynamik-page-builder .site-inner ul li, .dynamik-page-builder .site-inner ol li, .entry-content p, .entry-content ul li, .entry-content ol li, .entry-pagination { font-size: 16px; }

     /* cta */
     .cta a { font-size: 20px; }

     /* footer */
    #ez-fat-footer-1 .widget_nav_menu { display: none; }
}
@media screen and (max-width: 900px) {
    /* mobile menu */
    #wprmenu_bar .menu_title a { color: #fff !important; }
    /* home infoboxes */
    .home .section-infoboxes { margin-bottom: 60px; }
    .home .section-infoboxes .fl-col { clear: both; float: none; margin-left: auto; margin-right: auto; width: auto !important; }
    .home .section-infoboxes .pp-infobox .pp-infobox-description p { min-height: inherit; }
    .home .section-infoboxes .pp-infobox { min-height: inherit; }
    /* opening text */
    .opening-text, .opening-text p { font-size: 18px; }
    /* home hero */
    .home-hero .fl-col { width: 100% !important; float: none !important; margin: 0 auto; text-align: center; }
    .home-hero .home-hero-placeholder { display: none !important; }
    .home-hero .fl-row-content-wrap { padding: 140px 0 0; }

    /* home hero */
    .home-hero h1 { font-size: 30px !important; }
    .home-hero h2 { font-size: 20px !important; }

     /* titles */
.dynamik-page-builder .site-inner h3, .content .post h3, .content .page h3, .content .entry-content h3 { font-size: 20px !important; }

    /* cta */
    .cta h2.heading-title { font-size: 24px !important; }

    /* footer titles */
    #ez-fat-footer-container h4.widget-title { font-size: 18px; }
}
@media screen and (max-width: 768px) {
     /* footer sections */
     #footer_bottom_section section:first-child { flex: 2; }
     /* footer slogan */
     #footer_bottom_section section:last-child { font-size: 14px; }
    /* sidebar nav menu */
    .sidebar .widget_nav_menu { width: 100% !important; }
    /* columns */
    .fl-col { max-width: 100%; }
    /* mobile centered */
    .mobile-centered, .mobile-centered .fl-heading { text-align: center !important; }
    /* social media */
    .fl-icon-group-left, .fl-icon, .fl-icon i { float: none !important; display: inline-block !important; text-align: center !important; }
}
@media screen and (max-width: 600px) {

    /* cta */
    .cta .pp-infobox-icon-inner span.pp-icon, .cta .pp-infobox-icon-inner span:before { font-size: 50px !important; }
    .cta h2.heading-title { font-size: 18px !important; }

     /* titles */
     .pp-heading-content .pp-heading .heading-title { line-height: 120%; font-size: 24px; }
     h1 { font-size: 24px; }
     h2 { font-size: 22px; }
     h3 { font-size: 20px; }
     h4 { font-size: 18px; }
     h5 { font-size: 16px; }
     /* footer social */
     #footer_top_sections section:last-child { display: block; text-align: center; }
     /* footer bottom sections */
     #footer_bottom_section section:first-child { display: block; margin: 15px 0; text-align: center; }
     /* footer slogan */
     #footer_bottom_section section:last-child { display: none; }
     /* blog posts grid */
     .pp-posts-wrapper .pp-content-post { height: auto !important; }

}