﻿.loading-container {
    position: relative;
    display: none;
}

.loading-icon {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.loading-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #cacacaa8;
    height: 100%;
    z-index: 999;
}

.waiting {
    display: block;
    margin: 0 auto;
    text-align: center;
    color: var(--main-blue);
    font-weight: bold;
    font-size: 20px;
}

svg {
    width: 190px;
    height: 100px;
}

    svg #plug,
    svg #socket {
        fill: var(--main-blue);
    }

    svg #loop-normal {
        fill: none;
        stroke: var(--main-blue);
        stroke-width: 12;
    }

    svg #loop-offset {
        display: none;
    }

.c-icowizard-content {
    width: 100%;
}

.c-icowizard-container {
    max-width: var(--normal);
    margin: 0 auto;
    display: flex;
    padding: 1em var(--padding-big-sides-desktop);
}

.c-icowizard-stepper {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    grid-gap: 1em 0;
    width: 100%;
}

.form-ico-wizard {
    width: 100%;
}

.c-icowizard-box {
    padding: 2em;
    background-color: var(--background-grey);
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
}

.content-steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.content-steps h2 {
    font-size: var(--font-text-desktop);
    font-weight: 700;
    margin-bottom: 1em;
}

.content-steps h2:focus,
#ico-wizard-results-title:focus {
    outline: 3px solid var(--section-focus-visible-color, var(--main-blue, #24599E));
    outline-offset: 3px;
    border-radius: 4px;
}

.content-steps fieldset {
    position: relative;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.content-steps legend {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

.content-steps label {
    font-size: var(--font-text-desktop)
}

.icowizard-radios-btn {
    margin-bottom: 1em;
}

.list-icowizard {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1em;
}

.list-icowizard li {
    position: relative;
    display: grid;
    width: calc(50% - 0.5em);
    grid-template-columns: 20px auto minmax(0,5%);
    grid-gap: 1em;
}

.content-step-2 .list-icowizard li, .list-icowizard-4 li {
    width: 100%;
}

.checkbox-container {
    border: 1px solid var(--main-orange);
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    padding: 0;
    margin: 0;
}

.checkbox-container input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:checked {
    position: relative;
    
    &::before{
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--main-orange);
        position: absolute;
        top: 50%;
        left: 47%;
        transform: translate(-50%, -50%);
    }
}

#progress-num {
    margin: 0 0 1em 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

    #progress-num::before {
        content: "";
        background-color: var(--ico-grey);
        position: absolute;
        top: 1.25em;
        left: 0;
        height: 0.25em;
        width: 100%;
        z-index: -1;
    }

    #progress-num .step {
        border: 0;
        border-radius: 100%;
        width: 3em;
        height: 3em;
        text-align: center;
        background-color: var(--ico-grey);
        font-family: sans-serif;
        font-size: 14px;
        position: relative;
        z-index: 1;
        color: black;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        #progress-num .step.active {
            border: 0;
            background-color: var(--main-blue);
            color: white;
        }

.btn-ico {
    font-size: var(--font-text-desktop);
    background-color: var(--main-blue);
    border-radius: 10px;
    color: white;
    padding: 0.5em 1.5em;
    border: 0;
    font-weight: 600;
    display: flex;
    grid-gap: 0.5em;
    align-items: center;
}

    .btn-ico:hover {
        background-color: var(--dark-blue);
    }

    .btn-ico:disabled {
        font-size: var(--font-text-desktop);
        background-color: var(--main-orange);
        border-radius: 10px;
        color: white;
        padding: 0.5em 1.5em;
        border: 0;
        font-weight: 600;
        display: flex;
        grid-gap: 0.5em;
        align-items: center;
        opacity: 0.2;
    }

.content-step {
    display: none;
}

    .content-step.active {
        display: block;
    }

.filter-custom-checbox-box {
    height: 20px;
    width: 20px;
    border-radius: 2px;
    border: 1px solid var(--main-orange);
    background-color: transparent;
    position: relative;
}


.list-icowizard li input:checked ~ .filter-custom-checbox-box .checked {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-orange);
}

.list-icowizard li input:checked:disabled ~ .filter-custom-checbox-box .checked {
    opacity: 0.3;
}

.list-icowizard li input:not(:checked) ~ .filter-custom-checbox-box .checked {
    display: none;
}

.filter-custom-checbox-box .checked {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.c-icowizard-buttons,
.c-icowizard-inner-buttons {
    display: flex;
    margin-top: 2em;
    width: 100%;
    justify-content: space-between;
}

#progress-next {
    margin-left: auto;
}

#results-btn {
    /* display: none; */
}

.table-results-icowizard th {
    font-size: 0.8em;
    text-align: center;
    border-top: 0;
    border-bottom: 1px solid var(--ico-grey);
    border-left: 1px solid var(--ico-grey);
    color: var(--dark-grey);
}

    .table-results-icowizard th:first-of-type {
        border-left: 0;
    }

.table-results-icowizard td,
th.text-tabler-icowizard {
    font-size: 0.7em;
    border-bottom: 1px solid var(--ico-grey);
    border-left: 1px solid var(--ico-grey);
    padding: 0.5em;
    color: var(--dark-grey);
    text-align: left;
    font-weight: 400;
}

.row-table-icowizard .small-table-labels-icowizard {
    display: none;
}

.content-steps .icowizard-results-number {
    font-size: var(--font-text-desktop);
    color: var(--main-blue);
    font-weight: normal;
}

.link-notext {
    text-decoration: none;
}

    .link-notext:hover {
        text-decoration: none;
        color: white;
    }

.load-more-results {
    margin-top: 2em;
}

.tooltip-inner {
    background-color: white;
    color: var(--dark-grey);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.tooltip-arrow::before {
    border-left-color: white !important;
}

.tooltip-link-icowizard {
    color: var(--main-orange);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    line-height: 1;
    font-size: 1em;
    align-self: center;
    justify-self: start;
}

.tooltip-link-icowizard:hover {
    color: var(--dark-orange);
}



.text-tabler-icowizard a {
    color: var(--main-blue);
}

.text-tabler-icowizard a:visited,
.text-tabler-icowizard a.clicked {
    color: purple;
}

@media only screen and (max-width: 70em) {
    .table-results-icowizard {
        overflow-y: auto;
        overflow-x: auto;
    }

    .c-icowizard-container {
        padding: 1em var(--padding-sides-tablet) 1em var(--padding-sides-tablet);
    }

    .table-results-icowizard th {
        font-size: var(--font-text-tablet);
    }

    .table-results-icowizard td,
    th.text-tabler-icowizard {
        font-size: var(--font-text-mobile);
    }

    .content-steps .icowizard-results-number {
        font-size: var(--font-text-tablet);
    }

    .c-icowizard-box {
        padding: 1em;
    }

    .btn-ico {
        font-size: var(--font-text-tablet);
    }

    .content-steps h2 {
        font-size: var(--font-text-tablet);
    }

    .content-steps label {
        font-size: var(--font-text-tablet)
    }
}

@media only screen and (max-width: 50em) {
    .c-icowizard-container {
        padding: 0.5em var(--padding-sides-mobile) 0.5em var(--padding-sides-mobile);
    }

    .table-results-icowizard th {
        text-align: left;
        font-size: min(3vw, var(--font-text-mobile));
    }

    .table-results-icowizard td,
    th.text-tabler-icowizard {
        font-size: min(3vw, var(--font-text-mobile));
    }

    .content-steps .icowizard-results-number {
        font-size: var(--font-title-mobile);
    }

    .c-icowizard-box {
        padding: 1em;
    }

    .btn-ico {
        font-size: var(--font-text-mobile);
        padding: 0.3em 1em;
        border-radius: 7px;
        margin: 0 1px;
    }

    .content-steps h2 {
        font-size: var(--font-text-mobile);
    }

    .content-steps label {
        font-size: var(--font-text-mobile)
    }

    .icowizard-radios-btn {
        margin-bottom: 0.5em;
    }
    /* .c-icowizard-stepper {
         position: relative;
         display: grid;
         grid-template-columns: 1fr 11fr;
         width: 100%;
         grid-gap: 1em;
    }
     #progress-num {
         margin: 0;
         padding: 0;
         list-style: none;
         display: flex;
         justify-content: space-between;
         flex-direction: column;
    }
     #progress-num::before {
         content: "";
         background-color: lightgray;
         position: absolute;
         top: 0;
         left: 1.25em;
         width: 0.25em;
         height: 100%;
         z-index: -1;
    }
     #progress-num .step:first-child{
         margin-top: 0;
    }
     #progress-num .step{
         margin-top: 5em;
    }
    */
    #progress-num .step {
        height: 2em;
        width: 2em;
    }

    #progress-num::before {
        content: "";
        background-color: lightgray;
        position: absolute;
        top: 0.75em;
        left: 0;
        width: 100%;
        height: 0.25em;
        z-index: -1;
    }

    .list-icowizard {
    }

        .list-icowizard li {
            width: 100%;
        }
}

.hidden-offscreen {
    display: none !important;
}

