/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/*Modal start*/
.mobile-modal {
	display: none;
}

.desktop-modal {
	position: fixed;
	background: #fff;
	z-index: 31;
	width: 70%;
	border-radius: 0;
	background: #f5f5f5;
	max-width: 100%;
	left: 12.5%;
	right: 12.5%;
	line-height: 0;
	text-align: center;
	bottom: 1%;
	padding: 15px;
	margin: 0 auto;
	text-align: center;
	box-shadow: 3px 6px 8px #444
}

	.desktop-modal h1 {
		text-transform: uppercase;
		border-bottom: 1px solid;
		padding-bottom: .5em
	}

	.desktop-modal h4 {
		color: #444;
		font-size: 18px;
		font-weight: 500;
		letter-spacing: normal;
		line-height: 1.5;
		padding-top: 5px;
		margin: 0 0 14px;
		text-transform: uppercase;
		margin-bottom: 15px;
	}


	.desktop-modal .close-btn {
		cursor: pointer;
		right: 15px;
		top: 15px;
		z-index: 10;
	}

	.desktop-modal .btn-modal {
		padding: 20px 42px;
		height: auto;
		text-transform: uppercase;
		margin: 10px 0px;
		line-height: 1;
		width: 80%;
		border-color: #afced0;
		display: block;
		font-size: 16px;
		text-align: center;
		font-weight: 400;
	}


@media (max-width:438px) {
	.desktop-modal {
		display: none;
	}

	.mobile-modal {
		display: inline-block;
		position: fixed;
		bottom: 0;
		width: 100%;
		left: 0;
		font-size: 18px;
		right: 0;
		background-color: rgba(42,39,39,.85);
		text-align: center;
		z-index: 10
	}

		.mobile-modal h4 {
			font-size: 16px;
			margin-bottom: 10px;
		}
}


/*Leave a message*/
.message-modal {
	color: #fff;
	padding: 5px 5px;
	margin: 0;
	border: none;
	cursor: pointer;
	width: auto;
	z-index: 6001;
	position: fixed;
	right: 15px;
	bottom: 0px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

	.message-modal:hover {
		background-color: #999;
	}


.minimize {
	position: relative;
	top: 5px;
	right: 1.5%;
	float: right;
	color: #000;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
}

.message-modal {
	font-size: 16px;
}



.message-block {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}

#contactModal h4 {
	color: white;
	font-size: 20px;
}

/*

#modalForm input[type=text], #modalForm input[type=email], #modalForm textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0px;
}
*/
.grecaptcha-badge {
	visibility: hidden;
}

form#modalForm {
	position: absolute;
	top: 10%;
	left: 25%;
	width: 50%;
}

@media (max-width: 767px) {
	.message-modal {
		background-color: black;
		color: #fff;
		padding: 5px 0px 0px 5px;
		margin: 0;
		border: none;
		text-align: center;
		cursor: pointer;
		width: 90%;
		z-index: 6001;
		position: fixed;
		right: 5%;
		bottom: 0px;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}
}

@media (max-width: 768px) {
	.message-modal {
		font-size: 18px;
	}

	.form-mobile {
		overflow: scroll;
		z-index: 999999999999;
		position: absolute;
		width: 100%;
		height: 80vh;
	}

	form#modalForm {
		left: 2.5% !important;
		right: 2.5% !important;
		width: 95%;
		height: 85vh;
		position: fixed !important;
		top: 35px !important;
	}

	.message-block {
		display: none;
		position: fixed;
		z-index: 1;
		z-index: 9999;
	}
}
/*
	Header
	
*/

/*overriding dark.css*/
.dark #header.transparent-header, #header.transparent-header.dark, .dark #header.transparent-header:not(.sticky-header) #header-wrap, #header.transparent-header.dark:not(.sticky-header) #header-wrap {
	background: #193867;
	border-bottom: 5px solid #cf87ad;
}
@media (min-width: 992px) {
	.dark .primary-menu:not(.not-dark) .sub-menu-container, .dark .primary-menu:not(.not-dark) .mega-menu-content {
		background-color: #fff;
	}
		.dark .primary-menu:not(.not-dark) .sub-menu-container .menu-item:hover > .menu-link {
			background-color: rgba(0,0,0,0.1);
			color: #cf87ad;
		}
}

/*
	Footer

*/

.dark #footer,
#footer.dark {
	color: rgba(255,255,255,0.75);
	background-color: #282828;
	border-top-color: #cf87ad;
}

footer a {
	color: #89ceef;
}

.dark .menu-item:hover > .menu-link,
.dark .menu-item.current > .menu-link {
	color: #89ceef;
}

.dark .menu-item:hover > .menu-link,
.dark .menu-item.current > .menu-link .menu-button:hover {
	color: #000;
}


/* loader */

.loader {
	border: 8px solid #f3f3f3;
	border-top: 8px solid #60949b;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
