/*
 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
*/

/*EDIT NOTE: First step always:
    - Theme customiser
    - Header & Navigation
    - Header Format
    - UNCHECK "Enable vertical navigation"
    - Publish
    - Refresh page
*/


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

/* .et_pb_scroll_top.et-visible,
.et_pb_scroll_top.et-hidden {
    margin: 0px 15px;
    bottom: 3%;
    border-radius: 50%;*/
    /*EDIT HERE: Change colour of scroll to top icon*/
    /*background-color: #78d897;
    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 { */
        /*EDIT HERE: background colour of fixed mobile nav*/
/*         background-color: transparent !important;
    }
	.et_header_style_left .mobile_menu_bar{ */
        /*EDIT HERE: Change padding top and bottom of menu burger*/
/*         padding-top: 24px !important; */
        /* padding-bottom: 30px !important; */
/*     }
}*/
.et_mobile_menu {
/*     top: 0 !important;  */
    /*EDIT HERE: Change colour of mobile menu background colour and top border colour*/
     /*background-color: rgba(10, 10, 10, 1) !important;
    padding: 25% 0;*/
	border-top: 0px !important;
}
/*
.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 { */
    /*EDIT HERE: Change colour of mobile menu active link*/
/*     color: #fff;
}
.mobile_nav ul#mobile_menu li ul li a {
    font-size: .85em !important;
    margin: auto; */
    /*EDIT HERE: Change colour of submenu link*/
/*     color: #78d897 !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;
}
 */
/*EDIT HERE: The next 2 change colour of mobile menu open and close icons*/
/* .mobile_menu_bar:before {
    padding-right: 25px;
    color: #78d897 !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
    z-index: 99999;
    color: #78d897 !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;
    /*EDIT HERE: Change colour of drop down toggle colour and background*/
/*     background-color: rgba(0, 0, 0, 0.03); */
/*     color: #ffffff; */
    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 { */
    /*EDIT HERE: Change colour of drop down toggle colour and background when "popped"*/
/*     background-color: rgba(0, 0, 0, 0.1);
    color: #ffffff;
} */
/* 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;
    /*EDIT HERE: Change background colour and padding of sub-menu when "popped"*/
    background-color: rgba(0, 0, 0, 0.03);
    padding-top: 10px;
}
/* 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;
}

/* make mobile nav fixed */

.et_vertical_nav.et_header_style_left #et-top-navigation {
	padding-top: 24px !important;
}

@media (max-width: 980px) {
	#main-header, #top-header {
		position: fixed;
	}
}


/*--------------- 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 -----------------------*/

/*--------------- CALDERA CONTACT FORM 
----------------------------------------------------------------------------------*/

/*EDIT NOTES: when importing Caldera form, chnage subject to business name, and make button class "et_pb_button" */
.caldera-grid .form-control {
    font-size: 16px!important;
    padding: 8px!important;
    height: auto!important;
    box-shadow: none!important;
    border-radius: 10px 0px!important;
    border-top: none!important;
    border-left: none!important;
    border-right: 2px solid #17aba3!important;
    border-bottom: 2px solid #17aba3!important;
}
  
.caldera-grid .form-control:focus {
    background-color: #f1f3f7!important;
}
  
.caldera-grid .single input {
    color: #555 !important;
}

/*** THIS CHANGES THE BUTTON STYLE ***/
.caldera-grid input[type=submit] {
    float: right;
}