a:active, a:focus {
  outline: none !important; /* Removes the default outline */
}

input {
    outline: none;
}

@keyframes inputAlert {
  0% { border: 1px solid red; box-shadow: 0 0 5px red; }
  33% { border: 1px solid #ccc; box-shadow: 0 0 0 transparent; }
  66% { border: 1px solid red; box-shadow: 0 0 5px red; }
  100% { border: 1px solid #ccc; box-shadow: 0 0 0 transparent; }
}

.blink-alert {
  animation: inputAlert 1s ease-in-out forwards;
}

@keyframes inputShortAlert {
  0% { border: 1px solid red; box-shadow: 0 0 5px red; }
  100% { border: 1px solid #ccc; box-shadow: 0 0 0 transparent; }
}

.input-alert {
  animation: inputShortAlert 0.3s ease-in-out forwards;
}

@keyframes messageShortAlert {
  0% { color: #ff0000; border:1px solid red; padding: 5px;}
  75% { color: #ff0000; border:1px solid red; padding: 5px;}
  100% { color: #4a4a4a; border:1px solid transparent; padding: 0; }
}

.message-alert {
  animation: messageShortAlert 1s ease-in-out forwards;
}

.rcab-elem-gallery--mosaic .rcab-elem-gallery__mosaic{
  display:flex;
  gap:10px;
  align-items:stretch;
  height: 100%;
  flex-direction: column;
}

.rcab-elem-gallery--mosaic .rcab-elem-gallery__big,
.rcab-elem-gallery--mosaic .rcab-elem-gallery__singleBig{
  display:block;
  width:100%;
  height:550px;
  overflow:hidden;
}

.rcab-elem-gallery--mosaic .rcab-elem-gallery__smallGrid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap:10px;
  height: 150px;
}

.rcab-elem-gallery--mosaic .rcab-elem-gallery__small{
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  height: 100%;
}

.rcab-elem-gallery__tile {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Amenities */
.rcab-amenities {
	  display: flex;
	  flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.rcab-amenity {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.rcab-amenity span{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 8px 0;
		font-size: 16px;
    color: var(--text);
}

@media (min-width: 768px) {
    .rcab-amenity {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .rcab-amenity {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 33.3333333333%;
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
}

/* Room Rules */
.rcab-room-content h4 {
	    margin: 10px 0px calc(var(--kit-widget-spacing, 0px) + 10px) 0px;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    color: var(--e-global-color-accent);
	    font-family: var(--e-global-typography-text-font-family);
}

.rcab-room-content .list-group  {
	margin: 0 0 10px;
}

.rcab-room-content .list-group-item {
    padding: 0;
    margin-bottom: 6px;
    background-color: transparent;
    border: none;
}

.rcab-room-content .glyphicon  {
	font-size: 12px;
	padding-right:10px
}

/* Other rooms */

.rcab-other-rooms {
	  display: flex;
	  flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    padding-bottom: 0;
}

.rcab-room-item {
    padding-left: 15px;
    padding-right: 15px;
	    width: 100%;
	margin-bottom: 30px;
}

.rcab-room-item .item-inner {
    position: relative;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
}

.rcab-room-item .item_img {
    position: relative;
}


.rcab-room-item .item_img img{
    height: 200px;
	width: 100%;
	object-fit: cover;
}

.rcab-room-item .item_text {
    padding: 15px 30px 0;
    background-color: #fff;
}

.rcab-room-item .item_title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 6px;
    font-family: var(--e-global-typography-accent-font-family);
    text-transform: uppercase;
}

.rcab-room-item .item_sub {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--text_lighter);
}

.rcab-room-item .item_sub .acreage {
    padding-right: 10px;
    margin-right: 7px;
    border-right: 1px solid var(--border);
}

@media (min-width: 768px) {
    .rcab-room-item {
        width: 50%;
    }
}

@media (min-width: 1024px) {
     .rcab-room-item {
			 	-webkit-box-flex: 0;
			  -webkit-flex: 0 0 50%;
        width: 33.33%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}


.rcab-reservation-title {
	text-transform: uppercase;
	font-size: 24px;
	color: #000000;
	line-height: 1;
    margin: 0;
    padding: 0;
	margin-bottom: 30px;
}

/* TABS */
.rcab-property-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 32px;
    margin-top: 5px;
    position: relative;
}

.rcab-property-tabs::after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    height: 1px;
    border-bottom: 1px solid #ddd;
    bottom: -7px;
    left: 0;
}

.rcab-property-tabs span {
    padding: 10px 20px;
    cursor: pointer;
    color: #191E3B;
    font-family: 'Varta', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.rcab-property-tabs span.active,
.rcab-property-tabs span:hover
{
    border-bottom: 2px solid #B5862D;
    font-weight: 600;
    color: #B5862D;
}

/* SECTIONS */
.rcab-property-section {
    display: none;
}

.rcab-property-section.active {
    display: block;
}



#rcab-overview.active {
    display: grid;
}

#rcab-overview {
    grid-template-columns: 2fr 1fr;
    gap: 3em;
    align-items: stretch;
}

.rcab-property-subtitle {
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
    color: #191E3B;
}

.rcab-property-title {
    font-family: "Cormorant", serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #B5862D;
    margin-bottom: 0.4em;
}

.rcab-property-address {
    font-weight: 400;
    font-size: 14px;
}

.rcab-property-text {
    font-size: 14px;
    line-height: 20px;
    color: #1A1A1A;
}

.rcad-property-amenities {
    margin-top: 20px;
}

.rcad-property-amenities h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.rcab-property .inline-icon {
    height: 20px;
}

.amen-icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: -4px;
    margin-right: 2px;
}

.rcab-property-content {
    margin: 1.5em 0 0;
}

.rcab-property-map {
    margin-top: 2em;
    border-radius: 5px;
    overflow: hidden;
}

.rcab-map-wrapper {
    height: 100%;
    max-height: 500px;
}

.rcab-leaflet-map {
    height: 100%;
    min-height: 300px;
}

.rcab-leaflet-map .leaflet-popup-content {
    margin: 15px 20px 12px 10px;
    line-height: 1.3;
    font-size: 1rem;
}

.rcab-amenity-box {
    font-family: Varta;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    vertical-align: middle;
    display: inline-block;
    padding: 0 20px 10px 0;
    break-inside: avoid;
    color: #1A1A1A;
}

.rcab-amenity-box .inline-icon {
    padding-right: 5px;
}

.rcab-availability {
    font-family: Varta, sans-serif;
}

h2.rcab-availability-heading {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 32px;
}

.rcab-availability input, .rcab-availability select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    margin-bottom: 0;
    height: auto;
	line-height: unset;
}

.rcab-availability label {
	margin: 0;
}

#rcab-availability-dates {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    align-items: end;
}

.rcab_action {
	line-height: 1;
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    background: #124734;
    color: #fff;
    border: 1px solid #124734;
    padding: 0 15px;
    transition: color 0.3s, background-color 0.5s;
    justify-content: center;
    letter-spacing: 2px;
}

.rcab_action:hover {
    background: #fff;
    color: #0f3d2e;
    border: 1px solid;
}

div#rcab-room-selection {
    margin-top: 20px;
    min-height: 200px;
}

.rcab_room_row {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 4fr)
        minmax(0, 1.8fr);
    border: 1px solid #e5e5e5;
    border-top: none;
    position: relative;
}

.rcab_room_col.cost {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rcab_room_row:first-child {
    border-top: 1px solid #e5e5e5;
}

.rcab_room_col {
    padding: 20px;
    border-right: 1px solid #e5e5e5;
    min-width: 0;
}

.rcab_room_col.cost {
    border-right: none;
}

.rcab-room-image {
    width: 80%;
    max-width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    border-radius: 8px;
    margin: 10px 0;
}

.rcab-room-image .rcab-room-gallery,.rcab-room-image .rcab-room-gallery a {
    display: block;
    width: 100%;
    height: 100%;
}

.rcab-room-gallery {
    position: relative;
    overflow: hidden;
}

.rcab-room-gallery::after {
  content: "zoom_in";
  font-family: 'Material Symbols Outlined';
  font-size: 56px;

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  color: white;

  pointer-events: none;
}

.rcab-room-gallery::after {
  opacity: 0.75;
  transition: opacity .2s ease, transform .2s ease;
}

.rcab-room-gallery:hover::after {
  opacity: 1;
  transform: scale(1.5);
}

.rcab-category-description {
    line-height: 1.2;
    margin: 10px 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.rcab-rooms-left {
    font-family: Varta;
    font-weight: 700;
    font-size: 12.3px;
    line-height: 20px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #B5862D;
    margin: 10px 0;
}

.rcab-pie {
    display: inline-block;
    vertical-align: middle;
}

.rcab-category-amenities {
    margin: 15px 0;
}

.rcab-category-amenities .rcab-amenity-box {
    border: 1px solid #ddd;
    padding: 10px 10px;
    margin: 0 5px 5px 0;
    border-radius: 8px;
    font-size: 12px;
}

.rcab-category-amenities .rcab-amenity-box .inline-icon {
    height: 15px;
}

.rcab_room_col.rates label {
    display: block;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rcab_room_col.guests label {
    line-height: 1;
    display: block;
    font-weight: bold;
}

.rcab_room_col label.col_label {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    display: block;
    margin-bottom: 5px;
    color: #124734;
    border: none;
    padding-bottom: 10px;
}

.rcab_room_col.rates input[type="radio"] {
    display: inline-block;
    width: auto;
    margin-top: 0;
    margin-right: 5px;
    vertical-align: middle;
}

.rcab_room_col.rates label span{
    display: block;
    padding-left: 20px;
    line-height: 1.2;
    font-size: 0.85em;
    font-weight: normal;
    color: #888;
}

.rcab_room_col.guests input {
    margin: 0 0 10px 0;
}

.rcab_room_col .rcab_nights_count, .rcab_room_col .rcab_price_per_night {
    font-size: 12px;
    line-height: 1.2;
}

.max_guest_notice {
    font-size: 12px;
    line-height: 1.2;
}

.rcab_price {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

.rcab_remove, .rcab_reserve, .rcab_add_room, .rcab_refresh, .rcab_refresh_single {
    padding: 0 20px;
    display: inline-block;
}

.rcab_remove {
    margin-top: 5px;
    margin-left: 10px;
}

.rcab_refresh_single {
    margin-bottom: 10px;
}

.rcab_secondary {
    background-color: #B5862D;
    border: #B5862D;
    padding: 0 60px;
}

.rcab_secondary:hover {
    border-color: #B5862D;
    color: #B5862D;
}

.rcab-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 0 10px;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
}

.rcab-summary {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.rcab-total {
    font-size: 26px;
    line-height: 1.2;
    text-align: right;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 5px;
}

.rcab-total .total{
    font-size: 41px;
}

.rcab-total .total_title {
    margin-bottom: 0.4em;
}

.rcab-checkout, .rcab-refresh {
    text-align: right;
}

.rcab-tax {
    font-size: 12px;
    line-height: 1;
    margin-top: -10px;
}

.rcab_nocharge, .rcab_newquote {
    font-size: 12px;
    margin:0;
}

.rcab-additional-reservation-info {
    display: block;
    position: absolute;
    right: 0;
    top: 96px;
    font-size: 15px;
    font-weight: bold;
    color: #c79a2b;
    max-width: 50vw;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

p.rcab_alert::before {
    content: "*";
    font-weight: bold;
    font-size: 32px;
    line-height: 0.5;
    position: relative;
    top: 12px;
    padding-right: 10px;
}

p.rcab_alert {
    color: red;
    font-weight: bold;
    margin: -10px 0 10px;
    line-height: 1;
}

#rcab-availability-wrapper, #rcab-cart-wrapper {
    position: relative;
    margin-bottom: 16px;
}

#rcab-cart-wrapper {
    min-height: 200px;
}

#rcab-loader, #rcab-cart-loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .75);
    display: grid;
    place-items: center;
    z-index: 1;
}

#rcab-cart {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
	padding: 15px;
}

#rcab-cart .check_details {
    margin: 0 0 10px 0;
}

#rcab-cart .check_reset {
	margin-bottom:10px
}

.rcab_reset_cart,.rcab_remove {
	font-size:8px;
	padding:5px 10px;
	height:auto;
	margin: 0;
	margin-left: auto;
	letter-spacing:0.75px;
}

.rcab_remove {
	background-color: lightgrey !important;
	border-color: #9999;
}

.rcab_cart_row {
    display: flex;
    flex-direction: row;
	  border-top:1px solid #ddd;
	  padding: 10px 0;
	  background-color: #fff;
	transition: background-color 0.5s;
}

.rcab_cart_row:hover {
	background-color: #eee;
}

.rcab_cart_row .details {
	width:65%;
}

.rcab_cart_row .details .room_title{
	font-weight: bold;
	font-size:15px;
	color: var(--e-global-color-857ec6a);
}

.rcab_cart_row .details .rate{
	font-weight: bold;
	font-size:13px;
	color: #999
}

.rcab_cart_row .details .guests{
	font-weight: normal;
	font-style:italic;
	font-size:13px;
	color: #999
}

.rcab_cart_row .cost {
	font-size: 20px;
	font-weight: bold;
	text-align:right;
	width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.old_price {
    line-height: 1;
    font-size: 0.55em;
    margin: 0 0 -4px;
    text-decoration: line-through;
    color: red;
}


/* Spinner */
.spinner {
    width: 112px;
    height: 112px;
    border: 16px solid rgba(22, 63, 22, 0.55);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .9s linear infinite;
}

.rcab_min_stay_error,.rcab_availability_error {
    color: red;
    font-weight: bold;
    line-height: 1;
    margin: 8px 0;
}

.rcab_backlink {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: 'Varta', sans-serif;
    height: 1em;
    color: #124734 !important;
    fill: #124734;
    margin-bottom: 6px;
}

.rcab_backlink svg {
    height: 1em;
    position: relative;
    top: -1px;
}

.rcab_other_properties_in_title {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 32px;
    color: #b5862d;
    text-align: center;
}

#rcab_old_price {
    margin-top: 0;
    margin-bottom: -5px;
}

.rcab-discount-tag {
    background-color: #fff;
    border: 1px solid red;
    color: red;
    display: flex;
    line-height: 12px;
    border-radius: 5px;
    position: relative;
    top: -10px;
    font-size: 12px;
    flex-direction: row;
    justify-content: flex-end;
    align-items: stretch;
    gap: 5px;
    width: max-content;
    padding-left: 5px;
    margin-left: auto;
    max-width: 15vw;
    margin-top: 5px;
}

.rcab-discount-tag span.title {
    display: flex;
    align-items: center;
    padding: 3px 0;
}

.rcab-discount-tag span.price {
    font-size: 14px;
    background-color: red;
    color: #fff;
    line-height: 12px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 4px 3px 3px 4px;
}

.rcab_popup_wrapper h2 {
    font-family: "Cormorant", serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #B5862D;
    margin-bottom: 0.4em;
}

#rcab_auto_popup {
    padding: 15px;
    border-radius: 10px;
    border: 3px solid #124734;
    box-shadow: 5px 5px 10px #00000050;
}

.rcab_popup_wrapper h3 {
    font-family: "Varta", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 20px;
    display: block;
    margin-bottom: 5px;
    color: #124734;
    border: none;
    padding-bottom: 10px;
}

.rcab_popup_wrapper p {
    font-family: "Varta", sans-serif;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
}

#rcab_auto_popup button {
    background-color: #124734;
    color: #fff;
    margin-left: auto;
    display: block;
    border-radius: 8px;
}

.rcab_popup_wrapper {
    padding:40px;
    padding-bottom: 10px;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  backdrop-filter: blur(4px);           /* Optional: Blurs background content */
}

dialog {
  opacity: 0;
  transform: scale(0.8);
  transition: 
    opacity 0.3s ease-out, 
    transform 0.3s ease-out, 
    display 0.3s ease-out allow-discrete, 
    overlay 0.3s ease-out allow-discrete;
}

/* 2. Open state: Visible */
dialog[open] {
  opacity: 1;
  transform: scale(1);
}

/* 3. Starting state for entrance animation */
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Optional: Animate the backdrop */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition: 
    display 0.3s allow-discrete, 
    overlay 0.3s allow-discrete, 
    background-color 0.3s;
}

dialog[open]::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

@starting-style {
  dialog[open]::backdrop {
    background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@media (max-width:940px){
    .rcab_room_row {
        grid-template-columns: 1fr;
    }

    .room_info {
        display: flex;
        gap: 25px;
        flex-direction: row-reverse;
    }

    .rcab_guests_inputs {
        display: flex;
        gap: 10px;
    }

    .rcab_secondary {
        padding: 0 15px;
    }
    
    .rcab-discount-tag {
        max-width: none;
    }
    
    .rcab_room_col  .room_info,.rcab_room_col  .room_text {
        width: 100%;
    }
}

@media (max-width:800px){
    #rcab-overview {
        grid-template-columns: 1fr;
        gap: 0;
    }
    div#rcab-property-map {
        height: 50vh;
    }
    .rcab-elem-gallery--mosaic .rcab-elem-gallery__big,
	.rcab-elem-gallery--mosaic .rcab-elem-gallery__singleBig{
	  height:300px;
	}

	.rcab-elem-gallery--mosaic .rcab-elem-gallery__smallGrid{
	  height: 100px;
	}
}

@media (max-width:680px){
    .rcab-room-image {
        width: 100%;
        height: 120px;
    }
    
    .rcab-summary {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .rcab-total {
        font-size: 18px;
    }
    
    .rcab-total .total {
        font-size: 36px;
    }
    
    .rcab-summary {
        gap: 10px;
    }
    
    .rcab-additional-reservation-info {
        top: unset;
        bottom: -30px;
        max-width: none;
    }
}

@media (max-width:480px){

    .rcab-elem-gallery--mosaic .rcab-elem-gallery__big,
	.rcab-elem-gallery--mosaic .rcab-elem-gallery__singleBig{
	  height:150px;
	}

	.rcab-elem-gallery--mosaic .rcab-elem-gallery__smallGrid{
	  height: 50px;
	}


    #rcab-availability-dates {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    #rcab_apply_button {
        grid-column-end: span 2;
    }

    .rcab-room-image {
        width: 100%;
        height: 220px;
    }

    .rcab-bottom-bar {
        flex-direction: column;
        align-items: stretch;
        gap:15px;
    }
    
    .rcab_add_room.invisible {
        display: none;
    }
    
    .room_info {
        gap: 0;
        flex-direction: column;
    }
    
    .rcab_room_col {
        padding: 5px 20px;
    }
    
    .rcab-category-amenities {
        margin: 15px 0 0;
    }
}

/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .spinner{ animation: none; }
}