﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
:root {
    --navlink-color: #979797;
    --ternary-color: #06b5ed;
    --navlink-active-color: #06b5ed;
    --navlink-contract-active-color: #000000;
    --scontiposte-color: #000;
    --bgcontrast-color-font: #FFF;
    --nav-border-color: #fff0;
    --table-bg: #FAFAFA;
    --table-td: #3F3F3F;
    --table-th: #979797;
    --paging-button-focus-border: #365F88;
    --button-border-color: #7E869E40;
    --button-bg-disabled: #F2F2F2;
    --button-color-disabled: #979797;
    --table-footer-color: #F2F2F2;
    --grey-label-bg: #FAFAFA;
    --grey-label-color: #979797;
    --rejected-label-bg: #F2F2F2;
    --rejected-label-color: #3F3F3F;
    --ogsepa-label-bg: #F2F2F2;
    --ogsepa-label-color: #979797;
    --orange-label-bg: #FFF4E3;
    --orange-label-color: #FF9F10;
    --failed-label-bg: #fee6e6;
    --failed-label-color: #ad1717;
    --approved-label-bg: #ECF8F7;
    --approved-label-color: #019466;
    --confirm-button-bg: #06b5ed;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.container-steps {
    position: absolute;
    z-index: 100 !important;
}

.container-step {
    max-width: 296px;
    min-width: 147px;
}

.pallino {
    color: #fff;
    width: 20px;
    height: 20px;
    background-color: lightgray;
    text-align: center;
}

.disable-btn {
    background-color: var(--button-bg-disabled);
    color: var(--button-color-disabled);
    pointer-events: none;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.bg-scontiposte {
    background-color: var(--scontiposte-color) !important;
    color: var(--bgcontrast-color-font) !important;
}

.bg-ternary {
    background-color: var(--ternary-color) !important;
    color: var(--bgcontrast-color-font) !important;
}

.confirm-button {
    background-color: var(--confirm-button-bg) !important;
    color: white !important;
}

.onboarding-nav {
    min-width: 272px;
    max-width: 272px;
    height: 350px;
}

.vertical-line {
    width: 2px;
    margin-left: 2.25rem;
    position: absolute;
    height: 335px !important;
    background-color: lightgray !important;
}

.vertical-line-active {
    margin-left: 2.25rem;
    position: absolute;
    width: 2px;
    z-index: 2;
    background-color: var(--scontiposte-color) !important;
}

.pallino.pre-active, .pallino.active {
    background-color: var(--scontiposte-color) !important;
}

.pallino.active {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
}

.step-1 {
    height: unset !important;
}

.step-2 {
    height: 20%;
}

.step-3 {
    height: 40%;
}

.step-4 {
    height: 60%;
}

.step-5 {
    height: 77%;
}

.step-6 {
    height: 335px;
}

.title {
    color: var(--scontiposte-color) !important;
}


.on-boarding-label {
    color: var(--scontiposte-color) !important;
    min-width: 182px;
}

.titlemenu {
    color: lightgray !important;
    margin-top: 97px !important;
}


.titlemenu-blue {
    color: #365F88 !important;
    margin-top: 97px !important;
}


.onboarding label {
    font-size: small !important;
    margin: auto 0 !important;
}

input, select, .iti {
    margin-top: 5px !important;
    border-radius: 20px !important;
}

    input:focus, select:focus, select.custom-select:focus {
        border-color: var(--scontiposte-color) !important;
        box-shadow: none !important;
    }

    select.custom-select {
        background-image: url('/img/icons/down-fill.svg') !important;
        background-size: 10px 5px;
    }

.partitaiva {
    padding-top: 5rem !important;
}

.bottone-contatti {
    background-color: lightgray !important;
}


.modal .btn {
    font-size: 14px !important;
}

.h5-rounded-top {
    border-top-left-radius: 2rem !important;
    border-top-right-radius: 2rem !important;
}

.form-rounded-bottom {
    border: 2px solid var(--table-footer-color);
    border-top: none;
    border-bottom-left-radius: 2rem !important;
    border-bottom-right-radius: 2rem !important;
}

/*BUTTON SWITCH*/

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--button-bg-disabled);
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--scontiposte-color) !important;
}

input:focus + .slider {
    box-shadow: none;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}



/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.border-scontiposte {
    border-color: var(--scontiposte-color) !important;
}

.text-scontiposte {
    color: var(--scontiposte-color) !important;
}

/***************************************************/


.btn-pre-active {
    background-color: var(--button-bg-disabled);
    color: var(--button-color-disabled) !important;
    pointer-events: none;
}

.btn-active {
    background-color: var(--scontiposte-color);
    color: #FFF !important;
}

.section-info-merchant, .section-info-terminal, .section-info-date {
    z-index: 100 !important;
    position: absolute !important;
    right: 13px;
    z-index: 100 !important;
}

.input-icon-info ~ svg {
    position: absolute !important;
    top: 32%;
    right: 10px;
}

input.input-icon-percentage {
    padding-right: 2rem;
}

.input-icon-percentage ~ svg {
    position: absolute !important;
    top: 36%;
    right: 10px;
}

input[type='radio']:checked,
input[type='checkbox']:checked {
    background-color: var(--scontiposte-color) !important;
}

input[name='IsActive'],
input[name='SelectedSiteIds'] {
    position: relative !important;
    top: 8px;
    width: 20px;
    height: 20px;
}

    input[name='IsActive'] ~ label,
    input[name='SelectedSiteIds'] ~ label {
        font-size: unset !important;
    }

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none !important;
    border-color: #adb5bd !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--scontiposte-color) !important;
    background-color: var(--scontiposte-color);
    box-shadow: none !important;
}

.custom-control-input {
    left: 16px !important;
    z-index: 1049 !important;
}

    .custom-control-input:checked ~ .custom-control {
    }

.cursor-pointer {
    cursor: pointer;
}

.custom-control-input.technical-data-input {
    top: 5px !important;
}

    .custom-control-input.technical-data-input > .technical-data-label::before, .custom-control-input.technical-data-label.technical-data-input > .custom-control-label::after {
        position: absolute;
        top: -0.5rem !important;
    }

.technical-data-label::before {
    position: absolute;
    top: 0.8rem !important;
    left: 0.5rem !important;
}

.technical-data-label::after {
    position: absolute;
    top: 0.8rem !important;
    left: 0.5rem !important;
}

.technical-data-label {
    position: initial;
    width: 69% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

    .technical-data-label:hover {
        position: unset !important;
        width: auto !important;
        overflow: unset !important;
        text-overflow: unset !important;
        white-space: unset !important;
    }

.footer-bottom {
    position: sticky;
    bottom: 0;
    background-color: white;
    display: flex;
    border-top: solid 1px #dddddd;
    z-index: 11;
}

.custom-control-label.label-none::before {
    display: none;
}
/***************************************************/

/*******CSS for button glitches in google maps******/

.gm-control-active > img {
    box-sizing: content-box;
    display: none;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
}

    .gm-control-active > img:nth-child(1) {
        display: block;
    }

.gm-control-active:hover > img:nth-child(1),
.gm-control-active:active > img:nth-child(1) {
    display: none;
}

.gm-control-active:hover > img:nth-child(2),
.gm-control-active:active > img:nth-child(3) {
    display: block;
}

/***************************************************/

.btn-no-events {
    pointer-events: none;
}
