
/* Validation styles */
label.error {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: -10px;
    color: red;
    font-style: normal;
    font-size: 12px;
    line-height: 1;
}

.dropdown-menu {
    margin-top: 1px;
    padding: 0;
    border: none;
}

.wendimo-select .dropdown-content {
    border: 1px solid #CDCDCD;
    border-top: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

    select::-ms-expand {
        display: none;
    }

.dropdown {
    height: 100%;
    background: #fff;
    border: 1px solid #ddd;
}

.dropdown--dark {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid #606168;
}

    .dropdown--dark .dropdown-toggle::after {
        background: url("../img/icons/select-arr-white.png") no-repeat center;
    }

    .dropdown--dark .dropdown-item {
        background: #606168;
        color: #ddd;
    }

        .dropdown--dark .dropdown-item:hover {
            background-color: #54555b;
        }

        .dropdown--dark .dropdown-item:focus {
            background-color: #54555b;
        }

.dropdown-menu {
    width: 100%;
    border-radius: 0;
}

.dropdown-item {
    padding-right: 15px;
    cursor: pointer;
}

    .dropdown-item:active {
        background: inherit;
        color: inherit;
    }

    .dropdown-item:focus {
        outline: none;
    }

.dropdown-toggle {
    height: 100%;
    min-height: 36px;
    padding-right: 10px;
    padding-left: 24px;
    text-align: right;
    border-radius: 0;
    min-width: 98px;
    background: transparent;
    color: inherit;
    border: none;
}

    .dropdown-toggle:focus {
        background: transparent;
        box-shadow: none;
        color: inherit;
        outline: -webkit-focus-ring-color auto 5px;
    }

    .dropdown-toggle::after {
        content: '';
        position: absolute;
        left: 6px;
        background: url("../img/icons/select-arr.png") no-repeat center;
        height: 100%;
        width: 20px;
        padding: 0;
        margin: 0;
        top: 0;
        border: none;
        filter: grayscale(1) brightness(2.5);
    }

html[dir=ltr] .dropdown-toggle {
    padding-left: 10px;
    padding-right: 24px;
    text-align: left;
}

    html[dir=ltr] .dropdown-toggle::after {
        right: 6px;
        left: unset;
    }

.dropdown:hover .dropdown-toggle::after, .dropdown.show .dropdown-toggle::after {
    filter: grayscale(1) brightness(4.5);
}
/* General site layout */
html {
    background: url("../img/login-bg.png") no-repeat center, #232635;
    background-size: cover, 100%;
    height: 100%;
    direction: rtl;
    text-align: right;
}

    html[dir=ltr] {
        direction: ltr;
        text-align: left;
    }

body {
    background: none;
    height: 100%;
    padding: 60px 0;
    text-align: initial;
}


/* PAGE: LOGIN */

.login-content {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
}

.login-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    margin: 0 auto;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .login-form {
        padding: 35px 40px 40px;
        width: 420px;
    }
}

.login-form__group {
    position: relative;
}

    .login-form__group input {
        padding-left: 30px;
    }

    .login-form__group > svg,
    .password-button {
        position: absolute;
        left: 10px;
        top: 11px;
        width: 20px;
        height: 20px;
    }

    .login-form__group svg use {
        fill: #83858E;
    }

html[dir=ltr] .login-form__group input {
    padding-right: 30px;
    padding-left: 12px;
}

html[dir=ltr] .login-form__group > svg,
html[dir=ltr] .password-button {
    left: unset;
    right: 10px;
}

.password-button svg {
    vertical-align: initial;
}

.password-button:hover {
    cursor: pointer;
}

.login-form__title {
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    margin: 15px 0;
    width: 100%;
}

.login-with {
    color: #fff;
    width: 100%;
    padding: 9px 0;
}

.login-form .form-group {
    min-height: 42px;
    width: 100%;
}

.login-form__input, .login-form__select {
    width: 100%;
    height: 42px;
    font-size: 16px;
    padding: 0 12px;
    border: 1px solid #606168;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}

    .login-form__input.error, .login-form__select.error {
        border: 1px solid red;
        margin-bottom: 12px
    }

        .login-form__input.error:focus, .login-form__select.error:focus {
            outline: none;
        }

    .login-form__input.valid, .login-form__select.valid {
        border: 1px solid green;
    }

        .login-form__input.valid:focus, .login-form__select.valid:focus {
            outline: none;
        }

    .login-form__input:-ms-input-placeholder, .login-form__select:-ms-input-placeholder {
        color: #fff;
    }

    .login-form__input::placeholder, .login-form__select::placeholder {
        color: #fff;
    }

    .login-form__input:focus:-ms-input-placeholder, .login-form__select:focus:-ms-input-placeholder {
        color: transparent;
    }

    .login-form__input:focus::placeholder, .login-form__select:focus::placeholder {
        color: transparent;
    }


.loading_bar,
.login-form__btn {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: none;
    border-radius: 1px;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    color: #fff;
    background: #00807D linear-gradient(90deg, #006AC7, #00807D) 0 center no-repeat;
    background-size: 100%;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    transition: all .2s;
}

    .login-form__btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 95%;
        padding: 8px 10px;
    }

    .login-form__btn:hover {
        color: #00807D;
        text-decoration: none;
        background-color: #fff;
        background-size: 0;
    }

    .login-form__btn[disabled] {
        animation: gradientBG 1s ease infinite;
    }

/* Shine */

.loading_bar {
    position: relative;
    overflow: hidden;
    height: 53px;
}

    .loading_bar:after {
        content: '';
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateX(100%);
        position: absolute;
        z-index: 1;
        animation: slide 1s infinite;
        background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(128,186,232,0) 99%, rgba(125,185,232,0) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,0.8)), color-stop(99%,rgba(128,186,232,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* IE10+ */
        background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 */
    }

/* animation */

@keyframes slide {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.login-logo {
    display: block;
    width: 175px;
    min-height: 37px;
    margin: 20px auto 0;
}

@media (min-width: 576px) {
    .login-logo {
        margin: 60px auto 0;
    }
}

.login-logo svg {
    width: 100%;
    height: 100%;
}

.login-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-button {
    color: #fff;
    font-size: 16px;
    margin-top: 20px;
}

a.footer-button {
    color: #4eb4ff;
}

.recaptcha-container {
    margin-bottom: 15px;
}

.form-group.password-indicator {
    color: #fff;
    height: auto;
}

.password-metter {
    height: 4px;
    background-color: #606168;
    position: relative;
    margin-top: 7px;
}

    .password-metter div {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
    }

    .password-metter.green div {
        left: 20%;
        background-color: #00a651;
    }

    .password-metter.orange div {
        left: 40%;
        background-color: #ff7600;
    }

    .password-metter.yellow div {
        left: 60%;
        background-color: #f8fd37;
    }

    .password-metter.red div {
        left: 80%;
        background-color: #f00;
    }

.popover {
    max-width: 200px;
    background-color: #00807d;
    color: #fff;
    border-radius: 0;
}

    .popover .arrow::after {
        border-top-color: #00807d;
    }

    .popover .popover-body {
        font-size: 1.1em;
        color: #fff;
    }

.description-text {
    color: #ccc;
    font-size: 0.8em;
    margin-bottom: 20px;
}

.login-form .form-group.password-tags {
    display: flex;
    height: auto;
    min-height: 0;
    min-height: initial;
}

.password-tags .tag-item {
    flex: auto;
    background-color: #3b3b3b;
    line-height: 31px;
    color: #8f8f8f;
    font-size: 12px;
    border-radius: 15px;
    transition: all 0.3s;
    opacity: 0.8;
}

    .password-tags .tag-item span {
        font-weight: 500;
    }

    .password-tags .tag-item i {
        padding: 2px;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        line-height: 10px;
        display: inline-block;
        font-size: 10px;
        margin-right: 6px;
        background-color: #5d5d5d;
        color: #b9b9b9;
        white-space: nowrap;
        padding-right: 5px;
    }


    .password-tags .tag-item.active {
        background-color: #cacaca;
        color: #313131;
    }

        .password-tags .tag-item.active i {
            background-color: #3c8d64;
            color: #fff;
        }

    .password-tags .tag-item:nth-child(2) {
        margin: 0 5px;
    }


.login-form__img {
}

    .login-form__img img {
        max-width: 50%;
    }

    .login-form__img.full img {
        max-width: 100%;
    }

    .login-form__img.large img {
        max-width: 75%;
    }

    .login-form__img.small img {
        max-width: 25%;
    }

    .login-form__img.center {
        text-align: center;
    }


.login-first-time-description {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 0;
    width: 100%;
    font-size: 12px;
    color: white;
}

    .login-first-time-description a {
        font-size: 1em;
        color: #4eb4ff;
    }

.footer-buttons {
    color: #ffffff;
    margin-top: 10px;
}

.login-form__countryCodes {
    display: flex;
    width: 100%;
}

    .login-form__countryCodes .login-form__group {
        flex: 1;
    }

    .login-form__countryCodes .login-form__countryCode {
        flex: 0;
        margin-right: 10px;
    }

html[dir=ltr] .login-form__countryCodes .login-form__countryCode {
    margin-right: unset;
    margin-left: 10px;
}

    html[dir=ltr] .login-form__countryCodes .login-form__countryCode .dropdown-menu {
        left: unset;
        right: 0;
    }

.login-form__countryCode .dropdown {
    width: 100%;
    border: 1px solid #606168;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}


    .login-form__countryCode .dropdown button img {
        width: 20px;
        vertical-align: sub;
    }

.login-form__countryCode .dropdown-toggle {
    min-width: unset;
    width: 100%;
    padding-left: 30px;
}

.login-form__countryCode ul {
    border: 1px solid #606168;
    margin-top: 0;
    margin-left: -1px;
    width: 270px;
    max-height: 400px;
    overflow-x: auto;
    direction: ltr;
}

.login-form__countryCode li {
    direction: ltr;
    text-align: left;
    padding: 6px;
    cursor: pointer;
    background-color: #202028;
    color: white;
}

    .login-form__countryCode li:not(:last-child) {
        border-bottom: 1px solid #606168;
    }

    .login-form__countryCode li:not(.selected):hover {
        background-color: #363642;
    }

    .login-form__countryCode li.selected {
        cursor: default;
        pointer-events: none;
        background-color: #0062cc;
    }

    .login-form__countryCode li img {
        width: 20px;
    }

.change-login-method {
    display: flex;
    width: 100%;
    margin: 15px 0;
}

    .change-login-method .hr {
        flex: 1;
        background-color: #0072AA;
        height: 1px;
        margin-top: 12px;
    }

    .change-login-method .title {
        color: white;
        padding: 0 10px;
    }

.change-login-method-button {
    background: none;
    border: 1px solid #006FB8;
}

input:focus ~ svg,
input:focus ~ .password-button {
    filter: brightness(1.5);
}
