/*
CTC Separate Stylesheet
*/

/* General Link Styling */
.with-kubio-global-style a:not([class*=wp-block-button]), 
[data-kubio] a:not([class*=wp-block-button]), 
a:not([class*=wp-block-button])[data-kubio] {
    text-align: center;
    background-color: rgba(var(--kubio-color-5),1);
    font-family: Josefin Sans, Helvetica, Arial, Sans-Serif, serif;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    color: #2a9498;
}

.with-kubio-global-style a:not([class*=wp-block-button]):hover, 
[data-kubio] a:not([class*=wp-block-button]):hover, 
a:not([class*=wp-block-button])[data-kubio]:hover {
    color: #ee715e;
    /* background: #2a9498; */
}

.view-more-btn:hover {
    background-color: #b4a064;
}

/* Specific Class Styling */
.hotelCode, .accSpeciall, .stay, .travelDate 
{
    font-family: Josefin Sans, Helvetica, Arial, Sans-Serif, serif;
}

.stay, .travelDate, .text-price
{
    text-align: center !important;
}

.accSpecial1 {
    text-align: center !important;
    font-weight: bold;
    color: red;
}

/* Heading Styles */
.with-kubio-global-style h1, 
.with-kubio-global-style h2, 
[data-kubio] h1, 
[data-kubio] h2, 
h1[data-kubio], 
h2[data-kubio] {
    color: #2a9498;
    font-family: Josefin Sans, Helvetica, Arial, Sans-Serif, serif;
    font-weight: 700;
    text-transform: none;
}

.with-kubio-global-style h4, 
.with-kubio-global-style h5, 
[data-kubio] h4, 
[data-kubio] h5, 
h4[data-kubio], 
h5[data-kubio] {
    color: #2a9498;
    font-family: Josefin Sans;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Beachcomber Booking Widget */
#beachcomber_booking-floating-widget {
    background-color: #fff;
    position: fixed;
    top: calc(100vh - 100px);
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 50;
    transition: all 0.3s ease;
    overflow: hidden;
}

#beachcomber_booking-toggle-widget:checked + div {
    top: calc(100vh - 520px) !important;
    overflow: visible;
}

#beachcomber_booking-floating-widget h3 {
    margin: 0 0 16px;
    font-size: 16px;
    text-align: center;
    color: #2a9498;
    font-family: Josefin Sans, Helvetica, Arial, Sans-Serif, serif;
    font-weight: 700;
    text-transform: uppercase;
}

/* Search Form Labels and Inputs */
#beachcomber_booking-searchWidget div label, 
#beachcomber_booking-searchForm div label, 
#beachcomber_booking-searchForm div legend {
    display: block;
    margin-bottom: 15px !important;
    font-weight: bold;
    font-family: Josefin Sans;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -1.2px;
    color: #0D2236;
    padding-top: 16px;
}

#beachcomber_booking-searchForm div legend {
    margin-bottom: 5px;
}

#beachcomber_booking-searchForm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

#beachcomber_booking-searchForm div select, 
#dateDeparture, 
#dateReturn, 
input[type=date], 
input[type=email], 
input[type=number], 
input[type=password], 
input[type=search], 
input[type=tel], 
input[type=text], 
input[type=url], 
select, 
textarea {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: -1.2px;
    color: #0D2236;
    border-color: #066AAB7A;
    padding: 6px;
}

#beachcomber_booking-searchWidget select, 
#beachcomber_booking-searchWidget input[type="number"], 
#beachcomber_booking-searchWidget input[type="date"] {
    width: 100%;
    padding: 9px 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 13px;
    font-family: Josefin Sans;
    color: #ee715e;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#holiday_special_container ul li {
    padding-left: 6px;
    list-style-position: inside;
}

.entry-content.wp-block-post-content {
  background-color: #ffffff;
}

.toggle-slider {
     background-color: #2a9498 !important;
}

#beachcomber_booking-floating-widget input[type="submit"] {
    margin-top: 10px;
    background-color: rgba(var(--kubio-color-2),1);
    color: rgba(var(--kubio-color-5),1);
    border-top-color: rgba(var(--kubio-color-2),1);
    border-right-color: rgba(var(--kubio-color-2),1);
    border-bottom-color: rgba(var(--kubio-color-2),1);
    border-left-color: rgba(var(--kubio-color-2),1);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    box-shadow: none;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 60px;
    padding-right: 60px;
    font-weight: 300;
    font-size: 21px;
    line-height: 0;
}

#beachcomber_booking-floating-widget input[type="submit"]:hover {
    background-color: rgba(var(--kubio-color-1),1);
    border-top-color: rgba(var(--kubio-color-1),1);
    border-right-color: rgba(var(--kubio-color-1),1);
    border-bottom-color: rgba(var(--kubio-color-1),1);
    border-left-color: rgba(var(--kubio-color-1),1);
}

#beachcomber_booking-searchWidget div label, #beachcomber_booking-searchForm div label, #beachcomber_booking-searchForm div legend {
    display: inline-block !important;
}

[data-kubio] button:not(figure button), [data-kubio] input[type=button]:not(figure input[type=button]) {
  /* New rules for centering */
  display: block;
  width: fit-content;
  margin: 10px auto;
}

[data-kubio] input:not([type]), [data-kubio] input[type=color], [data-kubio] input[type=date], [data-kubio] input[type=datetime-local], [data-kubio] input[type=datetime], [data-kubio] input[type=email], [data-kubio] input[type=month], [data-kubio] input[type=number], [data-kubio] input[type=password], [data-kubio] input[type=search], [data-kubio] input[type=tel], [data-kubio] input[type=text], [data-kubio] input[type=time], [data-kubio] input[type=url], [data-kubio] input[type=week], [data-kubio] select, [data-kubio] textarea {
  /* New rule for width */
	width: 60%;
	box-sizing: border-box; /* Important for padding and border */
}

[data-kubio] button:not(figure button)[type=submit], [data-kubio] input[type=submit] {
    /* Your existing styles */
    display: block; /* Make the button a block-level element */
    margin-left: auto;
    margin-right: auto;
}

.navigation a:hover, .navigation a:focus { 
    background-color: #fff !important;
}

.wp-block-kubio-footer {
    clear: both !important;
}

.api-form-container {
    overflow: hidden !important;
}

.page-id-2688 .wp-block-kubio-footer {
    display: none !important;
}

