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

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    background-color: #262626;
}

body {
    background: transparent;
    color: #000;
}

.page .content{
    padding:0;
    padding-left:0 !important;
    padding-right:0 !important;
}

.content-header {
    padding: 1.1rem 1.5rem;
    padding-top: 0.8rem;
    border-bottom: 2px solid #444;
    box-shadow: #000 0px -17px 19px 11px;
}
    .content-header h1 {
        color: #b9b9b9;
        margin-top: 10px;
    }

    .content-header h2 {
        margin-bottom: 0;
        color: #fff;
        font-weight: normal;
        font-size: 2.5rem;
    }

.content-body {
    padding: 1.5rem 1.5rem;
}

h1:focus {
    outline: none;
}

h1 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
    font-size: 4em;
}

h2{
    font-weight:bold;
    text-align:center;
    margin-bottom:20px;
}

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

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIg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MSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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: #262626;
        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.0rem;
    color: #fff !important;
}

    .loading-progress-text:after {
        color:#fff !important;
        content: var(--blazor-load-percentage-text, "Carregant");
    }

.screensaver {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background: url(/img/background.jpg) no-repeat top center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
}

    .screensaver img {
        position: absolute;
        z-index: 1;
        width: auto;
        height: 100%;
        left: 0%;
    }

    .screensaver .wrapper {
        width: 80%;
        align-self: center;
        background-color: rgba(255,255,255,0.75);
        padding: 1em;
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        align-items: center;
        z-index: 2;
    }

    .screensaver .start-button {
        width: 130px;
        height: 130px;
        align-self: center;
        text-align: center;
        position:relative;
    }

        .screensaver .start-button span {
            position: absolute;
            top: calc(50% - 12px);
            color: #fff;
            font-weight: bold;
            display: block;
            width: 130px;
            font-size: 19px;
        }

#step-1 .card-body,
#step-2 .card-body,
#tree-selection .card-body,
#decision-tree .card-body {
    padding: 0;
}

#step-1 .row .card-body img,
#tree-selection .row .card-body img,
#step-2 .row .card-body img,
#decision-tree .row .card-body img {
    width: 100%;
    max-height: none;
    border-radius: 8px;
}

.row .col {
    text-align: center;
}
.row .card {
    background: #e7e7e7;
    border-radius: 8px;
    border: none;
    box-shadow: 5px 5px 15px -5px rgba(0,0,0,0.75), inset 0px 0px 10px -3px rgba(0,0,0,0.75);
}

.row .card-body img{
    width:auto;
    max-height:164px;
}

.row h5 {
    margin-top: 5px;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.back-button {
    color: #b9b9b9;
    text-decoration: none;
}

.grid-container {
    display: grid;
    column-gap: 15px;
    row-gap: 15px;
    /*grid-template-columns: auto auto;*/
}

.article-list-item {
    display: flex;
    flex-direction: column;
    min-height: 185px;
    padding: 20px;
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #e7e7e7;
    box-shadow: 5px 5px 15px -5px rgba(0,0,0,0.75), inset 0px 0px 10px -3px rgba(0,0,0,0.75);
}

.article-info {
    display: flex;
    flex-direction: column;
    flex: 2 1;
    text-decoration: none;
    outline: 0;
    cursor: pointer;
}
    .article-info .article-details {
        padding: 0 0px 0 10px;
    }

    .article-info h3 {
        font-size: 1.5rem;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .article-list-item .article-info p{
        font-size: 1.3rem;
    }

    .article-info .region{
        color:#666;
    }

    .article-info .price {
        font-weight: bold;
        font-size: 2.4rem;
    }

    .article-actions {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 20px;
        margin-top:10px;
    }
    .article-actions .article-action {
        margin-bottom: 19px;
    }

    .article-actions .article-action .btn {
        min-width: 150px;
    }

.article-image-wrapper {
    max-width: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.article-list .article-image-wrapper {
    width:100%;
    max-width:100%;
    margin-bottom:15px;
}

.article-details {
    font-size: 14px;
}

.article-page {
    border-radius: 8px;
    background: #e7e7e7;
    box-shadow: 5px 5px 15px -5px rgba(0,0,0,0.75), inset 0px 0px 10px -3px rgba(0,0,0,0.75);
}
    .article-page h1 {
        font-size: 36px;
    }

    .article-page .article-info{
        padding:20px;
        border:none;
    }

    .article-page .slogan {
        color: #666;
        font-size: 18px;
        font-size: 1.4rem;
    }

    .article-page h1 {
        text-align: left;
        margin-bottom: 10px;
        font-size: 2.1rem;
        margin-top:15px;
    }

    .article-page .article-image-wrapper {
        width: auto;
        position: relative;
        width: 100%;
        max-width: 100%;
    }

        .article-page .article-image-wrapper img{
        }

    .article-page .article-info .article-details {
        padding: 0 20px 20px;
    }

    .article-page .article-info .price{
        margin-top:20px;
    }

    .article-page .article-info .article-action {
        margin-top: 20px;
    }

    .article-description {
        padding: 10px 20px;
    }

.article-description-item {
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 24px;
}

    .article-description-item h2 {
        font-weight: 700;
        display: flex;
        flex-direction: column;
        margin: 0 0 10px;
        font-size: 21px;
        position: relative;
        padding-top: 13px;
        border-top: 1px solid #666;
    }

    .article-description-item .content {
        padding: 0 20px 20px;
        padding-top: 13px;
        padding-right: 0;
    }

.article-page .content table {
    width: 100%;
}

.article-page .content tr {
    border-bottom: 1px solid #bfbfbf;
}

.article-page .content th {
    text-align: left;
    font-weight: 400;
    padding: 13px 13px 13px 0;
    color: #666;
    font-size: 15px;
    line-height: 21px;
    text-transform: uppercase;
    width:40%;
}

    .article-page .content th img{
        width:28px;
        margin-right: 8px;
    }

    .article-page .content th span {
        vertical-align: middle;
        line-height: 13px;
    }

    .article-page .pairings {
        display: grid;
        /* gap: 10px; */
        grid-template-columns: 33.33% 33.33% 33.33%;
        text-align: center;
    }

.pairings .pairing {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    margin-bottom:15px;
}
    .pairings .pairing img {
        margin-bottom: 7px;
        align-self: center;
        width:70px;
        height:70px;
    }

    .pairings .pairing span {
        line-height: 20px;
        font-size: 18px;
    }

.skip-step{
    text-align:right;
    margin-bottom:20px;
}

    .skip-step .btn-outline-secondary,
    .back-button{
        color: #e7e7e7;
        border-color: #e7e7e7;
        font-size: 1.6rem;
    }
        .skip-step .btn-check:active + .btn-outline-secondary,
        .skip-step .btn-check:checked + .btn-outline-secondary,
        .skip-step .btn-outline-secondary.active,
        .skip-step .btn-outline-secondary.dropdown-toggle.show,
        .skip-step .btn-outline-secondary:hover,
        .back-button:active,
        .back-button:hover{
            background-color: transparent;
        }
    .skip-step .btn:focus,
    .back-button.btn:focus{
        box-shadow: none;
    }


#price-selector {
    border-radius: 8px;
    background: #e7e7e7;
    box-shadow: 5px 5px 15px -5px rgba(0,0,0,0.75), inset 0px 0px 10px -3px rgba(0,0,0,0.75);
}

#price-selector .rz-slider-horizontal {
    width: 100% !important;
    background-color: #b9b9b9;
}

#price-selector .rz-slider .rz-slider-range {
    background-color: #1861ac;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    height: 8px;
    top: -3px;
}

#price-selector .rz-slider .rz-slider-handle {
    background-color: #1861ac;
    width: 40px;
    height: 40px;
}


.slider-values {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .slider-values .grid {
        display: grid;
        grid-template-columns: auto auto;
        column-gap: 100px;
        color:#fff;
    }

    .slider-values .grid span{
        display:block;
    }

        .slider-values .grid span.label {
            color: #555;
            font-size: 1.6rem;
        }

        .slider-values .grid span.price {
            color: #555;
            font-weight: bold;
            font-size: 1.6rem;
        }

.next-step{
    margin-top:40px;
}

#tree-selection .card-body{
    position:relative;
}

#tree-selection .card-title{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.75);
    margin: 0;
    border-radius: 8px;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding: 0 15px;
    font-size:3rem;
}


.article-list button{
    width:100%;
    font-size: 1.4rem;
}

.article-action button{
    font-size: 1.4rem;
}

.screensaver button{
    font-size: 2rem;
    line-height: 2rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.rz-button-box{
    line-height: 2rem  !important;
}

.hide {
    top:-100%;
    animation: slideUp 0.5s;
    -webkit-animation: slideUp 0.5s;
    -moz-animation: slideUp 0.5s;
    -o-animation: slideUp 0.5s;
}

.show {
    top:0;
    animation: slideDown 0.5s;
    -webkit-animation: slideDown 0.5s;
    -moz-animation: slideDown 0.5s;
    -o-animation: slideDown 0.5s;
}

.slide-left {
    animation: slideLeft 0.5s;
    -webkit-animation: slideLeft 0.5s;
    -moz-animation: slideLeft 0.5s;
    -o-animation: slideLeft 0.5s;
}

@keyframes slideDown {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

@keyframes slideUp {
    from {
        top:0;
    }

    to {
        top:-100%;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.order-list {
    display: flex;
    justify-content: end;
    align-items: baseline;
    margin-bottom: 20px;
}

    .order-list label {
        color: #e7e7e7;
        font-size: 1.2rem;
    }

    .order-list select {
        max-width: 30%;
        margin-left: 15px;
        font-size: 1.2rem;
        line-height: 1.2rem;
        padding: .475rem .85rem;
    }

    .order-list .form-control:focus{
        box-shadow:none;
    }

span.version {
    position: absolute;
    bottom: 0;
    color: #6c757d;
    width: 100%;
    text-align: center;
}