/*
Theme Name: Rixos Child
Theme URL: https://themeforest.net/item/rixos-luxury-hotel-wordpress-theme/58153840
Description: Child theme of Rixos
Author: webRedox WordPress team
Author URI: http://webredox.net/
Template: rixos
Version: 1.0
Text Domain: rixos-child
*/ 
/*******Add Your Css Below This Line*********/
/* ---------- Mega menu (parent item with CSS class "mega-menu") ---------- */
@media screen and (min-width: 992px) {
	.navbar .navbar-nav > li.mega-menu {
		position: static;
	}
	.navbar .navbar-nav > li.mega-menu > .nav-link {
		position: relative;
	}
	/* little white caret under the parent label, matches the mock-up */
	.navbar .navbar-nav > li.mega-menu > .nav-link::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -14px;
		margin-left: -9px;
		border: 9px solid transparent;
		border-bottom-color: #fff;
		opacity: 0;
		visibility: hidden;
		transition: all .3s;
		z-index: 1001;
	}
	.navbar .navbar-nav > li.mega-menu:hover > .nav-link::after {
		opacity: 1;
		visibility: visible;
	}
	.navbar .navbar-nav > li.mega-menu > .dropdown-menu {
		left: 50%;
		right: auto;
		top: 100%;
		width: min(920px, calc(100vw - 48px));
		margin-top: 0;
		padding: 36px 36px 30px;
		border-radius: 0;
		display: flex;
		align-items: flex-start;
		gap: 60px;
		box-shadow: 0 30px 50px 0 rgba(0, 0, 0, .12);
		-webkit-transform: translate(-50%, 20px);
		transform: translate(-50%, 20px);
	}
	.navbar .navbar-nav > li.mega-menu:hover > .dropdown-menu {
		-webkit-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	.navbar .navbar-nav > li.mega-menu > .dropdown-menu > li,
	.navbar .navbar-nav > li.mega-menu > .dropdown-menu > li:hover {
		flex: 1 1 0;
		min-width: 0;
		white-space: normal;
		padding: 0;
		border-bottom: 0;
	}
	.rixos-mega-card-link {
		display: block;
		white-space: normal;
		color: #141414;
		text-decoration: none;
	}
	.rixos-mega-card-media {
		display: block;
		margin-bottom: 18px;
		overflow: hidden;
	}
	.rixos-mega-card-img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 8 / 5;
		object-fit: cover;
		transition: transform .6s ease;
	}
	.rixos-mega-card-link:hover .rixos-mega-card-img {
		transform: scale(1.04);
	}
	.rixos-mega-card-title {
		display: block;
		font-family: var(--rx-main-font, Garamond, serif);
		font-size: 30px;
		line-height: 1.15;
		font-weight: 400;
		color: #141414;
		margin-bottom: 10px;
		transition: color .3s;
	}
	.rixos-mega-card-link:hover .rixos-mega-card-title {
		color: var(--rx-main-color);
	}
	.rixos-mega-card-desc {
		display: block;
		font-size: 15px;
		line-height: 1.5;
		color: #333;
	}
}
/* Under 992px the theme's collapsed nav is used: show cards as plain links */
@media screen and (max-width: 991px) {
	.rixos-mega-card-media,
	.rixos-mega-card-desc {
		display: none;
	}
}
