/*
 Theme Name:   Savvy
 Theme URI:    https://amyhooke.com/
 Description:  Custom Child Theme
 Author:       Amy Hooke
 Author URI:   https://amyhooke.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
*/

/*--------------- SCROLL TO TOP BUTTON
----------------------------------------------------------------------------------*/

.et_pb_scroll_top.et-visible,
.et_pb_scroll_top.et-hidden {
    margin: 0px 15px;
    bottom: 3%;
    border-radius: 50%;
    background-color: #bc0000;
    color: #fff;
}

/*--------------- DOUBLE BUTTON INLINE
----------------------------------------------------------------------------------*/
.btn_float {
    float: left;
}

/*--------------- FOOTER
----------------------------------------------------------------------------------*/
ul#menu-main-menu, .bottom-nav {
    text-align: center !important;
}

/*--------------- SHADOW FOR COLUMN
----------------------------------------------------------------------------------*/
.shadow_column {
    box-shadow: 0px 20px 75px 0px rgba(0,0,0,0.1);
}
/*--------------- MENU MOBILE
----------------------------------------------------------------------------------*/

#et_mobile_nav_menu:before {
    content: 'MENU';
    font-size: 13px;
    position: absolute ;
    bottom: 29px;
    right: 60px;
    color: #fff;
}

@media screen and (max-width: 980px) {
    .container {
        width: 100% !important;
    }
    .et_header_style_left .logo_container {
        padding-left: 25px;
    }
    .et_header_style_centered #main-header .mobile_nav {
        background-color: transparent;
    }
    .mobile_nav.closed .select_page {
        display: none;
    }
    .et-fixed-header#main-header {
        background-color: transparent !important;
    }
	.et_header_style_left .mobile_menu_bar{
    padding-top: 24px !important;
}
}
.et_mobile_menu {
    top: 0 !important;
    border-top: 3px solid #bc0000 !important;
    ;
    background-color: #ffffff !important;
    padding: 25% 0;
}
.et_mobile_menu li a {
    text-align: center;
    font-size: .95em;
    border: 0;
    padding: 15px 0;
    text-transform: uppercase;
    letter-spacing: 6px;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
    color: #bc0000;
}
.mobile_nav ul#mobile_menu li ul li a {
    font-size: .85em !important;
    margin: auto;
    color: #545454 !important;
    padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
    color: #999;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.mobile_menu_bar:before {
    padding-right: 25px;
    color: #bc0000 !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
    z-index: 99999;
    color: #bc0000 !important;
}
/* NESTING MOBILE MENU */
/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 6px;
    right: 10px;
    cursor: pointer;
    text-align: center;
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(0, 0, 0, 0.1);
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub menu */

#main-header #mobile_menu.et_mobile_menu li li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}
/* - end mobile menu toggling elements - */
/* undo Divi's default styling of mobile menu links that have children */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
/* make the current page's mobile menu link be different */

/* #main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
} */

/*--------------- COLUMN STACKING ORDER ON 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; /* Safari 6.1+ */
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;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
}

/* Make email address not spill off screen on mobile, in header and footer */
#mobile_menu a[href^="mailto"] { word-break: break-all; }

#main-footer a[href^="mailto"] { word-break: break-all; }

/*--------------- PUT YOUR CSS CODE BELOW THIS LINE -----------------------*/