html.popupOpened, html.popupOpened body, html.popupOpened .menuArea {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}
.popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display:none;
    z-index:100;
    color:white;
    overflow: auto;
}

.popup {
    position: absolute;
}
.popupClient {
    display: block;
}

.btn-delete {
    color: var(--text-color);
    padding-right: 0px;
}
.popupBackground, .popupLoadingBackground, .popupBackgroundClient {
    background: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:-1;
}
#elementReloading.popup {
    position: absolute;
}
#elementReloading .popupLoadingBackground {
    position: absolute;
}

.popupBackgroundClient {
    top: 46px;
}

/* Fullscreen popup close button */
#popupFullscreen .closePopupX {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 150;
}

#popupLoading, #elementReloading {
    z-index: 122;
}
#popupLoadingContainer, #elementReloadingContainer {
    color: white;
    position: absolute;
    top:50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    font-size: 30px;
}
.popupInner {
    background-color: #1d2730;
    color: #999;
    z-index:2;
    margin-top: 2%;
    margin-bottom: 2%;
}

.popupContainer {
    margin-left: -15px;
    margin-right: -15px;
}
.popupHeader {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    line-height: 50px;
}
.popupHeader p {
    margin: 0 !important;
}
.popupTitle {
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    margin: 0;
}

.popupContainer {
    padding: 20px;
}

.popupRow {
    min-width: 100%;
    margin-top:25px;
}

.popup .btnLine {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btnPop {
    margin-top: 8px;
}
.popup label {
    display: inline-block;
    float: left;
    clear: both;
    position: relative;
    width: 100%;
}

.errorField {
    position: absolute;
    right: 25px;
    bottom: -12px;
    line-height: 12px;
    font-size: 10px;
    color: red;
    text-transform: uppercase;
}


#hotspotContent {
    margin: 20px 0;
}

.hotspotImage {
    text-align: center;
}

.hotspotImage img{
    width: 480px;
    cursor: pointer;
}

.hotspotQuestion textarea {
    width: 100%;
    resize: none;
    height: 40px;
    color: #222;
}

.hotspotQuestion .inputFile {
    visibility: hidden;
    height: 0;
    width: 0;
    padding: 0;
}

.hotspotQuestion .btn i {
    line-height: 40px;
    font-size: 22px;
}

.hotspotQuestion .btn.fileChosen {
    background-color: #842B17;
}

#companyLogo {
    width: 120px;
    margin: 10px auto;
    display: block;
}

.loginForm {
    height: calc(100% - 46px);
    min-height: 400px;
    overflow: hidden;
    position: relative;
}
.loginBoxOuter {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0 auto;
    width: 300px;
    min-height:250px;
    padding:0px;
    color: #9aa8ac;
    text-align: center;
}

.loginBoxPopup {
    margin: 0 auto;
}

.btnLine {
    min-height: 70px;
}
.loginHeader {
    background-color: #19222b;
    color: white;
    padding-left:15px;
    margin:0;
    height:46px;
    line-height:46px;
    font-style:italic;
    font-size: 14px;
}
.inputHeader {
    margin: 20px auto 5px auto;
    position:relative;
}
.emailField,.passwordField {
    padding: 5px;
    background-color:#233541;
    border-radius:0px;
    border: none;
    color: #9aa8ac;
    margin: 0;
}

input.loginCheckbox {
    width: 20px;
    height: auto;
    border: none;
    border-radius: 0px;
    float: left;
    margin: 30px 10px;
}
.loginBtn, .loginBtnClient {
    float: right;
    margin: 20px 10px;
    width: 100px;
}
.rememberMe {
    float: left;
    line-height: 52px;
}
.loginLabel {
    margin: 20px auto 5px auto;
    width: 100%;
    position: relative;
}

.dialogText {
    margin: 0 0 20px 0;
}

.loginBoxOuter img {
    border-radius: 50%;
    margin: 50px auto;
}

.genericPopup {
    padding: 0 20px 20px;
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    z-index: 120;
    background: #272e31e6;
    border: 1px solid var(--text-color);
    outline: 1px solid var(--medium-dark-color);
}

.genericPopup[style*='display: block'] {
    display: flex !important;
}
#trainingButtons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 27px;
}
#popupTraining {
    z-index: 999;
}
.trainingControls {
    width: auto;
}
#trainingTitle {
    padding: 25px;
    font-size: 20px;
    font-weight: bold;
}
#historyTitle {
    font-size: 20px;
    font-weight: bold;
}
#trainingSteps {
    display: flex;
    align-items: center;
    justify-content: center;
}
#popupTraining #trainingTitle {
    padding: 20px 25px;
    font-size: 28px;
    font-weight: bold;
}
#popupTraining .popupInner {
    display: flex;
    flex-direction: column;
    position: relative;
}
/* Training popup close button uses universal style from visualizer.css */
#popupTraining .closePopupX {
    top: 15px;
    right: 15px;
}

.trainingIcon {
    position: absolute;
    right: calc(100% - (50% - 20px));
    bottom: 270px;
    transform: scale(3);
    cursor: pointer;
}
#popupTrainingContent {
    display: block;
    text-align: center;
    padding: 0px 20px 20px 20px;
}
#trainingStepTitle {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 15px;
    text-align: left;
}
#trainingStepImg {
    height: 250px;
    width: auto;
    text-align: center;
}
#trainingStepDesc {
    text-align: left;
    margin: 20px 0;
}

.trainingControls .fa-forward-step {
    margin-left: 5px;
}
.trainingControls .fa-backward-step {
    margin-right: 5px;
}
