:root {
    --color-blue: #2a41e8;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #787567;
}
body, html {
    /*to fix script style*/
    margin: 0!important;
    padding: 0;
    background-color: #fff;
    scroll-behavior: smooth;
    outline: none;
    min-height: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    /*-webkit-transition: background-color .3s ease;*/
    color: #626262;
}
html {
    height: 100%;
}
*,
button:focus {
    outline: none;
}
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
img {
    max-width: 100%;
}
#app {
    display: flex;
    align-items: center;
    height: 100%;
    flex-grow: 1;
    width: 100%;
    background: url('../images/bg.jpg');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
}
.main-content {
    display: block;
    max-width: 80%;
    margin: 0 auto;
}
.left-block {
    background: #eff2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.left-block,
.panel {
    height: 100%;
}
/*right block*/
.panel {
    display: block;
    background: #fff;
    padding: 28px;
}
.panel-heading {
    display: block;
    margin-bottom: 15px;
}
.panel-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #2c2c2c;
}
.panel-subtitle {
    font-size: 14px;
    letter-spacing: .01rem;
}
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    position: absolute;
    z-index: 1;
    opacity: 0;
    left: 0;
    display: block;
}
.form-group.remember-bl {
    margin: 15px 0;
}
.checkbox {
    display: block;
    width: 100%;
    position: relative;
}
.checkbox label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
}
.checkbox label span.checkbox-icon,
.checkbox label span.radiobox-icon {
    background: transparent;
    border: 2px solid rgb(180, 180, 180);
    transition: all .2s ease;
    height: 20px;
    width: 20px;
    min-height: 20px;
    min-width: 20px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 4px;
    transform: rotate(-90deg);
}
.checkbox label span.radiobox-icon {
    transform: unset;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    cursor: pointer;
}
.checkbox input:checked + span.checkbox-icon,
.checkbox input:checked + label span.checkbox-icon {
    border-radius: 2px;
    background: var(--color-blue);
    border-color: var(--color-blue);
    transform: rotate(0deg);
}
.checkbox input:checked + span.radiobox-icon,
.checkbox input:checked + label span.radiobox-icon {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}
.checkbox input + span.checkbox-icon:after,
.checkbox input + label span.checkbox-icon:after {
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: scale(0.5) rotate(45deg);
    transition: all 0.35s cubic-bezier(0.3,-.41,.19,2), opacity 0.3s;
}
.checkbox input:checked + span.checkbox-icon:after,
.checkbox input:checked + label span.checkbox-icon:after {
    transform: scale(1) rotate(45deg);
    opacity: 1;
}
.checkbox input + label span.radiobox-icon:after {
    content: '';
    border-radius: 50%;
    -webkit-transform: scale(0);
    background-image: none!important;
    position: absolute;
    background: #fff;
    width: 8px;
    height: 8px;
    -webkit-transition: all .25s cubic-bezier(.27,.01,.38,1.06);
    transition: all .25s cubic-bezier(.27,.01,.38,1.06);
    -webkit-transition-delay: .1s;
    transition-delay: .1s;
    opacity: 0;
    transform: scale(0);
}
.checkbox input:checked + label span.radiobox-icon:after {
    transform: scale(1) rotate(45deg);
    opacity: 1;
}
.form-group.remember-bl .forgot a {
    text-decoration: unset;
    color: var(--color-blue);
    font-size: 14px;
}
/*style for form*/
/*.panel-body .form-control,*/
/*.tab-pane .form-group .form-control,*/
.form-control {
    display: block;
    position: relative;
    font-size: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    box-shadow: 0 0 0 0 rgba(0,0,0,.15);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 5px;
    color: #3d5170;
    line-height: 1;
}
select.form-control:invalid {
    display: block!important;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
}
.tab-pane .form-control.ss-main,
.form-control.ss-main {
    padding: 0!important;
}
.form-control.ss-main .ss-single-selected,
.form-control.ss-main .ss-multi-selected {
    padding: 10px;
}
.ss-main .ss-single-selected .placeholder {
    line-height: 1.3;
}
#app .form-control {
    padding: 10px 15px 10px 42px;
    color: rgba(0,0,0,.4);
}
.panel-body .form-control:hover {
    border-color: #b3bdcc;
}
.panel-body .form-control:focus {
    border: 1px solid var(--color-blue);
}
.panel-body .form-control:-webkit-autofill,
.panel-body .form-control:-webkit-autofill:hover,
.panel-body .form-control:-webkit-autofill:focus,
.panel-body .form-control:-webkit-autofill:active {
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}
@keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}

@-webkit-keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}
.form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin-top: 20px;
}
.label-placeholder {
    position: absolute;
    /*top: 0;*/
    left: 0;
    color: rgba(0,0,0,.4);
    font-size: 12px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-radius: 5px;
    padding-left: 42px;
    transform: translateY(0);
}
.panel-body .form-control:focus {
    -webkit-box-shadow: 0 3px 10px 0 rgba(0,0,0,.15);
    box-shadow: 0 3px 10px 0 rgba(0,0,0,.15);
}
/*.panel-body .form-control:-webkit-autofill:empty + .label-placeholder,*/
/*.panel-body .form-control:empty + .label-placeholder {*/
/*    transform: translateY(0);*/
/*}*/
.panel-body .form-control:focus + .label-placeholder,
.panel-body .form-control:valid + .label-placeholder,
.panel-body .form-control.valid + .label-placeholder {
    transform: translate(0, -200%);
}
.form-group .icon {
    position: absolute;
    z-index: 100;
    font-size: 15px;
    color: rgba(0,0,0,.4);
    cursor: default;
    left: 10px;
}
.panel-body .form-control:focus ~ .icon,
.panel-body .form-control:focus + .label-placeholder {
    color: var(--color-blue);
}
.forgot {
    text-align: right;
}
.form-group .btn-primary {
    padding: 10px 25px;
    font-size: 14px;
    text-align: center;
    border: 1px solid var(--color-blue);
    background: #fff;
    color: var(--color-blue);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
}
.help-block {
    font-size: 12px;
    margin: 5px 0;
    color: rgb(234, 84, 85);
}
.log-but {
    text-align: right;
}
.main-content .logo-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}
/*.panel-body .form-control:empty {*/
/*    border-color: red;*/
/*}*/
/*.panel-body .form-control:empty .btn-primary {*/
/*    opacity: .5;*/
/*    cursor: default;*/
/*    pointer-events: none;*/
/*}*/
/*end style for form*/
/*end of right block*/
@media screen and (max-width: 575px) {
    .forgot {
        text-align: left;
        margin-top: 10px;
    }
    .main-content {
        max-width: 100%;
    }
}
