﻿.min-w-70 {
    min-width:70%;
}
.min-w-30 {
    min-width: 30%;
}
.max-w-75 {
    max-width: 550px;
}

@media (max-width:1099) {
    .max-w-75 {
        max-width: 400px;
    }
}
@media (max-width:1200) {
    .max-w-75 {
        max-width: 280px;
    }
}

@media (max-width:640px) {
    .max-w-75 {
        max-width: 200px;
    }
}

@media (max-width:419px) {
    .max-w-75 {
        max-width: 100px;
    }
}
@media (max-width:767.98px) {
    .max-w-75 {
        max-width: 250px;
    }
}
/*casella giallina su input*/
    textarea:not([readonly]):not([disabled]):focus,
    input[type="text"]:not([readonly]):not([disabled]):focus,
    input[type="password"]:not([readonly]):not([disabled]):focus,
    input[type="datetime"]:not([readonly]):not([disabled]):focus,
    input[type="datetime-local"]:not([readonly]):not([disabled]):focus,
    input[type="date"]:not([readonly]):not([disabled]):focus,
    input[type="month"]:not([readonly]):not([disabled]):focus,
    input[type="time"]:not([readonly]):not([disabled]):focus,
    input[type="week"]:not([readonly]):not([disabled]):focus,
    input[type="number"]:not([readonly]):not([disabled]):focus,
    input[type="email"]:not([readonly]):not([disabled]):focus,
    input[type="url"]:not([readonly]):not([disabled]):focus,
    input[type="search"]:not([readonly]):not([disabled]):focus,
    input[type="tel"]:not([readonly]):not([disabled]):focus,
    input[type="color"]:not([readonly]):not([disabled]):focus
    /*.uneditable-input:focus */ {
        border-color: rgba(126, 239, 104, 0.8);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(126, 239, 104, 0.6);
        outline: 0 none;
        background-color: #ffffbe;
    }

    .custom-control {
        position: relative;
        display: block;
        min-height: 1.3125rem;
        padding-left: 1.5rem
    }

    .custom-control-inline {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        margin-right: 1rem
    }

    .custom-control-input {
        position: absolute;
        z-index: -1;
        opacity: 0
    }


        .custom-control-input:checked ~ .custom-control-label::before {
            color: #727cf5;
            background-color: #727cf5
        }

        .custom-control-input:focus ~ .custom-control-label::before {
            -webkit-box-shadow: 0 0 0 1px #fafbfe,0 0 0 .15rem rgba(114,124,245,.25);
            box-shadow: 0 0 0 1px #fafbfe,0 0 0 .15rem rgba(114,124,245,.25)
        }

        .custom-control-input:active ~ .custom-control-label::before {
            color: #fff;
            background-color: #b3d7ff
        }

        .custom-control-input:disabled ~ .custom-control-label {
            color: #6c757d
        }

            .custom-control-input:disabled ~ .custom-control-label::before {
                background-color: #e9ecef
            }

    .custom-control-label {
        position: relative;
        margin-bottom: 0;
        font-size: inherit;
    }

        .custom-control-label::before {
            position: absolute;
            top: .15625rem;
            left: -1.5rem;
            display: block;
            width: 1rem;
            height: 1rem;
            pointer-events: none;
            content: "";
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            background-color: #dee2e6
        }

        .custom-control-label::after {
            position: absolute;
            top: .15625rem;
            left: -1.5rem;
            display: block;
            width: 1rem;
            height: 1rem;
            content: "";
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 50% 50%
        }

    .custom-checkbox .custom-control-label::before {
        border-radius: .25rem;
        border: 1px solid #ccc;
    }


    .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
        background-color: #727cf5
    }

    .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")
    }

    .custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
        background-color: #007bff
    }

    .custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")
    }

    .custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
        background-color: rgba(0,123,255,.5)
    }

    .custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
        background-color: rgba(0,123,255,.5)
    }
