/*
Theme Name:     Twenty Twenty-Five Child
Theme URI:      https://example.com/twentytwentyfive-child/
Description:    Child theme for the Twenty Twenty-Five theme
Author:         Calvin Nguyen
Author URI:     https://calvinwp.com
Template:       twentytwentyfive
Version:        1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Tags:           block-patterns, full-site-editing
Text Domain:    twentytwentyfive-child
*/

a:focus,
a:active,
button:focus,
button:active,
select:focus,
select:active,
textarea:focus,
textarea:active,
input:focus,
input:active {
  outline: none;
  box-shadow: none;
  border: none;
}

body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

h2 {
        font-family: var(--wp--preset--font-family--manrope) !important;
}

.wp-block-navigation__responsive-container-open.always-shown svg {
  display: none; 
}

.wp-block-navigation__responsive-container-open.always-shown::before {
  content: "";
  display: inline-block;
    width: 42px;
    height: 18px;
  background-image: url('https://rivellahotels.com/wp-content/uploads/2025/08/hamburger-1.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* .wp-block-navigation__responsive-container { */
    /* transform: translateX(-100%); */
    /* transition: transform 0.4s ease-in-out; */
    /* opacity: 0; */
    /* visibility: hidden; */
/* } */
/* .wp-block-navigation__responsive-container.is-menu-open, */
/* .wp-block-navigation__responsive-container.slide-in { */
    /* transform: translateX(0); */
    /* opacity: 1; */
    /* visibility: visible; */
/* } */
/* Mặc định menu ẩn ngoài màn hình bên trái */
.wp-block-navigation__responsive-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;

    transform: translateX(-100%);
    opacity: 0 !important;
    /* visibility: hidden; */
	display: block !important;
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out, visibility 0s linear 0.4s;
}

/* Khi mở menu */
.wp-block-navigation__responsive-container.slide-in {
    transform: translateX(0);
    opacity: 1 !important;
    visibility: visible;
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out, visibility 0s linear 0s;
}




.sf_main_nav {
    width: 80px;
    float: left;
    display: inline-block;
}


.sf_main_nav .is-menu-open {
    width: 350px;
    background-color: #F9F4E7 !important;
    padding: 30px;
}
.sf_main_nav ul {
    width: 100%;
    padding-left: 30px;
}
.sf_main_nav li {
    padding: 0px 0px 15px !important;
}
.sf_main_nav li.current-menu-item a,
.sf_main_nav li.sf_discoveralso a,
.sf_main_nav li.sf_hotel_link a,
.sf_main_nav li a:hover{
	color: #003459 !important;
}
.wp-block-navigation__responsive-container-close svg{ fill: #003459 !important; }
.sf_main_nav li a{
	color:#768D95 !important;
}
.sf_main_nav li a {
    font-size: 27px;
}
.sf_discoveralso a {
    font-size: 14px !important;
    margin-top: 60px;
}
.sf_discoveralso a:hover {
    text-decoration: unset;
	cursor: text;
}
.sf_hotel_link a {
    font-size: 14px !important;
    text-transform: uppercase;
}

.sf_ourhotels p {
    margin: 0px;
    font-size: 15px;
    margin-left: 30px;
	cursor: pointer;
	color: #003459;
}
.sf_ourhotels:hover p{
    border-bottom: 1px solid gray;
} 
.sf_ourhotels {
    float: left;
    margin-top: 0px;
	position: relative;
}

p.sf_ourhotels { 
    width: 130px;
    font-size: 15px;
    float: left;
    display: inline-block;
    margin-top: 0px;
	cursor: pointer;
    margin-left: 35px;
}

.sf_ourhotels_content {
    width: 250px;
    position: absolute;
    margin-top: 0px;
    top: 25px;
    left: -70px;
	padding: 25px;
	background-color: #ECE6D0;
	display:none;
	z-index:999;
}
.sf_ourhotels_content ul {
    list-style: none;
    text-align: center;
    font-size: 15px;
    padding-left: 0px;
	margin: 0px;
}
.sf_ourhotels_content ul a {
    text-decoration: unset;
	text-transform: uppercase;
	color: #003459 !important;
}
.sf_ourhotels_content ul li {
    padding-bottom: 10px;
}

.sf_book_button a{
	display: inline-block;
    width: 120px !important;
    padding: 0;
    line-height: 34px;
    color: #ECE6D0;
    text-align: center;
    background: #003459;
    border-radius: 5px;
    font-size: 14px;
}
.sf_book_content{
	/* position: fixed; */
    /* height: 100%; */
    /* padding: 30px; */
    /* width: 400px; */
    /* background: #FBFCF8; */
    /* top: 0; */
    /* right: 0px; */
    /* z-index: 9999; */
    /* overflow: auto; */
	
	position: fixed;
    top: 0;
    right: -100%; /* ẩn ngoài màn hình */
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #ECE6D0;
    z-index: 9999;
    transition: right 0.4s ease-in-out;
	padding: 30px; 
}
.sf_book_content.active {
    right: 0;
	margin-top:0px;
}
.sf_book_content .sf-bookWrapperr .menuInner img{
	width: 42%;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
}
.sf_book_content h3.hw {
    font-size: 25px;
    font-weight: normal;
    margin-bottom: 60px;
	text-align: center;
	margin-top: 0px;
	color: #003459;
}
.sf_book_content p {
    margin-top: -55px;
    font-size: 14px;
    margin-bottom: 45px;
	text-align: center;
	color: #003459;
}
.sf_book_content .sf_book_text{
	margin-top: -40px;
}
.sf_book_content .sf_book_text.sf_bold{
	font-weight:bold;
}
.sf_book_content p.closing {
    line-height: 20px;
    text-align: center;
}
#opacity_bkg {
    width: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    z-index: 9998;
    top: 0px;
}



.booking-form select {
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    border-color: lightgray;
    background-color: transparent !important;
    text-transform: uppercase;
    color: #003459;
}
.booking-form a.check-availability-btn {
    width: 100%;
    height: 40px;
    padding: 0;
    font-size: 13px;
    line-height: 40px;
    color: #FBFCF8;
    text-transform: uppercase;
    background-color: #003459;
    border: none;
    display: block;
    text-align: center;
    text-decoration: unset;
    margin-top: 20px;
    letter-spacing: 1px;
}
.sf_header .wp-block-columns.wp-block-columns-is-layout-flex {
    align-items: center !important;
}
.wp-block-column.is-vertically-aligned-top.sf_mb_menu.is-layout-flow.wp-block-column-is-layout-flow {
    align-self: center;
}
.sf_show_mobile{display: none; }
@media only screen and (max-width: 786px){
	.sf_homelogo >div {
		margin-top: -75px;
	}

	.sf_show_mobile{display: block !important; margin-top: 0px; }
	
	.booking-smartphone {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2;
        height: 65px;
        font-size: 14px;
        background-color: #ECE6D0;
    }
	.booking-smartphone .left {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 50%;
        text-align: center;
        line-height: 65px;
    }
	.booking-smartphone .right {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%;
        text-align: center;
    }
	.booking-smartphone::after {
        content: "";
        position: absolute;
        top: 18px;
        left: 50%;
        height: 30px;
        border-left: 1px solid #003459;
    }
	.booking-smartphone a {
        display: block;
        line-height: 65px;
		font-size: 14px;     
		color: #003459;   
		text-decoration: unset;
		font-weight: 500;
    }
	.selectric-wrapper select {
	  appearance: none;          /* Ẩn style mặc định */
	  -webkit-appearance: none;
	  -moz-appearance: none;

	  background: none;          /* Xóa nền trắng */
	  border: none;              /* Xóa viền */
	  outline: none;             /* Không viền focus */
	  box-shadow: none;

	  font-size: 14px;     
	  color: #003459;            /* màu chữ (giống thiết kế) */
	  cursor: pointer;
	  padding: 0;                /* bỏ padding thừa */
	  line-height: 1.4;
	  text-align: center;
	  
	  width: 90%;
        height: 25px;
		font-weight: 500;
	}

	/* Ẩn icon mũi tên mặc định của select */
	.selectric-wrapper select::-ms-expand {
	  display: none;
	}

	
	
	.sf_ourhotels,
	.sf_book_button_right,
	.sf_book_content{
		display: none !important; 
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{ flex-basis: auto !important; }
	.sf_mb_menu { max-width: 45px !important; }
	.wp-block-column.sf_mb_logo.is-layout-flow.wp-block-column-is-layout-flow {
		width: 300px;
        position: absolute;
        margin: 0 auto;
        left: 0px !important;
        right: 0px !important;
	}
	.sf_header {
		padding-top: 27px !important;
        padding-bottom: 27px !important;
	}
	.sf_mb_logo img.custom-logo {
		width: 100px;
	}
}

nav.sf_footer_menu {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid #575756;
    border-bottom: 1px solid #575756;
}
nav.sf_footer_menu li {
    margin: 0px 15px;
    text-transform: uppercase;
}
nav.sf_footer_menu li a{
	color: #808080 !important;
}
.sf_footer_logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-wrap: wrap;
    margin-top: 80px;
    margin-bottom: 80px;
}

.sf_footer_logos figure {
    margin: 0 20px !important;
}

.sf_footer_logos img {
    max-height: 60px;
    height: auto;
    width: auto;
}
.sf_content_bottom_footer p {
    text-transform: uppercase;
    color: #808080;
    font-size: 16px;
}
.sf_content_bottom_footer a {
    text-decoration: unset;
}
.sf_content_bottom_footer a:hover {
    text-decoration: underline;
}
.sf_homelogo figure img {
    width: 250px;
    height: auto;
}
@media (min-width: 768px) and (max-width: 1150px) {
	.sf_homelogo figure img {
		width: 70%;
	}
}
@media (max-width: 860px) {
    .sf_footer_logos {
        flex-direction: column;
        gap: 20px; 
    }
	.sf_footer_logos figure {
		margin: 5px 20px !important;
	}
}
@media only screen and (max-width: 500px){
	.wp-block-column.sf_mb_logo.is-layout-flow.wp-block-column-is-layout-flow {
        width: 230px !important;
	}
}
@media only screen and (max-width: 460px){
	/* header .wp-block-site-logo img { */
		/* width: 175px !important; */
	/* } */
	.sf_headerimg h2 {
		font-size: 60px !important;
	}
	.sf_main_nav .is-menu-open {
		width: 70% !important;
	}
	.sf_homelogo figure img {
		width: 200px;
		height: auto;
		margin: 10px 0px;
	}
}

.sf_contactcontent a{ font-size: 17px !important; }
.sf_contactcontent p { margin-top: -15px !important; }
.sf_contact_field {
    padding: 15px 0px;
    width: 100% !important;
    max-width: unset !important;
    font-family: 'FAIREOctaveLight' !important;
    border-bottom: 1px solid #000 !important;
    font-size: 18px;
    border-radius: unset !important;
}
input#drip-email, .sf_contact_field {
    background: unset;
    border: unset;
    max-width: 84%;
    color: #000;
    display: inline-block;
    padding-left: 0px !important;
    float: left;
    margin-top: 10px !important;
}
.wpcf7-form-control-wrap {
    /* border-bottom: 1px solid #000; */
    display: inline-block;
    width: 100%;
}
form.wpcf7-form input#contact_send {
    padding: 15px 0px !important;
    height: unset !important;
    text-decoration: unset;
    border: 1px solid #242c1d;
    letter-spacing: 5px;
    font-family: 'FAIREOctaveLight';
    background-color: #000;
    color: #fff;
    width: 200px;
    display: block;
    margin: auto;
    margin-top: 30px;
    border-radius: unset !important;
    -webkit-border-radius: unset !important;
    -moz-border-radius: unset !important;
    height: 50px !important;
}
span.wpcf7-not-valid-tip {
    font-size: 14px;
}
.sf_morecontent_part >.vc_column-inner {
    max-width: 600px;
    margin: 0 auto;
}
.sf_morecontent_part >.vc_column-inner p {
    font-size: 18px;
}
.sf_morecontent_part.left .vc_column-inner {
    float: right;
    padding-right: 15px;
}
.sf_morecontent_part.right .vc_column-inner {
    float: left;
    padding-left: 15px;
}
.sf_morecontent_part >.vc_column-inner a {
    background: transparent !important;
    border: 1px solid #575756 !important;
    color: #575756 !important;
}
.sf_morecontent_part >.vc_column-inner a:hover {
    background: #575756 !important;
    border: 1px solid #575756 !important;
    color: #ffffff !important;
}



