/*** Custom Animations ***/
#form-wrapper {
    animation-duration: 0.5s; animation-fill-mode: forwards; overflow: hidden;
    animation-timing-function: ease; animation-iteration-count: 1; animation-play-state: running;
}
#LogoDiv {
    animation-duration: 0.6s; animation-fill-mode: forwards; overflow: hidden;
    animation-timing-function: ease; animation-iteration-count: 1; animation-play-state: running;
}
@keyframes hide-section {
	0% {opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100);}
	80% {opacity: 0.2; -moz-opacity: 0.2; -khtml-opacity: 0.2; filter: alpha(opacity=0.2); height:0px;}
	100% {opacity: 0; -moz-opacity: 0; -khtml-opacity: 0; filter: alpha(opacity=0); }
}
@keyframes show-section {
	0% {opacity: 0; -moz-opacity: 0; -khtml-opacity: 0; filter: alpha(opacity=0); }	
	20% {opacity: 0.2; -moz-opacity: 0.2; -khtml-opacity: 0.2; filter: alpha(opacity=0.2); }
	100% {opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100);}
}
@keyframes sgn-signup-form {
	0% {opacity: 0; -moz-opacity: 0; -khtml-opacity: 0; filter: alpha(opacity=0); height:0px; }	
	100% {opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100); height:700px; }
}
@-webkit-keyframes hide-section {
	0% {opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100);}
	80% {opacity: 0.2; -moz-opacity: 0.2; -khtml-opacity: 0.2; filter: alpha(opacity=0.2); height:0px;}
	100% {opacity: 0; -moz-opacity: 0; -khtml-opacity: 0; filter: alpha(opacity=0); }
}
@-webkit-keyframes show-section {
	0% {opacity: 0; -moz-opacity: 0; -khtml-opacity: 0; filter: alpha(opacity=0); }	
	20% {opacity: 0.2; -moz-opacity: 0.2; -khtml-opacity: 0.2; filter: alpha(opacity=0.2); }
	100% {opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100);}
}
@-webkit-keyframes sgn-signup-form {
	0% {opacity: 0; -moz-opacity: 0; -khtml-opacity: 0; filter: alpha(opacity=0); height:0px; }	
	100% {opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100); height:700px; }
}
#deskdiv { display: none; transition: 0.3s; opacity: 0; z-index: -2; }
#signup-form {
    animation-duration: 0.95s; animation-fill-mode: forwards; overflow: hidden; height: 0px; display: none;
    animation-timing-function: ease; animation-iteration-count: 1; animation-play-state: running; padding-top:50px;
}

/*** Spinner ***/
.loader {
    margin: 36px auto; font-size: 10px; position: relative; text-indent: -9999em;
    border-top: 3px solid rgba(255, 255, 255, 0.2); border-right: 3px solid rgba(255, 255, 255, 0.2); border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid #ffffff; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0);
    -webkit-animation: load8 0.8s infinite linear; animation: load8 0.8s infinite linear;
}
.loader, .loader:after {
    border-radius: 50%;
    width: 220px;
    height: 220px;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/*** Animation classes ***/
.logging-in #form-wrapper {
    animation-name: hide-section;
}
.logging-in #LogoDiv {
    animation-name: lgn-logodiv;
}
.logging-in #loader { display: block; }
.logging-in #form-wrapper { display: none; }
.logging-in #deskdiv { opacity: 0; }
.logging-in #loader-wrap { opacity: 1; }
.logging-in #deskdiv { z-index: 3; display: inherit; }
.logged-in #deskdiv { opacity: 1; display: inherit; z-index: 3; }
.logged-in #login-page { z-index: -1; }

/*** Main ***/

html, body {
    width: 100%;
    height: 100%;
}
body {
    margin:0; overflow:hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#page-main {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
div, input, select, textarea, a, p { box-sizing: border-box; font-family: 'Mulish'; font-weight: 500; }
input.error, select.error, textarea.error { box-shadow: 0px 0px 0px 2.5px rgba(209, 42, 42, 0.75); }
fieldset { border: 0px; }
fieldset label { text-align: left; font-weight: 600; }
fieldset textarea { margin-top: 0px; }
#LogoDiv { height: 200px; text-align: center; padding-top: 35px; margin-bottom: 10px; }
#LogoDiv #Logo{ height: 100%; }
#login-page{
    box-sizing: border-box; width: 550px; max-width: inherit;
    background-color: rgba(56, 58, 65, 0.6);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    height: 460px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.white #login-page { background-color: rgba(255, 255, 255, 0.25); }
.blur #login-page { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#login-page .row { text-align: center; }
#login-page .row input, #login-page .row select, fieldset.row input, fieldset.row select {
    width: 325px; font-size: 1.3em; font-weight: normal; padding: 5px 10px; height: auto;
    /*background-color: rgba(0,0,0,0); border: 1px white solid; */
    background-color: rgba(0,0,0,0.3); border: 2px rgba(0,0,0,0) solid; box-shadow: 0px 0px 2px rgba(0,0,0,0.1) inset;
    margin-bottom: 8px; color: white; border-radius: 3px; text-shadow: 0px 1px 1px rgba(0,0,0,0.65);
    background-repeat: no-repeat; background-position: center right 10px;
}
#login-page .row input:focus, #login-page .row select:focus, fieldset.row input:focus, fieldset.row select:focus {
    outline: none; border: 2px rgba(129, 199, 244, 0.9) solid;
}
input[type=button] {
    -webkit-appearance: none; padding: 8px 16px; background-color: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: 0.3s;
    border-radius: 50px; box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); color: black; border: 0px; font-size: 1.15em; font-family: 'Mulish'; font-weight: 600; cursor: pointer;
}
input[type=button]:hover { background-color: white; }
#login-button { margin-bottom: 20px; min-width: 120px; text-transform: uppercase; }
fieldset label { margin-bottom: 10px; display: block; }
fieldset { margin-bottom: 10px; }
select, #login-page .row select {
    background-image: url('images/arrow-white.svg');
    background-size: 19px auto;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active{
    -webkit-transition: "color 9999s ease-out, background-color 9999s ease-out" !important;
    -webkit-transition-delay: 9999s !important;
    /* background-color: rgba(255,255,255,0) !important; border-color: #fff !important; */
    background-color: rgba(0,0,0,0.3) !important; border-color: rgba(0,0,0,0) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    /*-webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.5) inset;*/
}
#login-page input.checked {
    background-image:url('https://datamark.live/images/check-white.svg');
}
@-webkit-keyframes autofill {
    to {
        background-image:url('https://datamark.live/images/check-white.svg');
    }
}
#login-page input.checked:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

.btnPane { text-align: center; padding: 12px 0px 0px 0px; }
.btnPane .button {
    margin: 0px; background: white; color: #0e1d33; text-transform: uppercase;
    padding: 5px 20px; font-size: 1.3em; font-weight: normal; border: 0px;
}
.btnPane .button:hover {
    background-color: rgba(255,255,255,0.8);
}
#NewUser, #NewUserCancel {
    color:white; font-size:1.3em; font-weight: normal; margin-top:10px; cursor:pointer;
}
#NewUserStatus {
    color:green; font-size:1.3em; font-weight: normal; background:rgba(255,255,255,0.7); padding:5px 12px; border-radius:3px; display:none;
}
#NewUser:hover, #NewUserCancel:hover {
    color: rgba(255,255,255,0.8);
}
#login-page ::-webkit-input-placeholder {
   color: white;
}
@media (max-width: 600px) {
    #login-page{
        width: 90%;
    }
    #login-page .row input {
        width: 90%;
    }
}
@keyframes lgn-logodiv {
    60% { height: 337px; padding-top: 110px }
    100% { height: 327px; padding-top: 112px; }
}
.loader { position:absolute; top: 73.5px; left: 0; right: 0; left: 0; display: none; }
#loader-wrap { opacity: 0; transition: 0.3s; transition-delay: 0.4s; }
#login-page .row input, .transition{
    -webkit-transition:0.3s ease all; -moz-transition:0.3s ease all; -ms-transition:0.3s ease all;
    -o-transition:0.3s ease all; transition:0.3s ease all;
}
.FailedMsg {
    width:325px; color:red; background:rgba(255,255,255,0.5); padding:4px 5px; border-radius:0px 0px 3px 3px;
    margin:-9px auto 0px auto; box-sizing:border-box; font-size: 0.9em; font-weight: normal; display: none;
}
#loginOk{
    display: table; margin: 0px auto 20px auto;
}
#form-wrapper { padding-top: 15px; }
.logging-in #form-wrapper {
    animation-name: hide-section;
}
.logging-in #LogoDiv {
    animation-name: lgn-logodiv;
}
.logging-in #loader { display: block; }
.logging-in #form-wrapper { display: none; }
.logging-in #deskdiv { opacity: 0; }

#progress-bar {
    width: 300px; display: block; height: 10px; background-color: rgba(0, 0, 0, 0.6); opacity: 1; transition: 0.5s;
    border-radius: 5px; left: 0px; right: 0px; margin: auto; bottom: 30px; top: auto; position: absolute;
}
body:not(.logging-in) #progress-bar { opacity: 0; bottom: -10px; }
#progress-bar div {
    max-width: calc(100% - 4px); width: 5%;
    height: 6px; display: block; background-color: white; margin: 2px; border-radius: 3px; transition: 0.8s;
}
#main-connection-window { width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; opacity: 0; transition: opacity 0.6s, border-radius 0.6s; border-radius: 200px; z-index: 100; margin: 0px; display: flex; justify-content: center; align-items: center; }
#main-connection-window iframe {
    margin: 0px; width: 100%; height: 100%;
}
#main-connection-window.loaded { opacity: 1; border-radius: 0px; }
#support { background-image: url('images/icon-tech-support.svg?ver=0'); }

.custom-console { width: 350px; height: 100vh; position: fixed; top: 0px; right: 0px; background-color: rgba(255, 255, 255, 0.75); font-size: 1.1em; padding: 1em; overflow: auto; }
.custom-console .log:not(:last-of-type) { margin-bottom: 0.5em; }
.custom-console .log .message { font-family: 'Courier New', Courier, monospace; display: block; font-size: 1em; font-weight: 600; word-wrap: break-word; }
.custom-console .log .timestamp, .custom-console .log .line-info { font-size: 0.8em; display: block; color: rgba(0, 0, 0, 0.4); }
.custom-console .log.error .message { color: rgb(255, 73, 63); }
/* .custom-console-active {} */

/*** Sys Customizations ***/
.s-modal { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.s-modal > p:last-of-type { margin-bottom: 20px; }
.s-modal-buttons input[type="button"], .s-notification .buttons input[type="button"] { border-radius: 100px; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); color: rgb(0, 115, 222); cursor: pointer; opacity: 0.9; transition: 0.3s; }
.s-modal-buttons input[type="button"]:not(.gray), .s-notification:not(.error) .buttons input[type="button"]:not(.gray) { background-color: rgb(0, 115, 222); color: white; box-shadow: 0px 0px 5px rgba(0, 115, 222, 0.4); }
.s-modal-buttons input[type="button"]:hover, .s-notification:not(.error) .buttons input[type="button"]:hover { opacity: 1; }
.s-modal div { box-sizing: border-box; }
.s-modal h1 { margin-bottom: 15px; }

/*** Update Password ***/
fieldset input[type=text], fieldset input[type=password], fieldset textarea {
    border: 0px; font-size: 1.1em; box-sizing: border-box; margin: 0px;
    padding: 8px 12px; border-radius: 4px; width: 100%; height: auto;
}
fieldset { margin-bottom: 8px; }
.s-modal input[type=button]:hover {
    background: rgba(255, 255, 255, 0.8); border: 0px; color: inherit;
}
.s-modal input[type=button]:active {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
}
.s-modal input { transition: 0.3s; }
.s-modal-footer a {
    color: rgba(95,181,241,1); text-decoration: none;
}
.s-modal.error input.login {
    box-shadow: inset 0px 0px 0px 2px rgb(236, 131, 122);
}
#up_login_error { display: none; color: rgb(255, 73, 63); margin: 10px 0px; font-size: 0.95em; }
.s-modal.error #up_login_error { display: block; }
.s-modal.authorized #up_password { display: none; }
.s-modal.authorized .modal-footer { display: none; }
.up-row a {
    color: white; font-size: 1em; display: inline-block; padding: 8px 10px; background: rgba(0,0,0,0.5);
    border-radius: 4px; width: auto; text-decoration: none;
}
.no-update-pwd:not(.registrations) .up-row, .no-update-pwd.registrations #up-bttn, body:not(.registrations) #nu-bttn { display: none; }
#login-page.show-apps { height: 505px; }
.s-modal > textarea {
    font-size: 1em; border: 0px; border-radius: 4px; padding: 10px; width: 100%; margin: 10px 0px; box-sizing: border-box;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#support_request, #support_request:visited {
    color: #555; bottom: 20px; left: 0px; right: 0px; margin: 0px auto; width: 114px; padding: 6px 12px; background-color: rgba(255,255,255,0.65); cursor: pointer;
    border-radius: 4px; position: fixed; box-shadow: 0px 0px 7px rgba(0,0,0,0.4); text-align: left; background-repeat: no-repeat; text-decoration: none;
    background-image: url('images/icon-support.svg'); background-position: right 7px center; background-size: 17px auto; transition: 0.3s; font-weight: 600;
}
#support_request:hover {
    background-color: rgba(255,255,255,0.85);
}
.logged-in #support_request, #support_request.hidden { display: none !important; }
.logging-in #support_request { margin: 0px 20px 0px auto; }

/*** Down for Maintenance ***/
.maintenance #form-wrapper { display: none; }
.maintenance #login-page:after {
    content: 'We are currently unavailable due to server maintenance. Please check back soon.';
    padding: 20px; width: 80%; text-align: center; background: rgba(255, 255, 255, 0.9); box-sizing: border-box;
    display: block; border-radius: 8px; margin: 20px auto; font-size: 1.05em;
}