/*
 Theme Name:   Elle Careers
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Twenty Fifteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

.caveat {
	font-family: "Caveat", cursive;
	font-weight: 400;
}

.caveat-700 {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.logo {
	max-width: 180px;

	@media (min-width: 768px) {
		max-width: 200px;
	}
}

.slider {
	position: absolute;
	z-index: 6;
	width: 100%;
	max-width: 100%;
	height: 100vh;
	overflow: hidden;
}

.slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transition: opacity 1s ease-in-out;
}

.slider img.fade-out {
	opacity: 0;
}

.wpcf7-not-valid-tip {
	display: none !important;
}

div.wpcf7-mail-sent-ok {
	border: none;
	background: none;
	color:#d87825;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing{
	color: #d87825;
	background: none;
	margin-top: -20px;
	font-size: 13px;
	border: none;
}

div.wpcf7-mail-sent-ng,
div.wpcf7-aborted{
	background: none;
	color:#d87825;
	border: none;
}

.sub-title {
	font-weight: 500;
	font-size: 14px;

	@media (min-width: 768px) {
		font-size: 16px;
	}

	.almost-text {
		left: 28px;
		top: -32px;
		font-weight: 700;
    font-size: 26px;
		color: #d36448;
		display: inline-block;
		transform: rotate(-50deg);
	}
}

/*
 * Coming Soon Form
 */
.comming-soon-wrp {
	position: relative;
	background-color: #b9d8e7;
	height: 100%;
	overflow: hidden;
	font-family: 'Inter', sans-serif !important;

	&:before {
		position: absolute;
		z-index: 8;
		background: #00000082;
		width: 100%;
		height: 100%;
		content: "";
	}
}

.comming-soon-wrp .header {
	padding: 22px;
}

.comming-soon-wrp img.banner-image{
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	object-position: top;
}

.coming-soon {
	z-index: 10;
	position: relative;

	.d-flexbox {
		position: relative;
		z-index: 999;
	}

	.d-flexbox .form_div {
		text-align:center;
		color: #fff;
	}
}

.coming-soon .d-flexbox .form_div h1 {
	font-family: 'Inter', sans-serif;
	font-style: normal;
	font-weight: 200;
	font-size: 60px;
	margin-bottom: 0;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
}
.coming-soon-form{
	border-radius: 20px;
	overflow:hidden;
	margin-top: 30px;
	max-width: 381px;
	background: rgba(255, 255, 255, 0.9);
}
.coming-soon-form h2{
	background: linear-gradient(180deg, #D87825 0%, #D36448 100%);
	padding: 18px 36px;
	color: #fff;
	font-size: 20px;
	margin-bottom:0;
}
.coming-soon-form .wpcf7-form{
	margin: 0;
	padding: 29px;
}
.coming-soon-form .wpcf7-form p{
	margin-bottom:0;
}
.coming-soon-form .wpcf7-form .wpcf7-list-item {
	text-align: left;
	display: block;
	text-align: left;
	border: 1px solid #CDCDCD;
	border-radius: 50px;
	margin: 0;
	margin-bottom: 15px;
	position: relative;
}

.coming-soon-form .wpcf7-form .wpcf7-list-item label {
	margin-bottom: 0;
	padding: 12px;
	cursor: pointer;
}

.coming-soon-form .wpcf7-form .wpcf7-list-item.last{
	margin-bottom:0;
}
.coming-soon-form [type="submit"]{
	background: linear-gradient(180deg, #D87825 0%, #D36448 100%)!important;
	border-radius: 50px!important;
	width:100%!important;
	padding:14px!important;
}

.coming-soon-form .wpcf7-form .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label:before{
	content:'A';
}
.coming-soon-form .wpcf7-form .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label:before{
	content:'B';
}
.coming-soon-form .wpcf7-form .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label:before{
	content:'C';
	padding: 1px 0px 0px 1px;
}
.coming-soon-form .wpcf7-form .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label:before{
	content:'D';
  padding: 0px 0px 0px 2px;
}
.coming-soon-form .wpcf7-form .wpcf7-list-item .wpcf7-list-item-label{
	padding-left:35px;
	position: relative;
}

/* Hide the browser's default checkbox */
.coming-soon-form input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.coming-soon-form .wpcf7-form .wpcf7-list-item .wpcf7-list-item-label:before{
		position: absolute;
    top: -2px;
    left: 0;
    height: 25px;
    width: 25px;
    text-align: center;
	  color:#D36448;
    border: 1px solid #D36448;
	  border-radius:100%;
	  line-height: 01.4rem;
}

/* On mouse-over, add a grey background color */
.coming-soon-form .wpcf7-list-item:hover input[type="checkbox"] ~ .wpcf7-list-item-label:before{
  background: #D36448;
	color:#fff;
	border: 1px solid #fff;
}

/* When the checkbox is checked, add a blue background */
.coming-soon-form input[type="checkbox"] :checked ~ .wpcf7-list-item-label:before {
	color:#fff;
	border: 1px solid #fff;
}
.coming-soon-form .wpcf7-list-item:hover {
	background: #D36448;
	color:#fff;
}
.coming-soon-form .wpcf7-list-item:hover .wpcf7-list-item-label{
	color:#fff;
}
.coming-soon-form .wpcf7-list-item.selected .wpcf7-list-item-label{
	color:#fff;
}

.coming-soon-form .wpcf7-list-item.selected{
	color:#fff;
	background: #D36448;
	border: 1px solid #fff;
} 

/* When the checkbox is checked, add a blue background */
.coming-soon-form input[type="checkbox"]:checked ~ .wpcf7-list-item-label:before{
   background: #D36448;
	color:#fff;
	border: 1px solid #fff;
}
form[data-status="sent"] input[type="submit"],
form[data-status="sent"] p,
form[data-status="sent"] .wpcf7-form-control-wrap{
	display:none;
}

form[data-status="sent"] .wpcf7-response-output:before{
	content: 'Thank You';
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #D36448;
}
form[data-status="sent"] .wpcf7-response-output{
	border:none;
	padding:0;
	margin:0;
	max-width: 213px;
  margin: 0 auto;
}
form[data-status="sent"] .wpcf7-response-output{
	color:#000;
}

@media (min-width: 768px) {
	.coming-soon .d-flexbox .form_div {
		margin-top: auto !important;
		margin-bottom: auto !important;
	}
	
	.coming-soon .d-flexbox {
		position: absolute;
	}
}

@media (min-width: 768px) {
	.comming-soon-wrp .header {
		padding: 43px;
		position: absolute;
		left: 0;
		z-index: 10;
	}

	.coming-soon-form .wpcf7-form .wpcf7-list-item label {
		padding: 13px;
	}
}

/* This doesn't work */
@media screen and (max-height: 800px) {
	.coming-soon-form .d-flexbox{
		padding-top: 131px;
	}
	.coming-soon .d-flexbox .form_div {
		margin-top: 0 !important;
	}
}

@media screen and (max-width: 768px) {
	.comming-soon-wrp .header {
		text-align: center;
	}
	.coming-soon .d-flexbox .form_div h1{
	
		font-size: 40px;
	}
	.coming-soon-form h2{
		font-size: 19px;
	}
	.coming-soon-form .wpcf7-form .wpcf7-list-item .wpcf7-list-item-label{
		font-size:16px;
	}
	form[data-status="sent"] .wpcf7-response-output:before{
		font-size: 19px;
	}
	.coming-soon-form .wpcf7-form {
		padding: 24px;
	}
}

/**
 * Utilities
 */
.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.uppercase {
	text-transform: uppercase;
}

.flex {
	display: flex;	
}

.flex-row {
	flex-direction: row;
}

.gap-4 {
	gap: 16px;	
}

.justify-center {
	justify-content: center;
}

.items-center {
	align-items: center;
}

.h-full {
	height: 100%;
}

.font-semibold {
	font-weight: 600;
}

.hidden {
	display: none;
}

/**
 * Spacing
 */
.ml-4 {
	margin-left: 16px;
}

.mt-2 {
	margin-top: 8px;
}

.ml-8 {
	margin-left: 32px;
}

@media (min-width: 768px) {
	.md\:h-full {
		height: 100%;
	}
}
