/* 
Theme Name: Divi Child AdCraft
Theme URL: https://www.adcraftstudio.com.au
Description: Divi Child Theme by AdCraft Studio
Theme Author: AdCraft Studio
Author URL: https://www.adcraftstudio.com.au
Template: Divi
Version: 1.0.0 
Text Domain: divi-child-adcraft
*/

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* --------- GENERAL CSS ADJUSTMENTS ---------*/

/* Item and Row Alignments */
.web-row {
	display: flex;
	flex-wrap: wrap;
}

.web-align {
	margin:auto;
}

/* Change column order for Mobile */
@media screen and (max-width: 768px){
    .web-order {
        order: 2;
    }
}

/* Button in-line */
.btn-inline .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 10px;
}

.btn-inline {
    text-align: center !important;
}

/* Hide Title on images on hover */
img{pointer-events:none}

/* Equal Column Height and Align Button Bottom of Column */
.column-flex {
    display: flex!important;
    flex-direction: column!important;
    justify-content: space-between;
}

/*--------- ADDITIONAL FEATURES CUSTOMISATIONS ---------*/

/* Equalise the Tabs */
.equal-tabs .et_pb_tabs_controls li {
    width: 33.33%; /*change width of tabs here depending on the number of tabs you have*/
    text-align: center;
}
@media screen and (max-width: 768px){ /*change device breakpoint here depending on the number of tabs you have*/
.equal-tabs .et_pb_tabs_controls li {
    width: 100%; 
  text-align: center;
}
}

/* Blurb Module inline Button - Expanding Hover Section */
.pa-blurb-button {
	color: #0a0a0a!important;
    border-width: 0px!important;
    letter-spacing: 4px;
    font-size: 16px;
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif!important; /*change to website font*/
    font-weight: 700!important;
    background-color: #e7ab92;
	width: 100%;
	padding: 10px;
}

.pa-blurb-button:hover {
	color: #fff!important;
}

.et_pb_blurb .pa-blurb-button {
	display: none;
}

.et_pb_blurb:hover .pa-blurb-button {
	display: inline;
}

/* Change Highlight Colour */
::selection {
  background: #6ba43a; /* WebKit/Blink Browsers */
	color: #fff;
}
::-moz-selection {
  background: #6ba43a; /* Gecko Browsers */
}

/* fullwidth slider pagination */
.et-pb-controllers a {
	    width: 80px;
    height: 12px;
    border-radius: 0px;
	background-color: #f1f1f1!important;
}

.et-pb-controllers .et-pb-active-control {
	background-color: #1d438c!important;
}

/* fullwidth slider image position to right */
@media screen and (min-width: 768px) {
	.et_pb_slide_description {
		float:left !important;
}
.et_pb_slide_image { right: -100px; }
}

/* Fixed Menu Changes */
/*set the default background color of the header section*/
.craft-header {
	background: transparent;
	-webkit-transition: background-color 1s ease-out;
	-moz-transition: background-color 1s ease-out;
	-o-transition: background-color 1s ease-out;
	transition: background-color 1s ease-out;
}

.craft-fixed-header .et_pb_image, .craft-fixed-header .et_pb_menu__logo img {
	content: url();
	max-height: 45px;
}

.craft-fixed-header {
	background-color: #e2e3e170!important;
	-webkit-transition: background-color 1s ease-out;
	-moz-transition: background-color 1s ease-out;
	-o-transition: background-color 1s ease-out;
	transition: background-color 1s ease-out;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}

.craft-fixed-header .et_pb_menu_0_tb_header.et_pb_menu .nav li ul, .craft-fixed-header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu, .craft-fixed-header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
	background-color: #e2e3e1!important;
	border-color: #45555f!important;
}

/* Highlight Parent Menu of Item of Selected Sub Page */
/* Colour of Menu Text */
.et-menu-nav a {
	color: #1d438c;
}

.craft-fixed-header .et-menu-nav a {
	color: #1d438c;
}

.current-menu-item > a {
	color: #6ba43a!important;
}

/* Highlight the Parent Menu Item */
.current-menu-ancestor > a {
  color: #6ba43a!important;
}

.services_list img {
    background: #6BA43A;
    border-radius: 200px;
}

/* Menu Button and Socials Alignment */
.menu-column {
	display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/*--------- GRAVITY FORMS UNIVERSAL FORM CSS CUSTOMISE ---------*/

/* Target Name Field to remove spacing in removing label spacing */
.gform_wrapper.gravity-theme .ginput_complex label {
	padding-bottom: 24px;
/* 	margin-top: -18px; */
}

/* Gravity Form Address Field Customisation */
.gform_wrapper.gravity-theme .ginput_container_address span {
	flex: 0 0 100%; }

@media (min-width: 641px)
{.gform_wrapper.gravity-theme .ginput_container_address .ginput_right {
    padding-left: 0;
}
}

/* Gravity Form Input Fields Customisation */
.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
    font-size: 15px;
    padding: 8px;
    margin-bottom: 0;
    border-radius: 30px;
    margin-top: 0;
    border-color: #dbeefd;
    background: #e7f2e2;
}

/* Gravity Form Submit Button Customisation */
/* body .gform_wrapper .gform_footer input[type=submit] {
	width: 100%;
    padding: 16px;
    border-radius: 30px;
    font-weight: 700;
    color: #0a0a0a;
    background: #0a0a0a;
	margin-top: 16px;
	text-transform: uppercase;
	cursor: pointer;
} */

/* Gravity Form Progress Bar Colour */
.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
    background-color: #008f9d;
    color: #fff;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    width: 49%;
    padding: 16px;
    border: 1px solid #6ba43a;
    border-radius: 30px;
    font-weight: 600;
    color: #ffffff;
    background: #6ba43a;
	text-transform: uppercase;
	cursor: pointer;
    font-size: 18px;
} 

body .gform_confirmation_wrapper .gform_confirmation_message {
    padding: 25px;
    text-align: center;
    background: #f4f4f4;
    border-radius: 30px;
    font-size: 20px;
}


/*--------- MOBILE MENU CUSTOMISE AND TRANSFORM ---------*/

/* MENU FIX Blank Gap and Mobile Adjustment - Custom Menu*/
.et_pb_section_1_tb_header, .et_pb_section_0_tb_header {
    left: auto!important;
    transform: none!important;
/*     padding-left: 12px;
    padding-right: 12px; */
}

/* Customise Mobile Menu */
.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\e04f";
	color: #00539f;
}

/* Spacing of Menu SubItems */
.et-menu li li a {
    padding: 4px 20px;
}

/*Menu Dropdown */
#top-menu li li a {
	padding: 6px 6px;
}

#top-menu li li a:hover {
	background: #fdb714;
	color:#fcfcfc;
}

/* Mobile Menu position */
@media (max-width: 980px) {
 .container.et_menu_container { 
 width: calc( 100% - 60px);
 }
}

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	top:110%!important;
	width: calc( 100% + 60px);
	border-top: 3px solid #f9cb49;
	font-size: 20px!important;
}

.mobile_menu_bar:before {
	color:	#fdd768;
}

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

@media only screen and (max-width: 980px) {
.et_fixed_nav #main-header, 
.et_fixed_nav #top-header,
.et_non_fixed_nav.et_transparent_nav #main-header,
.et_non_fixed_nav.et_transparent_nav #top-header {
    position: fixed;
}
}
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 80vh;
}

/* Mobile Menu Dropdowns */
.et_pb_menu .et_mobile_menu .menu-item-has-children > a, #main-header .et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    position: relative;
}
.et_pb_menu .et_mobile_menu .menu-item-has-children > a.toggle-menu, #main-header .et_mobile_menu .menu-item-has-children > a.toggle-menu {
    font-family: 'ETmodules';
    font-size: 18px;
    padding: 10px;
    z-index: 10;
    display: inline-block;
    position: absolute;
    right: 15px;
 }
.et_pb_menu .et_mobile_menu .menu-item-has-children.visible > a.toggle-menu, #main-header .et_mobile_menu .menu-item-has-children.visible > a.toggle-menu {
     transform: rotate(180deg);
}

.et_pb_menu .et_mobile_menu ul.sub-menu, #main-header .et_mobile_menu ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
    transition: all 1.5s ease-in-out;
}
.et_pb_menu .et_mobile_menu .visible > ul.sub-menu, #main-header .et_mobile_menu .visible > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}



/*--------- WOOCOMMERCE CUSTOMISATIONS ---------*/

/* add to cart button color */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart, a.button.product_type_variable.add_to_cart_button {
	color: #e7ab92;
}

/* view cart button after add to cart  style */
a.added_to_cart.wc-forward {
    color: #e7ab92;
    padding: 1em !important;
}

/* Woocommerce Added to cart Message */
.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
	background: #dbdbdb;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
	margin: 0;
}

.woocommerce-message a.button.wc-forward {
	color: #e7ab92;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    background: #e7ab92;
    font-size: 20px;
    text-align: center;
    font-family: 'Knucklehead';
	color: #211e1c;
}

/* View Cart Button */
a.added_to_cart.wc-forward {
    color: #e7ab92;
    padding: 12px !important;
    width: 100%;
    text-align: center;
    background: #211e1c;
    border: solid 2px #211e1c;
    border-radius: 4px;
    margin-top: 12px;
    font-family: 'Raleway';
    font-size: 20px;
}

/* Out of Stock Text Product Page */
.woocommerce div.product .out-of-stock {
    color: #ffffff;
    font-family: 'Raleway';
    font-size: 20px!important;
    text-align: center;
    padding: 12px;
    background: #b03125;
    border-radius: 4px;
}

/* Product Name Line Height */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 3em;
}


/* latest openings style  */

.thjm_jobs_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: -15px;
}

.thjm_jobs_item {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .thjm_jobs_item {
        width: 50%;
    }
}

@media (min-width: 900px) {
    .thjm_jobs_item {
        width: 25%;
    }
}

.thjm_jobs_box {
    text-align: center;
    padding: 40px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-color: #e7f2e2;
}

.thjm_jobs_box:hover {
    background-color:#dbeefd;
}
.thjm_jobs_img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.thjm_jobs_title {
    margin-bottom: 15px;
}

.thjm_jobs_button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #6ba43a;
    color: #fff;
    text-decoration: none;
}
.thjm_jobs_button:hover{
    background-color:#1D438C;
}


/* jobs sidebar style  */

      
.elegant-thjm-jobs {
    display: block;
}
.elegant-thjm-job {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #e7f2e2;
    border: 1px solid #dbeefd;
    border-radius: 10px;
}
.elegant-thjm-job h3 {
    margin-top: 0;
    font-size: 18px;
    color: #1D438C;
}
.elegant-thjm-job p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

.thjmf-share-job {
	cursor:pointer;
}
