/*
Theme Name:   National Background
Description:  Website Redesign Jan 2018
Author:       Chili Pepper Design, LLC
Author URL:   cpdesignco.com
Template:     Divi
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  national-background
*/
/* Change header font-size */
.et_pb_column_1_3 h2, .et_pb_column_1_4 h2 {
    font-size: 32px;  }
h2 { font-size: 32px; }
h3 { font-size: 24px!important }

/* indent bullet list */
.et_pb_text ol, .et_pb_text ul {
	padding-left: 40px;
}
/* widen menu dropdown */
.nav li ul {      width: 330px;        }
#top-menu li li a {    width: 300px;   }

/* Menu CTA button */
.menu-cta a {padding: 14px 30px!important; font-weight: bold!important; background-color: #fff; color: #363636!important; border: 1px solid #fff!important; border-radius: 30px;}
.et-fixed-header #top-menu .menu-cta a {padding: 10px 30px!important; color: #363636!important;}
.menu-cta a:hover {opacity: 1!important; background-color: transparent; color: #fff!important;}
.et-fixed-header #top-menu .menu-cta a:hover {color: #fff!important;}

@media all and (min-width: 981px) {
#et_search_icon:before {top: 10px; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;}
.et-fixed-header #et_search_icon:before {top: 7px;}
}

/* Original Homepage Hero Circle - RIGHT */

.homepage_original_hero {position: absolute; top: -30%; right: -20%; border-radius: 50%;}

@media all and (max-width: 1340px) {
.homepage_original_hero {right: -45%;}
}

@media all and (max-width: 980px) {
.homepage_original_hero {right: -90%;}
}

@media all and (max-width: 480px) {
.homepage_original_hero {width: 500px; height: 700px; right: -75%; top: 0px;}
}


/* Homepage Partner Logo Section */
#homepage_logo_section .et_pb_column {display: -webkit-flex; display: -ms-flexbox; display: flex; -ms-flex-pack: center; justify-content: space-between; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: space-between; -ms-flex-align: space-between; align-items: center;}
#homepage_logo_section .et_pb_image {margin-right: 40px!important; display: -webkit-flex; display: -ms-flexbox; display: flex; -ms-flex-pack: center; justify-content: center; -ms-flex-direction: column; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center;}
#homepage_logo_section.eight_logos .et_pb_image {-ms-flex-preferred-size: calc(12.5% - 35px); flex-basis: calc(12.5% - 35px);}
#homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(20% - 35px); flex-basis: calc(20% - 35px);}
#homepage_logo_section.six_logos .et_pb_image {-ms-flex-preferred-size: calc(16.666% - 35px); flex-basis: calc(16.666% - 35px);}
#homepage_logo_section .et_pb_image:last-child {margin-right: 0px!important;}
#homepage_logo_section .et_pb_row .et_pb_column .et_pb_module:last-child {margin-bottom: 2.75%!important;}

@media all and (max-width: 980px) {
#homepage_logo_section .et_pb_column {justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center;}
}

@media all and (min-width: 768px) and (max-width: 980px) {
#homepage_logo_section.eight_logos .et_pb_image {-ms-flex-preferred-size: calc(16.666% - 35px); flex-basis: calc(16.666% - 35px); margin-left: 0px!important; margin-bottom: 30px!important;}
#homepage_logo_section.six_logos .et_pb_image {-ms-flex-preferred-size: calc(25% - 35px); flex-basis: calc(25% - 35px);  margin-left: 0px!important;}
#homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(20% - 35px); flex-basis: calc(20% - 35px);}
#homepage_logo_section.eight_logos .et_pb_image:nth-child(6), #homepage_logo_section.five_logos .et_pb_image:nth-child(5),#homepage_logo_section.six_logos .et_pb_image:nth-child(4) {margin-right: 0px!important;}
#homepage_logo_section .et_pb_row .et_pb_column .et_pb_module:last-child {margin-bottom: 0%!important;}
}

@media all and (min-width: 531px) and (max-width: 767px) {
#homepage_logo_section.eight_logos .et_pb_image, #homepage_logo_section.six_logos .et_pb_image, #homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(25% - 35px); flex-basis: calc(25% - 35px); margin-left: 0px!important; margin-bottom: 30px!important;}
#homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(20% - 35px); flex-basis: calc(20% - 35px);}
#homepage_logo_section.five_logos .et_pb_image:nth-child(5), #homepage_logo_section.eight_logos .et_pb_image:nth-child(4), #homepage_logo_section.six_logos .et_pb_image:nth-child(4) {margin-right: 0px!important;}
}

@media all and (min-width: 481px) and (max-width: 530px) {
#homepage_logo_secntion.eight_logos .et_pb_image, #homepage_logo_section.six_logos .et_pb_image, #homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(50% - 35px); flex-basis: calc(50% - 35px); margin-left: 0px!important; margin-bottom: 30px!important;}
#homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(100%); flex-basis: 100%; margin-left: 0px!important; margin-bottom: 30px!important; margin-right: 0px!important;}
#homepage_logo_section.eight_logos .et_pb_image:nth-child(2n), #homepage_logo_section.six_logos .et_pb_image:nth-child(2n) {margin-right: 0px!important;}
#homepage_logo_section.five_logos .et_pb_image:last-child {margin-bottom: 0px!important;}
}

@media all and (max-width: 480px) {
#homepage_logo_section.eight_logos .et_pb_image, #homepage_logo_section.six_logos .et_pb_image, #homepage_logo_section.five_logos .et_pb_image {-ms-flex-preferred-size: calc(100%); flex-basis: 100%; margin-left: 0px!important; margin-bottom: 30px!important; margin-right: 0px!important;}
#homepage_logo_section.eight_logos .et_pb_image:last-child, #homepage_logo_section.six_logos .et_pb_image:last-child, #homepage_logo_section.five_logos .et_pb_image:last-child {margin-bottom: 0px!important;}
}
