@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

body {
    font: 300 14px/1.55 "open_sans", sans-serif;
}

.index-container {
    height: 100%;
}

.index-left-container {
    background: url(/static/img/appgate_index_background.png) repeat-y;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.centered-container {
    width: 100%;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.index-left-container .left-background-icon {
    height: 100px;
    margin-bottom: 20px;
}

.index-left-container .left-portal-text {
    color: #FFFFFF;
    font-family: Antenna, Light, sans-serif;
    font-size: 20px;
    width: 100%;
}

.index-left-container .left-portal-text label {
    font-weight: bold;
}

.login-container {
    animation: show 2s ease-in-out forwards;
    color: #fff;
    cursor: default;
    position: relative;
    font-family: Avenir, Book, sans-serif;
    height: 100%;
}

.main-login-form {
    width: 80%;
    margin: 0 auto;
}
login-buttons {
    margin-top: 15px;
}

.login-container .muted {
    color: #888;
    font-weight: 100;
    display: block;
    width: 257px;
    margin: -7px auto 25px;
}

.login-img-logo {
    color: #A5A6AC;
    display: block;
    font-family: Antenna, Light, sans-serif;
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 50;
    text-align: center;
}

.v-textfield, .v-select-select, .v-textarea {
    border-radius: 0 !important;
}

.v-textfield {
    display: block;
    width: 100%;
    min-height: 30px;
    height: auto !important;
    border-radius: 0;
    color: #000;
    margin-bottom: 10px;
    padding: 2px 2px 2px 8px;
}

a.v-button {
    text-decoration: none;
}

.login-button {
    margin-top: 200px;
}
.qr-explanation {
    text-align: center;
    margin-bottom: 0 !important;
}

.qr-explanation, .qr-explanation p {
    color: #000;
}

.qr-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 350px;;
}

.qr-login-button {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 240px !important;
    margin-bottom: 20px;
    text-align: center;
    float: none !important;
}

#qr-modal .modal-dialog {
    width: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 3000;
    transform: translate(-50%, -50%);
}

.qr-login-error-button {
    width: auto;
    margin-bottom: 20px;
    float: right !important;
}

#qr-modal-error .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Forms */
/*--------------------------------------------------------------------------------------------------------------------*/

.login-container input[type=radio] {
    display: none;
}

.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none !important;
    height: 35px !important;
    border-radius: 2px !important;
}

.login-container .forgot-pass, .signin-form-buttons .forgot-pass {
    color: rgba(67, 66, 93, 1);
    cursor: pointer;
    display: block;
    float: right;
    font-size: 15px;
    font-weight: bold;
    margin-top: 30px;
}

.login-container .forgot-pass:hover, .signin-form-buttons .forgot-pass:hover {
    color: rgba(70, 50, 93, 1);
}

.signin-form-buttons {
    width: 100%;
}

.signin-form-buttons #back-label {
    float: left !important;
}

.login-container .v-button, .signin-form-buttons .v-button {
    background-color: rgba(250, 250, 250, 0);
    border: 2px solid rgba(214, 66, 38, 1);
    color: rgba(214, 66, 38, 1);
    height: 50px;
    font-family: Antenna, sans-serif;
    font-weight: bold;
    min-width: 200px;
    padding: 7px 20px;
    transform: translateX(-50%);
    margin-top: 35px;
    margin-bottom: 35px;
    margin-left: 50%;
}

.login-container .v-button:hover, .signin-form-buttons .v-button:hover {
    background-color: rgba(214, 66, 38, 1);
    border: none;
    color: rgba(250, 250, 250, 9);
    transition: 0.3s;
}

.login-container .v-button span, .signin-form-buttons .v-button span {
    font-size: 21px;
    margin-left: 2px;
}

#reset-password-submit, #login-submit, #select-company-submit {
    display: block;
    clear: both;
    margin-top: 0;
}

#back-label, #forgot-pwd-label {
    margin-bottom: 35px;
}

.captcha-width{
    width: 100px;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Select Company form */
/*--------------------------------------------------------------------------------------------------------------------*/

.ui.selection.active.dropdown {
    border-color: rgba(214, 66, 38, 1) !important;
}

.ui.selection.active.dropdown:hover {
    border-color: rgba(214, 66, 38, 1) !important;
}

.ui.selection.active.dropdown .menu {
    border-color: rgba(214, 66, 38, 1) !important;
}

.ui.dropdown .menu .selected.item {
    background: rgba(250, 233, 232, .9) !important;
}

.ui.dropdown .menu .item:hover {
    background: rgba(250, 233, 232, .6) !important;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Form's labels */
/*--------------------------------------------------------------------------------------------------------------------*/

@keyframes move-down {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(41px);
    }
}

@keyframes hide {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes remove {
    50% {
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes incorporate {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        opacity: 0;
    }
    50% {
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
    }
    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        opacity: 0;
    }
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Error messages */
/*--------------------------------------------------------------------------------------------------------------------*/

@keyframes show-error {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.login-error-message {
    animation-name: show-error;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    color: #00263A;
    display: block;
    font-size: 15px;
    margin-top: -20px;
    text-align: center;
}

.login-error-message img {
    height: 15px;
    margin-right: 5px;
    margin-top: -2px;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* New Password */
/*--------------------------------------------------------------------------------------------------------------------*/

.login-container .pwd-requirements {
    color: #797979;
    font-weight: bold;
    margin-bottom: 40px;
}

.login-container .pwd-requirements ul {
    padding-left: 20px;
}

.login-container .pwd-requirements ul li {
    list-style-type: none;
}

ul li .fa {
    display: inline-block;
    color: rgba(59, 147, 224, 1);
    font-family: Avenir, Book, sans-serif;
    font-size: 12px;
    margin-right: 12px;
}

ul li.is-active {
    color: #757575;
    font-weight: normal;
}

ul li.is-active .fa {
    animation-name: puff-out;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
}

ul li.is-inactive .fa {
    animation-name: puff-in;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
}

ul li.is-active .fa:before,
ul li.is-inactive .fa:before {
    font-family: 'Glyphicons Halflings', sans-serif;
    content: "\e013";
}

@keyframes puff-out {
    0% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(2);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1);
        filter: blur(0px);
    }
}

@keyframes puff-in {
    0% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        transform-origin: 50% 50%;
        transform: scale(2);
        filter: blur(2px);
    }
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Modals */
/*--------------------------------------------------------------------------------------------------------------------*/

.modal {
    z-index: 2050;
}

.responsive-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    position: fixed;
    width: 100%;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Material Login */
/*--------------------------------------------------------------------------------------------------------------------*/

.input-container {
    position: relative;
    margin-bottom: 35px;
}

.input-container .inputMaterial {
    border-bottom: 2px solid #757575;
    color: black;
    display: block;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    width: 100%;
}

.input-container .inputMaterial:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.input-container .inputMaterial:focus {
    outline: none;
}

.input-container .inputMaterial::placeholder {
    opacity: 0;
}

/* LABEL ======================================= */
.input-container label, .input-select-container label {
    color: rgba(67, 66, 93, 1);
    font-size: 15px;
    font-weight: normal;
    pointer-events: none;
    position: absolute;
    left: 2px;
    top: 5px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
.input-container .inputMaterial:focus ~ label,
.input-container .inputMaterial:valid ~ label,
.input-container .inputMaterial.active-input ~ label,
.input-container .inputMaterial:not(:placeholder-shown) ~ label,
.input-select-container .input-select-material:focus ~ label,
.input-select-container .input-select-material:valid ~ label {
    font-size: 13px;
    left: -1px;
    top: -20px;
}

/* BOTTOM BAR ================================= */
.input-container .bar, .input-select-container .bar {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    background: #E8E8E8;
}

.input-container .bar:before, .input-container .bar:after,
.input-select-container .bar:before, .input-select-container .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.input-container .bar:before, .input-select-container .bar:before {
    left: 50%;
}

.input-container .bar:after, .input-select-container .bar:after {
    right: 50%;
}

/* active state */
.input-container .inputMaterial:focus ~ .bar,
.input-select-container .input-select-material:focus ~ .bar {
    background: #FFFFFF;
}

.input-container .inputMaterial:focus ~ .bar:before, .input-container .inputMaterial:focus ~ .bar:after,
.input-select-container .input-select-material:focus ~ .bar:before, .input-select-container .input-select-material:focus ~ .bar:after {
    width: 50%;
    background-color: rgba(214, 66, 38, 1);
}

.input-select-container {
    margin-bottom: 35px;
    position: relative;
}

.input-select-container:after {
    position: absolute;
    top: 18px;
    right: 10px;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.input-select-container .input-select-material {
    appearance: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: black;
    font-family: inherit;
    font-size: 18px;
    padding: 5px 10px 5px 3px;
    position: relative;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-select-container .input-select-material:focus {
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    outline: none;
}

.input-select-container .input-select-material:focus ~ :after {
    color: rgba(214, 66, 38, 1);
}

/*--------------------------------------------------------------------------------------------------------------------*/
/* Media Queries */
/*--------------------------------------------------------------------------------------------------------------------*/

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

    .index-container {
        height: auto;
    }

    .index-left-container {
        height: 200px;
        width: 100%;
    }

    .small-centered-container {
        top: 225px;
        padding: 50px 0 5px 0;
    }

    .login-container {
        height: 70%;
        width: 100%;
    }

    .ui.negative.message {
        top: 200px !important;
    }

    .qr-activate-device-section {
        margin: 100px 0 20px 0;
    }

    #login-header-message {
        margin-top: 50px;
    }

}

@media screen and (max-height: 600px) {
    .login-container, .index-left-container {
        min-height: 700px;
    }
}

@media screen and (max-height: 600px) and (max-width: 1150px ) {
    .login-container, .index-left-container {
        min-height: auto;
    }
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* Explorer and Edge Compatibility */
/* ------------------------------------------------------------------------------------------------------------------ */

.input-container .inputMaterial:-ms-input-placeholder {
    color: transparent;
}

.input-container .inputMaterial::-ms-input-placeholder {
    color: transparent;
}

.input-select-container .input-select-material::-ms-expand {
    display: none;
}

.captcha-style {
    margin-top: 50px;
}

/* Styles for IE 10 and higher */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .input-container label {
        left: -1px;
        top: -20px;
    }

    .input-select-container label {
        left: -1px;
        top: -20px;
    }
}

/* Styles for Edge */
@supports (-ms-ime-align: auto) {
    .input-container label {
        left: -1px;
        top: -20px;
    }

    .input-select-container label {
        left: -1px;
        top: -20px;
    }
}
