﻿@charset "utf-8";
/* CSS Document */
html,
body {
    height: 100%;
}

body {
  background-image: url('../_images/NMPortalBG.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.container > .row {
    height: 100vh;
}
.pc-brand img {
    height: 64px;
    width: 55px;
}
.btn:focus,
.btn:active{
    outline: 0 !important;
}
/* entire container, keeps perspective */
.card-container {
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    margin-bottom: 50px;
}
/* flip the pane when hovered */
.card-container:not(.manual-flip):hover .card,
.card-container.hover.manual-flip .card{
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}


.card-container.static:hover .card,
.card-container.static.hover .card {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;
}
/* flip speed goes here */
.card {
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -o-transition: -o-transform .5s;
    transition: transform .5s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* front pane, placed above back */
.front {
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

/* back, initially hidden pane */
.back {
    background-color: rgba(60, 72, 83, 1);
    color: #f7f7f7;
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
    z-index: 3;
}

.back .btn-simple{
    position: absolute;
    left: 0;
    bottom: 4px;
}
/*        Style       */


.card{
    background: none repeat scroll 0 0 #FFFFFF;
    border: 0 solid rgba(0,0,0,.125);
    border-radius: 6px;
    color: #444444;
}
.card-container {
    width: 100%;
    height: 460px;
    border-radius: 6px;
}
.front, .back {
    width: 100%;
    height: 460px;
    border-radius: 6px;
    -webkit-box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.16);
}

.form-signin {
    width: 100%;
    padding: 15px;
    margin: auto;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
    height: 3.125rem;
    padding: .75rem;
}

.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0; /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    pointer-events: none;
    cursor: text; /* Match the input under the label */
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: 1.25rem;
    padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
    padding-top: .25rem;
    padding-bottom: .25rem;
    font-size: 12px;
    color: #777;
}

input:disabled, select:disabled, button:disabled {
    cursor: not-allowed;
    color: #999;
}

.alert {
    border-radius: 0;
}

.hh-errormessage {
    text-align: center
}

.hh-errormessage .alert {
    position: relative;
    padding: .25rem .5rem;
    margin: 0 .5rem 1rem;
    border: 0px solid transparent;
    border-radius: .25rem;
    background-color: #dc3545;
    color: #FFFFFF;
}

.hh-errormessage .alert-info {
    position: relative;
    padding: .25rem .5rem;
    margin: 0 .5rem 1rem;
    border: 0px solid transparent;
    border-radius: .25rem;
    background-color: #0f6674;
    color: #FFFFFF;
}

.hh-errormessage .alert-success {
    position: relative;
    padding: .25rem .5rem;
    margin: 0 .5rem 1rem;
    border: 0px solid transparent;
    border-radius: .25rem;
    background-color: #1e7e34;
    color: #FFFFFF;
}

.hh-errormessage .alert-blank {
    position: relative;
    padding: .25rem .5rem;
    margin: 0 .5rem 1rem;
    border: 0px solid transparent;
    border-radius: .25rem;
    background-color: transparent;
    color: #FFFFFF;
}

.error-sign {
    height: 96px;
    width: 96px;
}

.error-bg{
    background-color:rgba(255,255,255,.5);
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
    .form-label-group > label {
        display: none;
    }
    .form-label-group input::-ms-input-placeholder {
        color: #777;
    }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form-label-group > label {
        display: none;
    }
    .form-label-group input:-ms-input-placeholder {
        color: #777;
    }
}

/*       Fix bug for IE      */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .front, .back{
        -ms-backface-visibility: visible;
        backface-visibility: visible;
    }

    .back {
        visibility: hidden;
        -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
        transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
    }
    .front{
        z-index: 4;
    }
    .card-container:not(.manual-flip):hover .back,
    .card-container.manual-flip.hover .back{
        z-index: 5;
        visibility: visible;
    }
}