@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    background: #cccccc;
    font-family: 'Open Sans Condensed',Helvetica,sans-serif;
    margin: 30px;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk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PjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.page[b-8rzgwvs7yp] {
    position: static !important;
}

.main-body {
    background: #cccccc;
    font-family: 'Open Sans Condensed',Helvetica,sans-serif;
}

.main-section {
    background: #ffffff;
    max-width: 60% !important;
    padding-inline: 35px !important;
    box-shadow: 0 0 10px hsla(0, 0%, 0%, .1), 1px 1px 2px hsla(0, 0%, 0%, .1) !important;
}

    .main-section .header-section {
        padding-top: 45px;
    }

    .main-section .cog-heading {
        font-size: 1.85em;
        font-weight: bold;
    }

    .main-section .cog-header-desc {
        margin-top: .5em;
        font-size: 12px;
        font-weight: normal;
    }

    .main-section .cog-body {
        margin-top: 25px;
    }

    .main-section .cog-row {
        column-gap: 25px;
        margin-top: calc(25px / 4);
        margin-bottom: calc(25px / 4);
    }

.cog-field {
    margin-top: 0;
    flex: 0 1 auto;
}

.main-section .cog-label {
    color: #000;
    font-size: 15px;
    font-weight: bold;
    padding-top: calc(25px / 4);
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.main-section .cog-checkable {
    clear: both;
}

.main-section .cog-img, .modal-dialog .cog-img {
    max-width: 100%;
}

.main-section .cog-button, .modal-dialog .cog-button {
    cursor: pointer;
    background: #d85427;
    border: 1px solid;
    border-radius: calc(3px);
    color: #fff;
    -webkit-print-color-adjust: exact;
    position: relative;
    line-height: 1.4;
    padding: calc(8px* .75) calc(10px* .75);
    margin-bottom: 20px;
}

.main-section .cog-button-section, .modal-dialog .cog-button-section {
    text-align: center;
}

.main-section .cog-button-text, .modal-dialog .cog-button-text {
    padding: calc(8px* .75) calc(10px* .75);
    font-weight: lighter;
    font-family: 'Open Sans Condensed',Helvetica,sans-serif;
}


.modal-body .cog-success-header-text {
    margin-top: 10px;
}

.modal-dialog {
    max-width: 60% !important;
    font-family: 'Open Sans Condensed',Helvetica,sans-serif;
}

.form-dialog {
    max-width: 45% !important;
}

.modal-content {
    padding-inline: 25px;
}

.modal-dialog .cog-heading, .modal-dialog .cog-success-header-text {
    font-size: 25px;
    font-weight: bold;
}

.modal-dialog .cog-new-text {
    margin-top: 15px;
    font-weight: lighter;
    font-size: 14px;
}

.modal-dialog .cog-gif {
    width: 50px;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 50%;
    position: absolute;
    z-index: 10001;
}

#loading-text {
    font-size: 18px;
    color: #333;
    text-align: center;
    display: none;
    top: 44%;
    left: 37%;
    position: absolute;
    z-index: 10001;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.modal-backdrop.in {
    opacity: 0;
}

.cog-img-header {
    width: 260px;
    height: 110px;
    margin: auto;
}

.cog-img-header-probeauty {
    width: 300px;
    margin: auto;
}

.cog-img-logo {
    width: 300px !important;
    height: 70px;
    margin: auto;
}

.custom-card {
    border-radius: 30px;
    border: 3px solid #ffdb05;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    height: 210px; 
}

    .custom-card:last-child {
        margin-bottom: 20px;
    }

.card-body {
    flex: 1; 
}

    .card-body > * {
        flex: 1;
    }

.card-content {
    margin-bottom: 10px;
}

.cog-button-section {
    margin-top: auto; 
}

#successModal {
    overflow-y: scroll;
}

.toast-error {
    background-color: #8B0000 !important;
    color: #fff !important;
}

.success-text-nowrap {
    white-space: nowrap !important;
}

@media only screen and (max-width: 768px) {
    .custom-card {
        height: auto; 
    }
}

@media screen and (max-width: 800px) {
    .main-section {
        max-width: 100% !important;
        padding-inline: 25px !important;
    }

        .main-section .row {
            display: block;
        }

        .main-section .cog-heading {
            font-size: 1.5em;
        }

    .cog-field {
        margin-top: 10px;
        flex: 0 1 auto;
    }

    .main-section .cog-label {
        font-size: 13px;
    }

    .cog-img-logo {
        height: 60px;
    }

    .main-section .cog-img, .modal-dialog .cog-img {
        width: 100%;
        margin-bottom: 12px;
    }

    .modal-dialog {
        max-width: 100% !important;
        margin: 5% !important;
    }

    .modal-content {
        padding-inline: 10px;
    }

    .modal-body .cog-success-header-text {
        margin-top: 10px;
    }

    .modal-dialog .cog-heading, .modal-dialog .cog-success-header-text {
        font-size: 20px;
        font-weight: bold;
    }

    .modal-dialog .cog-new-text {
        font-size: 13px;
    }

    .cog-img-header {
        width: 250px !important;
    }

    .img-success{
        margin-top: 15px;
    }

    .success-text-nowrap {
        white-space: normal !important;
    }
}

/* For iPad Pro (12.9-inch) and iPad Air (10.9-inch) landscape mode */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .custom-card {
        height: 100%;
    }

    .img-success {
        margin-top: 15px;
    }
}

/* For iPad Mini landscape mode */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .custom-card {
        height: 100%;
    }

    .img-success {
        margin-top: 15px;
    }
}
