html {font-family: sans-serif;line-height: 1.15;-webkit-text-size-adjust: 100%;-webkit-tap-highlight-color: transparent;background: #fff;height: 100%;font-size: 16px;}

body {margin: 0;padding: 0; outline: none; font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size: 1rem;font-weight: 400;line-height: 1.5;height: 100%;}
* {
    --color-danger: #ef5350;
    --color-warning:  #ffb22b;
    /*--color-info: #17a2b8;*/
    --color-info: #4a76a8;
    /*--color-success: #28a745;*/
    --color-success: #25c5be;
}

.notify-chrome {
    font-size: .8rem;
}

.notify-chrome div,
.notify-chrome div a{
    display: flex;
    align-items: center;
    color: #777d86;;
    /*justify-content: center;*/
}
.notify-chrome img {
    height: 20px;
    margin-right: 10px;
}

.d-none {
    display: none;
}
/**/
form.form {

    border-top: 1px solid #eeeff0;
    border-bottom: 1px solid #eeeff0;
    margin-top: 30px;
    margin-bottom: 30px;

}
form.form button { padding: 8px 10px;
    outline: none;
    margin: 0 auto;
    min-width: 200px;
    border-radius: 2px;
    background: #0a4992;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    /*-webkit-transition: all 0.4s;*/
    /*-o-transition: all 0.4s;*/
    /*-moz-transition: all 0.4s;*/
    /*transition: all 0.4s;*/
    border: 0;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    margin-top: 20px;
    cursor: pointer;
}
form.form button.reg {
    margin-bottom: 10px;
    margin-top: 15px;
}
form.form button:disabled {
    cursor: default;
}
form.form button.processing {
    /*font-size: 0;*/
    color: transparent;
    position: relative;
    background: url(/SModules/Auth/src/img/loader.gif) center center no-repeat;
    background-size: 80%;
    height: 39px;
    padding: 0;
}

form.form .form-group {position: relative;padding-top: 1.5rem;width: 100%;}
form.form .form-group.required:before {
    content: '*';
    color: #921226;
    position: absolute;
    left: -8px;
    bottom: 10px;
}
form.form .form-group.flex {display: flex}
/*  form.form .form-group.links {justify-content: space-around;}*/
form.form .form-group.links .form-link:last-child{margin-left: auto}
.form-group a{color: #1088de; text-decoration: none; font-size: .85rem}
form.form .form-group p.confidence {font-size: 0.8rem; color: #5b5b5b !important; margin: 0; padding: 5px; margin-top: 20px}
form.form .form-group p.confidence a{font-size: 0.9rem; color: #5b5b5b !important;     text-decoration: underline;}
/**/
form.form .form-group label:not(.standart) {position: absolute;top: 0;left: 4px;font-size:  14px;opacity: 1;transform: translateY(0);transition: all 0.2s ease-out; color: rgb(33, 37, 41);}
form.form .form-group label.standart{    display: flex;
    font-size: .9rem;
    color: #5b5b5b;
    align-items: center;
}
form.form .form-group label.standart input{padding: 0;
    display: inline-flex;
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.pt-0 {
    padding-top: 0 !important;
}
/**/
form.form .form-group  input { width: 100%;font-size: 1.4rem;border: none;border-bottom: 2px solid rgba(51, 51, 51, 0.5);padding: 4px 5px;background-color: transparent; outline:none;}
/**/
form.form .form-group  .border{position: absolute;left: 0;bottom: 0;height: 0px;width: 0;-webkit-transition: all 0.4s;-o-transition: all 0.4s;-moz-transition: all 0.4s;transition: all 0.5s;background: #6675df;}
/**/
form.form .form-group input:focus + label + .border {width: 100%;}
/**/
form.form .form-group.valid .border{background: #00ad5f !important;width: 100% !important;}
/**/
form.form .form-group.invalid .border{background: #de4210 !important; border: 1px solid #de4210!important; width: 100% !important;}
/**/
form.form .form-group  input:placeholder-shown + label {opacity: 0;font-size: 1rem;transform: translateY(1rem);}


form.form .form-group .select {position: relative;width: 100%;}
form.form .form-group .select select {position: relative;font-family: inherit;background-color: transparent;width: 100%;    padding: 4px 5px;font-size: 1.4rem;border-radius: 0;border: none;border-bottom: 2px solid rgba(51, 51, 51, 0.5);}

form.form .form-group .select select:focus {outline: none;border-bottom: 2px solid #6675df;}
form.form .form-group .select select {appearance: none;-webkit-appearance:none}
form.form .form-group .select:after {position: absolute;top: 0.5rem;right:  0.9rem;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;}

form.form .form-group .select label {color: rgb(117, 117, 117);font-size: 1.4rem;font-weight: normal;position: absolute;pointer-events: none;left: 4px;top: -20px;transition: 0.2s ease all;}
form.form .form-group .select select:focus ~ label, form.form .form-group .select select:valid ~  label, form.form .form-group .select select:disabled ~  label , form.form .form-group .select select:read-only ~  label {color: #3b3b3b;top: -20px !important;transition: 0.2s ease all; font-size: 14px;}
form.form .form-group .select select:focus ~.border {width: 100%;}

.wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #ffffff;
}
.wrapper .wrapper-container {
    /*width: 60%;*/
    margin: auto;
    min-width: 375px;
}
.wrapper .wrapper-container .form-container form {
    padding: 10px;
    background: #f9f1e2;
    border-radius: 10px;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}
form.form .form-link a {
    color: #757575 !important;
    text-decoration: underline !important;
}
form.form button {
    background: #688f4e !important;
    border-radius: 5px !important;
}
body {
    background: #dee2e6;
}

.wobble-hor-bottom {
    -webkit-animation: wobble-hor-bottom 0.8s both;
    animation: wobble-hor-bottom 0.8s both;
}
@-webkit-keyframes wobble-hor-bottom {
    0%,
    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg);
    }
    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg);
    }
    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg);
    }
    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg);
    }
    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg);
    }
}
@keyframes wobble-hor-bottom {
    0%,
    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg);
    }
    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg);
    }
    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg);
    }
    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg);
    }
    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg);
    }
}

