﻿@font-face {
    font-family: 'Montserrat';
    font-weight: normal;
    src: url("../../fonts/Montserrat-Regular.ttf");
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    src: url("../../fonts/Montserrat-SemiBold.ttf");
}

@font-face {
    font-family: 'Montserrat';
    font-weight: bold;
    src: url("../../fonts/Montserrat-Bold.ttf");
}

body.theme-main {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    color: #fff;
}

@media(min-width:768px) {
    body.theme-main {
        background: #0e3156 url("/Apleona_files/apleona-main-bg.png") no-repeat center top;
        background-size: cover;
        background-attachment: fixed;
    }
}

@media(max-width:767px) {
    body.theme-main:before {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #0e3156 url("/Apleona_files/apleona-main-bg.png") no-repeat center top;
        background-size: cover;
    }
}

body.theme-main a {
    color: #becfdd;
}

body.theme-main a:hover {
    color: #9db6cb;
}

body.theme-main .container-main {
    max-width: 460px;
    padding: 2.5rem 3rem;
}

body.theme-main .client-logo {
    width: 125px;
    margin-bottom: 2rem;
    position: relative;
}

body.theme-main .row-actions {
    display: flex;
    flex-direction: column-reverse;
}

@media(min-width:768px) {
    body.theme-main .row-actions {
        flex-direction: row;
        justify-content: space-between;
    }
}

body.theme-main .row-actions--reverse {
    flex-direction: column;
}

@media(min-width:768px) {
    body.theme-main .row-actions--reverse {
        flex-direction: row-reverse;
    }
}

body.theme-main .row-actions--reverse .btn+.btn {
    margin-left: 0;
}

body.theme-main .row-actions--buttons {
    margin-top: 2.5rem;
}

body.theme-main .row-actions--buttons .btn {
    margin-bottom: 1rem;
}

@media(max-width:768px) {
    body.theme-main .row-actions--forgot-password>*:nth-child(1) {
        order: 2;
    }

    body.theme-main .row-actions--forgot-password>*:nth-child(2) {
        order: 1;
    }
}

body.theme-main .card {
    border: 0;
    border-radius: 0;
    background: none;
}

body.theme-main .card-header {
    background: none;
    padding: 0;
    border: 0;
    position: relative;
    margin: 1rem 0;
    min-height: 39px;
    max-width: 16rem;
}

body.theme-main .card-header:before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 100%;
    height: 39px;
    background: url("/Apleona_files/apleona-header-bg.png") repeat 100% 0;
}

body.theme-main .card-header-text {
    color: #4a4f5d;
    background: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    box-shadow: 0 0 0 5px #fff;
    line-height: 1.9;
    top: -5px;
    left: 5px;
}

body.theme-main .card-body {
    padding: 1rem 0;
}

body.theme-main .card-text {
    margin-bottom: 2rem;
}

body.theme-main .form-control {
    border-color: #dadada;
    height: 2.75rem;
    margin-bottom: .25rem;
}

body.theme-main .btn {
    padding: .85rem 1rem;
}

@media(min-width:768px) {
    body.theme-main .btn {
        padding: .6rem 1rem;
    }
}

body.theme-main .btn-primary {
    color: #fff;
    background-color: #4c668b;
    border-color: #4c668b;
    font-weight: bold;
}

body.theme-main .btn-primary:hover,
body.theme-main .btn-primary:focus,
body.theme-main .btn-primary:active,
body.theme-main .btn-primary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #435a7b;
    border-color: #435a7b;
}

body.theme-main .btn-primary:focus,
body.theme-main .btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 .2rem rgba(76, 102, 139, .5);
}

body.theme-main .btn-secondary {
    color: #4c668b;
    background: #fff;
    border-color: #4c668b;
    font-weight: bold;
}

body.theme-main .btn-secondary:hover,
body.theme-main .btn-secondary:focus,
body.theme-main .btn-secondary:active,
body.theme-main .btn-secondary:not(:disabled):not(.disabled):active {
    color: #4c668b;
    background: #fff;
    border-color: #4c668b;
}

body.theme-main .btn-secondary:focus,
body.theme-main .btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 .2rem rgba(76, 102, 139, .5);
}

body.theme-main .btn-link {
    color: #becfdd;
    padding-left: 0;
    padding-right: 0;
}

body.theme-main .btn-link:hover {
    color: #becfdd;
    text-decoration: none;
}

body.theme-main .btn-link-secondary {
    color: #4c668b;
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: normal;
}

body.theme-main .btn-link-secondary:hover,
body.theme-main .btn-link-secondary:focus,
body.theme-main .btn-link-secondary:active,
body.theme-main .btn-link-secondary:not(:disabled):not(.disabled):active {
    color: #4c668b;
    background: none;
}

body.theme-main .btn+.btn {
    margin-left: 0;
}

@media(min-width:768px) {
    body.theme-main .btn+.btn {
        margin-left: 1rem;
    }
}

body.theme-main .link-primary {
    color: #4c668b;
}

body.theme-main .link-primary:hover {
    color: #3a4e6a;
}

body.theme-main .link-secondary {
    color: #becfdd;
}

body.theme-main .link-secondary:hover {
    color: #9db6cb;
}

body.theme-main .text-error {
    color: #e73838;
    display: inline;
    padding: 0;
}

body.theme-main .text-error ul {
    padding-left: 0;
    list-style: none;
}

body.theme-main .view-login.card-body form {
    display: flex;
    flex-direction: column;
}

body.theme-main .view-login.card-body .section-buttons {
    order: 2;
}

body.theme-main .view-login.card-body .section-forgot-password {
    order: 1;
}

@media(min-width:768px) {
    body.theme-main .container-wide {
        width: 680px;
        margin-left: -158px;
    }
}

body.theme-main [class^="icon"] {
    display: none;
}

body.theme-main .form-check {
    padding-left: 3.5rem;
}

body.theme-main .form-check-input {
    border: 1px solid #dadada;
    border-radius: 12.5px;
    width: 43.75px;
    height: 25px;
    box-shadow: 0 0 2px rgba(0, 0, 0, .4) inset;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: all .2s ease-in-out;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin-left: -3.5rem;
}

body.theme-main .form-check-input:after {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2px;
    margin: auto;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    content: '';
    background: #fff;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, .4);
    transition: left .2s ease-in-out;
    pointer-events: none;
}

body.theme-main .form-check-input:checked {
    background: #e73838;
    border-color: #e73838;
}

body.theme-main .form-check-input:checked:after {
    left: 18.75px;
}

body.theme-main .form-check-label {
    cursor: pointer;
}

body.theme-main .modal {
    color: #4a4f5d;
}

body.theme-main .modal-dialog {
    margin-top: 3rem;
}

body.theme-main .modal-content {
    border-radius: 0;
}

body.theme-main .modal-header .close {
    background: url("/Apleona_files/ico-close.svg") no-repeat center center;
    background-size: 16px;
    opacity: 1;
}

body.theme-main .modal-header .close>span {
    visibility: hidden;
}

body.theme-main .modal-footer {
    background: rgba(190, 207, 221, .4);
}