/*
 Theme Name:     Toser
 Theme URI:      https://www.toser.com.au
 Description:    Theme for Toser built on Divi
 Author:         Sean Killian
 Author URI:     https://www.killian.com.au
 Template:       Divi
 Version:        1.0.0
*/

@import  "../Divi/style.css";

:root {

    --toser-white: #ffffff; 
    --toser-black: #000000;
 
    --toser-box-shadow: 0px 9px 30px 0px rgba(0, 0, 0, 0.05);
    --toser-box-shadow-highlight: 0px 9px 30px 0px rgba(0, 0, 0, 0.1);
 
}

html, body {
    overscroll-behavior: none;
}


body { 
    font-family: acumin-pro, sans-serif !important;
}

h1, h2, h3, h4, h5 { 
    font-family: acumin-pro, sans-serif !important;
}

h1.toser-h1 {
    font-family: abril-text-regular, serif !important;
}

.et_pb_text_inner {
    letter-spacing: 1px;
}

.et_pb_text_inner ul {
    padding-left: 50px;
    padding-bottom: 25px;
}

.btnToser {
    letter-spacing: 2px;
}

.btnKitEzi {
    letter-spacing: 2px;
}

#counterProjects span.percent-sign {
    font-weight: 500;
}

#counterFactory span.percent-sign {
    font-weight: 500;
    font-size: 30px;
    bottom: 30px;    
}

#counterStaff span.percent-sign {
    font-weight: 500;
}



/* FORM */

.gform_required_legend {
    display: none;
}

/* body .gform_wrapper .description, body .gform_wrapper .gfield_description, body .gform_wrapper .gsection_description, body .gform_wrapper .instruction {
    font-size: 12px
}

body .gform_wrapper div.charleft {
    font-size: 10px
} */



.gform_wrapper .gform_button {
    padding: 15px 22px !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.gform_wrapper .gform_button:hover {
    opacity: 0.85;
}

.gform_wrapper .top_label .gfield_label {
    font-weight: normal !important;
}

.gform_wrapper input[type=text], 
.gform_wrapper textarea, .gform_wrapper input[type=email], 
.gform_wrapper input[type=password], 
.gform_wrapper input[type=tel], 
.gform_wrapper input[type=url], 
.gform_wrapper input[type=search], 
.gform_wrapper input[type=date] {
    padding: 10px!important;
    width: 100%;
    border: 0px;
    border-bottom: 1px solid #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    color: #555;
    background-color: #efefef;
    /* box-shadow: 0 1px 2px rgba(0,0,0,0.09) inset;
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.09) inset;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.09) inset;
    -o-box-shadow: 0 1px 2px rgba(0,0,0,0.09) inset; */
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}


/* General styling for Gravity Forms inputs */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea {
  padding: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
  border-bottom: 2px solid transparent;
}

/* Add focus styles with animation */
.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="password"]:focus,
.gform_wrapper textarea:focus {
  outline: none; /* Remove default outline */
  border-bottom: 2px solid #33333350;
}

.gform_wrapper .gfield--type-html {
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 15px;
}

.select2-container .select2-selection--single {
    background-color: #efefef;
    border: var(--cp-gray)solid 1px;
    border-radius: 0;
    padding: 10px;
    height: auto;
    box-shadow: none;
    color: #555;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    background-color: #efefef;
    line-height: 1.5;
    padding: 0;
    color: #555;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #555;
}

.select2-dropdown {
    background-color: #efefef;
    /* border: 1px solid #ccc; */
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    color: #555;
}

.select2-results__option {
    padding: .5em 1em;
    cursor: pointer
}

.select2-results__option:hover {
    color: #555;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {

}

.select2-container--default .select2-results__option--selected {
    color: #555;
    background-color: #efefef;    
}

.select2-results__option[aria-selected=true] {
    color: #555;
}


.select2-container--default .select2-selection--single:focus,.select2-container--default .select2-selection--single:hover {
}













/*style the Divi Post Navigation buttons*/

.et_pb_posts_nav .nav-previous a span.nav-label,
.et_pb_posts_nav .nav-next span.nav-label {
    display: none;
}

.et_pb_posts_nav .nav-previous { float: none; } 
.et_pb_posts_nav .nav-next { float: left; } 
.et_pb_posts_nav .meta-nav { display: none; } 

.et_pb_posts_nav .nav-next a:before { 
    font-family: ETmodules!important;
    content: '4'; 
} 

.et_pb_posts_nav .nav-previous a:after { 
    font-family: ETmodules!important;
    content: '5'; 
}




/*style the Divi Post Navigation buttons on hover*/

/* .et_pb_posts_nav .nav-previous a:hover,
.et_pb_posts_nav .nav-next a:hover {
	color: #0048ff;
	background: transparent;
	border: 2px solid #0048ff;
	transition: all 0.3s ease-in-out;
} */



ul#menu-footer-products li,
ul#menu-footer-misc li {
    letter-spacing: 1px;
    text-transform: uppercase;
}


.sub-footer a {
    color: #ffffff !important;
}

.sub-footer a:hover {
    color: #ffffff50 !important;
}



/* .kwd-socials {
    text-align: right;
} */

.kwd-social {
    
    width: auto;
    display: inline-block;
    margin-left: 20px;
    margin-bottom: 0;

}

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 10px;
    text-align: left;
    position: relative;
    right: -10px;
}


.owl-carousel .owl-item {
    width: 300px;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel .owl-item img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

  





/* THREE COLUMN PORTFOLIO GRID LAYOUT */


@media only screen and ( min-width: 768px ) {

    .three-column-grid .et_pb_grid_item {
        width: 31.333% !important;
        margin: 0 2.5% 2.5% 0 !important;
    }

    .three-column-grid .et_pb_grid_item:nth-child(3n) {
        margin-right: 0 !important;
    }

    .three-column-grid .et_pb_grid_item:nth-child(3n+1) {
        clear: left;
    }

    .three-column-grid .et_pb_grid_item:nth-child(4n+1) {
        clear: unset !important;
    }
    
}




/* Replace Divi Map Marker Icon */
.et_pb_map_container .gm-style img[src*="marker-icon.png"] {
    visibility: hidden;
}

.et_pb_map_container .gm-style img[src*="marker-icon.png"]:after {
    content: '';
    visibility: visible;
    display: block;
    width: 40px; /* Set the custom marker size */
    height: 40px; /* Adjust as per your icon size */
    background-image: url('/images/map-marker.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}



.menu-facebook a {
    font-family: 'ETmodules'; /* Divi's icon font */
    content: "\e093"; /* Replace with the social icon code */
    font-size: 18px;
}



/* Hide the MAP and SATELLITE buttons in the Divi Map module */
/* .et_pb_map_container .gm-style button[aria-label="Zoom in"],
.et_pb_map_container .gm-style button[aria-label="Zoom out"], */
.et_pb_map_container .gm-bundled-control,
.et_pb_map_container .gm-style button[title="Show street map"],
.et_pb_map_container .gm-style button[title="Show terrain map"],
.et_pb_map_container .gm-style button[title="Show satellite imagery"],
.et_pb_map_container .gm-style button[title="Drag Pegman onto the map to open Street View"] {
    display: none !important;
}



li.toser-facebook-icon .et-pb-icon,
li.toser-instagram-icon .et-pb-icon {
    font-size: 17px !important;
}


.toser-hamburger {
    font-size: 30px;
    cursor: pointer;
}


/* #toser-menu-mobile-holder {

    display: none; 
    background-color: var(--toser-black) !important;
    height: 100vh !important;
    width: 100vw !important;

    overflow: scroll !important;
    position: fixed !important;
    
    top: 0 !important;

} */


#toserMobileMenu {

    display: none; 
    z-index: 5000;    
    height: 100vh !important;
    width: 100vw !important;
    overflow: scroll !important;
    position: fixed !important;    
    top: 0 !important;

}

#toserMobileMenu-Inner {
    display: none; 
    opacity: 0;
}

#toserMobileMenu li.toser-facebook-icon, #toserMobileMenu li.toser-instagram-icon {
    display: inline-block;
    padding-bottom: 0;
    margin-bottom: 0 !important;
    margin-right: 1em;
}


#toserMobileMenuSB {
    margin-bottom: 0;
}

#toserMobileMenuSB ul.menu li {
    margin-bottom: 20px;
}

#toserMobileMenuSB ul.menu li a {
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
}

#toserMobileMenuSB .widget_nav_menu {
    padding-bottom: 0;
    margin-bottom: 0;
}




/* .toserPortfolioBlog .et_pb_post .entry-title, */

.toserPortfolioBlog .et_pb_post .post-meta,
.toserPortfolioBlog .et_pb_post .post-content,
.toserPortfolioBlog .et_pb_post .post-tags {
    display: none !important;
}

/* .toserPortfolioBlog .et_pb_post .entry-featured-image-url {
    display: block !important;
} */

/* .toserPortfolioBlog .et_pb_blog_grid .et_pb_post {
    border: none;
    padding: 0px;
    background-color: #fff;
    word-wrap: break-word;
} */



.toserHomeSlider .et_pb_slide_title {
    font-family: abril-text-regular, serif !important;
}


.toserServiceCol {

    /* box-shadow: var(--toser-box-shadow);
    -moz-box-shadow: var(--toser-box-shadow);
    -webkit-box-shadow: var(--toser-box-shadow);
    -o-box-shadow: var(--toser-box-shadow); */

}

/* .toserServiceCol {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.toserServiceCol .et_pb_module:last-child {
    margin-top: auto;
} */




/* --toser-box-shadow-highlight: 0px 9px 30px 0px rgba(0, 0, 0, 0.1); */





/* .toserCTAConsultation h5 {
    font-family: abril-text-regular, serif !important;
} */


.et_pb_gallery_item {
	-webkit-animation: none !important;
	-moz-animation: none !important;
	-o-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
}


.mfp-bottom-bar {
    display: none;
}



.et_header_style_centered .et-fixed-header,
.et_header_style_left .et-fixed-header,
.et_header_style_split .et-fixed-header {
    animation: none !important;
    transition: none !important;
}
