/*
 Theme Name:     Digital Trails Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Digital Trails
 Author URI:     https://www.digitaltrails.co.za
 Template:       Divi
 Version:        1.6.4
*/


/* =Theme customisation starts here
------------------------------------------------------- */


/***--------------------------------------------
/*** Standard Text Styling
---------------------------------------------***/
/* /https://youtu.be/StPsAw-i8EA */
/* MAKE SURE TO PASTE CLASS "my-spacing" IN TEXT MODULE CSS CLASS */
/* Divi Text Module Custom CSS */
/* Change any of the em values here to style the items to suit your design */

/* Removes default bottom padding */
.my-spacing h1,
.my-spacing h2,
.my-spacing h3,
.my-spacing h4,
.my-spacing h5,
.my-spacing h6 {
/*  padding: 0; */
}

/* Sets default top margin for all text module items */
.my-spacing * + * {
/*  padding: 0;
  margin-top: 0.8em; */
}

/* Sets top paragraph margin where para follows a heading */
.my-spacing h1 + p,
.my-spacing h2 + p,
.my-spacing h3 + p,
.my-spacing h4 + p,
.my-spacing h5 + p,
.my-spacing h6 + p {
  margin-top: 1em;
}

/* Sets top heading margin where heading follows a paragraph */
.my-spacing p + h1,
.my-spacing p + h2,
.my-spacing p + h3,
.my-spacing p + h4,
.my-spacing p + h5,
.my-spacing p + h6 {
  margin-top: 0.75em;
}

/* Sets top  margin for unordered lists */
.my-spacing * + ul {
  margin-top: 0.5rem;
  margin-left: 1em;
}

/* Sets top and left margins for list items in UL */
.my-spacing ul li {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 1em;
  margin-top: 0.5em;
}

/* Sets top and left margins for ordered lists */
.my-spacing * + ol {
  margin-top: 0.5em;
  padding-left: 0.5em;
}

/* Sets top and left margins for list items in OL */
.my-spacing ol li {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0.5em;
}

/* Sets spacing between marker (number) and text in OL */
.my-spacing ol li::before {
  content: "";
  padding-left: 1em;
}

/* Sets margins and other styling for blockquote */
.my-spacing blockquote {
  padding-bottom: 1.2em;
  padding-top: 0.5em;
  padding-left: 1em;
  margin-top: 3em;
  font-weight: 700;
  color: white;
  background-color: orange;
  border-left-color: black;
}

/***--------------------------------------------
/*** End Standard Text Styling
---------------------------------------------***/


/***--------------------------------------------
/*** Additional Text Styling
---------------------------------------------***/

.tiers-spacing ul li {
	padding-top: 0;
	padding-bottom: 0;
	margin-left: 2em;
	padding-left: 0.5em;
/*  margin-top: 0.5em; */
}


/***--------------------------------------------
/*** End Additional Text Styling
---------------------------------------------***/


/*-----------------------------------------------*/
/*** Menu Adjustments                          ***/
/*-----------------------------------------------*/


/** Desktop Menu on Mobile, remember to add class **/
@media (max-width: 980px) {
	.dh-menu-desktop.et_pb_menu .et_pb_menu__menu, .dh-menu-desktop.et_pb_fullwidth_menu .et_pb_menu__menu {
		display: flex;
	}
	.dh-menu-desktop.et_pb_menu .et_mobile_nav_menu, .dh-menu-desktop.et_pb_fullwidth_menu .et_mobile_nav_menu {
		display: none;
	}
}

.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d";
}


/** Footer Menu Item Spacing - Standard is 11 **/
.footer-menu.et_pb_menu .et-menu > li {
    padding-right: 3px;
    padding-left: 3px;
}


/** Reduce Menu Item Spacing - Standard is 11 **/
/*
.et_pb_menu .et-menu > li {
    padding-right: 9px;
    padding-left: 9px;
}
*/
/** Reduce Menu Item Spacing at Specific Breakpoint **/
/*
@media screen and (max-width: 1200px) {
    .et_pb_menu .et-menu > li {
        padding-right: 7px;
        padding-left: 7px;
    }
}
*/
/*-----------------------------------------------*/
/*** End Menu Adjustments                      ***/
/*-----------------------------------------------*/

/*-------------------------------------------------------*/
/*-------------------- Gravity Forms --------------------*/
/*-------------------------------------------------------*/


.gform_wrapper.gravity-theme .gfield input.large,
.gform_wrapper.gravity-theme .gfield select.large,
.gform_wrapper .gform_body .gform_fields .gfield .datepicker,
.gform_wrapper .gform_body .gform_fields .gfield textarea {
	border-radius: 5px    
}
.gform_wrapper.gravity-theme .gfield select.large {
  border-radius: 5px 
}
/* Main Field List Container - Excluded Submit Button */
/*
body .gform_wrapper .gform_body .gform_fields {
  border: 1px solid rgba(64, 64, 64, 0.3);
  padding: 40px;
  border-radius : 5px
}
*/



/* All Field labels*/
.gform_wrapper.gravity-theme .gfield_label{
	margin-top: 20px;
	margin-bottom: 0;
  margin-left: 2px;
	font-size: 0.9rem;
	font-weight: 500;
}

/*
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
  border: 1px solid #ff6600;
}
*/

body #gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {
  color: #ff6600;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
  border: none;
}

/*-------------------------------------------------------*/
/*------------------ End Gravity Forms ------------------*/
/*-------------------------------------------------------*/

/*-----------------------------------------------*/
/*** Images ***/
/*-----------------------------------------------*/

/* Random Header Images */

.ds-random-header .et-pb-arrow-prev,
.ds-random-header .et-pb-arrow-next,
.ds-random-header .et-pb-controllers {
    display: none;
}

.ds-random-header .et_pb_gallery_items {
    pointer-events: none;
}

/* End Random Header Images */



/* Remove Title from individual image */
.mfp-title {
        display: none !important;
}

/*-----------------------------------------------*/
/*** End Images ***/
/*-----------------------------------------------*/



/*-----------------------------------------------*/
/*** 500 Standard Changes from the Start ***/
/*-----------------------------------------------*/

/* Remove the line below the normal Divi menu */
#main-header {
    box-shadow: none !important;
}

/* Hide Bottom Bar */
#footer-bottom {
    display: none;
}

 /*Hide the Divi Footer*/
#main-footer {
        display: none;
}

/** Gallery Image **/
/* Remove Title from individual image */

.mfp-title {
        display: none;
}
/*-- End --*/

/*-----------------------------------------------*/
/*** 500 End Standard Changes from the Start ***/
/*-----------------------------------------------*/

/*-----------------------------------------------*/
/*** Responsive Code for Contact Form Image ***/
/*-----------------------------------------------*/

/* Set the height of the image module, image-wrapper and image to 100% */

.dc-image-fill,
.dc-image-fill .et_pb_image_wrap,
.et_pb_image_wrap img {
 height: 100%;
}

/* Set the object-fit property so image fills the column and is cropped*/

.dc-image-fill img {
 object-fit: cover;
}

.dc-two-col {
  font-size: clamp(12px, calc(0.75rem + ((1vw - 3.2px) * 0.5)), 20px);
  min-height: 0vw;
}

/* Set the height of the image module, image-wrapper and image to 100% */

.dc-image-fill,
.dc-image-fill .et_pb_image_wrap,
.et_pb_image_wrap img {
 height: 100%;
}

/* Set the object-fit property so image fills the column and is cropped*/

.dc-image-fill img {
 object-fit: cover;
}


/*-----------------------------------------------*/
/*** End Responsive Code for Contact Form Image ***/
/*-----------------------------------------------*/

/*------------------------------------------------*/
/***------- Begin Vertical Centre Column -------***/
/*------------------------------------------------*/

.vertical-centre-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}


/*------------------------------------------------*/
/***------- Begin Vertical Centre Column -------***/
/*------------------------------------------------*/

/*-------------------------------------------------------*/
/*-----Enlarged and Overlapping Header Image by ET-------*/
/*-------------------------------------------------------*/

@media only screen and (max-width: 980px) {
        #logo {
/*              min-height: 100px; */
        }
}
@media only screen and (min-width: 981px) {
        #logo {
/*              min-height: 120px; */
        }
}
/*-------------------------------------------------------*/
/*----End Enlarged and Overlapping Header Image by ET----*/
/*-------------------------------------------------------*/

/*-------------------------------------------------------*/
/*---- BUTTONS GENERAL ----*/
/*-------------------------------------------------------*/

/* Disable button icon */
body .gform_wrapper .gform_footer input.button:after,
body .gform_wrapper .gform_footer input[type=submit]:after,
.et_pb_button:after,
.et_button_no_icon .et_pb_button:after {
    display: none!important;
}



body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type=submit],
.et_pb_button,
.et_button_no_icon .et_pb_button {
	background:  rgba(250,246,243,0.6) !important;
/*        box-shadow: 0 0px 8px 0 rgba(0,0,0,0.2), 0 0px 20px 0 rgba(0,0,0, 0.19) !important; */
	transition: 0.3s;
	padding: 8px 24px !important;
/*        margin-bottom: 20px; */
	border-style: solid;
	border-radius: 2px !important;
	border-width: 1px !important;
	border-color: #807F6D !important;
	font-size: 1rem !important;
	color: #1C1C1E !important;
	letter-spacing: 1px;
	text-transform: uppercase;
}

body .gform_wrapper .gform_footer input[type=submit]:hover,
.et_pb_button:hover,
.et_button_no_icon .et_pb_button:hover {
        box-shadow: 0 4px 8px 0 rgba(128,127,109,0.35), 0 7px 10px 0 rgba(128,107,109,0.34) !important;
        padding: 8px 24px !important;
        transition: 0.3s;
}

body .gform_wrapper .gform_footer input[type=submit]:active,
.et_pb_button:active,
.et_button_no_icon .et_pb_button:active {
        box-shadow: 0 1px 2px 0 rgba(128,127,109,0.2), 0 2px 5px 0 rgba(128,127,109,0.2) !important;
}

/* buttons fixed to the bottom */
.align-bottom .et_pb_column {
        padding-bottom:40px !important;
}

.align-bottom .et_pb_button_module_wrapper {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: auto !important;
}

/* Woo Commerce Button */

.woocommerce div.product form.cart .button:hover {
	color: #2a3d29;
}


/*Back to top button*/
.et_pb_scroll_top.et-pb-icon {
    background: transparent;
	color: #ffffff;
    right: 5px;
    bottom: 5px;
	font-size: 45px;
}

/*End Back to top button*/

.medium-button {
	background: #807F6D !important;
	color: #FAF6F3 !important;
}

.dark-button {
	background: #353933 !important;
	color: #FAF6F3 !important;
}

/* Centre all Mobile Buttons */
@media only screen and (max-width: 980px) {
	.et_pb_button_module_wrapper {
		text-align: center !important;
	}
}

/* Hide a Column */
/*@media only screen and (max-width: 980px) {
	.hide-column {
		display: none;
	}
}
*/
/*-------------------------------------------------------*/
/*---- End BUTTONS GENERAL ----*/
/*-------------------------------------------------------*/

/*------------------------------------------------*/
/*--------- Keep Columns on Mobile ----------*/
/*------------------------------------------------*/
@media only screen and (max-width: 980px) {
 
.two-columns .et_pb_column {
width: 50%!important;
}
 
.three-columns .et_pb_column {
width: 33.33%!important;
}
 
.four-columns .et_pb_column {
width: 25%!important;
}
 
}

/*------------------------------------------------*/
/*--------- Keep Columns on Mobile End ----------*/
/*------------------------------------------------*/


