/*
 Theme Name:     Divi-Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Salt Design
 Author URI:     https://www.saltdesign.co.nz
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


/* Move reCAPTCHA v3 badge in front */
.grecaptcha-badge {
	z-index: 1;
}

body:not(.home) #main-header {
    background-color: rgba(33, 39, 44, 1);
}

/*Font Styles */

body {
	font-family: "Gabarito", sans-serif;
	font-weight: normal;
	color: #1D1D1B;
	font-size: 15px;
	line-height: 1.2;
}

a {
	color: #1D1D1B;
	text-decoration: underline;
}
a:hover {
	color: #d8d8d8;
}

h1,h2,h3,h4,h5 {
	font-family: "Gabarito", sans-serif;
}

h1 {
    font-size: 50px;
	color: #ffffff;
}
h2 {
    font-size: 30px;
	color: #21272C;
}
h3 {
	font-size:18px;
	color: #21272C;
}

.et_pb_search input.et_pb_searchsubmit {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
	text-decoration: none;
    font-family: "Gabarito", sans-serif;
    width: 160px;
    background: #4D5256;
	text-align: center;
}
.et_pb_search input.et_pb_searchsubmit:hover {
    cursor: pointer;
	background-color: #3c3c3b;
	color: #ffffff;
}

/*HOME SLIDER */

.home-banner .et-pb-slider-arrows a {
	text-decoration: none;
}
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}
/*HOME SLIDER MOBILE */

.home_banner_mob h2 {
	color: #fff;
}
.home_banner_mob h3 {
	color: #fff;
}
.home_mob_button {
    background-color: #fff !important;
    color: #4d5256 !important;
    text-decoration: none;
}
.home_mob_button:hover {
    color: #D8D8D8 !important;
}

/*FOOTER */

#footer a {
	color: #ffffff;
}
#footer a:hover {
	color: #d8d8d8;
}




/* THREE COLUMN PORTFOLIO GRID LAYOUT*/

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

.three-column-grid .et_pb_grid_item {
width: 28.333% !important;
margin: 0 7.5% 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;
}
	}


/*style the Divi Porfolio excerpt text*/

.et_pb_portfolio_excerpt {
	font-family: "Roboto", sans-serif;
 	font-weight: normal;
 	color: #1d1d1b;
 	font-size: 15px;
 	padding-top: 20px;
}



/*style the Divi Porfolio read more link as a button*/

.et_pb_portfolio_link {
  color: #4D5256;
	/*background: #0071fc;
	border: 2px solid #0070fc;
	border-radius: 50px;
	padding: .7em 1.3em;*/
	display: inline-block;
	margin-top: 20px;
	text-transform: uppercase;
	text-decoration: none;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}


/*style the Divi Portfolio read more link as a button on hover*/

.et_pb_portfolio_link:hover {
	color: #4D5256;
	text-decoration: underline;
}
.et_portfolio_image, .et_shop_image {
    margin-bottom: 9.27%;
}

h2.et_pb_module_header {
    font-size: 18px;
}
p.post-meta {
	color: #4D5256 !important;
    font-size: 18px !important;
    line-height: 0.75;

}
/* Disable link styling for portfolio category */
.et_pb_bg_layout_light .et_pb_portfolio_item .post-meta, .et_pb_bg_layout_light .et_pb_portfolio_item .post-meta a {
    pointer-events: none; /* Disable pointer events to prevent clicking */
    cursor: default; /* Set default cursor */
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove underline */
}

/*Documents layout for manuals*/

.manuals-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the left */
}

.manual {
    width: calc(25% - 20px);
    margin-bottom: 20px;
	margin-right: 20px;
}

.manual:nth-child(4n) {
    margin-right: 0; /* Remove margin for the last item in each row */
}

h2.manual-title {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1.1;
	margin-top:9.27%;
}

@media screen and (max-width: 768px) {
    .manual {
        width: calc(50% - 20px);
        margin-right: 20px;
		margin-bottom: 9.5%;
    }

    .manual:nth-child(2n+1) {
        clear: both; /* Clear left for the first item in each row */
    }
}

@media screen and (max-width: 480px) {
    .manual {
        width: 80%;
        margin-right: 20px;
		margin-bottom: 11.5%;
    }

    .manual:nth-child(2n+1) {
        clear: both; /* Clear left for the first item in each row */
    }
}


/*Documents layout for drawings*/

.drawings-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the left */
}

.drawing {
    width: calc(25% - 20px); 
    margin-bottom: 20px;
    margin-right: 20px;
}
.drawing:nth-child(4n) {
    margin-right: 0; /* Remove margin for the last item in each row */
}
h2.drawing-title {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1.1;
	margin-top:9.27%;
}

@media screen and (max-width: 768px) {
    .drawing {
        width: calc(50% - 20px);
		 margin-right: 20px;
		margin-bottom: 9.5%;
    }

    .drawing:nth-child(2n+1) {
        clear: both; /* Clear left for the first item in each row */
    }
}

@media screen and (max-width: 480px) {
    .drawing {
        width: 80%;
		margin-right: 20px;
		margin-bottom: 11.5%;
    }
  
.drawing:nth-child(2n+1) {
        clear: both; /* Clear left for the first item in each row */
}
}

@media screen and (max-width: 480px) {
    .manuals-wrapper {
        justify-content: center;
    }
}
@media screen and (max-width: 480px) {
     .drawings-wrapper {
        justify-content: center;
    }
}

.view-pdf {
    color: #4D5256;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.view-pdf:hover {
    color: #4D5256;
    text-decoration: underline;
}

#search-results h3.entry-title a {
    font-size: 24px;
    line-height: 1;
    color: #3C3C3B;
}
#search-results a:hover {
    color: #3C3C3B;
}
#search-results .et_pb_post .post-meta {
    font-size: 13px;
	margin: 6px 0 3px 0;
	color: #3C3C3B;
}
#search-results .et_pb_post p {
    color: #3C3C3B !important;
}
#search-results.et_pb_posts a.more-link {
    color: #3C3C3B !important;
}
#search-results.et_pb_posts a.more-link:hover {
    text-decoration: underline;
	color: #ffffff !important;
}





/*CF7 - CONTACT FORM */

.contact-box {
	float: left;
	width: 100%;
}
.contact-row {
	margin: 0px -16px;
}
.contact-col {
	width: 50%;
	padding: 20px 10px;
	float: left;
}
.contact-msg {
	width: 100%;
	padding: 20px 10px; 
	float: left; 
}
.contact-submit {
	width: 100%;
	padding: 20px 10px; 
}

/* CF7 Button Styles*/

/* Center text vertically in buttons with the "centered-button" class */
.centered-button .et_pb_button {
    display: flex;
    align-items: center;
}

#contact-page-form .submit-button {
    width: 160px;
    text-transform: uppercase;
    font-family: "Gabarito", sans-serif;
    text-decoration: none;
    text-align: center;
}
#contact-page-form .submit-button:hover {
    cursor: pointer;
	background-color: #3c3c3b;
	color: #ffffff;
}

/*.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
	padding: 10px 12px !important;
}*/

/* Form inputs */

#contact-page-form input[type="text"], 
#contact-page-form input[type="email"],
#contact-page-form input[type="number"],
#contact-page-form input[type="tel"], #contact-page-form select {
	background-color: #D8D8D8;
	color: #3C3C3B;
	font-size: 18px;
    width: 100%;
    padding: 10px 0;
    border:none;
    -webkit-box-shadow:none;
    box-shadow:none;
    border-radius:0;
    border-bottom:1px solid #3C3C3B;
}
#contact-page-form textarea {
    background-color: #ffffff;
    color: #3C3C3B;
    font-size: 18px !important;
    width: 100%;
    padding: 10px 10px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #fff;
}

/* Contact and CM Input placeholder text */

#contact-page-form ::-webkit-input-placeholder {
    color: #3C3C3B !important;
}

input#fielddrkuyhh::placeholder, input#fielddrkuyhk::placeholder, input#fieldEmail::placeholder {
    color: #ffffff!important;
}


/* CF7 forms input field (on focus) */

#contact-page-form input[type=text]:focus, 
#contact-page-form input[type=email]:focus,
#contact-page-form input[type=tel]:focus, 
#contact-page-form textarea:focus
{
   background-color:#3C3C3B !important;
   color: #fff !important;
   padding-left: 10px !important;
}
/* CF7 Validation */

.wpcf7 form .wpcf7-response-output {
	border: none !important;
	color: #52ae32 !important;
	padding-left: 5px;
	margin-top: 10px;
	margin-left: 0;
	font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output {
	border: none !important;
	color: #52ae32 !important;
	padding-left: 10px;
	margin-top: 10px;
	margin-left: 0;
	font-size: 15px;
}

div.wpcf7-mail-sent-ok {
    border: 0;
    color: #52ae32;
    padding: 18px;
}

div.wpcf7-acceptance-missing,
div.wpcf7-validation-errors {
    color: #52ae32;
    padding: 18px;
}

span.wpcf7-not-valid-tip {
	font-size: 15px;
    color: #52ae32;
	padding-left: 10px;
	margin-top: 10px;
	margin-left: 0;
}

#contact-page-form .contact-msg > p:not(.mand-text) {
    padding: 0 0 0 !important;
}
#contact-page-form .contact-msg .mand-text {
    color: #3C3C3B !important;
    padding: 4px 0 6px  !important;
    font-size: 15px !important;
}
#contact-page-form .text-arealabel {
    color: #3C3C3B !important;
    font-size: 18px !important;
    margin: 0 0 -10px !important;
    display: block;
}

#contact-page-form .submit-button {
    float: right;
}

#footer span.mobile_menu_bar {
    display: none;
}

/*edit the Divi mobile hamburger icon*/
.mobile_menu_bar:before {
	color: #fff;
}
/*edit the Divi mobile menu dropdown*/
.et_mobile_menu {
	background-color: #21272C !important;
	border: 0px;
	width: 112%;
	margin-left: -6%;
}


/* Why Brick */
.why-row {
	display: flex;
}
.why-column {
		flex: 1;
}
@media only screen and (max-width: 980px) {
    .why-row {
        flex-wrap: wrap;
    }

    .why-column {
        flex: 1 29.6667%;
        max-width: 29.6667%;
        margin: 0 5.5% 5% 0 !important;
    }
}
@media only screen and (max-width: 480px) {
    .why-column {
        flex: 1 100%;
        max-width: 100%;
		margin: 0 0 5% 0 !important;
    }
}

