/*
Theme Name: Alliance2020 Child
Theme URI: https://alliance2020.com
Description: Alliance2020 Child Theme
Author: Alliance2020
Author URI: https://alliance2020.com
Template: Divi
Version: 1.1
*/
@media all and (max-width:980px){
#et-main-area{
padding-top:0px !important;
}
}

/* Parent stylesheet should be loaded from functions.php not using @import */
/* SOME CUSTOM HEADER CSS LIVES IN THE HEADER LAYOUT MODULES!!  */
h1, h2, h3, h4, h5, h6 { 
   overflow-wrap: normal;
}
/* BEGIN BREADCRUMB SEPARATOR MODIFY */
.et_pb_dcsbcm_divi_breadcrumbs_module_0_tb_body span.dcsbcm_separator {
  display: inline-block;
  transform: translateX(0px) translateY(7px) !important;
}
/* END BREADCRUMB SEPARATOR MODIFY */
/* BEGIN BLOG MODULE MODIFICATIONS*/
/* Read more link button appearance*/
article a.more-link, article .et_pb_posts a.more-link, a.more-link {
  display: inline-block !important;
  background: rgba(69, 97, 122, 1.0);
  color: #ffffff;
  border-width: 0px;
  border-color: #15a8de;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-top: 1em;
  padding-top: 0.5em;
  padding-right: 1em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  text-transform: uppercase;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
article a.more-link:hover, article .et_pb_posts .more-link a:hover, a.more-link:hover {
 background: rgba(69, 97, 122, .75);
  color: #fff;
  transform: scale(1.05);
}
/* Blog Module Post hover effect*/
.et_pb_blog_grid .et_pb_post:hover {
  transform: scale(1.05);
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.featured-blog .et_pb_blog_grid .et_pb_post:hover {
  transform: none;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
/* END BLOG MODULE MODIFICATIONS*/
/* MOBILE COLUMN STACKING  
 * Insert this class into custom CSS field of Divi Row Module 
 * to overide default stacking on mobile */
@media only screen and (min-width: 479px) {
  .one-column .et_pb_column {
    width: 100% !important;
  }
  .two-columns {
    display: flex !important;
  }
	
 .two-columns-50 .et_pb_column {
    width: 50% !important;
  }
  .three-columns .et_pb_column {
    width: 33.33% !important;
  }
  .four-columns .et_pb_column {
    width: 25% !important;
  }
}

/* EQUAL COLUMN HEIGHTS */
@media only screen and (min-width: 980px) {
  .flex-row-wrapper {
    display: flex;
  }
  .flex-row-wrapper .et_pb_column {
    display: flex;
    flex-direction: column;
  }
}
/*SEARCH FUNCTION */
.et_pb_menu .et_pb_menu__search-input, .et_pb_fullwidth_menu .et_pb_menu__search-input {
  width: 100%;
  border: 0;
  color: #FFF;
  background: rgba(0,0,0,0.86);
  padding: 10px;
}
/* ACCOUNT LOGIN MENU */
.acct-padlock:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 14px;
  line-height: 1.5;
  content: '\e06c';
  color: #FFF;
  float: left;
  margin: -2px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-padlock:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-padlock:before {
  content: '';
}
.acct-employment:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 18px;
  content: '\e08a';
  color: rgba(21, 168, 222, 0.8);
  float: left;
  margin: 3px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-employment:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-employment:before {
  content: '';
}
.acct-tenant:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 18px;
  content: '\e101';
  color: rgba(21, 168, 222, 0.8);
  float: left;
  margin: 3px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-tenant:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-tenant:before {
  content: '';
}
.acct-mortgage:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 18px;
  content: '\e009';
  color: rgba(21, 168, 222, 0.8);
  float: left;
  margin: 3px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-mortgage:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-mortgage:before {
  content: '';
}
.acct-volunteer:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 18px;
  content: '\e032';
  color: rgba(21, 168, 222, 0.8);
  float: left;
  margin: 3px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-volunteer:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-volunteer:before {
  content: '';
}
.acct-drugtesting:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 18px;
  content: '\5a';
  color: rgba(21, 168, 222, 0.8);
  float: left;
  margin: 3px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-drugtesting:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-drugtesting:before {
  content: '';
}
.acct-i9:before {
  font-family: 'ETmodules';
  font-weight: normal;
  font-size: 18px;
  content: '\e0e0';
  color: rgba(21, 168, 222, 0.8);
  float: left;
  margin: 3px 10px 0 0;
  transition: all 300ms ease-in-out;
}
.acct-i9:hover:before {
  color: #CCC;
  transition: all 300ms ease-in-out;
}
.et_mobile_menu .acct-i9:before {
  content: '';
}


/* ADD TOP ARROW TO MAIN NAV ELEMENTS */
header #Primary-Menu nav > ul > li > ul:after {
  position: absolute;
  left: 20%;
  margin-left: -20px;
  top: -14px;
  width: 0;
  height: 0;
  content: '';
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #1b385e;
}
/* MENU DROP ARROW POSITION */
/* DROPDOWN ARROWS*/
header #Primary-Menu .et-menu .menu-item-has-children .menu-item-has-children > a:first-child:after {
  font-family: 'ETmodules';
  content: "\45";
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 10px;
  font-weight: 800;
}
header #Primary-Menu .et-menu .menu-item-has-children .menu-item-has-children:hover > a:first-child:after {
  font-family: 'ETmodules';
  content: "\43";
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 10px;
  font-weight: 800;
}
/* PRIMARY MOBILE MENU SUB ITEM TOGGLE */
header #Primary-Menu .et_mobile_menu .menu-item-has-children > a {
  background-color: transparent;
  position: relative;
}
header #Primary-Menu .et_mobile_menu .menu-item-has-children > a:after {
  font-family: 'ETmodules';
  text-align: center;
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  position: absolute;
}
header #Primary-Menu .et_mobile_menu .menu-item-has-children > a:after {
  font-size: 16px;
  content: '\4c';
  top: 13px;
  right: 10px;
}
header #Primary-Menu .et_mobile_menu .menu-item-has-children.visible > a:after {
  content: '\4b';
}
header #Primary-Menu .et_mobile_menu ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
  transition: all 1.5s ease-in-out;
}
header #Primary-Menu .et_mobile_menu .visible > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
}
header #Primary-Menu .et_mobile_menu {
  -moz-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}
/* PAGE HEADER SECTION */
.page-title-subhead h1 {
 /*  text-transform: capitalize; */
}
.page-title-subhead span {
  color: #FFF;
}


/* HIDE ACCT LOGIN MOBILE MENU BUT STILL SHOW PRIMARY MOBILE MENU */
@media only screen and (min-width: 300px) {
  header  #acct-login-menu .et_mobile_nav_menu {
    display: none !important;
  }
  #mobile_menu3 {
    margin-top: 10px;
  }
  header #acct-login-menu .et_pb_menu__menu {
    display: block !important;
  }
}

@media only screen and (max-width: 1235px) {
  header #Primary-Menu .et_mobile_nav_menu {
    display: block !important;
  }
 header #Primary-Menu .et_pb_menu__menu {
    display: none !important;
  }
}

#mobile_menu3 {list-style-type: none}



/*IMAGE ASPECT RATIO LANDSCAPE 16:9*/

.pa-image-16-9 .et_pb_image_wrap {
padding-top: 56.25% !important;
display: block !important;
}

.pa-image-16-9 .et_pb_image_wrap img {
position: absolute !important;
height: 100% !important;
width: 100% !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
object-fit: cover !important;
}

@media only screen and (max-width: 979px) {
  .flex-row-wrapper {}
  .flex-row-wrapper .et_pb_gutters1.et_pb_row_5col > .et_pb_column.et_pb_column_1_5 {}
}

/*KNOWLEDGE TEST BUTTONS OVERRIDE TO MATCH THEME*/
a.qmn_btn.mlw_qmn_quiz_link.mlw_next {
    -webkit-font-smoothing: antialiased;
    font-family: 'HKGrotesk-Regular', Helvetica, Arial, Lucida, sans-serif;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.7em !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: 2px solid;
    box-shadow: 1px 10px 10px -5px rgba(175, 178, 179, 0.3);
    display: inline-block;
    padding-top: 10px !important;
    padding-right: 45px !important;
    padding-bottom: 10px !important;
    padding-left: 25px !important;
    transition: color 300ms ease 0ms;
    color: #ffffff !important;
    border-width: 0px !important;
    border-color: #1b385e;
    border-radius: 30px;
    letter-spacing: 1px;
    font-size: 18px;
    text-transform: uppercase !important;
    background-color: #1b385e;
}


a.qmn_btn.mlw_qmn_quiz_link.mlw_next:hover {
    color: #ffffff !important;
    background-color: rgba(21, 168, 222, 0.8) !important;
}
/*END KNOWLEDGE TEST BUTTONS OVERRIDE TO MATCH THEME*/

/* CTA PROMO FOOTER */
#cta-footer-text .et_pb_text_inner {
  text-align: center;
  position: relative;
  margin: 0 auto;
  width: fit-content;
}
@media (max-width: 320px) {
  #cta-footer-text .et_pb_text_inner:before {
    content: none;
    position: absolute;
    left: 0;
    transform: translateX(-40px);
    width: 80px;
    bottom: -60px;
  }
}
@media (min-width: 400px) {
  #cta-footer-text .et_pb_text_inner:before {
    content: none;
    position: absolute;
    left: 0;
    transform: translateX(-40px);
    width: 80px;
    bottom: -60px;
    z-index: -1 !important;
  }
}
@media (min-width: 470px) {
  #cta-footer-text .et_pb_text_inner:before {
    content: none;
    position: absolute;
    left: 0;
    transform: translateX(-50px);
    width: 115px;
    bottom: -60px;
    z-index: -1 !important;
    opacity: 0.5;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
  }
}
@media (min-width: 980px) {
  #cta-footer-text .et_pb_text_inner:before {
    content: url('https://www.alliance2020.com/wp-content/uploads/search-people.svg');
    position: absolute;
    left: 0;
    transform: translateX(-90px);
    width: 115px;
    bottom: -60px;
    z-index: -1 !important;
    opacity: 1;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
  }
}


/* HIDE-REVEAL BUTTON STYLING */
.reveal_button, .reveal_button:hover {
    padding-right: 40px!important;
}
.reveal_button:after {
    display: inline-block!important;
    opacity: 1!important;
    margin-left: 0!important;
    content: '\42' !important;
    transition: all 0.5s ease;
}
.reveal_button.opened:after {
  content: '\43' !important;
  transition: all 0.5s ease;
}

/*GRAVITY FORMS STYLING */

.gform_wrapper li.gf_message_h_100px textarea.textarea {
    height: 100px !important;
}