﻿@font-face {
    font-family: Fairfair_Regular;
    src: url(../fonts/fc_minimal_regular_ver_1.10-webfont.woff);
}
@font-face {
    font-family: Fairfair_Bold;
    src: url(../fonts/fc_minimal_extrabold_ver_1.10-webfont.woff);
}
@font-face {
    font-family: Fairfair_Light;
    src: url(../fonts/fc_minimal_extralight_ver_1.10-webfont.woff);
}






/* Input styles */
#from.search-input,
#to.search-input,
#departure-date.search-input,
#return-date.search-input {
    border: unset;
    margin-left: 15px;
    padding: unset;
    color: #1DA680;
    font-family: "FC Minimal";
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Header text styles */
.header-text {
    padding: 20px 0;
    text-align: center;
    color: #333;
}

    .header-text h1 {
        font-size: 24px;
        font-weight: bold;
    }

/* Search section styles */
.search-section {
    position: relative;
}

.search-overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
}

    .search-overlay h1 {
        margin-bottom: 20px;
        font-size: 28px;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
.confirmTravel {
    color: #1DA680;
}
.Country {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-family: Fairfair_Bold;
    margin-top:30px;
    margin-bottom:30px;
    padding : 2px 2px 2px 2px;
    gap: 10px;
}
    .Country button {
        font-family: Fairfair_Regular;
        margin-right: 10px;
        background-color: #1DA680;
        width: 200px;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
        .Country button:hover {
            background-color: #159e60;
        }

.ct_tag {
    display: flex; 
    text-align:center;
}
/* Checkbox Container */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

    .checkbox-container input[type="checkbox"] {
        margin-right: 10px;
        background-color:red;
    }
#trip-coverage {
    background-color: red;
}
.trip-coverage {
    font-size: 12px;
    font-family: Fairfair_Bold;
}
.trip-checkbox {
    background-color: red;
}
/* Policy Details */
.policy-details {
    font-size: 12px;
    color: #555;
    padding-left: 25px;
}
.search-container {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    width: 1220px;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.search-options {
    padding: 10px;
    display: flex;
    gap: 10px;
}

.custom-dropdown,
.custom-trip {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin-left: 6px;
    cursor: pointer;
    width: 120px;
    height: 25px;
    padding: 2px 5px 2px 10px;
    justify-content: space-between;
    border-radius: 20px;
    border: 0.5px solid rgba(0, 0, 0, 0.50);
}

.custom-trip {
    width: 200px;
}

.modal-tour {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}
.modal-insu {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}
.modal-content-tour {
    
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 675px; /* Could be more or less, depending on screen size */
    border-radius: 10px;
}
.modal-content-insu {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    padding-left:unset;
    border: 1px solid #888;
    width: 675px; /* Could be more or less, depending on screen size */
    border-radius: 10px;
}
.icon-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .icon-text img {
        width: 24px;
        height: 24px;
    }
.dd-icon {
  
    margin-top:-28px;
    margin-right:8px;
   text-align:right;
}
.dropdown-arrow {
    margin-left: auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    background-image: url('img/Group.png');
}

input[type='radio']:after {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    top: -1px;
    left: -1px;
    position: relative;
    background-color: white;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid black;
}

input[type='radio']:checked:after {
    background-color: red;
}

.radio-label {
    margin-top: -8px;
}

.search-fields {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
}

.field-group {
    display: flex;
    flex-direction: column;
    width: 238px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 20px;
    border: none;
    background: #FFF;
    backdrop-filter: blur(2px);
    margin-left: 18px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .field-group label {
        font-weight: bold;
    }

    .field-group input {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        text-align: left;
    }

.search-button {
    background-color: #E32400;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 179px;
    height: 90px;
    margin-left: 12px;
    border-radius: 20px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.40);
}

.search-lable-text {
    text-align: left;
    padding-left: 15px;
    padding-top: 8px;
    color: #000;
    font-family: "FC Minimal";
    font-size: 13px;
    font-style: normal;
    font-weight: 200;
}

.search-small-text {
    padding-top: 2px;
    text-align: left;
    color: #000;
    font-family: "FC Minimal";
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding-left: 15px;
}

.swap-icon {
    margin: unset;
    font-size: 24px;
    margin-left: -10px;
    margin-right: -10px;
    color: #00796b;
    background-color: #FFF;
    border: solid 1px;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    text-align: center;
    position: relative;
    margin-top: 30px;
    z-index: 20; /* Ensure the icon is in front */
}


.Departure_txt {
    font-size: 12px;
    font-family: Fairfair_Bold;
}
/* Slider styles */
.slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%; /* Make it fill the section */
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Make it fill the container */
}

.slide {
    min-width: 100%;
    transition: 0.5s;
    height: 100%; /* Make it fill the container */
}

    .slide img {
        width: 100%;
        height: 500px; /* Make it fill the slide */
        object-fit: cover; /* Ensure the image covers the slide */
    }

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
    z-index: 2; /* Ensure buttons are above the slides */
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

    button.prev:hover,
    button.next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }
/* Travel options styles */
.travel-options {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

    .travel-options h2 {
        font-size: 28px;
        color: #1DA680;
        margin-bottom: 20px;
    }

.travel-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.travel-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    margin-bottom: 20px;
}

    .travel-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.travel-card-content {
    padding: 20px;
    text-align: left;
}

    .travel-card-content h3 {
        font-size: 20px;
        color: #333;
        margin-bottom: 10px;
    }

    .travel-card-content p {
        color: #666;
        margin-bottom: 5px;
    }

.see-more-button {
    background-color: #1DA680;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

    .see-more-button:hover {
        background-color: #1b9e5a;
    }

.book-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #1DA680;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

    .book-button:hover {
        background-color: #1b9e5a;
    }

.see-more-button {
    background-color: #1DA680;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

    .see-more-button:hover {
        background-color: #1b9e5a;
    }
/* Package tours styles */
.package-tours {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

    .package-tours h2 {
        font-size: 28px;
        color: #1DA680;
        margin-bottom: 20px;
    }

.package-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.package-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    margin-bottom: 20px;
    text-align: left;
}

    .package-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

.package-card-content {
    padding: 20px;
}

    .package-card-content h3 {
        font-size: 20px;
        color: #333;
        margin-bottom: 10px;
    }

    .package-card-content p {
        color: #666;
        margin-bottom: 5px;
    }

.package-price {
    font-size: 18px;
    color: #1DA680;
    font-weight: bold;
    margin-top: 10px;
}

.see-more-button {
    background-color: transparent;
    color: #1DA680;
    border: 2px dotted #1DA680;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .see-more-button span {
        margin-left: 5px;
    }

    .see-more-button:hover {
        background-color: rgba(29, 166, 128, 0.1);
    }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Partners section styles */
.partners-section {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.partners-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-line {
    display: flex;
    align-items: center;
    width: 400px;
    max-width: 1200px;
    margin-left: -120px;
}

    .partners-line .location-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .partners-line .dotted-line {
        flex-grow: 1;
        border-top: 2px dotted #1DA680;
        height: 0;
    }

.partners-header h2 {
    font-size: 28px;
    color: #1DA680;
    margin-top: 10px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
}

    .partners-logos img {
        height: 50px;
    }

.chat-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

    .chat-options img {
        height: 160px;
    }

    .chat-options span {
        font-size: 16px;
        color: #1DA680;
        font-weight: bold;
    }

/* Footer section styles */
.footer-section {
    background-color: #f8f8f8;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    width: 80px;
}

.footer-logo p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-column {
    position: relative;
    padding-right: 20px; /* Add some space for the dotted line */
}

    .footer-column h4 {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
        position: relative;
    }

        .footer-column h4::after {
            content: '';
            position: absolute;
            right: -15px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: repeating-linear-gradient( 180deg, #666, #666 2px, transparent 2px, transparent 4px );
        }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-column ul li {
            margin-bottom: 5px;
        }

            .footer-column ul li a {
                text-decoration: none;
                color: #666;
                font-size: 14px;
            }

                .footer-column ul li a:hover {
                    text-decoration: underline;
                }

.footer-social {
    text-align: right;
}

    .footer-social h4 {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
    }

.social-icons a {
    margin-right: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}
/* Search bar styles */
.search-bar-tour {
    background-color: #f8f8f8;
 
    padding: 20px;
    border-bottom: 1px solid #1DA680;
}

.search-container-p {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.search-box-tour {
    height: 84px;
    display: flex;
    align-items: center;
    flex-grow: 1;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px 10px;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #66666680
}

    .search-box-tour input {
        border: none;
        outline: none;
        flex-grow: 1;
        padding: 10px;
        font-size: 16px;
        color: #333;
    }

    .search-box-tour .search-icon {
/*        width: 24px;
        height: 24px;
        margin-right: 10px;*/
    }

.date-box {
    width: 200px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    flex-direction: column;
    text-align:left;
    align-items: self-start;
    background-color: #fff;
    border: 1px solid #66666680;
    border-radius: 20px;
    padding: 6px 15px;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .date-box label {
        text-align: left;
        font-family: Fairfair_Light;
        align-items: self-start;
        font-size: 12px;
        color: #333;
    }

    .date-box-input {
        font-family: Fairfair_Regular;
        border: none;
        outline: none;
        font-size: 18px;
        color: #1DA680;
        background: none;
    }

    .date-box .date-text {
        text-align:left;
        align-items: self-start;
        font-family: Fairfair_Regular;
        font-size: 15px;
        color: black;
        text-align: left;
    }

.search-button {
    height:84px;
    background-color: #FF0000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: unset;
    margin-left: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Tour details styles */
.tour-details {
    padding: 40px 0;
    background-color: #F5F5F5;
}

.tour-container {
    display: grid;
    grid-template-columns: 40% 60% ;
  
    /* background-color: #F5F5F5;*/
}
.tour-container_bt {
    /*    display: flex;
    align-items: flex-start;*/
    max-width: 1200px;
    margin-top: 10px;
    margin-left: 10%;
    /* background-color: #F5F5F5;*/
}
.tour-image img {
    float: right; /* จัดให้รูปภาพอยู่ด้านขวา */
    width: 400px;
    border-radius: 10px;
}

.tour-info {
    margin-left: 20px;
    flex-grow: 1;
}

.tour-title {
    display: flex;
    
    gap: 10px;
}

    .tour-title .title-icon {
        position: relative;
        top: 0;
        left: 0;
        width: 28px;
        height: 28px;
    }

.tour-info h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.tour-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.tour-info h3 {
    font-size: 22px;
    color: #e74c3c;
    margin-top: 20px;
    margin-bottom: 10px;
}

.Not_Found {

    text-align:center;
    font-size: 24px;
    color: #e74c3c;
    margin-top: 20px;
    margin-bottom: 10px;
}
.strong_t {
    color: #e74c3c;
}
.tour-info ul {
    list-style: none;
    padding: 0;
}

    .tour-info ul li {
        font-size: 16px;
        color: #666;
        margin-bottom: 5px;
    }

.tour-buttons {
    margin-top: 0px;
    margin-left: 35%;
    display: flex;
    gap: 10px;
    font-size: 12px;
    font-family: Fairfair_Regular;
}

.download-button {
    font-family: Fairfair_Regular;
    background-color: #FF0000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 10px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .download-button img {
        width: 16px;
        height: 16px;
    }

.show-period-button {
    font-family: Fairfair_Regular;
    margin-left: 40%;
    background-color: #1DA680;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .show-period-button:hover {
        background-color: #159e60;
    }
/* Table styles */
.table-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FDFDFD;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}
th, td {
    padding: 12px ;
    text-align:center;
   
}
.table_div {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FDFDFD;
    text-align: center;
}
.th_color {
    background-color: #FDFDFD;
    background-color: #FDFDFD;
    border-bottom: 1px solid #ddd;
    font-family: Fairfair_Regular;
    padding: 15px;
    text-align: center;
}

.tablr_tr {
    background-color: #FDFDFD;
}
.table_td {
    background-color: #FDFDFD;
    font-family: Fairfair_Regular;
    padding: 15px;
    text-align: center;
}


td button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.status-button.full {
    background-color: #FFC0C0;
    color: #FF0000;
}

.status-button.available {
    background-color: #1DA680;
    color: #fff;
}

.status-button.full:hover {
    background-color: #FFB6B6;
}

.status-button.available:hover {
    background-color: #159e60;
}

/* Modal styles */
.modal-tour {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 120%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;   
    padding: 20px;
    border: 1px solid #888;
    width: 350px;  
    border-radius: 10px;
}

.close-button {
    color: #aaa;
    float:right;
    margin-top:-20px;
    font-size: 28px;
    font-weight: bold;
    
}

    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.modal-tour h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.modal-tour p {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.modal-tour h3 {
    font-size: 20px;
    color: #e74c3c;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-tour .form-row {
    display: flex;
    gap: 10px;
}

.modal-tour .form-group-tour {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .modal-tour .form-group-tour label {
        font-size: 14px;
        color: #333;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .modal-tour .form-group-tour input,
    .modal-tour .form-group-tour select {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 14px;
    }
.sl_tour {
    width:100%;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
#travelers {
    width:max-content;
    padding: 10px;
    border: 1px solid #ddd;
    border:none;
    font-size: 14px;
}
.modal-tour .submit-button-container {
    display: flex;
    justify-content: center; /* Center the button horizontally */
    margin-top: 20px;
}

.travelertxt {

    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.modal-tour .submit-button {
    background-color: #1DA680;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .modal-tour .submit-button:hover {
        background-color: #159e60;
    }
/* General styles */

.notification-bar {
    display: flex;
    justify-content: space-between;
    text-align: right;
    background: linear-gradient(to right, #fff4c2, #ffe8a1);
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    position: relative;
    border-radius: 20px;
    margin-left: 70%;
    max-width: 30%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .notification-bar span {
        flex-grow: 1;
    }

    .notification-bar .close-btn {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #666;
        margin-left: 10px;
        line-height: 1;
    }

        .notification-bar .close-btn:hover {
            color: #333;
        }



/* Modal styles */
.modal-tour {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}






/*.date-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

    .date-box label {
        margin-bottom: 5px;
    }

    .date-box input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }*/

.confirm-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #1DA680;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .confirm-button:hover {
        background-color: #0056b3;
    }


    /*MODEL DATE*/

/* Modal styles */
.datemodal h2 {
    font-size: 16px;
    color: #333;

}
.datemodal-body {
    padding: 0px 0;
}
.datemodal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.datemodal-header {

}
.datemodal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Adjusted to 70% width */
    max-width: 300px;
    max-height:700px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/*.calendar-container td:hover {
    background-color: #1DA680;
    color:white;
    border-radius: 25px;
}*/
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.calendar-wrap {
    text-align: center;
}

 .table_date_dot {
    font-size: 16px;
}
.table_date_h {
    font-family: Fairfair_Bold;
    font-size: 16px;

}
.table_date {
    font-size: 16px;
    text-align: center;
}


.left-arrow, .right-arrow {
    font-size: 2.5rem;
    cursor: pointer;
    color: #1DA680;
}

.month-container {
    flex-grow: 1;
    text-align: center;
}

.month-name {
    font-size: 18px;
    font-weight: bold;
}

.calendar {
    height: 210px;
    border-collapse: collapse;
}

.day-title div {

    font-weight: bold;
    border: 1px solid #ddd;
}





.button_t_v {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #1DA680;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

    .button_t_v:hover {
        background-color: #148c59;
    }

.calend {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.date-box .icon-calendar img {
    width: 20px;
    height: 20px;
}


.grid-container {
    display: grid;
    grid-template-columns: auto auto ;
  
}
.grid-item {
    font-family: Fairfair_Regular;
    font-size: 20px;
    text-align: left;
}
.red_star {
    color: red;
}

.th_calendar{
  
}
.h-bor {
   
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 2px solid #1DA680;
    border-bottom: 2px solid #1DA680;
    color: #000000;
}
.h-bor_t {
    margin-right: -10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 2px solid #1DA680;
    border-bottom: 2px solid #1DA680;
    color: #000000;
}
.gary{
    color:gray;
}
.red_date {
    color: red;
}
.red_date {
    color: #E04744;
}
.dot_t {
    height: 6px;
    width: 6px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background-color: #E04744;
}
.l-bor {
    
     border-radius: 20px 0px 0px 20px;
    border-left: 2px solid #1DA680;
}
.th_t {
    padding: 15px;
    text-align: left;
}

.r-bor {
    border-radius: 0px 20px 20px 0px;
    border-right: 2px solid #1DA680;
}
.day-title {

}
.span_text{
    padding-top:20px;
   
}
/* Media Queries for Mobile Responsiveness */
/*@media (max-width: 768px) {
    * {
        touch-action: manipulation;
    }
    .search-container-p {
        flex-direction: column;
    }

    .search-box-tour,
    .date-box,
    .search-button {
        margin-left:unset;
        width: 100%;
        margin-top:15px;
        margin-bottom: 10px;
    }
        .date-box input {
            display: block;
        }
        .travel-options .travel-cards {
            flex-direction: column;
        }

    .package-tours .package-cards {
        flex-direction: column;
    }

    .tour-container {
        flex-direction: column;
        padding: unset;
        margin: unset;
    }

    .tour-image {
        width: 100%;
        margin-bottom: 20px;
    }
        .tour-image img {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 90%;
        }
    .tour-details {
        padding: unset;
        background-color: #F5F5F5;
    }

    .tour-container {
        margin: unset;
    
    }

    .tour-info {
        margin-left: 5px;
        flex-grow: 1;
    }

    .show-period-button {
        margin-left: 20%;
        background-color: #1DA680;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .notification-bar {
        display: flex;
        justify-content: space-between;
        text-align: right;
        background: linear-gradient(to right, #fff4c2, #ffe8a1);
        font-size: 16px;
        color: #333;
        position: relative;
        border-radius: 20px;
        margin-left: 25%;
        max-width: 60%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .modal-content-tour {
        flex-direction: column;
        width: 90%;
    }
    .modal-tour-content {
        flex-direction: column;
        width: 800px;
    }
    
    .form-row {
        flex-direction: column;
    }

    .table {
        border-collapse: collapse;
    }

    .table-container {
        font-size: 9px;
        padding: 0px;
    }

    .datemodal {
        display: flex;
        margin: unset;*/ /* 15% from the top and centered */
        /*padding: unset;
        width: 100%;*/ /* Could be more or less, depending on screen size */
    /*}
    .modal-tour {
        display: flex;
        margin: unset;*/ /* 15% from the top and centered */
        /*padding: unset;
        width: 100%;*/ /* Could be more or less, depending on screen size */
    /*}

    nav {
        flex-direction: column;
        font-size: 9px;
    }

    .nave_active {
        display: none;
    }

    .user_profile {
        display: none;
    }

    .notification-bar {
        display: none;
    }

    .date2 {*/
        /* margin-left: -15px;*/
        /*display: block;
    }

    .date1 {*/
        /* margin-left: -55px;*/
        /*display: block;
    }

    .search-box-tour {
        height: unset;
    }

    .footer-container {
        flex-direction: column;
    }

    .show-period-button {
        margin-right: 4px;
    }

    .search-box-tour {
        margin-left: -2px;
    }

    .date-box {
        margin-left: -2px;
    }

    .search-button {
        margin-left: -2px;
    }
    .datemodal-content {
        flex-direction: column;
  
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
    .datemodal-body {
        flex-direction: column;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
    #query {
        font-size: 12px;
    }
    .tour-buttons {
        margin-top: 0px;
        margin-left: 0%;
        display: flex;
        gap: 10px;
    }
}*/



.aBusDepartureTest {
    text-decoration: none;
    font-size: 16px;
    color:black
}
.body_txt {
    font-family: Fairfair_Bold;
    font-size: 24px;
    color: dodgerblue;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.dropdown-input-mf {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    bottom: 100%; /* Position above the input */
    margin-bottom: 5px; /* Optional: space between input and dropdown */
    max-height: 200px; /* Approximate height for 5 items */
    overflow-y: scroll;
    overflow-x: hidden;
}

    .dropdown-content a {
        color: black;
        width: 100%;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.dropdown-content-mf {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    bottom: 100%; /* Position above the input */
    margin-bottom: 5px; /* Optional: space between input and dropdown */
    max-height: 200px; /* Approximate height for 5 items */
    overflow-y: scroll;
    overflow-x: hidden;
}

    .dropdown-content-mf a {
        color: black;
        width: 100%;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content-mf a:hover {
            background-color: #f1f1f1;
        }

/*Large devices (desktops, less than 75em(1200px)) IPAD PRO*/
@media only screen and (max-width: 74.9em) {
    * {
        touch-action: manipulation;
    }

    .search-container-p {
        flex-direction: column;
    }
    .Country button {
        font-size: 9px;
        margin-right: 10px;
        background-color: #1DA680;
        width: auto;
    }
    .search-box-tour,
    .date-box,
    .search-button {
        margin-left: unset;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 10px;
    }

        .date-box input {
            display: block;
        }

    .travel-options .travel-cards {
        flex-direction: column;
    }

    .package-tours .package-cards {
        flex-direction: column;
    }

    .tour-container {
        flex-direction: column;
        padding: unset;
        margin: unset;
    }

    .tour-image {
        width: 100%;
        margin-bottom: 20px;
    }

        .tour-image img {
            float: unset;
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 90%;
        }

    .tour-details {
        padding: unset;
        background-color: #F5F5F5;
    }

    .tour-container {
        margin: unset;
    }

    .tour-info {
        margin-left: 5px;
        flex-grow: 1;
    }

    .show-period-button {
        margin-left: auto;
        background-color: #1DA680;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .notification-bar {
        display: flex;
        justify-content: space-between;
        text-align: right;
        background: linear-gradient(to right, #fff4c2, #ffe8a1);
        font-size: 16px;
        color: #333;
        position: relative;
        border-radius: 20px;
        margin-left: 25%;
        max-width: 60%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .modal-content-tour {
        flex-direction: column;
        width: 90%;
        margin-top: 20%;
    }

    .modal-tour-content {
        flex-direction: column;
        width: 800px;
    }

    .form-row {
        flex-direction: column;
    }

    .table {
        border-collapse: collapse;
    }

    .table-container {
        font-size: 9px;
        padding: 0px;
    }

    .datemodal {
        display: flex;
        margin: unset; /* 15% from the top and centered */
        padding: unset;
        width: 100%; /* Could be more or less, depending on screen size */
    }

    .modal-tour {
        display: flex;
        margin: unset; /* 15% from the top and centered */
        padding: unset;
        width: 100%; /* Could be more or less, depending on screen size */
    }

    nav {
        flex-direction: column;
        font-size: 9px;
    }

    .nave_active {
        display: none;
    }

    .user_profile {
        display: none;
    }

    .notification-bar {
        display: none;
    }

    .date2 {
        /* margin-left: -15px;*/
        display: block;
    }

    .date1 {
        /* margin-left: -55px;*/
        display: block;
    }



    .footer-container {
        flex-direction: column;
    }

    .show-period-button {
        margin-right: 4px;
    }


    .date-box {
        margin-left: -2px;
    }

    .search-button {
        margin-left: -2px;
    }

    .datemodal-content {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .datemodal-body {
        flex-direction: column;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    #query {
        font-size: 12px;
    }

    .tour-buttons {
        margin-top: 0px;
        margin-left: 0%;
        display: flex;
        gap: 10px;
    }
}

/*Medium devices (tablets, less than 62em(992px))*/

@media only screen and (max-width: 61.9em) {
    * {
        touch-action: manipulation;
    }
    .container_t {
        margin-top: 50px;
    }
    .Country button {
        font-size: 9px;
        margin-right: 10px;
        background-color: #1DA680;
        width: auto;
    }
    .search-container-p {
        flex-direction: column;
        padding-left: 2px;
    }

    .search-box-tour,
    .date-box,
    .search-button {
        margin-left: 2px;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 10px;
    }

        .date-box input {
            display: block;
        }

    .travel-options .travel-cards {
        flex-direction: column;
    }

    .package-tours .package-cards {
        flex-direction: column;
    }

    .tour-container {
        flex-direction: column;
        padding: unset;
        margin: unset;
    }

    .tour-image {
        width: 100%;
        margin-bottom: 20px;
    }

        .tour-image img {
            float: unset;
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 90%;
        }

    .tour-details {
        padding: unset;
        background-color: #F5F5F5;
    }

    .tour-container {
        margin: unset;
    }

    .tour-info {
        margin-left: 5px;
        flex-grow: 1;
    }

    .show-period-button {
        margin-left: auto;
        background-color: #1DA680;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .notification-bar {
        display: flex;
        justify-content: space-between;
        text-align: right;
        background: linear-gradient(to right, #fff4c2, #ffe8a1);
        font-size: 16px;
        color: #333;
        position: relative;
        border-radius: 20px;
        margin-left: 25%;
        max-width: 60%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .modal-content-tour {
        flex-direction: column;
        margin-top: 20%;
        width: 90%;
    }

    .modal-tour-content {
        flex-direction: column;
        width: 800px;
    }

    .form-row {
        flex-direction: column;
    }

    .table {
        border-collapse: collapse;
    }

    .table-container {
        font-size: 9px;
        padding: 0px;
    }

    .datemodal {
        display: flex;
        margin: unset; /* 15% from the top and centered */
        padding: unset;
        width: 100%; /* Could be more or less, depending on screen size */
    }

    .modal-tour {
        display: flex;
        margin: unset; /* 15% from the top and centered */
        padding: unset;
        width: 100%; /* Could be more or less, depending on screen size */
    }

    nav {
        flex-direction: column;
        font-size: 9px;
    }

    .nave_active {
        display: none;
    }

    .user_profile {
        display: none;
    }

    .notification-bar {
        display: none;
    }

    .date2 {
        /* margin-left: -15px;*/
        display: block;
    }

    .date1 {
        /* margin-left: -55px;*/
        display: block;
    }



    .footer-container {
        flex-direction: column;
    }

    .show-period-button {
        margin-right: 4px;
    }


    .date-box {
        margin-left: -2px;
    }

    .search-button {
        margin-left: -2px;
    }

    .datemodal-content {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .datemodal-body {
        flex-direction: column;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    #query {
        font-size: 12px;
    }

    .tour-buttons {
        margin-top: 0px;
        margin-left: 0%;
        display: flex;
        gap: 10px;
    }
}
/*Small devices (landscape phones, less than 48em(768px))*/
@media only screen and (max-width: 47.9em) {
    * {
        touch-action: manipulation;
    
       
    }
    .container_t {
       margin-top:50px;
    }
    .Country {
        gap: 1px;
    }
        .Country button {
            font-size: 8px;
            padding: 8px 16px;
            margin-right: 2px;
            background-color: #1DA680;
            width: auto;
        }
    .search-container-p {
        flex-direction: column;
        padding-left:2px;
    }
    .ct_tag {
        flex-direction:row;
        margin:4px 4px 4px 4px;

    }
    .search-box-tour,
    .date-box,
    .search-button {
        
        margin-left: unset;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 10px;
    }

        .date-box input {
            display: block;
        }

    .travel-options .travel-cards {
        flex-direction: column;
    }

    .package-tours .package-cards {
        flex-direction: column;
    }

    .tour-container {
        flex-direction: column;
        padding: unset;
        margin: unset;
    }

    .tour-image {
        width: 100%;
        margin-bottom: 20px;
    }

        .tour-image img {
            float: unset;
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 90%;
        }

    .tour-details {
        padding: unset;
        background-color: #F5F5F5;
    }

    .tour-container {
        margin: unset;
        display: flex; /* เปลี่ยนเป็น Flexbox */
        flex-direction: column; /* แสดงไอเท็มในแนวตั้ง */
        gap: 10px; /* ปรับระยะห่าง */
    }

    .tour-info {
        margin-left: 5px;
        flex-grow: 1;
    }

    .show-period-button {
        margin-left: 20%;
        background-color: #1DA680;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .notification-bar {
        display: flex;
        justify-content: space-between;
        text-align: right;
        background: linear-gradient(to right, #fff4c2, #ffe8a1);
        font-size: 16px;
        color: #333;
        position: relative;
        border-radius: 20px;
        margin-left: 25%;
        max-width: 60%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .modal-content-tour {
        flex-direction: column;
        margin-top: 20%;
        width: 90%;
    }

    .modal-tour-content {
        flex-direction: column;
        width: 800px;
    }

    .form-row {
        flex-direction: column;
    }

    .table {
        border-collapse: collapse;
    }
    .tr_1 {
        font-size: 8px;
        padding: 0px;
    }
    .status-button {
        font-size: 8px;
    }
    .confirmTravel {
        font-size: 8px;
        padding: 0px;
    }
    .table-container {
        font-size: 8px;
        padding: 0px;
    }

    .datemodal {
        display: flex;
        margin: unset; /* 15% from the top and centered */
        padding: unset;
        width: 100%; /* Could be more or less, depending on screen size */
    }

    .modal-tour {
        display: flex;
        margin: unset; /* 15% from the top and centered */
        padding: unset;
        width: 100%; /* Could be more or less, depending on screen size */
    }

    nav {
        flex-direction: column;
        font-size: 9px;
    }

    .nave_active {
        display: none;
    }

    .user_profile {
        display: none;
    }

    .notification-bar {
        display: none;
    }

    .date2 {
        /* margin-left: -15px;*/
        display: block;
    }

    .date1 {
        /* margin-left: -55px;*/
        display: block;
    }

    .search-box-tour {
        height: unset;
    }

    .footer-container {
        flex-direction: column;
    }

    .show-period-button {
        margin-right: 4px;
    }

    .search-box-tour {
        margin-left: -2px;
    }

    .date-box {
        margin-left: -2px;
    }

    .search-button {
        margin-left: -2px;
    }

    .datemodal-content {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .datemodal-body {
        flex-direction: column;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    #query {
        font-size: 12px;
    }

    .tour-buttons {
        margin-top: 0px;
        margin-left: 0%;
        display: flex;
        gap: 10px;
    }
    
}
