body{
    background-color: black;
}

.ss1{
    background-image: url(../_img/calendar/1x/ss1_bg.jpg?2);
}
.ss1 .page_texts{
    margin-top: 60px;
    color: white;
    text-align: center;
    display: flex;
    width: fit-content;
    height: fit-content;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.ss1 .page_title{
    display: flex;
    font-size: 45px;
    font-family: NsquareEB;
    flex-direction: column;
    flex-wrap: nowrap;
}
.ss1 .page_title hr{
    width: 100%;
    height: 2px;
    margin: 0;
    border: 0;
    background-color: white;
}
.ss1 .page_description{
    margin-top: 20px;
    font-size: 16px;
    font-family: NSquareL;
}

/* @@@@@@@@ page2 START @@@@@@@@@ */
.p2_inner{    
    max-width: 1400px;
    width: 95vw;
    display: flex;
    margin: 0px auto;
    position: relative;
    padding: 0px 100px 100px 100px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.contact_container{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: white;
    margin-top: 65px;
}

.title{
    color: white;
    font-family: NSquareEB;
    font-size: 40px;
    margin-top: 65px;
    display: flex;
}

.calendar_container{
    margin-top: 50px;
    background-color: white;
    max-width: 1000px;
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.calendar_header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 35px;
    font-family: NSquareEB;
    height: 100px;
}
.calendar_header button{
    display: inline-block;
    height: 20px;
    width: 20px;
    padding: 0px;
    margin: 0px 20px;
    background-color: #2C3E50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.calendar_header div{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

.calendar{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 65px;
}
.calendar table{
    width: 90%;
    border: 1px solid #808080;
    border-collapse: collapse;
    font-size: 14px;
    font-family: NSquareR;
}
.calendar table th{
    text-align: center;
    border: 1px solid #808080;
    height: 30px;
    width: calc(100% / 7);
    text-decoration: none;

}
.calendar table th:first-child{
    color: rgb(179, 34, 34);
}
.calendar table th:last-child{
    color: rgb(34, 34, 153);
}
.calendar td{
    border: 1px solid #808080;
    height: 120px;
}

.day_cell{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 2px 5px;
    text-align: left;
}
.day_cell .date_cell{
    width: 100%;
    text-align: right;
}

.day_cell.on{
    background-color: white;
    cursor: pointer;
}
.day_cell.off{
    background-color: #EAEAEA;
}

.day_cell.on:hover{
    background-color:antiquewhite;
}
.date_cell.sun{
    color: red;
}
.date_cell.sat{
    color: blue;
}

.reserve_data{
    font-size: 12px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: 115px;
}

.loading_layer{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.loading_layer img{
    width: 80px;
}

.day_cell.today_cell{
    background-color: lavender;
}

/* ######## page2 END ######### */


@media screen and (min-width:991px) and (max-width:1200px)  {
    .p2_inner {
        padding: 0px 20px 40px 20px;
    }
}


@media screen and (max-width: 990px), (orientation: portrait) {
    .p2_inner {
        padding: 0px 20px 40px 20px;
    }
    .title{
        font-size: 25px;
        margin-top: 30px;
    }
    .calendar_container{
        width: 100%;
        margin-top: 30px;
    }
    .calendar_header{
        font-size: 25px;
    }
    
    

    @media screen and (max-width: 500px){
        .title{
            font-size: 20px;
        }
        .p2_inner{
            padding: 0px 0px 20px 0px;
        }
        .reserve_data{
            display: none;
        }
        .calendar td{
            height: 50px;
        }
    }
}