﻿body {
}

.ctn-loto {
    background-color: aliceblue;
    color: darkslategrey;
    font-weight: 300;
    border: thin solid gray;
    border-radius: 1rem;
}

.ctn-loto-header {
    background-color: cornflowerblue;
    color: white;
    font-weight: 400;
    border-radius: 1rem;
}

.page {
    margin: 0 !important;
    padding: 0 !important;
}

h1:focus {
    outline: none;
}

.btn-delete, .btn-edit, .btn-new, .btn-recycle, .btn-restore, btn-stop {
    margin: 0 2rem 0 0 !important;
    display: inline;
}

    .btn-delete > *, .btn-edit > *, .btn-new > *, .btn-recycle > *, .btn-restore > *, btn-stop > * {
        font-size: 1rem !important;
    }

        .btn-delete > *, .btn-edit > *, .btn-new > *, .btn-recycle > *, .btn-restore > *, btn-stop > * :hover {
            cursor: pointer;
        }

.btn-create-combination {
    width: 95% !important;
    height: 3rem !important;
    border-color: darkgreen !important;
    border-block-start-color: forestgreen !important;
    border-block-end-color: darkgreen !important;
    background-color: green !important;
    color: white;
}

    .btn-create-combination:hover {
        background-color: #17b729 !important;
        box-shadow: rgba(0,0,0,0.2) 3px 2px 3px !important;
        font-weight: 400 !important;
    }

.btn-page {
    height: 2.0vh !important;
    width: 2.0vh !important;
    background-color: transparent;
    color: dimgray;
    padding: 0;
    margin: 0.35vh 0.35vh 0 0.35vh;
    border: solid thin transparent;
    border-radius: 1px;
}

    .btn-page:hover {
        border: solid thin gray;
    }

.content {
    padding-top: 0 !important;
}

.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,PHN2ZyB3a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4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/*
 * Styles for JpLoto
*/

.inputGroup {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.inputGroupField {
    width: 7rem;
    background-color: rosybrown;
    margin: 15px;
}

/* Text-bloc widh*/
.txt-50 {
    min-width: 50px;
}

.txt-100 {
    min-width: 100px;
}

.txt-120 {
    min-width: 120px;
}

.txt-150 {
    min-width: 150px;
}

.txt-200 {
    min-width: 200px;
}

.txt-300 {
    min-width: 300px;
}

.display-none {
    display: none;
}

.display-inline {
    display: none;
}

.ctn-privacy {
    margin: 1rem !important;
    padding: 1rem !important;
    border-radius: 5px;
}

.ctn-checkout {
    margin: 1rem !important;
    padding: 1rem !important;
    border-radius: 5px;
}

.ctn-loto {
    width: 98%;
    margin: 1% !important;
    padding: 0 !important;
    border-radius: 10px;
}

.ctn-loto-title {
    margin: 0;
    padding: 0 20px !important;
    width: 100%;
    height: 6vh;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    border-radius: 5px 5px 0 0;
}

.ctn-numbers {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0px;
    padding: 0;
    border-radius: 0 0 5px 5px;
}

.card-loto {
    margin: 3px;
}

.numbers-card {
    color: dimgray;
    background-color: antiquewhite;
    margin: 0;
    padding: 6px;
}

.numbers-zone {
    display: flex;
    flex-flow: row wrap;
    margin: 0 !important;
    padding: 10px 0px !important;
}

.bg-gradient-plans {
    background: linear-gradient(0.25turn, forestgreen, darkgreen);
}

.bg-gradient-recycling {
    background-image: linear-gradient(antiquewhite, antiquewhite);
}

.options {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important; /* ### */
}

/*
    Style for Numbers
*/

.btn-numbers {
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: 'Roboto';
    font-size: 1.2rem;
    font-weight: 600;
    margin: 3px;
    padding: 0px;
    border-radius: 25%;
}

.btn-numbers-free {
    background-color: white;
    color: #e92443;
    border: thin solid #e92440;
}

.btn-numbers-selected {
    background-color: royalblue;
    color: white;
    border: thin solid cornflowerblue;
}

.btn-numbers-fixed {
    background-color: orange;
    color: white;
    border: thin solid darkorange;
}

.btn-numbers-suggested {
    background-color: lightpink;
    color: #e92440;
    border: thin solid #e92440;
}

/*
    Style for Combinations & Recycling
*/

.combinations-card {
    color: dimgray;
    background-color: antiquewhite;
    margin: 0;
    padding: 0;
}

.ctn-recycling {
    width: 100%;
    min-height: 13vh; /*###*/
    margin: 0 !important;
    padding: 0 0 20px 0 !important;
    display: flex;
    flex-direction: column;
}

.combinations-zone, recycle-zone {
    width: 100%;
    min-height: 8vh;
    max-height: 100%;
    margin: 0 0 3px 0 !important;
    padding: 10px !important;
    border: thin solid;
    overflow: auto;
}

.combinations-body {
    width: 100%;
    /*height: 70vh !important;*/
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: row;
}

.combinations-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 5vh;
    width: 100%;
}

.recycle-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 5vh;
    width: 100%;
}

    .combinations-title > button,
    .recycle-title > button {
        font-size: 1.25rem;
    }

.title-message {
    display: block;
    width: 60%;
    margin-left: 1rem;
}

.combinations-header, .recycle-header {
    display: flex;
    flex-direction: row;
    height: 3vh;
    width: 100%;
    border-bottom: solid thin;
    /*align-items: center;*/
}

.recycle-header2 {
    display: flex;
    flex-direction: row;
    height: 3vh;
    width: 100%;
    align-items: center;
}

.combinations-item, .recycle-item {
    height: 3vh;
    width: 100%;
    padding: 3px 10px;
}

.combinations-item, .recycle-item {
    /*border-bottom: solid thin;*/
}

/*
    Stryle for MiniCard
*/

.minicard {
    width: 45%;
    height: fit-content;
    border-radius: 5px;
    padding: 0;
    border: solid thin;
    box-shadow: rgba(0,0,0,0.2) 3px 2px 3px;
}

.minicard-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin: 0;
    height: 24px;
    font-weight: 400;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.minicard-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 2px;
    height: fit-content;
    height: 36px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

    .minicard-body > * {
        font-weight: 500;
        font-size: 0.55rem;
        line-height: 1rem;
    }

    .minicard-body > input {
        /*background-color: transparent;*/
        border: none;
        margin: 0 10px;
    }

/*
    Other styles
*/
.disabled > * {
    opacity: 0.35 !important;
}

.buttoncard {
    width: 5rem;
    height: 5rem;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: solid thin transparent;
    border-radius: 5px;
}

    .buttoncard:hover {
        border: groove thin #80808072;
        background-color: rgba(0, 0, 0, 0.05);
        cursor: pointer;
    }

.buttoncard-text {
    display: flex;
    flex-direction: row;
    position: relative;
    word-wrap: break-word;
    text-align: center;
    line-height: 0.85rem;
    height: 1.75rem;
    color: dimgray;
    font-weight: 400;
}

.action-icon {
    min-height: 1.75rem;
    max-height: 1.75rem;
    position: relative;
    bottom: 2px;
}

    .action-icon > * {
        font-size: 1.5rem !important;
    }

    .action-icon .badge {
        position: absolute;
        z-index: 0;
        font-size: 0.6rem !important;
    }

.minicards-area {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    margin: 0;
    /*justify-content: space-around;*/
}

.form-check-input {
    font-size: 0.7rem !important;
}

input[type=number] {
    text-align: center;
    padding: 0;
}

input[type=checkbox] {
    text-align: center;
    margin: 2px;
}

.input {
}

    .input label {
        margin-bottom: 0.35rem;
    }

.links {
    display: flex;
    justify-content: space-between;
}

    .links a {
        margin: 10px 0;
        font-size: 0.8em;
        color: darkred !important;
        text-decoration: none;
    }

        .links a:hover { /* , .links a:nth-child(2) */
            color: red !important;
            font-weight: 400;
        }

/*
    Style for pagination
*/

.btn-page-group {
    height: 2vh !important;
    width: 5vh !important;
    min-width: 40% !important;
    max-width: 40% !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 1rem;
}

    .btn-page-group > label {
        min-height: 2vh;
        max-height: 2vh;
        min-width: 10vh;
        max-width: 10vh;
        padding: 0 .1rem;
        /*color: dimgray;*/
        text-align: center;
    }

.btn-page {
    height: 2.0vh !important;
    width: 2.0vh !important;
    background-color: transparent;
    /*color: dimgray;*/
    padding: 0;
    margin: 0.35vh 0.35vh 0 0.35vh;
    border: solid thin transparent;
    border-radius: 1px;
}

    .btn-page:hover {
        border: solid thin white;
        cursor: pointer;
    }

.ico-plans {
    height: 40px !important;
    width: 100px !important;
}

    .ico-plans:hover {
        transform: scale(1.03);
    }

@media (max-width: 2048px) {
    .content {
        padding: 0px !important;
    }

    .numbers-card {
    }

    .combinations-card {
        margin-top: 0;
        /*background-color: blue;*/
    }

    .card-loto {
    }
    /*
    .modal {
        max-width: 60% !important;
        margin-left: 10% !important;
        margin-top: 10% !important;
    }
*/
    .card-wrapper {
        flex-direction: row;
    }

    .ctn-login, .ctn-register, .ctn-changepassword {
        max-width: 40%;
    }
}

/*@media (max-width: 576px) {*/
@media (max-width: 796px) {
    .content {
        padding: 0 !important;
    }

    .ctn-numbers, .ctn-numbers-card {
        width: 100%;
        flex-direction: column;
    }

    .numbers-card {
    }

    .combinations-card {
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 10px;
    }

    .card-loto {
    }
    /*
    .modal {
        max-width: 80% !important;
        margin-left: 10% !important;
        margin-top: 30% !important;
    }
*/
    .ctn-login, .ctn-register, .ctn-changepassword {
        max-width: 80%;
    }
}
