/*
Theme Name: Imperialville
Author: mdurgeshtela
Description: mdurgeshtela
Version: 1.0
Template: twentytwentyfour

This is the child theme for Twenty Twenty-Four theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)

*, body, html {
    --wp--style--global--content-size: 1200px;
    --wp--style--global--wide-size: 100%;
}
*/

* {
    box-sizing: border-box;
}

body main {
	margin-top: 0;
}
body .swiper-container,
body .swiper-container img {
    width: 100%;
    max-width: 100%;
	position: relative;
	display: block;
	overflow: hidden;
}
body .swiper-container .swiper-text img {
    max-width: 200px;
    margin: 0 auto;
}
body .swiper-container .swiper-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 9;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
	background: rgb(0 0 0 / 35%);
}
body .swiper-container .swiper-text * {
    color: #ffffff;
}
body .swiper-container .swiper-text .customHeading,
body .swiper-container .swiper-text .customSubHeading {
	margin-bottom: 0;
}

@media (max-width: 781px) {
	.custom-header .wp-block-group.is-content-justification-center.is-layout-flex.wp-block-group-is-layout-flex {
		margin: auto;
	}
	.custom-header .wp-block-navigation.is-layout-flex.wp-block-navigation-is-layout-flex {
		width: 100%;
		display: none;
	}
	.custom-header .wp-block-navigation.is-layout-flex.wp-block-navigation-is-layout-flex .wp-block-navigation__container.wp-block-navigation {
		justify-content: center;
	}
	body .swiper-container img {
    	height: 200px;
	}
	body .swiper-container .swiper-text .customHeading {
		margin: 0;
		font-size: 180%;
	}
	body .swiper-container .swiper-text .customSubHeading {
		font-size: 100%;
	}
	body .wp-block-columns.wp-block-columns-is-layout-flex:has(.dashed-border) {
		justify-content: space-between;
		margin: 0;
	}
	body footer .has-global-padding,
	body .wp-block-post-content.has-global-padding > .wp-block-columns {
		padding-right: 1rem;
		padding-left: 1rem;
	}
}

body .wp-block-post-content.has-global-padding .wp-block-columns.alignfull,
.has-global-padding .wp-block-column .has-background,
body main:has(.alignfull) .has-global-padding {
    padding-right: 0;
    padding-left: 0;
}
body .dashed-border {
    border-style: dashed;
}

body h1.has-body-font-family, body h2.has-body-font-family, body h3.has-body-font-family,
body h4.has-body-font-family, body h5.has-body-font-family, body h6.has-body-font-family,
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: "Oswald", serif !important;
  font-style: normal;
}

.mdStickyElement {
    padding: 0;
    margin: 0;
    list-style: none;
    position: fixed;
    z-index: 99999;
    display: flex;
    align-items: center;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

.iconElement {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}


.iconElement a,
.iconElement svg {
	width: 25px;
	height: 25px;
	fill: #ffffff;
	cursor: pointer;
}
.call { background: #2196f3; }
.whatsapp { background: #2ab033; }
.email { background: #f44336; }

@media (min-width: 781px) {
	.mdStickyElement {
		top: 40%;
		-webkit-transform: translateY(110px);
		-moz-transform: translateY(110px);
		transform: translateY(110px);
		rotate: 270deg;
		right: 0;
		width: 270px;
	}
	.iconElement svg {
		rotate: 90deg;
	}
}
@media (max-width: 781px) {
	.mdStickyElement {
		bottom: 0;
		width: 100%;
	}
	.iconElement {
		flex: 1;
	}
	footer.wp-block-template-part {
		padding-bottom: 40px;
	}
}

/* POPUP CSS */
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Style for the popup content */
.popup-content {
	max-width: 420px;
	margin: auto;
	position: relative;
	width: 90%;
}

.popup-content button#closePopup {
	background: #d83d3e;
	color: #FFFFFF;
	border: none;
	cursor: pointer;
	position: absolute;
	right: -20px;
	top: -20px;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	padding: 0;
}

.popup-content button#closePopup:hover {
	background: #0056b3;
}


/* Contact From */
.submit-container:has(.nf-field-element) {
	overflow: hidden;
}
.nf-before-form-content .nf-form-fields-required {
	display: none;
}
body .feedback-form {
	max-width: 50%;
	margin: auto;
}
body:not(.home) .nf-form-cont {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
}
body .nf-form-cont {
	background-color: #ffffff;
/* 	background-image: url('images/bg-mail.png'); */
	background-repeat: repeat-x;
	background-size: 58px 5px;
	font-size: 14px;
	padding: 30px 25px 15px 25px;
	position: relative;
	-webkit-box-shadow: 0 5px 35px rgb(0 0 0 / 10%);
	-moz-box-shadow: 0 5px 35px rgba(0,0,0,.1);
	-ms-box-shadow: 0 5px 35px rgba(0,0,0,.1);
	-o-box-shadow: 0 5px 35px rgba(0,0,0,.1);
	box-shadow: 0 5px 35px rgb(0 0 0 / 10%);
	width: 100%;
}
body .nf-form-cont:after, body .nf-form-cont:before {
	content: "";
	position: absolute;
	background: #ffffff;
	height: 6px;
	left: 8px;
	right: 8px;
	bottom: -6px;
	z-index: 0;
	opacity: 0.4;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-ms-border-radius: 0 0 5px 5px;
	-o-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}
body .nf-form-cont:before {
	left: 16px;
	right: 16px;
	bottom: -12px;
	opacity: 0.2;
}
body .nf-form-cont select, body .nf-form-cont input:not([type*="radio"]), body .nf-form-cont textarea {
	width: 100%;
	padding: 8px 16px;
	font-size: 16px;
	line-height: 1.6;
	color: #6c6e73;
	background-color: #f5f6f6;
	background-image: none;
	border: 1px solid #e9eaeb;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	-webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
body .nf-form-title h3 {
/*     font-size: 16px;
	line-height: 22px;
    text-align: center; */
    margin-bottom: 20px;
	font-weight: 500;
}
body .nf-form-cont input:not([type*="radio"]),
body .nf-form-cont select {
	height: 44px;
	height: 60px;
	border-radius: 50px;
}
body .nf-form-cont textarea {
	height: 132px;
	height: 150px;
	border-radius: 16px;
	resize: none;
}
body .nf-form-cont .submit-container .nf-field-element:after {
	content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: -webkit-linear-gradient(330deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.3;
}
body .nf-form-cont .submit-container .nf-field-element:focus:after,
body .nf-form-cont .submit-container .nf-field-element:hover:after {
    -webkit-animation: shine 5s ease-out infinite;
    animation: shine 5s ease-out infinite;
}
body .nf-form-cont .submit-container .nf-field-element:before {
	content: "";
	background-image: url("data:image/svg+xml,%0A%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.0477 2.05293C17.8697 -0.292639 1.48648 5.4532 1.50001 7.551C1.51535 9.9299 7.89809 10.6617 9.6672 11.1581C10.7311 11.4565 11.016 11.7625 11.2613 12.8781C12.3723 17.9305 12.9301 20.4435 14.2014 20.4996C16.2278 20.5892 22.1733 4.342 20.0477 2.05293Z' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M10.5 11.5L14 8' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat no-repeat;
	background-position: center center;
	background-size: cover;
	width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    margin: auto;
}
body .nf-form-cont input[type="submit"] {
	background: #ddac6c;
/* 	background-color: var(--theme-color); */
	color: #ffffff;
	width: 100%;
	width: auto;
	padding: 0;
	padding: 0 40px 0 60px;
}
body .nf-form-cont .nf-input-limit:empty {
	display: none
}
body .nf-form-cont .nf-error-wrap.nf-error .nf-error-msg {
	background: #d83d3e;
    color: #ffffff;
    padding: 0px 24px 0px 24px;
    width: calc(100% - 4px);
    font-size: 10px;
    position: relative;
    top: -16px;
    border-radius: 0 0 50px 50px;
    margin: 0;
    line-height: 20px;
    margin-left: 2px;
}
/* / Chrome, Safari, Edge, Opera / */
body .nf-form-cont input::-webkit-outer-spin-button, body .nf-form-cont input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}
/* / Firefox / */
body .nf-form-cont input[type=number] {
	-moz-appearance: textfield;
	appearance: none;
}

/* Date - Time */
*:has(.saturday-blocked) .flatpickr-day[aria-label*="Saturday"],
*:has(.sunday-blocked) .flatpickr-day[aria-label*="Sunday"] { pointer-events: none; color: #ff0000; }
.date-time-container .nf-field-element div:nth-child(2) {
	margin: 0 19px;
}
.date-time-container .nf-field-element .pikaday__container {
	width: calc(100% - 200px);
	float: left;
}
.date-time-container .nf-field-element .pikaday__container ~ div {
    width: 80px;
}
/* File Upload */
body .nf-form-cont .file_upload-container .nf-field-element {
	position: relative;
}
body .nf-form-cont .file_upload-container .nf-field-element button[type*="button"] {
	height: 120px;
	margin: 0;
	padding: 0 10px;
	width: 100%;
	background-color: #fbfcff;
	color: #333;
	border-style: dashed;
	border-color: #333;
}
body .nf-form-cont .file_upload-container .nf-field-element button[type*="button"] span:before {
    display: block;
    margin-bottom: 0;
    content: "\e68a";
    font-family: 'Pe-icon-7-stroke';
    font-size: 4em;
}
body .nf-form-cont .file_upload-container .nf-field-element button[type*="button"] span:after {
    content: "OR Drag and Drop files here";
    display: block;
    margin-top: 2px;
}
body .nf-form-cont .file_upload-container .nf-field-element button[type*="reset"] {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0;
    font-size: 0;
	height: 26px;
	width: 26px;
	text-align: center;
}
body .nf-form-cont .file_upload-container .nf-field-element button[type*="reset"]:before {
	content: "X";
	color: #ffffff;
	font-size: initial;
	width: 23px;
	text-align: center;
	padding-left: 12px;
	font-weight: 600;
}
body .nf-form-cont .file_upload-container .nf-field-element .nf-fu-progress {
	position: absolute;
	top: 3px;
    left: 4px;
    right: 4px;
    height: 114px;
    margin: 0;
	opacity: 0.4;
}
.nf-fu-progress:has(.nf-fu-progress-bar.nf-fu-progress-bar-success[style*="width: 0px;"]),
.nf-fu-progress:has(.nf-fu-progress-bar.nf-fu-progress-bar-success:not([style*="width"])) {
    display: none;
}
.nf-fu-progress .nf-fu-progress-bar {
    background-color: #008000;
}

.files_uploaded p {
    background: var(--wp--preset--color--vivid-green-cyan);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}
.files_uploaded nf-section p:before {
    content: "\e641";
    font-family: 'Pe-icon-7-stroke';
    display: inline-block;
}
.files_uploaded nf-section p a {
    background: var(--wp--preset--color--pale-pink);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 85%;
    font-weight: 700;
    float: right;
}
.files_uploaded nf-section p a:hover,
.files_uploaded nf-section p a:focus {
    background: var(--wp--preset--color--vivid-red);
    color: #fff;
}

/* Duplicate Field */
body .nf-form-cont .nf-field-container.repeater-container .nf-repeater-fieldset nf-field:last-child .nf-field-container {
	margin-bottom: 0;
}
/* Multi Step */
body .nf-form-cont input[type="button"] {
    min-width: 140px;
}
body .nf-form-cont input.nf-next[type="button"] {
    background: #04AA6D;
	color: #ffffff;
	width: 100%;
	padding: 0;
}
/* Progress Bar */
body .nf-progress-container {
    background-color: #d83d3e;
    margin: 0;
    border: 0;
}
body .nf-progress-container .nf-progress {
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem;
    background-color: #36a5c3;
    -webkit-animation: progress-bar-stripes 1s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
}
@keyframes progress-bar-stripes {
    0% { background-position: 1rem 0; }
    100% { background-position: 0 0; }
}
@media only screen and (min-width: 768px) {
    .nf-breadcrumbs li ~ li:before {
        content: "\e684";
        font-family: 'Pe-icon-7-stroke';
        font-weight: 700;
        font-size: 30px;
        position: absolute;
        left: -24px;
        top: 0;
        bottom: 0;
        line-height: 26px;
    }
    .nf-breadcrumbs li ~ li {
        margin-left: 16px !important;
        position: relative;
    }
}

@media only screen and (max-width: 767px) {
    body .nf-breadcrumbs li a {
        display: none;
        margin-bottom: 0;
    }
    body .nf-breadcrumbs li.active a {
        display: block;
    }
}