@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin,cyrillic);
/* ---------- GENERAL ---------- */

body {
    color: #5a5656;
    margin: 0;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    background-color: rgba(215, 218, 207, 0.45) !important;
    font-family: 'PT Sans Narrow', sans-serif;
}


#loginFormWrapper {
    display: flex;           /* establish flex container */
    flex-direction: column;  /* make main axis vertical */
    justify-content: center; /* center items vertically, in this case */
    align-items: center;
    position:absolute;
    width:100vw;
    height:100vh;
    top:0;
}



fieldset {
    border:none;
    margin:0px;
    padding:0px;
    width: 280px;
}

#loginFormWrapper {
    position: absolute;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



h1 { font-size: 1.4rem; }

strong {
    font-weight: bold;
}


/* ---------- LOGIN ---------- */


form fieldset input[type="text"], input[type="password"] {
    background: #fdfdfd;
    border: none;
    border-radius: 3px;
    color: #353131;
    font-size: 18px;
    height: 50px;
    outline: none;
    padding: 0px 10px;
    width:100%;
    margin-bottom:.4rem;
    -webkit-appearance:none;
    font-family: 'PT Sans Narrow', sans-serif;
}

form .btn {
    background-color: #8d9296;
    border: none;
    border-radius: 3px;
    color: #f4f4f4;
    cursor: pointer;
    font-family: 'PT Sans Narrow', sans-serif;
    height: 50px;
    text-transform: uppercase;
    width: 300px;
    -webkit-appearance:none;
    font-size:20px;
}

.toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
    float:left;
    margin-right:1rem;
}
.toggle:before {
    content: "";
    position: relative;
    top: 1px;
    left: 1px;
    width: 40px;
    height: 22px;
    display: block;
    background: #c8ccd4;
    border-radius: 12px;
    transition: background 0.2s ease;
}
.toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    display: block;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(154,153,153,0.75);
    transition: all 0.2s ease;
}
.toggle span svg {
    margin: 7px;
    fill: none;
}
.toggle span svg path {
    stroke: #c8ccd4;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 0;
    transition: all 0.5s linear;
}
#cbx:checked + .toggle:before {
    background: #52d66b;
}
#cbx:checked + .toggle span {
    transform: translateX(18px);
}
#cbx:checked + .toggle span path {
    stroke: #52d66b;
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
}
.center {
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 21px);
}
.checkbox {
    margin:.4rem 0 1rem 0rem;
    height: 1rem;
}
.checkbox > span {
    margin-top:.2rem;
    position:absolute;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}