﻿@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500');

@font-face {
    font-family: Roboto;
    src: url('/fontsV2/Roboto-Regular.ttf');
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body, input, textarea {
    font-family: 'Roboto' !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
}

    input:focus {
        outline: 0;
    }

    input::-moz-focus-inner {
        border: 0;
    }

    input:required {
        box-shadow: none;
    }

    input:invalid {
        box-shadow: none;
    }

:required {
    border-color: none;
}

.nowrap {
    white-space: nowrap;
}

body {
    background: -webkit-linear-gradient(65deg, rgba(0, 0, 70, 0.95), rgba(28, 181, 224, 0.95)), url("../images/bg.png") center center no-repeat; /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(65deg, rgba(0, 0, 70, 0.95), rgba(28, 181, 224, 0.95)), url("../images/bg.png") center center no-repeat; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    color: #FFF;
}

a {
    color: #FFF;
    text-decoration: underline;
    cursor: pointer;
}

    a:hover {
        color: #D8D8D8 !important;
        text-decoration: underline;
    }

.hidden {
    display: none!important;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: rgba(255, 255, 255, 0.5);
}

::-moz-placeholder { /* Firefox 19+ */
    color: rgba(255, 255, 255, 0.5);
}

:-ms-input-placeholder { /* IE 10+ */
    color: rgba(255, 255, 255, 0.5);
}

:-moz-placeholder { /* Firefox 18- */
    color: rgba(255, 255, 255, 0.5);
}

#divLostpassandTerms, #divTrustedMachine, #divTrustedMachine, #divTrustedMachine2 {
    font-size: 14px !important;
    text-align: center !important;
    padding-top: 20px;
}

.inputflex {
    display: flex;
    flex-direction: row;
    padding: 5px;
    flex-wrap: wrap;
    border: none;
    border-bottom: 1px solid #FFF;
    padding-top: 15px;
    flex-wrap: wrap-reverse;
}

#SecondaryPwdBoxes input[type="password"] {
    background-color: rgba(216,216,216,0) !important;
    border: 1px solid rgba(28, 181, 224, 0.95);
}

    #SecondaryPwdBoxes input[type="password"]:disabled {
        background-color: rgba(216,216,216,0.5) !important;
        border: 1px solid rgba(216,216,216,0.5);
    }

#Password {
    letter-spacing: 0em;
   font-size: 24px;

}

    #Password::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        letter-spacing: 0em;
        font-size: 16px;
    }

    #Password::-moz-placeholder { /* Firefox 19+ */
        letter-spacing: 0em;
        font-size: 16px;
    }

    #Password:-ms-input-placeholder { /* IE 10+ */
        letter-spacing: 0em;
        font-size: 16px;
    }

    #Password:-moz-placeholder { /* Firefox 18- */
        letter-spacing: 0em;
        font-size: 16px;
    }

.inputflex input {
    border: none;
    font-size: 16px;
    background-color: transparent;
    color: #FFF;
}

        .inputflex input[type="submit"] {
            background-color: #ffd800 !important;
            border: 1px solid #FFF;
            font-size: 15px;
            padding: 5px;
            cursor: pointer;
            color: #000;
        }

            .inputflex input[type="submit"]:hover {
                background-color: #B29700 !important;
            }

        .inputflex input:focus {
            outline-width: 0;
        }

    .inputflex .inputicon {
        margin: auto 10px auto 0;
        color: #FFFFFF;
        text-align: right;
    }

    .inputflex a {
        color: #FFFFFF;
    }

.flex-grow-2 {
    flex-grow: 2;
}


.equalWidth {
    flex: 1;
    padding: 5px 4px 0 0 !important;
    border: none;
    text-align: right;
    overflow: hidden;
}

    .equalWidth input {
        max-width: 100%;
        max-height: 95%;
        width: 100%;
        height: 100%;
        border: none;
        border-bottom: 1px solid #FFF !important;
        text-align: center;
        font-size: 24px;
        padding: 0;
        top: 0;
    }


.login-block {
    width: 100%;
    margin: 0 auto;
}

	.login-block h1 {
		text-align: center;
		color: #FFFFFF;
		font-size: 18px;
		text-transform: uppercase;
		margin-top: 0;
		margin-bottom: 20px;
        font-weight: 700;
	}
    

/*Center Login*/
#form {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-container {
    height: 50vh;
}

/*Flipping animation*/
/* entire container, keeps perspective */
.flip-container {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
	/* flip the pane when hovered */
	 .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

@media only screen and (max-width : 400px) {

    .flip-container, .front, .back {
        width: 100%!important;
    }
}

@media only screen and (max-height : 800px) {
    .flip-container {
        height: 90vh!important;
    }

}

.flip-container, .front, .back {
	width: 400px;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
}

@-webkit-keyframes kf_shake {
    0% {
        -webkit-transform: translate(30px);
    }

    20% {
        -webkit-transform: translate(-30px);
    }

    40% {
        -webkit-transform: translate(15px);
    }

    60% {
        -webkit-transform: translate(-15px);
    }

    80% {
        -webkit-transform: translate(8px);
    }

    100% {
        -webkit-transform: translate(0px);
    }
}

@-moz-keyframes kf_shake {
    0% {
        -moz-transform: translate(30px);
    }

    20% {
        -moz-transform: translate(-30px);
    }

    40% {
        -moz-transform: translate(15px);
    }

    60% {
        -moz-transform: translate(-15px);
    }

    80% {
        -moz-transform: translate(8px);
    }

    100% {
        -moz-transform: translate(0px);
    }
}

@-o-keyframes kf_shake {
    0% {
        -o-transform: translate(30px);
    }

    20% {
        -o-transform: translate(-30px);
    }

    40% {
        -o-transform: translate(15px);
    }

    60% {
        -o-transform: translate(-15px);
    }

    80% {
        -o-transform: translate(8px);
    }

    100% {
        -o-origin-transform: translate(0px);
    }
}

.checkbox, .alert {
    text-align: left!important;
    color: #FFF;
    font-size: 14px    
}

    .checkbox label {
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

#toast-container.toast-top-full-width > div, #toast-container.toast-bottom-full-width > div {
    width: 100% !important;
}

/*Hide Contact on Mobile*/
@media screen and (max-width: 768px) {
    .hidden-xs {
        display: none;
    }
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.login_contacts {
    position: fixed;
    margin-bottom: 80px;
    text-align: center;
    color: #FFFFFF;
    bottom: 0;
    z-index: 0;
    font-size: 14px;
}

@media screen and (max-height: 600px) {
    .login_contacts {
        font-size: 12px;
    }
}

@media screen and (max-height: 500px) {
    .login_contacts {
        display: none;
    }
}