﻿#page .same-tour-area .same-tour-area-head,
#page .tour-group .tour-group-head,
#page .hotels .hotels-head,
#page .hotels .choose-city,
#page .visa .visa-head,
#page .tourism .tourism-head {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: space-between;
    width: 100%;
}

.same-tour-area,
.destinations,
.tour-group,
.hotels,
.banners,
.visa,
.tourism,
.why-tripall-head,
.footer-content-area,
#page {
    width: 75% !important;
    margin: auto;
}

p {
    margin: 0px !important;
}


#page *,
#page *:before,
#page *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .title-container h3 {
        display: inline;
        margin: 0px 10px;
        font-size: 16px;
    }

/*---------------------------page title--------------------------*/

.page-title-area {
    background-color: var(--first-color);
    text-align: center;
    padding: 10px 0px;
}

    .page-title-area .page-title-road {
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .page-title-area .page-title h1 {
        margin: 8px;
        color: white;
    }


/*---------------------------#page setting--------------------------*/

#page {
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: start;
    color: #000 !important;
    padding: 0px;
    line-height: 30px;
}

    #page article {
        grid-column: 2 / 3;
        padding: 0px 5px 0px 0px;
    }

    #page aside {
        grid-column: 1 / 2;
        height: fit-content;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0px 0px 0px 5px;
    }

section {
    height: fit-content;
    padding: 0px;
}


button, input, input::placeholder, textarea {
    font-size: 14px !important;
}


/*--------------------------sidebar--------------------------*/

.sidebar-item {
    width: 100%;
    border-radius: 7px;
    border: none;
    padding: 0px;
    box-shadow: 0px 0px 1px var(--caption-color);
    background-color: white;
    overflow: hidden;
}

/*--------------------------sidebar - search box--------------------------*/
#page .search-input {
    position: relative;
    outline: none;
    overflow: hidden;
    height: 45px;
    user-select: none;
}

    #page .search-input input {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        padding-right: 10px;
        overflow: hidden;
    }

        #page .search-input input::placeholder {
            font-family: vazir;
            color: var(--border-first-color);
        }

    #page .search-input .icon {
        position: absolute;
        height: 35px;
        width: 35px;
        top: 5px;
        left: 5px;
        background-color: var(--second-color);
        border-radius: 7px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        #page .search-input .icon:hover {
            cursor: pointer;
        }

        #page .search-input .icon:active {
            filter: brightness(0.9);
        }


/*--------------------------sidebar - filter box -and- sorted by --------------------------*/

.filter-boxs {
    padding-top: 0px;
}

:is(.filter-boxs, .sorted-by) {
    padding: 10px;
    font-size: 14px;
}

    :is(.filter-boxs, .sorted-by) hr {
        border: 1px solid var(--border-first-color);
        margin: 15px auto;
        opacity: 0.3;
        border-radius: 10px;
    }

    :is(.filter-boxs, .sorted-by) .titr {
        display: flex;
        gap: 7px;
        font-size: 14px;
        align-items: center;
        font-weight: bold;
        color: var(--font-color);
        margin-bottom: 5px;
    }

    :is(.filter-boxs, .sorted-by) .content {
        margin: 5px 0px;
    }

        :is(.filter-boxs, .sorted-by) .content .checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
        }

.filter-boxs .checkboxs .checkbox label {
    user-select: none;
    cursor: pointer;
}

:is(.filter-boxs, .sorted-by) .content .checkbox input {
    accent-color: hsl(var(--second-color-hs) calc(var(--second-color-l) - 6%));
    mix-blend-mode: multiply;
    -webkit-appearance: checkbox;
    width: unset;
    cursor: pointer;
    transform: scale(1.25);
}

.filter-boxs .checkboxs .checkbox.filter-star label {
    color: #FFC107;
    display: flex;
    font-size: 15px;
}

.sorted-by {
    padding-bottom: 0px;
}

    .sorted-by .content {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .sorted-by .content button {
            background-color: #f3f3f3;
            color: var(--font-color);
            border-radius: 25px;
            border: none;
            padding: 5px 10px;
            width: fit-content;
            font-family: inherit;
            transition: 0.2s;
        }

            .sorted-by .content button:hover {
                cursor: pointer;
            }

            .sorted-by .content button.active {
                background-color: var(--second-color);
                color: white;
            }

.filter-boxs .more a {
    text-decoration: underline !important;
}

input[type="checkbox"] {
    transform: scale(1.5); /* تغییر اندازه با استفاده از ترانسفورم */
}

/*--------------------------sidebar - banner--------------------------*/

#page section#banner {
    display: inline-flex;
}

#page .sidebar-banner a,
#page .sidebar-banner {
    display: inline-flex;
    height: 100%;
}

    #page .sidebar-banner a {
        height: fit-content !important;
    }

    #page .sidebar-banner img {
        width: 100%;
        height: 100%;
        border-radius: 7px;
        box-shadow: 0px 0px 1px var(--caption-color);
    }

/*--------------------------sidebar - related cities--------------------------*/

#page .related-cities {
    padding: 10px 10px 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

    #page .related-cities .title {
        font-size: 14px;
        display: flex;
        align-items: center;
        width: 100%;
        gap: 7px;
        color: #52575C;
    }

    #page .related-cities .content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 15px;
        padding: 0px 15px;
    }

        #page .related-cities .content .item {
            box-shadow: 0px 0px 1px var(--caption-color);
            width: 100%;
            border-radius: 7px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 7px 10px;
            font-size: 13px;
            color: var(--caption-color);
            transition: 0.2s;
        }

            #page .related-cities .content .item:hover {
                color: var(--second-color);
                cursor: pointer;
                box-shadow: 0px 0px 2px var(--second-color);
            }


            #page .related-cities .content .item span {
                font-size: 14px;
            }

/*----------------------------article - banner ---------------------------------*/

#page .content-banner {
    width: 100%;
    border-radius: 7px;
    height: fit-content;
}

    #page .content-banner img {
        width: 100%;
        border-radius: 7px;
        height: auto;
        transition: 0.2s;
        object-fit: cover;
        object-position: right;
    }

        #page .content-banner img:hover {
            box-shadow: 0px 0px 5px rgb(206, 206, 206);
        }

/*----------------------------article - hotel cards ---------------------------------*/

#page article .hotel-cards {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
}

    #page article .hotel-cards .hotel-card {
        width: 100%;
        border-radius: 7px;
        border: none;
        padding: 0px;
        box-shadow: 0px 0px 1px var(--caption-color);
        background-color: white;
        overflow: hidden;
        transition: 0.2s;
    }

        #page article .hotel-cards .hotel-card:hover {
            box-shadow: 0px 0px 5px rgb(206, 206, 206);
        }

        #page article .hotel-cards .hotel-card .title h3 {
            transition: 0.15s;
        }

        #page article .hotel-cards .hotel-card:hover .title h3 {
            color: var(--second-color) !important;
        }

        #page article .hotel-cards .hotel-card .hotel-card-content {
            width: 100%;
            height: 100%;
            padding: 10px;
            display: flex;
            gap: 10px;
        }

            #page article .hotel-cards .hotel-card .hotel-card-content .img {
                border-radius: 7px;
                width: 35%;
                aspect-ratio: 3/1.9;
            }

                #page article .hotel-cards .hotel-card .hotel-card-content .img img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

            #page article .hotel-cards .hotel-card .hotel-card-content .details {
                width: 65%;
                display: flex;
                flex-direction: column;
                row-gap: 10px;
            }

            #page article .hotel-cards .hotel-card .hotel-card-content .content {
                display: flex;
                justify-content: space-between;
                width: 100%;
                flex: 1;
                align-items: end;
            }

                #page article .hotel-cards .hotel-card .hotel-card-content .content .text {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-self: end;
                }

            #page article .hotel-cards .hotel-card .hotel-card-content .title {
                font-size: 16px;
                width: 100%;
            }

            #page article .hotel-cards .hotel-card .hotel-card-content .stars {
                font-size: 15px;
                color: #FFC107;
                display: flex;
                margin-top: 1rem;
            }

            #page article .hotel-cards .hotel-card .hotel-card-content .content .text .hotel-details {
                font-size: 14px;
            }
            #page article .hotel-cards .hotel-card .hotel-card-content .content .text .hotel-details .value {
                color : #52575C;
            }



            #page article .hotel-cards .hotel-card .hotel-card-content .content .text .tags {
                display: flex;
                align-items: center;
                gap: 7px;
                margin: 5px 0px 0px 0px;
            }

                #page article .hotel-cards .hotel-card .hotel-card-content .content .text .tags span {
                    padding: 0px 10px;
                    border-radius: 25px;
                    background-color: rgba(84, 186, 29, 0.08);
                    color: #54BA1D;
                    font-size: 12px;
                    transition: 0.15s;
                }

            #page article .hotel-cards .hotel-card .hotel-card-content .content .price {
                align-self: flex-end;
                display: flex;
                flex-direction: column;
                gap: 7px;
            }

                #page article .hotel-cards .hotel-card .hotel-card-content .content .price .value {
                    font-size: 14px;
                    display: flex;
                    flex-direction: column;
                    text-align: center;
                    line-height: 25px;
                }

                #page article .hotel-cards .hotel-card .hotel-card-content .content .price .button {
                    margin: 5px auto;
                }

                #page article .hotel-cards .hotel-card .hotel-card-content .content .price .button a {
                    font-family: vazir;
                    color: white;
                    background-color: var(--second-color);
                    border-radius: 7px;
                    padding: 8px 10px;
                    border: none;
                    transition: 0.15s;
                    white-space: nowrap;
                }

                #page article .hotel-cards .hotel-card .hotel-card-content .content .price .button:hover a {
                    cursor: pointer;
                    box-shadow: 0px 0px 5px rgb(162, 162, 162);
                }

/*----------------------------description---------------------------------*/
.description-area .description {
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    background-color: white;
    box-shadow: 0px 0px 1px var(--caption-color);
}

    .description-area .description .content {
        padding: 15px;
    }

        .description-area .description .content .description-text {
            margin: 0px;
            transition: 0.4s;
        }

            .description-area .description .content .description-text.close {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 7;
            }

            .description-area .description .content .description-text.open {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: unset;
            }

.modal-dialog {
    max-width: unset;
    width: 70%;
    max-height: unset;
}

    .modal-dialog .modal-content {
        aspect-ratio: 2/1.2;
    }

        .modal-dialog .modal-content iframe {
            width: 100% !important;
            height: 100% !important;
            border: none !important;
            border-radius: 8px !important;
        }

@media screen and (max-width: 1280px) {
    #page {
        width: 95% !important;
    }
}


@media screen and (max-width: 500px) {
    #page section {
        margin: 25px auto;
        width: 100% !important;
    }

    /*=============#page setting==============*/

    #page {
        flex-direction: column;
        width: 95% !important;
        grid-template-columns: 1fr;
        margin: 0px auto !important;
    }

    aside {
        width: 100%;
    }


    article {
        grid-column: 1/3 !important;
        padding: 0px 10px !important;
    }

    #page #bottomOfContent {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /*=============filter buttons==============*/

    #page .filter-buttons {
        display: flex;
        justify-content: space-between;
    }

        #page .filter-buttons button {
            width: 30%;
            border-radius: 8px !important;
            padding: 5px 0 !important;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 9px;
        }

            #page .filter-buttons button .circle-warning {
                position: absolute;
                top: 23%;
                left: 5%;
            }

            #page .filter-buttons button .icon {
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background-color: white;
                display: flex;
                align-items: center;
                justify-content: center;
            }


    /*=============search input==============*/
    #page .search-input {
        margin: 15px 0px;
    }

    /*=========filter box=========*/

    #page aside {
        overflow: auto;
    }

    .filter-boxs {
        width: 100%;
        height: fit-content;
        position: fixed;
        top: 100vh;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 1000;
        transition: 0.4s ease-in-out;
        padding: 0px;
        background-color: var(--body-color);
        line-height: 27px;
        border-radius: 10px 10px 0px 0px;
    }

        .filter-boxs.active {
            top: 45%;
        }

        .filter-boxs .filter-boxs-content {
            padding: 10px;
            border-radius: 10px 10px 0px 0px;
        }

        .filter-boxs .title {
            display: flex !important;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            margin-top: 6px;
        }

            .filter-boxs .title .icon {
                color: var(--first-color);
            }

            .filter-boxs .title .text span {
                font-size: 14px !important;
            }

        .filter-boxs .checkboxs {
            display: grid;
            grid-template-columns: auto auto;
            padding-right: 20px;
        }

            .filter-boxs .checkboxs .checkbox {
                width: fit-content;
            }

                .filter-boxs .checkboxs .checkbox label {
                    font-size: 13px;
                    user-select: none;
                }

    input[type="checkbox"] {
        transform: scale(1.2); /* تغییر اندازه با استفاده از ترانسفورم */
        margin: 2px;
    }

    .filter-boxs .submit-btn button {
        width: 100%;
        padding: 15px 0px;
        background-color: var(--second-color);
        border-radius: 7px;
        color: white;
        border: none;
        font-family: inherit;
    }

    /*=============sorted by==============*/

    .sorted-by {
        width: 100%;
        height: fit-content;
        position: fixed;
        top: 100vh;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 1000;
        transition: 0.4s ease-in-out;
        background-color: var(--body-color);
        overflow: auto !important;
        padding: 15px 10px;
        border-radius: 10px 10px 0px 0px;
    }

        .sorted-by.active {
            top: 60%;
        }

        .sorted-by .titr {
            color: var(--first-color) !important;
        }

            .sorted-by .titr p {
                font-size: 14px !important;
            }

        .sorted-by .content {
            padding: 10px;
            margin: 0px;
            gap: 10px;
        }

            .sorted-by .content button {
                background-color: hsl(var(--first-color-hsl-light));
                width: 100%;
                border-radius: 10px;
                padding: 18px 0px;
                color: var(--first-color);
            }

                .sorted-by .content button.active {
                    background-color: var(--first-color);
                }

    /* ============ article - hotel cards ============= */

    #page article .hotel-cards .hotel-card .hotel-card-content {
        flex-direction: column;
        gap: 10px;
    }

    /*============= content - banner ==============*/

    #page .content-banner img {
        height: 70px;
    }

    /*============= content - hotel cards ==============*/

    #page article .hotel-cards .hotel-card .hotel-card-content .title {
        text-align: right;
    }

        #page article .hotel-cards .hotel-card .hotel-card-content .title .stars {
            justify-content: flex-start;
        }

    #page article .hotel-cards .hotel-card .hotel-card-content .content {
        width: 100%;
    }

        #page article .hotel-cards .hotel-card .hotel-card-content .content .text {
            width: 60%;
        }

        #page article .hotel-cards .hotel-card .hotel-card-content .content .tags span {
            font-size: 11px !important;
        }

        #page article .hotel-cards .hotel-card .hotel-card-content .content .price .button button {
            font-size: 12px;
        }

    #page article .hotel-cards .hotel-card .hotel-card-content .img,
    #page article .hotel-cards .hotel-card .hotel-card-content .details {
        width: 100%;
    }
}
/*--------------------------sidebar - reservation request--------------------------*/

#page .reservation-request {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 10px;
}

    #page .reservation-request .search-tour-input {
        padding: 0px 10px;
    }

    #page .reservation-request .icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--second-color);
        color: white;
        font-size: 17px;
        margin: auto;
    }

    #page .reservation-request .search-input {
        position: relative;
        outline: none;
        overflow: hidden;
        height: 45px;
        user-select: none;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }


        #page .reservation-request .search-input input {
            width: 100%;
            height: 100%;
            border: none;
            outline: none;
            padding-right: 10px;
            overflow: hidden;
            border-radius: 5px;
            background-color: var(--bg-font-color) !important;
        }

            #page .reservation-request .search-input input::placeholder {
                font-family: vazir;
                color: var(--border-first-color);
            }

        #page .reservation-request .search-input .icon-input {
            position: absolute;
            height: 35px;
            width: 45px;
            background-color: var(--second-color);
            border: none;
            border-radius: 7px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            top: 50%;
            left: 13px;
            transform: translate(-4%, -50%);
        }

        #page .reservation-request .search-input .icon:hover {
            cursor: pointer;
        }

        #page .reservation-request .search-input .icon:active {
            filter: brightness(0.9);
        }