﻿@font-face {
    font-family: "TrendaRegular";
    src:url(../font/Trenda-Regular.otf)
}
@font-face {
    font-family: "TrendaSemibold";
    src: url(../font/Trenda-Semibold.otf)
}
@font-face {
    font-family: "TrendaBold";
    src: url(../font/Trenda-Bold.otf)
}

:root {
    --backgroundColor: #003D5B;
    --footerColor: #003D5B;
    --formColor: #003D5B;

    --cnxColor01: #003D5B;
    --cnxColor02: #007380;
    --cnxColor03: #25E2CC;
    --cnxColor04: #CC3262;
    --cnxColor05: #FF8400;
    --cnxColor06: #FBCA18;
    --cnxColor07: #F2F2F2;
    --cnxColor08: #2A2B2C;
    --cnxColor09: #FFFDFE;
    --cnxColor10: #E2B203;
    --cnxColor11: #1ACBB6;
    --cnxColor12: #00454D;
}

/*BEGIN: Temporary style */

.temp-alert {
    margin-top: 12px;
    padding: 8px;
    border-radius: 4px;
    background-color: yellow;
    display:none;
}

.temp-alert:not(:empty) {
    display:block;
}

.temp-alert:not(:empty) + .wbcontainer {
    margin-top: 27px;
}

/*END: Temporary style */

body {
    display: grid;
    grid-template-rows: 1fr auto;
    background-color: var(--backgroundColor);
    height: 100dvh;
    font-family: TrendaRegular;
    min-width: 375px;
}

.content {
    overflow: auto;
    background-image: url('../images/cnx_login_bg.webp');
    background-position: center center;
    background-repeat:no-repeat;
    background-size:cover;
}

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 32px;
    background-color: var(--footerColor);
    color: #ffffff;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
    border-top: 2px solid #25E2CC;
}

.form {
    --borderColor: var(--cnxColor03);
    border: solid 2px var(--borderColor);
    background-color: var(--formColor);
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--cnxColor09);
    padding: 30px;
    margin: 125px auto 10px;
}

.pt-2 {
    padding-top: .50rem !important;
}

.pt-5 {
    padding-top: 1.25rem !important;
}

.wbcontainer {
    font-family: TrendaRegular;
    display: flow-root;
    background-image: url('../images/cnx_logo_login_s.svg');
    background-repeat: no-repeat;
    background-position: center 15px;
    background-size: 200px;
}

.form label {
    color: #ffffff;
    font-weight:bold;
    margin-bottom:4px;
}

.form .caption {
    font-family: TrendaBold;
    color: #ffffff;
    margin-bottom:.75rem;
}

.form .btn {
    color: #003D5B;
    background-color: #25E2CC;
    border-color: #25E2CC;
}

.form .btn:hover {
    background-color: #FBCA18;
    border-color: #FBCA18;
}

.form .btn:focus {
    box-shadow: 0 0 10px #25E2CC;
}

.form .btn.btn-submit {
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 20px;
    border-radius:100px;
    padding-left:25px;
    padding-right:25px;
}

.form .error {
    color: #eeb0b7;
}

.form ul {
    list-style-type: none;
    padding-inline-start: 0px;
}

.form a {
    color: #ffffff;
    font-weight:bold;
}

.form a:hover,
.form a:focus {
    color:var(--cnxColor06);
    text-decoration: none;
    outline:none;
}

@media only screen and (min-width : 768px) {

}

@media only screen and (min-width : 992px) {

    .wbcontainer {
        background-image: url('../images/cnx_logo_login.svg');
        background-position: 0 35px;
        background-size: 50%;
        margin-top: 100px;
    }

    .form {
        margin-top: 60px;
        margin-left: auto;
        margin-right: 30px;
    }

}

@media only screen and (min-width : 1200px) {

    .wbcontainer {
        background-position: 0 35px;
        background-size: 55%;
        margin-top: 175px;
    }

    .form {
    }

}