html {
    font-family: calibri;
    background: black; /*#223369;*/
    overflow: hidden; /* Hide scrollbars */
}

body {
    margin: 0px;
    overflow: hidden; /* Hide scrollbars */
}

video {
    display: inline-block;
    object-fit: fill;
}

canvas {
    width: 100%; max-height: 100%;
    visibility: hidden;
    /* width: 640px; height: 480px; */
}

button {
    outline :0;
    border: none;
    border-radius: 3px;
    color: white;
    white-space: nowrap;
    background: #223369;
    width: 100px;
    height: 40px;
    margin: 0 10px;
    transition: all .1s ease-in-out;
}
button:hover {
    background:  none;
    border: 3px solid black;
    color: black;
}

button:disabled {
    background:  none;
    border: 3px solid #ddd;
    color: #ddd;
}

#lastDate{
    font-size: medium;
    color: gray;
}

.testBox {
    color: white;
}

#lastTest {
    color: orange;
}

.pdfElement {
    display: inline-block;
}

.container {
    display: table;
}

#staticMediaElement {
    display: inline-flex;
    /* width: 640px; height: 480px; */
    width: 100%; max-height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#roomBookingsElem,
#industryNewsElem {
    top: 0px!important;
    left: 0px!important;
    position: absolute!important;
    display: block;
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: black;
    visibility: hidden;
    z-index: 5000;
}

#industryNewsElem .descContainer {
    display: inline-table;
    height: 50%;
    padding: 28px 28px 0;
    z-index: 1000;
    position: relative;
}

#roomBookingsElem .title,
#industryNewsElem .title {
    color: white;
    padding: 0 0 12px 18px;

    line-height: 48px;
    font-size: 46px;
    position: relative;

    border-bottom: 4px solid #f36621;
    margin: 28px 0 8px 35px;
    width: calc(95% - 20px);
    max-height: 135px;
    overflow-y: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

}

#roomBookingsElem .title {
    -webkit-line-clamp: 1;
    padding: 0 0 8px 18px;
}

#roomBookingsElem .timeDetails {
    font-size: 32px;
    color: white;
    display: inline-block;
    line-height: 48px;
    width: 30%;
    position: absolute;
    right: 64px;
    padding-top: 64px;
}
#roomBookingsElem .timeRange {
    font-size: 48px;
    color: white;
}

#roomBookingsElem .location {
    position: absolute;
    bottom: 64px;
    right: 64px;
    color: #ccc;
    font-size: 32px;
    /* background-color: #223369; */
    padding: 8px 32px;
}

#roomBookingsElem .locationVal {
    font-size: 64px;
    color: white;
}

#roomBookingsElem .description {

    position: relative;
    font-size: 48px;
    color: white;
    line-height: 48px;

    display: inline-block;
    width: 70%;

    padding: 64px 16px 0 64px;

}

#roomBookingsElem .organizer {
    font-size:  28px;
}

#roomBookingsElem .innerTitle {
    font-size: 52px;
}

#roomBookingsElem .running,
#roomBookingsElem .upcoming {
    color: white;
    position: absolute;
    top: 88px;
    right: 64px;
    font-size: 32px;
    padding: 6px 16px;
    background: #f36621;
    border-bottom: 5px;
}

#roomBookingsElem .fullTime,
#roomBookingsElem .indays {
    font-size: 32px;
    color: #ccc;
}

#industryNewsElem .transback,
#roomBookingsElem .transback {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 0;
    top: 0px; left: 0px;
    background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;
}

#industryNewsElem .description {
    font-size: 28px;
    color: white;
    display: inline-block;
    width: 50%;
    line-height: 38px;
    text-align: justify;
    
    /* padding: 32px calc(2% + 45px) 0px; */

    padding: 0 16px;

    display: table-cell;
    vertical-align: middle;
}

#industryNewsElem .postImg {
    display: inline-block;

    width: 100%;
    padding: 0 16px;
    max-height: 350px;

    object-fit: contain;

    display: table-cell;
    
    vertical-align: middle;

    /*
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%) !important;
    */
}

#connectionIssue {
    display: none;
    position: absolute;
    margin: 20px 40px;
    width: calc(100% - 80px);

    opacity: 0.95;
    border: 2px solid #5b8ab6;
    border-radius: 25px;
    overflow: hidden;
}

#connectionIssue .errorContent {
    color: #fff;
    font-size: 18px;
    background: #223369;
    padding: 18px 28px;
    text-align: left;
}

#filesListContainer {
    z-index: 9000;
    display: block;
    min-width: 250px;
    visibility: hidden;
    position: absolute;
    right: 50;
    top: 50;
    font-size: 20px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

#filesListContainer li:hover {
    color:red;
    cursor: pointer;
}

#filesListContainer li.active {
    color: blue;
    background: #ddd;
}

.timerStats {
    padding: 2px 10px;
    background: #ddd;
    display: block;
}

#itemDateSucess {
    width: 200px;
    display: grid;
    font-size: small;
    color: darkred;
}

#menuBtn {
    z-index: 9001;
    display: block;
    position: absolute;
    left: 0px; bottom: 0px;
    background: #444;
    color: white;
    padding: 5px;
    border: 1px solid #333;
    opacity: 0.2;
}

#menuBtn:hover {
    opacity: 1;
    cursor: pointer;
}

#connectionStatus {
    z-index: 9001;
    display: block;
    position: absolute;
    right: 0px; bottom: 0px;
    background: #444;
    color: white;
    padding: 5px;
    border: 1px solid #333;
    opacity: 0.2;
}

.disconnected {
    color: white!important;
    background: red!important;
    opacity: 0.5!important;
}

#LoadingMsg {
    z-index: -1;
    color: #444;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: #6abbe8;
}

#LoadingMsg img {
    width: 260px;
}

.pdfElement,
#staticMediaElement,
video {
    width: 100%;
    max-height: 100%;
    top: 0px!important; left: 0px!important;
    position: absolute!important;
    pointer-events: none;
    visibility: hidden;
}

video::-webkit-media-controls {
    display: none;
}

#tvType {
    text-align: center;
    background: white;
    font-weight: 600;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fadeIn {
    animation: fadeIn 1s;
}