@media (max-width:1350px) {
.p_items{
   padding: 50px 20px 0 20px;
   font-size: 14px;
   flex-wrap: wrap;
}
}
@media (max-width:1280px) {
    .start-nav {
        display: block;
    }


    .main-navi {
        display: none;
    }




    .user_container {}

    .lan {
        margin-left: auto;
    }


    .start-nav {
        width: 30px;
        height: 30px;
        text-align: center;
        cursor: pointer;
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 15px;
        font-size: 30px;
        color: #fff;

    }

    .responsive-nav img {
        font-size: 25px;
        color: #fff;
    }

    .panel {

        z-index: 19000;
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 250px;
        top: 130px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        -moz-backdrop-filter: blur(15px);
        background-color: rgba(51, 32, 26, .65);

        height: auto;
        padding-bottom: 30px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        right: -100%;
        transition: all .2s ease;
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
        -o-transition: all .2s ease
    }

    .pan2 {
        top: 45px;
    }


    .sFlex {
        display: flex;
        align-items: center;
        justify-content: center
    }

    .search-close {
        height: 15px;
        cursor: pointer;
        margin-left: 40px
    }


    .panelVis {
        right: 0;
        transition: .5s ease;
        -webkit-transition: .8s ease;
        -moz-transition: .8s ease;
        -ms-transition: .8s ease;
        -o-transition: .8s ease;
        overflow-y: scroll;
        overflow-x: hidden
    }

    .flex-nav {
        display: flex;
        color: #fff;
        flex-direction: column;
        margin-top: 15px;
        flex-wrap: wrap;
        width: 200px;

    }

    .flex-nav>div {
        width: 100%;
    }

    .p2 {
        margin-bottom: 35px;
    }

    .closeP {
        height: 40px;
        cursor: pointer;
        margin-top: 10px
    }

    .m-navi {
        order: 1;
        width: 340px;
    }

    .mid-navi {
        margin: 0 0;
        line-height: 1.9em;
        height: auto;
        font-size: .9em;
        font-weight: 500;
        padding-top: 15px;
        order: 2
    }



    .panel ul {
        display: flex;
        margin: 0 !important;
        padding: 0;
        width: 100% !important;
        flex-direction: column;


    }


    .rNav li {
        margin: 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #ddd;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;

    }

    .rNav li a {
        color: #fff;
        text-decoration: none;
        font-weight: 300;
        display: flex;
        width: 100% !important;
        padding: 15px 0;
        text-align: left;

    }


    .infoIcon {
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        margin-right: 0;

        margin-bottom: 10px;
    }

    .infoIcon span {
        background-color: #fff;
        width: 35px;
        height: 35px;
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        margin-right: 10px;
        border-radius: 5px;
        color: #58382D !important;

    }

    .infoIcon span a {
        color: #58382D !important;
    }

    .infoIcon>div a {
        color: #fff !important;
    }

    .infoIcon h5 {
        font-weight: 400;
        font-size: 14px;
        margin: 0 0 0 0;
        color: #fff !important;
        text-align: left;
        padding: 0;
        line-height: 14px;
    }

    .infoIcon img {
        width: 15px;
    }

    .mainRole {}

    .mainRole img {
        height: 15px;
        margin-right: 10px;
        margin-top: 5px !important;
    }

    .subRole li {
        border-bottom: 1px solid #ddd;
    }

    .subRole li a {
        font-size: .9em !important;
        font-weight: 400
    }

    .rNav li :hover a {
        color: #fff !important;
        text-decoration: none
    }




    .rwdMore {
        width: 40px !important;
        overflow: hidden;

        cursor: pointer;
        margin-left: auto;
        text-align: right;

        color: #000;

    }


    .subRole {
        height: 0;
        overflow: hidden
    }

    .shown {
        height: auto;
        margin-bottom: 1.2em
    }

    .subRole a {
        font-weight: 300;
        padding-left: 10px;
        font-size: 1em !important;
        color: #000 !important
    }

    .finRole a {
        font-weight: 300;
        padding-left: 20px
    }

    .extra_item {
        width: 100%;
        padding: 80px 0%;

    }

    .quaters {
        padding: 0 0 45px 0;
    }

}

@media (max-width:980px) {
   
    .extra_item {
        flex-direction: column;
        padding: 0;
        display: block;
    }
    .p_items{
        align-items: flex-start;
        justify-content: space-between;
    }
    .p_item{
    flex-basis: 31%;
    margin-bottom: 15px;
    text-align: center;

    line-height: 18px;

}

    .extra_img {
flex-basis: 100%;
        height: 350px !important;
        width: 100%;
        position: relative;
    }

    .extra_txt {
        flex-basis: 100%;
        padding: 45px 20px;

    }

    .rev .extra_img {
        order: 1;
    }

    .rev .extra_txt {
        order: 2;

    }

    .extra_img img {
         position: absolute;
        width: 100vw !important;
        height: 350px !important;
        max-height: 350px;
        object-fit: cover !important;
    }
}

@media (max-width:680px) {

    .quaters {

        grid-template-columns: repeat(1, 1fr);
        gap: 40px;

    }
}

@media (max-width:650px) {

    .book {
        width: 90%;
    }

    .hf {
        grid-template-columns: repeat(2, 1fr);
   
    }
    
.step-1 {
    position: absolute;
    display: inline-block;
    background-color: transparent;
    color: #f8f5f2;
    border: none;
    border: 1px solid #f8f5f2 !important;
    cursor: pointer;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    padding: 0 15px;
    font-weight: 400 !important;
    margin-top: 28px;
    width: 90%;
    right: unset;
    bottom: 0;
    background-color: #33201a;
    border-bottom: none !important;
}

.book-hid {
    max-height: 0;
    opacity: 0 ;
   
    
}
.book-vis {
    max-height: 550px;
    opacity: 1;
    padding: 10px 0;
}
.book{
    padding: 0 30px;
}
}