@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.1/font/bootstrap-icons.css");

/* Debug */
.debug {
    /* border: 1px solid red !important; */
}

.debug-2 {
    /* border: 1px solid blue !important; */
}

.debug-3 {
    /* border: 1px solid purple !important; */
}

/* Font */
* {
    font-family: "Avenir Next", Helvetica, sans-serif;
    font-style: normal;
}

/* Body */
body, html {
    background-color: #FFFFFF;
}

html {
    height: 100%;
}

body {
    background: linear-gradient(120deg, #FFFFFF 60%, rgba(255, 255, 255, 0)), url(../../img/login/background.png);
    background-color: #98C93C;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

/* Laptop */
.laptop {
    max-width: 720px;
    width: 90%;
}

/* Login */
.login-container {
    width: 470px;
}

.login-box {}

.login-header {
    max-width: 470px;
}

.login-header img {}

.login-header h1 {
    font-weight: normal;
    font-size: 30px;
}

.login-header p {
    font-weight: normal;
    font-size: 20px;
}

/* Error message */
#error-message {
    display: none;
    font-size: 14px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    line-height: normal;
}

#error-message:first-letter {
    text-transform: uppercase;
}

/* Success message */
#success-message {
    display: none;
    font-size: 14px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    line-height: normal;
}

#success-message:first-letter {
    text-transform: uppercase;
}

/* Login separator */
.login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    color: #CCCCCC;
    padding-top: 15px;
    padding-bottom: 15px;
}

.login-separator::before,
.login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px dotted #CCCCCC;
}

.login-separator:not(:empty)::before {
    margin-right: .45em;
}

.login-separator:not(:empty)::after {
    margin-left: .45em;
}

/* Login info box */
.login-info-box {
    text-align: center;
    font-size: 14px;
}

/* Login nav */
.login-nav {
    font-size: 12px;
    border: none;
}

.login-nav .nav-link {
    width: 50%;
    text-align: center;
    border: none;
    border-bottom: 1px solid #CCCCCC;
    color: #CCCCCC;
}

.login-nav .nav-link.active {
    border: none;
    border-bottom: 3px solid #999999;
    color: #999999;
    font-weight: bold;
}

.login-nav .nav-link:hover {
    border-color: #98C93C;
    color: #98C93C;
}

/* Login tab description */
.login-tab-pane-description {
    text-align: center;
    font-size: 17px;
}

/* Login with ID */
.login-with-id img {
    opacity: 1;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}

.login-with-id img:hover {
    opacity: 0.7;
    margin-top: -3px;
}

/* Login with social media */
.login-with-social-media span {
    opacity: 1;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    padding: 0;
    margin: 0;
    border-radius: 5px;
}

.login-with-social-media span:hover {
    opacity: 0.7;
    margin-top: -3px;
}

.login-with-social-media * {
    outline: none;
}

.login-with-social-media .nav-link-facebook span {
    background-color: rgb(27, 116, 228);
}

.login-with-social-media .nav-link-facebook span img {
    width: 20px;
    height: 20px;
    margin-top: 10px;
}

.login-with-social-media .nav-link-google span {
    /* background-color: #3367d6; */
    background-color: #F7F7F7;
}

.login-with-social-media .nav-link-google span img {
    width: 40px;
    height: 40px;
}

.login-with-social-media .nav-link-linkedin span {
    background-color: #0a66c2;
}

.login-with-social-media .nav-link-linkedin span img {
    width: 20px;
    height: 20px;
    margin-top: 10px;
}

/* Login button */
.btn-login {
    height: 55px;
    line-height: 55px;
    vertical-align: middle;
    padding: 0 35px;
    border: 0;
    border-radius: 0;
    background-color: #98C93C;
    font-size: 13px;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: box-shadow 300ms ease, background-color 300ms ease;
    -webkit-transition: box-shadow 300ms ease, background-color 300ms ease;
    -moz-transition: box-shadow 300ms ease, background-color 300ms ease;
    -ms-transition: box-shadow 300ms ease, background-color 300ms ease;
    -o-transition: box-shadow 300ms ease, background-color 300ms ease;
}

.btn-login:hover {
    border: none;
    color: #FFFFFF;
    background-color: #85B033;
    box-shadow: 5px 5px 20px 0 rgba(133, 176, 51, 0.35);
}

.btn-login:focus {
    box-shadow: none !important;
    border: none;
}

/* Login inputs */
.input-group * {
    font-size: 13px;
    border-radius: 3px;
}

/* Login - Lost credentials */
.login-lost-credentials a {
    color: #000000;
    font-size: 13px;
    padding: 4px;
    margin: 0;
}

.login-lost-credentials span {
    display: block;
}

/* Sign up - Terms and conditions */
.singup-terms-and-conditions {
    background-color: #F7F7F7;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
}

.singup-terms-and-conditions a {
    color: #98C93C;
}

.singup-terms-and-conditions input {
    order: 0;
    margin-top: 5px;
}

.singup-terms-and-conditions label {
    order: 1;
}

.singup-terms-and-conditions .invalid-feedback {
    order: 2;
    font-size: 13px;
    margin-top: -6px;
    margin-bottom: 5px;
}

/* Validation */
.invalid-feedback {
    color: #f00;
}

.is-invalid {
    border-color: #f00;
}

.is-valid {
    border-color: #98C93C;
}

/* Bootstrap: Popover */
.popover {
    border-width: 1px;
    margin-top: 22px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1), 0 7px 20px 0 rgba(0, 0, 0, 0.1);
}

.popover-header {
    background-color: #F7F7F7;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.popover-header a {
    color: #98C93C;
}

.popover-body {
    background-color: #FFFFFF;
    padding: 20px;
}

.popover-body .btn-login {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

/* EAS logo */
.footer-logo {
    position: fixed;
    bottom: 20px;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}