html {
    /* avoid page width changes caused by scroll bars */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (orientation: portrait) {
	html {
		height:100%;
	}
}

body {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    word-wrap: break-word;
    margin: 0;
    height: 100%;
}

@media screen and (min-width: 768px) and (orientation: landscape) {
    body {
        height: -webkit-fill-available;
        display: flex;
        justify-content: center;
        align-items: center;
   }
}

#container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

#customAsset {
    display: block;
}

#errorDisplay {
    background-color: #d84a38;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 2em;
    text-align: center;
    width: 100%;
}

#logSection {
    display: none;
}

#ErrorMsg {
    position: relative;
    padding-top: 75%;
    width: 100%;
}

#errorMsgContainer {
    width: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.55);
    padding: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 60%;
    align-items: center;
}

.aspectRatioDiv {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.hide {
    display: none !important;
}

.visible {
    opacity:0 !important;
}

.popup {
    width: 25%;
    height: 25%;
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) and (min-width: 451px) {
    .popup {
        width: 75%;
        height: 75%;
    }
}

@media (max-width: 450px) and (orientation: portrait) {
    .popup {
        width: 90%;
        height: 50%;
    }
}



#msgPopUp {
    padding: 20px;
}

.btn-hide {
    max-width: 200px;
    width: 150px;
    background: #fff;
    color: #4cc0b0;
    font-size: 16px;
    text-align: center;
    padding: 10px;
    border-radius: 92px;
}

#log {
    background-color: #f4f4f4;
    border: 1px solid #aaa;
    color: #000;
    font-family: monospace;
    height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 5px;
}

#log div {
    border-bottom: 1px solid #ddd;
    line-height: 1.4em;
    margin: 0;
    padding: 0 0.5em;
    width: 100%;
}

#log div span {
    padding-right: 0.5em;
    white-space: pre-wrap;
}

#videoContainer {
    background-color: transparent;
    position: relative;
    max-width: 60%;
}

.overlayScreen {
    background:rgba(0,0,0,0.5);
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:10;
}


#giantPlayButtonContainer {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 1;
    margin: auto;
    background-color: transparent;
    text-align: center;
    z-index: 6;
    display: none;
    margin-bottom: 15%;
}

@media (orientation: portrait) and (max-width: 450px) {
	#giantPlayButtonContainer {
		margin-bottom:10%;
	}	
}

#giantPlayButtonContainer--container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
}

#giantPlayButton, #rewindButton, #fastforwardButton {
    background: transparent no-repeat center center;
    background-size: cover;
    border: none;
    cursor: pointer;
    padding: 0;
}

#giantPlayButton {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    background-image: url('../images/play-button-big.svg');
    margin: 0 30px;
}

@media screen and (max-width: 650px) {
    #giantPlayButton {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
    }
}

#rewindButton, #fastforwardButton {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
}

@media screen and (max-width: 650px) {
    #rewindButton, #fastforwardButton {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
}

#rewindButton {
    background-image: url('../images/backward-30.svg');
}

#fastforwardButton {
    background-image: url('../images/forward-30.svg');
}

#bufferingSpinner {
    margin: auto;
    width: 100px;
    height: 100px;

    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#video {
    /* height and margin needed in fullscreen mode */
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: contain;
}

.logo {
    background-size: contain;
    width: 450px;
    height: 80px;
    margin-top: 10px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
	
}

@media screen and (max-width: 650px) {
    .logo {
        margin-top: 18px;
        margin-bottom: 0;
        width: 285px;
    }
}

@media screen and (max-width: 650px) and (orientation: portrait) {
    .logo {
        margin-bottom: 0;
        width: 285px;
    }
}

@media (orientation: landscape) and (max-width: 820px) {
    .logo {
        margin-bottom: 0;
    }
}

@media screen and (orientation: portrait) and (max-width: 325px) {
    .logo {
        margin-top: 38%;
    }
}

.msgVideoTop {
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    margin-top: 18px;
    margin-bottom: 20px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    max-width: 60%;
}

.legend {
    /*font-family: Exo2;*/
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    max-width: 60%;
    font-weight: normal;
    margin-bottom: 20px;
}

@media (orientation: portrait) and (max-width: 450px) {
    .legend {
        margin-top: 18px;
    }   
}

.checkmark {
    background: url("../images/available.svg") no-repeat 50% 50%;
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-top: 125px;
    flex-shrink: 0;
}

.errorLog {
    background-color: #fee;
    color: #f00;
}

.warnLog {
    background-color: #ffc;
}

.infoLog {
    background-color: #eff;
}

.flex {
    display: flex;
}

.flex-grow {
    flex-grow: 1;
}

.overlay-parent {
    /* Makes this a positioned ancestor of .overlay */
    position: relative;
}

.overlay {
    /* Allows this to be positioned relative to a containing .overlay-parent */
    position: absolute;
}

@media screen and (max-width: 650px) {
    h1 {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 2880px) {

    #wmspan {
        position: relative;
        left: 18%;
        width: 70%;
    }

    #container {
        height: 100%;
    }

}
