/*
Theme Name: Fabstruct Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.25.0.1714289660
Updated: 2024-04-28 07:34:20

*/

/* FILE UPLOAD */

span.dnd-upload-counter:after {
    content: " (max)";
}

.mass-file-upload {
    padding-bottom: 20px;
    display: block;
}

.codedropz-upload-inner h3 {
    color: #ffffff;
}

.interested_quick .codedropz-upload-inner h3 {
    color: #000000;
}


.codedropz-upload-inner {
    text-align: left !important;
}

.interested_quick .codedropz-btn-wrap a {
    color: #000000;
}

.codedropz-btn-wrap a {
    color: #ffffff;
}

.dnd-upload-image {
    display: none;
}


.interested_quick .dnd-upload-details>span {
    color: #000000 !important;
}

.dnd-upload-details>span {
    color: #ffee00 !important;
}

.interested_quick .dnd-upload-details>span>em {
    color: #000000 !important;
}

.dnd-upload-details>span>em {
    color: #ffffff !important;
}

.dnd-upload-details {
    width: 100% !important;
    padding-left: 0px !important;
}

/* END */

/* BTC Referral */

span.btc-referral {
    font-size: 12px;
}

/* END */


/* CF7 */

input.wpcf7-form-control.wpcf7-file.wpcf7-validates-as-required {
    margin-bottom: 30px !important;
}

/* END */

/* FLIP CARDS */
.flip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flip-card {
    width: calc(33.3333% - 20px); /* Adjust the width and margin as needed */
    margin-bottom: 20px;
    perspective: 1000px;
    height: 400px;
	min-height: 400px;
    cursor: pointer;
    box-sizing: border-box; /* Include padding and border in the width */
    position: relative; /* Ensure relative positioning for overlay */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card:hover .flip-back {
    transform: rotateY(0deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
	min-height: 400px;
}

.flip-front {
    display: flex;
    flex-direction: column; /* Ensure elements stack vertically */
    align-items: center;
    justify-content: center;
    transform: rotateY(0deg);
    padding: 20px;
    text-align: center;
}

.flip-front h3 {
    color: #FFEE00;
    font-weight: bold;
    font-size: 2em;
	line-height: 1.2em;
	text-shadow: 2.5px 2.5px 0px rgba(0,0,0,0.8);
}

.flip-front p {
    color: #ffffff;
    text-shadow: 1.5px 1.5px 0px rgba(0,0,0,0.8);
    font-size: 18px;
}

.flip-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    position: relative;
}

.flip-back p {
    color: #666;
    line-height: 1.7;
}


a.flip-button {
    background-color: #FFEE00;
    color: #000000;
    padding: 10px 30px;
    margin-top: 20px;
	font-weight: bold;
}

a.flip-button:hover {
    background-color: #000000;
	color: #ffffff;
}


	.mobile-view {
		display: none;
	}

/* Background images for each card with overlay */
.flip-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 55%);
}

.light-heavy-engineering {
    background-image: url("https://structuralsteel.fabconsteel.co.za/wp-content/uploads/2024/04/Light-and-Heavy-Engineering-Projects.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
}

.mullions-beams {
    background-image: url("https://structuralsteel.fabconsteel.co.za/wp-content/uploads/2024/04/Mullions-and-Beams.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
}

.structural-steel {
    background-image: url("https://structuralsteel.fabconsteel.co.za/wp-content/uploads/2024/04/Structural-Steel-Production.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
}

.steel-supply {
    background-image: url("https://structuralsteel.fabconsteel.co.za/wp-content/uploads/2024/04/Steel-Supply.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
}

.in-house-detailing {
    background-image: url("https://structuralsteel.fabconsteel.co.za/wp-content/uploads/2024/04/In-House-Detailing.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
}

.fabrication {
    background-image: url("https://structuralsteel.fabconsteel.co.za/wp-content/uploads/2024/04/Steel-Fabrication.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
}

/* Media query for screens 1024px and lower */
@media (max-width: 1024px) {
    .flip-card {
        width: 100%; /* Show one card per row */
		height: 100%;
    }
	.desktop-view {
		display: none;
	}
	.mobile-view {
		display: inline-block;
	}
	
}
/* END FLIP CARDS */

.mobile_menu_bar:before {
	color: #000000;
}

.et_mobile_menu {
    border-top: 3px solid #000000;
}

/* RSS TO LINKEDIN */
.et-social-linkedin a.icon:before {
    content: "\e09d";
}

#et-info-phone-2:before {
	content: "\e090";
	position: relative;
	top: 2px;
	margin-right: 2px;
	font-family: ETmodules !important;
	speak: none;
	font-style: normal;
	font-weight: 400;
	-webkit-font-feature-settings: normal;
	font-feature-settings: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 0 0;
	direction: ltr;
}

#et-info-phone-2 {
    margin-right: 13px;
}



/* END */

/* QUICK CONTACT */

.sticky-slider {
    position: fixed;
    bottom: 1rem;
    border: none;
    background-color: #ffee00;
    color: #000;
    z-index: 999999;
    box-shadow: 0 0 50px 0 rgba(0,0,0,.4);
    padding: .5rem 1rem;
    margin: 1rem 0;
    left: 1rem;
    box-shadow: 1px 2px 2px #000000;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

p.interested_quick {
    text-align: left !important;
    clear: both;
    display: block;
}

.ays_content_box input.wpcf7-text {
    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
    margin-bottom: 10px;
}

.ays_content_box textarea.wpcf7-form-control.wpcf7-textarea {
    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
}
h2.ays_pb_show_title_on_mobile.ays_pb_title_styles_1 {
    font-weight: bold !important;
}

.ays_content_box input.wpcf7-form-control.has-spinner.wpcf7-submit {
    color: #000000 !important;
    border-width: 0px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #ffee00 !important;
    font-size: 20px;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    border-radius: 0px;
    width: 100%;
}

.interested_quick .wpcf7-list-item {
    display: block;
    clear: both;
    width: 100% !important;
    margin-left: 0px;
}

.ays_content_box {
    font-size: 16px;
}

/* END */

/* CONTACT FIELDS */

.cf7-heading {
    font-weight: bold;
}

input.wpcf7-text {
    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
    margin-bottom: 10px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    color: #000000 !important;
    border-width: 0px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #ffee00 !important;
    font-size: 20px;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    border-radius: 0px;
}

.wpcf7-list-item {
    display: block;
    clear: both;
    width: 100% !important;
    margin-left: 0px;
}

/* END */