:root {
    scroll-behavior: smooth;
    --darkgrey: #4e4e4c;
    --darkorange: #f15f24;
    --lightorange: #f8d69e;
    --midorange: #f58529;
    --white: #ffffff;
    --offwhite: #c1c1c1;
    --darktext: #212529;
    --bgblack: #221f1f;
}

html {
    font-size: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}



.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fb7d34, 0 0 2px 2px #e85702;
    border-color: var(--lightorange) !important;
}


body {
    min-height: 100vh;
    margin: 0px;
    padding: 0px;
}

footer {
    width: 100%;
    bottom: 0px;
    position: relative;
    left: 0;
    height: 50px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-weight: normal;
}

h3 {
    font-size: 1.6em;
    font-weight: normal;
    margin-top: 3px;
}

h4 {
    font-size: 1.3em;
    font-weight: normal;
    margin-bottom: 0px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.home-page, .login-page {
    background-image: url(../images/bg-sun-tornado.svg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    margin: 0px;
    position: relative;
    padding: 0px 2.2em;
}

.container {
    width: 800px;
    margin: 0px auto;
}


@media (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 1em;
    }

    .home-page, .login-page {
        padding: 0px 1.1em;
    }

    html {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 1rem;
    }
}

::placeholder {
    font-size: 0.9em;
    opacity: 0.4; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #4e4e4c;
}

.mt-40 {
    margin-top: 40%;
}

.text-center {
    text-align: center;
}

.main-logo {
    width: 250px;
}


.d-grid {
    display: flex;
    width: 100%;
}



.btn {
    text-decoration: none;
    padding: 1.5rem 0.75rem;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-size: 1.2em;
}

a.btn, a.btn-back {
    color: #e85702;
}

.btn.btn-dark {
    background-color: var(--bgblack);
    color: var(--midorange);
}

.btn.btn-outline-dark {
    border: 1px solid #4e4e4c;
    color: #212529 !important;
    background-color: #fff;
}

.btn.btn-sm {
    padding: 0.75rem 0.75rem;
}

.btn.btn-lg {
    padding: 2rem 0.75rem;
}

.btn.no-border {
    border: none !important;
}

.btn.btn-success {
    border-color: #1bba08;
    background-color: #1bba08;
    color: #fff;
}

.btn.btn-outline-warning {
    border-color: #f0ac05;
    color: #f0ac05;
}

.btn.btn-warning {
    border-color: #f0ac05;
    background-color: #f0ac05;
    color: #fff;
}

.btn.btn-outline-secondary {
    border: 1px solid #ced4da;
    background-color: #fff;
    border-left: none;
}

.btn.btn-danger {
    border-color: #b20707;
    background-color: #b20707;
    color: #fff;
}

.btn-back {
    font-size: 1.4rem;
}

.btn.btn-download{
    font-size:2.5em;  
    border-radius:50px;
    border-width:2px;
}

.d-grid > .btn {
    width: 100%;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-2 {
    margin-bottom: 10px;
}

.form-container {
    display: flex;
    flex-flow: column;
}

.flex-row {
    display: flex;
    flex-flow: row;
    gap: 10px;
}


.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
}

    .form-control:focus {
        color: #212529;
        background-color: #fff;
        border-color: #86b7fe;
        outline: 0;
    }

.login-section {
    display: grid;
}

.search {
    width: 100%;
    display: flex;
    position: relative;
}

    .search input {
        font-size: 1em;
    }

.icon-search {
    position: absolute;
    right: 6px;
    top: 8px;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

    .input-group > .form-control,
    .input-group > .form-select {
        position: relative;
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
    }

        .input-group > .form-control:focus,
        .input-group > .form-select:focus {
            z-index: 3;
        }


    .input-group .btn:focus {
        z-index: 3;
    }

    .input-group > .btn {
        padding: 0.375rem 0.75rem;
        font-size: 1.3rem;
        position: relative;
        z-index: 2;
    }

    .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
    .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu),
    .input-group.has-validation > .dropdown-toggle:nth-last-child(n+4) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
        margin-left: -1px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.data-list {
    list-style: none;
    display: inline;
    padding: 0px 2px;
}

    .data-list a {
        text-decoration: none;
        padding: 1.5rem 0.75rem;
        border-radius: 6px;
        text-align: center;
        font-size: 1.2em;
        font-weight: 400;
        color: var(--darktext);
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 0 4px 1px #b0b0b0;
        border-left: 3px solid var(--darkorange);
    }

.d-none {
    display: none;
}

.text-danger {
    color: #ff0000;
}

.text-success {
    color: #1bba08;
}

.text-warning {
    color: #f0ac05;
}

.error {
    margin-top: 3px;
    color: #f39f9f;
    background-color: #4b0000;
    border: 1px solid #f10000;
    border-radius: 3px;
    padding: 5px 7px;
}


.readonly-area {
    padding: 0.375rem 0.75rem;
    font-size: 1.3rem;
    border: 1px solid #cac8c8;
    background-color: #e9e8e8;
    width: 100%;
    border-radius: 3px;
}



.vertical-center {
    margin: 0;
    position: absolute;
    top: 10%;
    width: 90%;
}

.login-icon {
    margin-bottom: 2em;
    text-align: center;
}

    .login-icon .img-circle {
        width: 160px;
        height: 160px;
        border: 5px solid var(--darkorange);
        background-color: #fff;
        border-radius: 50%;
        text-align: center;
        display: flex;
        align-items: center;
        margin: 0px auto;
        box-shadow: 3px 3px 3px 0px #e85702;
    }

        .login-icon .img-circle img {
            width: auto;
            height: 90px;
            margin-left: auto;
            margin-right: auto;
        }



.login-label {
    font-size: 1.6em;
    color: #fff;
    margin-bottom: 1em;
}



.top-bar h3 {
    margin: 0px;
    position: relative;
}

.page-title {
    margin-bottom: 5px;
}

    .page-title h4 {
        margin: 0px;
    }

.modal {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #4e4e4ca0;
    display: none;
}

    .modal > .modal-body {
        background-color: #ffffff;
        padding: 1em;
        width: 64vw;
        margin: 25% auto;
        border-radius: 5px;
    }

    .modal.show {
        display: block;
    }

.loader {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #FFF;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

    .loader::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border-bottom: 4px solid #FF3D00;
        border-left: 4px solid transparent;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#landing-page{
    width:90%;
}

#landing-page .main-img {
    height: 300px;
    width: auto;
}

#landing-page .welcome-message{
    font-size:1.5em;
    margin: 0 auto;
    
}

#landing-page .download {
    margin: 0 auto;
    margin-bottom:60px;
}

    #landing-page .welcome-message h1 {
        font-size: 2.5em;
        color: var(--darkgrey)
    }
        #landing-page .welcome-message h1 span{
            color:var(--midorange);
        }

        .flex-download {
            display: flex;
            flex-flow: row;
            align-items: center;
            width: 100%;
            justify-content: center;
        }

@media (max-width:720px) {
    #landing-page .welcome-message {
        font-size: 1rem;
        width:90%;
    }
    #landing-page .download {
        width: 90%;
        font-size: 0.9rem;
    }

    #landing-page .main-img {
        height: 150px;
    }

    .btn.btn-download {
        font-size: 1.5em;
        border-radius: 50px;
    }

}
