/*
 Theme Name:     Major Eight
 Author:         Major Eight
 Author URI:     majoreight.com
 Template:       Divi
 Version:        3.0
*/

/***************************************************************************************
  *
  *                               MAJOR EIGHT STYLES
  *  GLOBAL
  *  HOME PAGE
  *  FOOTER
  *  CONTACT PAGE
  *
****************************************************************************************/
/***************************************************************************************
  *
  *  GLOBAL
  *
**/
/* hero section typography styles for seo ****************************/
@media all and (max-width:980px){.m8-hero-header-h1 h1{font-size:32px !important;}
}
/* .m8-hero-header-h2 h2 */
.m8-hero-header-small h2{font-family:'Muli',Helvetica,Arial,Lucida,sans-serif;font-weight:800;text-transform:uppercase !important;font-size:14px;color:#3adb76!important;letter-spacing:1px;line-height:2em;}
/* .m8-hero-header-h1 h1 */
.m8-hero-header-large h1, .m8-hero-header-large span{font-family:'Unna',Georgia,"Times New Roman",serif;font-weight:400;font-size:48px;color:#ffffff!important;letter-spacing:3px;line-height:1.4em;text-shadow:0em 0.05em 0.1em #404040;}
.m8-hero-header-fat span{font-weight:700 !important;}
/* correct CTA spacing between modules ****************************/
@media (min-width:981px){.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:1.75% !important;}
}
/***************************************************************************************
  *
  *  PAGE: HOME
  *
**/
/* FLEXBOX METHOD FOR MOBILE COLUMNS */
/* correct homepage middle section ordering for mobile */
@media all and (max-width:980px){.custom_row{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;}
.first-on-mobile{-webkit-order:1;order:1;}
.second-on-mobile{-webkit-order:2;order:2;}
.third-on-mobile{-webkit-order:3;order:3;}
.fourth-on-mobile{-webkit-order:4;order:4;}
.custom_row:last-child .et_pb_column:last-child{margin-bottom:30px;}
}
/* customized module, home page preview box styles */
.m8_project_preview p{padding-left:16px;padding-right:16px;padding-bottom:26px !important;}
/* corrects section slipping under nav bar behavior */
.anchor{display:block;position:relative;top:-200px;visibility:hidden;}
@media (min-width:320px) and (max-width:640px){.anchor{display:block;position:relative;top:-75px;visibility:hidden;}
}
/***************************************************************************************
  *
  *  SECTION: FOOTER
  *
**/
div#et-footer-nav{padding-top:1em;padding-bottom:1em;background-color:#015f85 !important;}
.bottom-nav{text-align:center;}
#footer-info{float:none;padding-bottom:10px;margin-right:1.5em !important;text-align:center;color:rgba(255,255,255, .85) !important;background-color:#015f85;}
#footer-info a{color:#2EAF5E !important;}
#footer-bottom{background-color:#015f85 !important;border-top:none !important;}
/***************************************************************************************
  *
  *  PAGE: CONTACT
  *
**/
/* adjust title alignment for mobile */
@media all and (max-width:980px){.m8-contact-title{text-align:center;}
}
