/************** Display Output ********************************/
* {
    /* box-sizing: border-box; */
}
body,html {
    box-sizing: border-box;
    /* background-color: #fff !important; */
    height: 100%;
    border: none !important;


 }
 body {
    /* margin: 200px !important; */
 }


.com_users.view-login {
    background-image: url(../images/srh_bkgr1.jpg) !important;
    background-size: cover !important;
    background-position: center bottom !important;


}



h2,h3,h4,h5,h6 { margin: 0;}



.srhlogo {
    width: clamp(1rem, 7vw, 3rem);
    margin-bottom: 1vw;
}

.room_check_header {
    display: flex;
    justify-content: space-between;
}

.srhbogen {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 10vh;
    height: 10vh;
    opacity: 0.2;
    z-index: -1;
    border-radius: 30vh 0 0 0;
    border-top: solid 18vh #df4807;
    border-left: solid 18vh #df4807;
}
.srhbogen_white {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 10vh;
    height: 10vh;
    opacity: 0.2;
    z-index: 999999999999;
    border-radius: 30vh 0 0 0;
    border-top: solid 18vh #ffffff;
    border-left: solid 18vh #ffffff;
}

/***********  Check room s*********************/


.srhbooking_checkroom_container {
    padding: 1rem;
}



/***********  Display s*********************/




.cardgrid {
    margin-top: 5vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;

}
.srhbooking_display_container .card {
    padding: 1rem;
    color: white;
    background-color: #df4807;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom,  #ef8843 0%,#df4807 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    min-height: 4vh;
}
.card .event {
    min-height: 5vh;
    font-size: 1.5rem;
}
.card .time {
    border-top: 1px solid #fe966d;
    padding-top: 1vh;
    min-height: 5vh;
}


/*********************** roomselectlist* ****************/
.roomselectlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    grid-gap: 2rem;
    padding: 1rem;

}

.roomselectlist .card {
    border: 1px solid #cecece;
    background-color: #F5F5F3;
    border-radius: 1rem;
    box-shadow: 0 3px 10px 0px #e4e4e4;
    /* aspect-ratio: 1/1;  */
}

.roomselectlist .card .image {
        /* background-color: #c0c0c0; */
        height: 15rem;
        border-radius: 1rem 1rem 0 0; 

        background-size: cover;
        background-repeat: no-repeat;
        background-position: left center;
}


.roomselectlist .card .roomplan {
    background-color:#cecece;
    border-radius: 0.25rem;
    color: #fff;
    padding: 0.5rem;
    text-decoration: none;
}

.roomselectlist .card .carddetail, .roomselectlist .card .desks {
    padding: 1rem;
}

.roomselectlist .btn_select.cardselected {
    background-color: #df4807;
    color: white;
} 

/* .roomselectlist .btn_select .deskselected {
    background-color: #000;
    color: #fff;
}  */

.roomselectlist .btn_select  {
    background-color:#cecece;
    border-radius: 0.5rem;
    color: #373737;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin-bottom: 0.5rem;
}



/***** Raumauswahlliste in Erstellung ausblenden ******/
#booking_event___search_ro, .fb_el_booking_event___booking_room {
    display: none !important;
}

/************** template overrides /////*/
.brand {
    text-align: left !important;
    margin-bottom: 2vh;
}
.site-title {
    line-height: 100% !important;
    font-size: 16px;
    color: #df4807;
}
.well {
    -webkit-box-shadow: 0 5px 10px 0px #ddd;
    box-shadow: 0 5px 10px 0px #ddd;
}




/***************************** Lecture Room Usage ********************************** */
.event_bar {
    background-color: #df4807;
    border-radius: 3px;
    padding: 2px 0 2px 5px;
    margin: 1px;
    font-weight: bold;
    position: absolute;
    top: 2px;
    color: white;
    box-shadow: #ff8f5f 0px 0px 5px 0px;
    border: 1px solid #632104;
}   
.event_bar_small {
    background-color: #df4807;
    border-radius: 3px;
    padding: 2px 0 2px 5px;
    margin: 1px;
    font-weight: regular;
    font-size: 0.75rem;
    position: absolute;
    top: 2px;
    color: white;
    box-shadow: #ff8f5f 0px 0px 5px 0px;
    border: 1px solid #632104;
}   

.event_td {
    position: relative;

    background-image: url(../img/grid1.jpg) !important;
    background-size: 5.5555555555% 100%;


}

.timeslots {
    display: flex;
    align-items: center;
    font-weight: bold;
    padding: 0 !important;
}

.timeslots div {

    width: 5.555555%;

}


/***************************** campusnet Usage ********************************** */
.cn_event_bar {
    background-color: #8b8b8b;
    border-radius: 3px;
    padding: 2px 0 2px 5px;
    margin: 1px;
    /* position: absolute; */
    top: 2px;
    color: white;
    box-shadow: #d7d7d7 0px 0px 5px 0px;
    border: 1px solid #b8b8b8;
}   

.cn_event_bar .details {
    display: none;
}

.cn_event_bar.selected {
    background-color: #df4807;
    box-shadow: #ffc490 0px 0px 5px 0px;
    min-width: 10% !important;

}

.cn_event_bar.selected .details {
    display: block;
}


.cn_event_td {
    position: relative;

    background-image: url(../img/grid1.jpg) !important;
    background-size: 4% 100%;


}

.cn_timeslots {
    display: flex;
    align-items: center;
    font-weight: bold;
    padding: 0 !important;
}

.cn_timeslots div {

    width: 5.555555%;

}


/************************* Screen Content Rotation *****/

#activity-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
     background-color: black !important;
  }

#activity-spinner img {
    width: 25px;
}

#content-div {
    width: 100%;
    height: 100%;
    background-color: black !important;
    overflow: hidden;
}


/************************* News Content Rotation *****/
.newsframe {
    background-color: #df4807;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    background-size: cover;

}

.newsframe h1 {
    font-size: 4rem;
    line-height: 100%;
    margin: 0 0 1rem 0;
    
}

.template1 {
    color: white;
}

.newsframe .news_left{
    padding: 10%;
    color: white;
    width: 50%;
}
.newsframe .news_right{
    width: 50%;
    background-size: cover;
    background-position: center center;
}


/************************* Service Panel *****/
.servicepanel {
    background-color: #df4807;
    width: 100%;
    height: 100%;
}
.servicepanel .upperpart{
    color: white;
    width: 100rem;
    margin: 0 0 4rem 2rem;
    padding: 4rem 0 0 4rem;
}
.servicepanel .graypart{
    background-color: #eeedec;
    width: 100rem;
    margin: 0 0 2rem 6rem;
    border-radius: 2rem 2rem 2rem 0;
    padding: 2rem;

}

.servicepanel .lowerpart{
    color: white;
    width: 100rem;
    margin: 0 0 2rem 4rem;
    border-radius: 2rem 2rem 2rem 0;
    padding: 2rem;

}

.servicepanel .panel_row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* 3 equal columns */
    gap: 1rem; /* Space between grid items */
    padding: 1rem; /* Padding around the grid */
}





/***************** coursepanel-cn **************************/
.coursepanel-cn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.5rem;
}
.coursepanel-cn  .cn_event {
background-color: #ffdcce;
border-radius: 0.5rem;
background: linear-gradient(to bottom,  #fff4ef 0%,#ffd5c3 100%);
padding: 0.5rem;
box-shadow: #804a00 0px 2px 5px 0px;
font-size: 120%;
}






/* Target mobile devices with a max-width of 768px */
@media only screen and (max-width: 768px) {
    /* Select every second div within .timeslots */
    .timeslots div:nth-child(2n) {
      visibility:hidden;
    }
  }