
#enquiry .background {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
#enquiry .background::after {
    opacity: .5;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--chamoisee-color);
}
#enquiry {
    position: relative;
    overflow:hidden}
#enquiry .container {flex-direction: column;}
#enquiry .text-wrapper {max-width: 43em;}
#enquiry hgroup {
    margin-bottom: calc(0.5vw + 4em);
    padding: 0 1.5em
}
#enquiry hgroup h1,#enquiry hgroup h3  {
    text-align: center;
    color:white
}
#enquiry h1 {
    font-size: calc(1.875rem + .125vw);
    margin-bottom:0;
}

#enquiry .form {
    max-width: 52em;
    background:white;
    padding: 5em;
}

#enquiry .form p, #enquiry .form h2 {
    line-height: 1.4;
    margin-top: 0;}
#enquiryForm fieldset p {margin-bottom:0}
#enquiry .contactform-wrapper > h2 {
    text-align: center;
    font-size: calc(1.5rem + .25vw);
    margin-bottom: 1.75em;
}
#enquiryForm fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin: calc(3.5em + 0.5vw) auto 0
}
#enquiryForm fieldset:first-of-type {
    margin-top: 0;
}

#enquiryForm .text {
    flex-basis: 100%;
    text-align: center;
}

#enquiryForm .input-wrap {
    display: flex;
    flex-direction: column;
    flex-basis: calc(50% - .25em);
    margin-bottom: .5em;
}

#enquiryForm input, #enquiryForm textarea  {
    color: var(--outer-space-color);
    border: 1px solid #C6C6C6;
    background: none;
    padding: .75em;
}
#enquiryForm ::placeholder {
    color: #949494;
    opacity: 1; /* Firefox */
  }

#enquiryForm textarea {height:8em;}


#enquiryForm .input-wrap:nth-child(2n - 1) {
    margin-right: .5em;
}
#enquiryForm .input-wrap.textarea {
    margin:0;}


/* WHAT TYPE OF TRAVELER ARE YOU */

#enquiryForm .type-of-traveler {
    max-width: 37em;
    justify-content: space-between;}

.type-of-traveler h2, .select_destinations h2 {
    margin-bottom:.5em;}
.type-of-traveler .text {margin-bottom:2em}
.type-of-traveler label {
    display: flex;
    width: 112px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.type-of-traveler label:last-child {margin-right:0}
.type-of-traveler label i {
    display: block;
    position: relative;
    width: 112px;
    height:112px;
    color:var(--gold-color);
    font-size: 2.75em;
    line-height: 115px;
    background-color: var(--black-olive-color);
    transition: color .25s, background-color .25s;
}
.type-of-traveler .icon-luggage { font-size: 3em;}
.type-of-traveler input[type="radio"]:checked + label i {
    background-color: var(--gold-color);
    color:white;
}
.type-of-traveler label span {
    font-weight: 900;
    font-size: .825em;
    text-transform: uppercase;
    margin-top:.75em;
    line-height: 1.3;
    letter-spacing: .025em;
    transition: color .25s
}
.type-of-traveler input[type="radio"]:checked + label span {
    color:var(--gold-color);
}

/* DESTINATION */
#enquiryForm .select_destinations {justify-content: space-between;}
.select_destinations .text {
    margin-bottom:2em
}
.select_destinations label {
    display: flex;
    position: relative;
    flex-basis: calc(33.33333333% - .25em);
    height: 9em;
    margin-bottom: .425em;
    cursor: pointer;
    color: white;
    align-items: end;
    padding: 1em 2em 1em 1em;
    background-color: var(--black-olive-color);
    background-size: cover;
    background-position: center;
    background-repeat: none;
    transition: color .25s;
    overflow: hidden;
}
.select_destinations label:last-child:before {
    content:"?";
    z-index: 2;
    position: absolute;
    font-family: "playfair display";
    right:0; bottom:-.25em;
    font-size: 8em;
    opacity: .25;
}
.select_destinations label:after {
    opacity: 0;
    content:"";
    position: absolute;
    left:0; right:0; top:0;
    width:100%; height: 100%;
    background-color: var(--gold-color);
    transition: opacity .25s;
}
.select_destinations label:hover:after {
    opacity: .5;
}
.select_destinations input[type="checkbox"]:checked + label:after {opacity: 1;}
.select_destinations input[type="checkbox"]:checked + label {
    color:white;
}


.select_destinations label span {
    position: relative;
    z-index: 2;
    font-size: .825em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .075em;
}

#enquiryForm textarea {margin-top:2.5em}

/* ERROR HANDLING*/
input + span, textarea + span{
	opacity:0;
	display:block;
	content:"";
	padding:0;
	font-size: .825em;
	font-weight: 400;
	line-height: 1;
	text-align: left;
	background: transparent;
	transition: opacity .3s ease, background-color .3s ease;
}

#enquiryForm .empty, #enquiryForm .invalid {border-color: hsl(0,55%,70%) !important}

#enquiryForm .valid {border-color: hsl(85, 80%, 42%) !important}

#enquiryForm .empty + span, #enquiryForm .invalid + span, .select_destinations.invalid .warning,
.type-of-traveler.invalid .warning {
	display:block;
	opacity:1;
	width:100%;
	padding:.625em .125em;
	color: hsl(0,55%,65%)
}
.invalid .warning::before {content:attr(data-invalid)!important;}
span.warning {width:100%;}

.type-of-traveler.invalid .warning {
    margin-top:.75em;
    text-align: center;
}
.select_destinations.invalid .warning {
    margin-top:.5em;
    text-align: center;
}


@media only screen and (max-width: 64rem) {
    #enquiry .form {
        padding: calc(3em + 3.5vw) calc(2em + 3.5vw)}
    #enquiry .container {padding-right: 0; padding-left: 0;}
}
@media only screen and (max-width: 48rem) {
    #enquiry .form {
        padding: calc(3em + 3.5vw) calc(1.5em + 2.5vw)}
}
@media only screen and (max-width: 46.75rem) {
    .type-of-traveler label {
        width: calc(50% - .125em);
        background-color: var(--black-olive-color);
        margin-bottom:.25em;
        margin-right: 0;
        justify-content: center;
        padding: .75em 1.5em;
        transition: background-color .25s;
    }
    .type-of-traveler label:last-of-type {
        width: 100%;
        margin: 0 auto
    }
    .type-of-traveler label i {
        font-size: 2.5em;
        top:5px;}
    .type-of-traveler .icon-luggage {font-size: 2.75em;}
    .type-of-traveler .icon-backpack {font-size: 2.325em;}
    .type-of-traveler input[type="radio"]:checked + label {
        background-color: var(--gold-color);
    }
    .type-of-traveler input[type="radio"]:checked + label span {color:white}
    .type-of-traveler label i {
        line-height: 1;
        background-color: transparent;
        height:auto;
        transition:color .25s}
    .type-of-traveler input[type="radio"]:checked + label i {
        background-color:transparent}


    .type-of-traveler label span {
        color:white;
        letter-spacing: .075em;
        margin-top:1em;
    }
    .type-of-traveler {justify-content: center;}
}

@media only screen and (max-width: 38.75rem) {
    #enquiry .form {padding: calc(0.5vw + 4em) 1.5em}

    .select_destinations label {
        flex-basis: calc(50% - .125em);
        margin-bottom: .25em;
        height:8em
    }
}

@media only screen and (max-width: 32rem) {
    #enquiryForm .input-wrap {
        flex-basis: 100%!important;
    }
    #enquiryForm .input-wrap:nth-child(2n - 1) {
        margin-right: 0;
    }
}
@media only screen and (max-width: 31.25rem) {
    #enquiryForm fieldset.contact-method {
        flex-direction: column;
        align-items: center;
    }
    #enquiryForm fieldset.contact-method label {
        width:100%;
        max-width: 23em;
    }
    #enquiryForm fieldset.contact-method label:first-of-type {
        margin-bottom:.5em; margin-right: 0;
    }
    .type-of-traveler label {width:100%; margin-bottom:.25em}
}