
@font-face {font-family: "PPNeueMontreal-Regular";src: url("/css/fonts/283.otf") format("opentype");font-weight: 400;font-style: normal;}

@font-face {font-family: "PPNeueMontreal-Book";src: url("/css/fonts/1002.otf") format("opentype");font-weight: 400;font-style: normal;}

@font-face {font-family: "PPNeueMontreal-Bold";src: url("/css/fonts/1001.otf") format("opentype");font-weight: 700;font-style: normal;}

@font-face {font-family: "PPNeueMontreal-Medium";src: url("/css/fonts/1037.otf") format("opentype");font-weight: 400;font-style: normal;}

@font-face {font-family: "PPNeueMontreal-Bold";src: url("/css/fonts/1035.otf") format("opentype");font-weight: 700;font-style: normal;}


html {
    margin: 0 !important;
}

body {
    font-family: "PPNeueMontreal-Regular", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !important;
    position: relative !important;
    overflow-y: auto !important;
    font-size: 0.9em;
    background-size: cover;
    background-position: top center;
    background-color: black;
    height: 100vh;
}

a {
    font-size: 0.95em;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

img.logo {
    height: 2em;
    width: auto;
}

.nat-login {
    padding: 0em 3em 0em 3em;
}

h1 {
    text-transform: uppercase;
    font-size: 2.5em !important;
    font-weight: bold;
    color: white;
    font-family: "PPNeueMontreal-Medium", "Roboto Flex", sans-serif !important;
    text-align: center;
    width: 100%;
    padding-bottom: 0.5em;
}

label {
    margin-bottom: 0.5em;
    font-family: "Roboto Flex", sans-serif !important;
    color: #ececec;
    line-height: 1.625em;
    display: block;
    font-size: 1em;
    font-weight: 500;
}

.form-control {
    background-color: white;
    border: none;
    border-bottom: 1px solid #5f5f5f;
    color: 000;
    line-height: 2.357;
    margin-bottom: 2em;
    font-size: 1em;
    border-radius: 0;
}

.form-control:focus {
    border-color: inherit;
    box-shadow: none;
    background-color: white;
    color: black;
}

.btn-custom {
    background-color: #E02F28;
    color: white;
    border: 1px solid #E02F28;
    position: relative;
    overflow: hidden;
    line-height: 2.2em;
    transition: color 0.2s ease-in-out;
}

.btn-custom:hover, .btn-custom:focus, .btn-custom:active, .btn-custom.disabled {
    background-color: #ba211b !important;
    color: white !important;
    opacity: 1 !important
    border-color: #ba211b !important;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    border-color: #ba211b !important;
    opacity: 1;
}

.nat-flag {
    position: relative;
    top: -1px;
}

.welcome-message {
    font-weight: 500;
}

.alert {
    border: 0;
}

img.logo {
    height: 2em;
    width: auto;
    top: 0.2em;
    position: relative;
}

h1 > img.logo {
    height: 1.35em;
    padding-right: 0.15em;
    padding-left: 0.15em;
}

* {
    border-radius: 0 !important;
}


@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

.fade-out {
    animation: fadeOut 7s forwards;
}

@media (min-height: 900px) {
    .container {
        padding-top: 8em;
    }
}

@media (min-height: 700px)  and (max-height: 899px){
    .container {
        padding-top: 6em;
    }
}

@media (min-height: 500px) and (max-height: 699px) {
    .container {
        padding-top: 2em;
    }
}

@media (min-height: 300px) and (max-height: 499px) {
    .container {
        padding-top: 0em;
    }
}

body {
   background-image: url('../img/backgrounds/mining.jpg');
   background-size: cover;
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-position: top;
   position: relative;
   height: 100vh;
   margin: 0;
   color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.98));
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
}

input:-webkit-autofill {
    background-color: white !important;
}

.alert-danger {
    background-color: #ff372f;
    color: white;
}

.btn-close {
    transition: transform 0.3s ease;
}

.btn-close:hover {
    transform: rotate(90deg);
}


.alert.alert-success, .alert.alert-success a {
    background-color: #cccccc;
    color: black;
}

#change-password-form .alert-danger .errorMessage {
    display: inline;
}