/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/


/* AIE GLOBAL */
::selection {
    background: #2AADE3;
    color: #FCFCFC;
}

a:hover {
    text-decoration: none;
}

.fl-content {
    border-right: 0;
}

.fl-post-meta-bottom {
    border-top: 1px solid rgba(42, 173, 227, .24);
}

/* Header */

.fl-page-header {
    position: relative;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .25), 0 3px 3px rgba(0, 0, 0, 0.22);
}

.fl-page-header-wrap {
    border-bottom: 0 !important;
}

.fl-page-header-primary .fl-logo-img {
    height: 40px !important;
}

.fl-page-footer-text {
    color: #fff;
}

/* Hero image set by ACF plugin, code embedded in header.php */
/* Hero image */
.hero-container {
    width: 100%;
    height: 350px;
}

.hero-container .hero-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* elseif title container */
.title-container {
  height: 200px;
  position: relative;
}

/* Page title */
.page:not(.single) .fl-post-title {
    color: white;
    position: absolute;
    top: -280px;
    font-size: 60px;*/
    padding-bottom: 6px;
    font-weight: 400;
    background: #383435;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .25), 0 3px 3px rgba(0, 0, 0, 0.22);
    display: inline-block;
  }

/* Home Post feed */
.home-container {
  max-width: 1200px;
  overflow: hidden;
}

.fl-post-feed-post {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25), 0 1px 2px rgba(42, 173, 227, .24);
    background-color: white;
}

.fl-post-feed-image {
    margin-bottom: 0;
}

.fl-post-feed-image img {
    height: 300px !important;
    object-fit: cover;
}

.fl-post-feed-header, .fl-post-feed-content {
    padding: 20px 20px 0 20px;
}


/* Sidebar */

.fl-widget:not(.widget_search) {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25), 0 1px 2px rgba(42, 173, 227, .24);
}

.fl-widget ul, .fl-widget .textwidget {
    padding: 10px 25px 40px;
}

.primary-sidebar .fl-widget-title, .primary-sidebar-small .fl-widget-title, .fl-sidebar-right .fl-widget-title {
    background-color: #2AADE3;
    color: white;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
}

.textwidget a, .fl-post-feed-more, .gform_footer .gform_button, .custom-button {
    color: white;
    background-color: #74C26E;
    display: inline-flex;
    justify-content: center;
    border-radius: 0;
    border: none;
    padding: 8px 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .1em;
    margin-top: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.textwidget a:hover, .textwidget a:focus, .fl-post-feed-more:hover, .fl-post-feed-more:focus, .gform_footer .gform_button:hover, .gform_footer .gform_button:focus, .custom-button:hover, .custom-button:focus {
    text-decoration: none;
    background-color: #59b752;
    color: white;
    border: 0;
}

/* Forms */

input[type=text], input[type=password], input[type="url" i], input[type=email], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=number], input[type=search], textarea {
    border: 1px solid #ddd;
	background-color: transparent;
	height: 40px;
}
input[type=text]:focus, input[type=password]:focus, input[type="url" i]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=date]:focus, input[type=month]:focus, input[type=week]:focus, input[type=time]:focus, input[type=number]:focus, input[type=search]:focus, textarea:focus {
	border: 1px solid #ddd;
	background-color: #efefef;
}
.gform_wrapper .gfield_radio li label {
    margin: 0px 0 -5px 5px;
}
.gform_wrapper .gsection.aie-section-header { border-bottom: 0; }
.fl-page-content .gform_wrapper li.aie-section-header.gfield.field_description_below  { margin: 45px 0 0!important; }
.gform_wrapper .aie-section-header  h2.gsection_title { padding: 10px 20px !important; background: #2aade3; color:#fff; border-radius: 3px; }

/*.gform_fields {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.gform_fields li {
    margin: 35px 0 25px 0;
}*/

/*.gform_fields label {
    font-weight: 500;
    color: #2AADE3;
}*/

/*.gform_fields input, .gform_fields textarea {
    border-radius: 3px;
    margin: 10px 0 15px 0;
}

.gfield_error {
    border-top: 2px solid #2F7DBF;
    border-bottom: 2px solid #2F7DBF;
}

.gform_fields .validation_message {
    font-weight: bold;
    color: #2F7DBF;
}

.gform_validation_container {
  position: absolute;
  display: none;
  left: 9999px;
}

.aie-from-title-big .gfield_label {
	font-size: 24px;
	color: #383435;
}

.aie-from-title-big #input_2_4_6 {
    width: 100%;
    height: 45px;
    margin-top: 15px;
	border-color: rgba(42, 173, 227, .25);
}*/

/* Sponsors */

.sponsor-outer {
  padding-top: 2em;
  padding-bottom: 2em;
  margin-bottom: 1.5em;
  margin-top: 1.5em;
}

.sponsor-container {
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25), 0 1px 2px rgba(42, 173, 227, .24);
  height: 300px;
  overflow: hidden;
  transition: .2s ease-in-out;
  width: 100%;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2em;
}

.sponsor-container img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 400px;
  height: auto;
  padding-left: 2em;
}

.sponsor-container:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(42, 173, 227,0.22);
}

/* Tables */

tbody td {
  vertical-align: middle !important;
  padding-left: 1em;
  padding-top: .5em;
  padding-bottom: .5em;
  border: none;
}

table {
  border: none;
}

tbody tr {
  height: 80px !important;
}

tbody tr:first-child {
  background-color: #2AADE3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25), 0 1px 2px rgba(42, 173, 227, .24);
}

tbody tr:first-child strong {
  color: #FEFDFB;
}

tbody tr:nth-child(n+2) {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
/* Footer */

/* Force footer to the bottom on pages with limited content */
.fl-page, .fl-page-content {
  position: relative;
  min-height: 100vh;
  padding-bottom: 60px; /* Should be equal to the height of your footer */
}

footer .fl-page-footer-wrap {
  width: 100%;
  position: absolute;
  bottom: 0px;
}

.fl-page-footer-text-1 span {
  color: white;
}


/* Sidebar
-----------------------------------------------*/
#primary-sidebar {
  position: absolute;
}



/* AIE RESPONSIVE
-----------------------------------------------*/

@media (max-width: 992px) {

    /*.fl-module {
        margin: 1em !important;
    }*/

    .home-container {
      margin: 0 auto;
      max-width: 1100px;
      overflow: hidden;
    }

}

@media (max-width: 768px) {

    .page:not(.single) .fl-post-title {
      color: white;
      position: absolute;
      top: -300px;
      font-size: 46px;
      width: 60%;
      padding-bottom: 6px;
      font-weight: 400;
      background: #383435;
      padding-left: 20px;
      padding-right: 20px;
      box-shadow: 0 3px 7px rgba(0, 0, 0, .25), 0 3px 3px rgba(0, 0, 0, 0.22);
      display: inline-block;
    }

    .home-container .fl-col {
      max-width: none !important;
    }
    .hero-container {
        margin-bottom: 3em;
    }
    .primary-sidebar {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width:480px) {
    .fl-page-header {
        margin-bottom: 1.6em;
    }

    .fl-page-content {
        margin: 0 1rem 0 1rem;
    }

    .fl-post-feed-image img {
        height: 220px !important;
        object-fit: cover;
    }

    .page:not(.single) .fl-post-title {
      color: white;
      background-color: #383435;
      position: inherit;
      font-size: 36px;
      width: 60%;
      padding-bottom: 6px;
      font-weight: 400;
      padding-left: 20px;
      padding-right: 20px;
      box-shadow: 0 3px 7px rgba(0, 0, 0, .25), 0 3px 3px rgba(0, 0, 0, 0.22);*/
      display: inline-block;
    }

    .hero-container {
        display: none;
    }

    .sponsor-container {
      box-shadow: 0 1px 3px rgba(0, 0, 0, .25), 0 1px 2px rgba(42, 173, 227, .24);
      height: 250px;
      overflow: hidden;
      transition: .2s ease-in-out;
      width: 100%;
      background-color: #383435;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 2em;
    }

    .sponsor-container img {
      display: flex;
      justify-content: center;
      width: 100%;
      height: auto;
      padding: 1em;
    }

}
