/*----------responsive menu------------*/
.body {
    position: relative;
}

.search-text {
    line-height: 40px;
    margin-right: 15px;
}

.header-text {
    color: var(--bs-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--header-item-font-size);
}

.header-item .list-inline p {
    font-size: var(--header-item-font-size);
    margin: 0;
}

.btn-search-icon {
    color: var(--bs-white);
    background-color: var(--bs-primary);
}

.header-days-list {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    background-color: var(--bs-secondary);
    border: 2px solid var(--bs-white);
    border-radius: 15px;
    width: 100%;
    margin: 18px 0px 18px 0px;
}

.header-days-list li a {
    color: var(--bs-white);
    text-transform: uppercase;
    font-weight: 600;
}

.header-days-list li {
    width: 100%;
    height: 45px;
    position: relative;
    line-height: 45px;
}

.list-inline-item.active {
    background-color: var(--bs-primary);
    border-radius: 16px;
}

.header-days-list .list-inline-item:hover {
    background-color: var(--bs-primary);
    border-radius: 16px;
}

.first-row {
    justify-content: center;
}

.second-row {
    justify-content: space-between;
}

@media only screen and (min-width: 1200px) {
    
    .header-container.first-row {
        display: grid;
        grid-template-columns: auto auto auto;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 24px;
    }
    
    .header-container.second-row {
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 24px;
    }
}



@media only screen and (max-width: 1200px) {
    
    .header-container.first-row {
        grid-template-columns: 1fr auto 1fr !important;
        gap: 20px;
        display: grid;
        font-size: 10px;
        align-items: center;
    }
    .second-row {
        justify-content: space-between;
        margin-top: 0 !important;
        display: flex;
        flex-direction: unset;
        align-items: center;
    }
}

@media only screen and (max-width: 1199px) {
    .nav-main {
        position: absolute;
        z-index: 999;
        background-color: white;
        width: 100%;
        height: 100%;
        left: 0;
        padding-top: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .header-container.first-row {
        grid-template-columns: auto !important;
        gap: 0px 20px;
        grid-template-rows: 40px 40px;
        display: grid;
        font-size: 10px;
    }
    
    .header-container .header-item {
        text-align: right;
    }

    .second-row {
        padding-top: 40px;
    }
    .header-container.first-row .header-item:nth-child(1) div:nth-child(1) {
        order: 2;
    }

    .header-container.first-row .header-item:nth-child(2) {
        order: 1;
        grid-row: 1/3;
    }

    .header-container.first-row .header-item:nth-child(3) {
        order: 3;
        grid-row: 2/3;
    }
}

@media only screen and (max-width:598px) {
    .second-row {
        display: flex;
        flex-direction: column;
        align-items: unset;
    }
    
    .header-container .header-item {
        text-align:center ;
    }

    .header-item {
        order: 1;
    }

    .header-item.left {
        order: 2;
    }

    .header-item.right {
        order: 1;
    }
}

@media only screen and (max-width:430px) {
    .list-inline-item a {
        font-size: var(--h5-font-size);
    }
}

@media only screen and (max-width:392px) {
    p.header-text {
        font-size: var(--r-header-item-font-size);
        width: 100px;
        overflow-wrap: break-word;
        margin-top: 15px;
    }
}