/*
 Theme Name:   The7 Child
 Theme URI:    https://the7.io/
 Description:  Child theme for The7
 Author:       Your Name
 Author URI:   https://stix-digital.com
 Template:     dt-the7
 Version:      1.0.0.12
*/

/* Import parent theme styles */
@import url("../dt-the7/style.css");

/* cf7 */
form.wpcf7-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 1em;
}

form.wpcf7-form p:has(textarea.wpcf7-textarea) {
    width: 100%;
}


.newsletter form.wpcf7-form {
    flex-direction: row;
}

.wpcf7-form p:not(:has(.wpcf7-submit)) {
  width: 48%;
}

.wpcf7-form p:has(.wpcf7-submit) {
    display: flex;
    top: -5px;
    position: relative;
    width: 100%;
}

.wpcf7-form input,
.wpcf7-form textarea {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: #fff;
	resize: vertical;
}

.wpcf7-form input.wpcf7-submit {
    background: #ED1C24 !important;
    border-radius: 50px !important;
    font-weight: 400 !important;
    padding: 12px 30px !important;
    width: 100%;
}

.wpcf7-spinner{
	display:none;
}

.wpcf7-form input::placeholder {
  color: #fff !important;
}


.newsletter .wpcf7-form p:not(:has(.wpcf7-submit)),
.newsletter .wpcf7-form input.wpcf7-submit {
  width: 35%;
  flex: 1 1 auto;
}

.newsletter .wpcf7-form p:has(.wpcf7-submit) {
    width: fit-content;
}

.online-enquiry .wpcf7-form input:not(.wpcf7-submit),
.online-enquiry .wpcf7-form textarea,
.online-enquiry .wpcf7-form input::placeholder {
  color: #000 !important;
    border-color: #000 !important;
}

.online-enquiry .wpcf7-form input.wpcf7-submit {
    background: white !important;
    color: #fe0000;
    border: 1px solid #fe0000;
    width: fit-content;
    font-weight: 700 !important;
}

.online-enquiry .wpcf7-form p:has(.wpcf7-submit) {
    justify-content: end;
	width:100%;
}

@media screen and (max-width: 768px) {
    .newsletter form.wpcf7-form {
        flex-direction: column;
    }

    .wpcf7-form p,
    .wpcf7-form input.wpcf7-submit {
        width: 100% !important;
    }

    .newsletter .wpcf7-form p:not(:has(.wpcf7-submit)),
    .newsletter .wpcf7-form input.wpcf7-submit,
    .newsletter .wpcf7-form p:has(.wpcf7-submit)  {
  		width: 100% !important;;
	}
}

/* wpml */
.wpml-ls-legacy-list-horizontal ul li:not(:last-child) a::after {
    content: "/";
    left: 5px;
    position: relative;
}

.wpml-ls-legacy-list-horizontal li a {
    display: flex;
    flex-direction: row;
    padding: 5px;
    color: #fff;
}

.the7-e-sticky-effects .wpml-ls-legacy-list-horizontal li a {
  color: #000;
}

.wpml-ls-legacy-list-horizontal li:hover{
    border-bottom: 2px solid #2FA7C8;
}


/* Prevent height collapse and flicker for Nested Tabs galleries */
.e-n-tabs-content > div[id^="e-n-tab-content-"] {
    display: block !important;
    height: auto !important;
    overflow: hidden;
}

/* Hide inactive tabs without collapsing layout */
.e-n-tabs-content > div[id^="e-n-tab-content-"]:not(.e-active) {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    width: 100%;
}

/* Active tab */
.e-n-tabs-content > div[id^="e-n-tab-content-"].e-active {
    opacity: 1;
    position: relative;
}

@media (min-width: 992px) {

    .exhibitor-form {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .exhibitor-form p:has(.wpcf7-submit) {
		width: 48% !important;
        margin: 0;
        padding: 0;
		top: -12px;
		
    }

   

}
