

@font-face {
    font-family: 'SRHTextRg';
    src: url('../fonts/SRHText_Rg.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'SRHTextBd';
    src: url('../fonts/SRHText_Bd.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

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


 }
 body {
    /* padding: 20px 20px 20px 0 !important; */
 }


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


}



h1 {
    font-family: 'SRHTextBd', sans-serif;
}

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

/* .srhbooking_display_container {
    margin: 2rem;
    color: #333;
} */



.srhlogo {
    width: 7vw;
    margin-bottom: 2vw;
}

.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;
}

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


.srhbooking_checkroom_container {
    padding: 1rem;
}



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











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

}
.srhbooking_display_container .card {
    padding: 1rem;
    background-color: #ebebeb;
    border-radius: 0.5rem;
    min-height: 20vh;
}
.card .event {
    min-height: 12vh;
    font-size: 1.5rem;
}
.card .time {
    border-top: 1px solid #000000;
    padding-top: 1vh;
    min-height: 10vh;
}


/*********************** 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 .cardselected {
    background-color: #000000;
    color: white;
} 



.roomselectlist .desks {
    /* display: none; */
} 

.roomselectlist .cardselected .desks {
    /* display: block; */
} 

.roomselectlist .desks .deskselected {
    background-color: #000;
    color: #fff;
} 



.roomselectlist .desks div {
    background-color:#007EC5;
    border-radius: 2rem;
    color: #fff;
    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: #000000;
}
.well {
    -webkit-box-shadow: 0 5px 10px 0px #ddd;
    box-shadow: 0 5px 10px 0px #ddd;
}


/***************************** Lecture Room Usage ********************************** */
.event_bar {
    background-color: #007EC5;
    border-radius: 3px;
    padding: 2px 0 2px 5px;
    margin: 1px;
    font-weight: bold;
    position: absolute;
    top: 2px;
    color: white;
    box-shadow: #94cae8 0px 0px 5px 0px;
    border: 1px solid #0c679c;
}   

.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%;

}


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

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

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

#content-div {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


/************************* News Content Rotation *****/
.newsframe {
    background-color: #202020;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    background-size: cover;
}
.newsframe.template1{background-color: #202020;color: white;}
.newsframe.template2{background-color: #f8f5f2;color: #363636;}
.newsframe.template3{background-color: #202020;color: white;}


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



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

/************************* Food Content Rotation *****/
.foodframe {
    background-color: #202020;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    background-size: cover;
}
.foodframe.food1{background-color: #202020;color: white;}

.foodframe.food-layout-image-only {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    flex: 0 0 100vw;
    background-color: #2f2f2f;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

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

.foodframe .food-cell-top-right h1 {
    font-family: 'SRHTextBd', sans-serif;
}

.foodframe .food-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 80% 20%;
    grid-template-rows: auto minmax(0, 1fr);
}

.foodframe .food-col {
    display: contents;
}

.foodframe .food-col-left {
    flex: 0 0 80%;
}

.foodframe .food-col-right {
    flex: 0 0 20%;
}

.foodframe .food-cell {
    padding: 3rem;
    overflow: hidden;
}

.foodframe .food-cell-top-left,
.foodframe .food-cell-top-right {
    min-height: 0;
}

.foodframe .food-cell-bottom-left,
.foodframe .food-cell-bottom-right {
    min-height: 0;
}

.foodframe .food-cell-top-left {
    grid-column: 1;
    grid-row: 1;
}

.foodframe .food-cell-top-right {
    grid-column: 2;
    grid-row: 1;
    background-color: #4A4A4A;
}

.foodframe .food-cell-bottom-left {
    grid-column: 1;
    grid-row: 2;
}

.foodframe .food-cell-bottom-right {
    grid-column: 2;
    grid-row: 2;
}

.foodframe .food-cell-bottom-left {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.foodframe .food-cell-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    background-color: #F8F5F2;
}

.foodframe .food-type-image {
    width: 75%;
    object-fit: contain;
}

.foodframe .food-detail-icons {
    width: 100%;
    max-width: 14rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.foodframe .food-detail-icon {
    flex: 0 0 calc((100% - 1rem) / 3);
    width: calc((100% - 1rem) / 3);
    max-width: 4.5rem;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.foodframe .food-allergen-note {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
    text-align: center;
    color: #5b5b5b;
}

.fabrik-image-small,
td.fabrik-image-small,
td.booking_food___food_image {
    text-align: center;
}

.fabrik-image-small a,
td.fabrik-image-small a,
td.booking_food___food_image a {
    display: inline-block;
    max-width: 100%;
}

.fabrik-image-small img,
td.fabrik-image-small img,
td.booking_food___food_image img {
    display: block;
    width: 220px;
    max-width: 100%;
    max-height: 140px;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}





/* 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;
    }
  }