﻿:root {
    --primary-navy: #003863;
    --primary-orange: #FF7E00;
}

@font-face {
    font-family: "Poppins-bold700";
    src: url("../../fonts/Poppins/Poppins-Bold.ttf")format("truetype")
}

@font-face {
    font-family: "Poppins";
    src: url("../../fonts/Poppins/Poppins-Regular.ttf")format("truetype")
}

.button-login {
    align-self: center;
}

.section-login > a {
    color: #fff;
}

.bg-main {
    background-color: var(--primary-navy);
}

.text-primary {
    color: var(--primary-navy);
}

*:focus {
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid #fff;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px var(--primary-navy) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.font-header {
    font-family: Poppins, sans-serif !important;
    font-style: normal;
    font-weight: 600;
    font-size: calc(60% + 4vmin);
    text-align: center;
    color: #FFFFFF;
}

.font-titel {
    font-family: Poppins, sans-serif !important;
    font-style: normal;
    font-weight: 500;
    font-size: calc(60% + 2vmin);
    color: #FFFFFF;
}

.font-detail {
    font-family: Poppins, sans-seri;
    font-style: normal;
    font-weight: 300;
    font-size: calc(60% + 2vmin);
    color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Poppins, sans-serif !important;
}

p, span, a, label {
    font-family: Poppins, sans-serif !important;
}

input.input-form {
    min-height: 46px;
    max-height: 46px;
    font-family: Poppins, sans-seri;
    padding: 1rem !important;
    background: var(--primary-navy);
    border: 1px solid #FFFFFF !important;
    color: #FFFFFF;
    font-size: calc(50% + 1vmin);
}

select.select-form {
    min-height: 46px;
    border-radius: unset !important;
    max-height: 46px;
    font-family: Poppins, sans-seri;
    padding: 1rem !important;
    background: var(--primary-navy);
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: calc(50% + 1vmin);
}

textarea.textarea-form {
    font-family: Poppins, sans-seri;
    padding: 1rem !important;
    background: #003863;
    border: 1px solid #FFFFFF;
    font-size: calc(50% + 1vmin);
    color: #FFFFFF;
}

::placeholder {
    color: #FFFFFF;
}

input.input-form.required, select.select-form.required, select.select-form.required {
    background: rgba(255, 0, 0, 0.5);
}

.success {
    background: #00a50094 !important;
}

button.button-primary {
    font-family: Poppins, sans-seri;
    background: #FF7E00;
    border-radius: 5px;
    color: #fff;
    border: none;
    padding: 1rem 4rem;
    font-weight: 500;
}

.button-logout {
    border: none;
    background: none !important;
}

button.cancel {
    background: #808080 !important
}

button.primary-color {
    background: var(--primary-navy) !important
}

.dropdown-div {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    z-index: 120;
    margin-left: -62px;
    width: 170px;
    text-align: center;
    display: none;
    position: fixed;
    background-color: #003863;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: #FFFFFF;
        font-family: Poppins;
        font-style: normal;
        font-weight: normal;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

.dropdown-div:hover .dropdown-content {
    display: block;
}

.swal-modal {
    background-color: var(--primary-navy);
}

.swal-footer {
    margin: 2rem;
    text-align: center;
}

.swal-content {
    padding: 0 50px;
    margin-top: 40px;
}

    .swal-content > div > div > h2 {
        font-family: Poppins !important;
        font-size: calc(60% + 2.5vmin);
        font-style: normal !important;
    }


.swal-button--cancel:not([disabled]):hover, .swal-button:not([disabled]):hover {
    background: #FF7E00;
}

.swal-button--cancel:focus {
    box-shadow: none;
}

.start-loading-div {
    cursor: wait;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fbfbfb61;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    z-index: 500 !important;
    position: fixed;
    animation: blink 2s infinite;
}

    .start-loading-div > .div-image-logo-loading {
        width: 100%;
        height: 100%;
        display: flex;
    }

.div-image-logo-loading img {
    object-fit: none;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width:550px) {
    .input-form, .select-form, .textarea-form {
        margin-top: 0px !important;
    }

    .swal-content img {
        max-width: 70%;
    }
}
