#addGroup,
#addNewUser,
#editGroup {
    .modal-dialog {
        max-width: 50%;

        .modal-content {
            padding: 50px 110px;
            @include borderRadius(70px);

            .modal-header {
                // position: relative;
                border: none;

                padding: 0;

                h2 {
                    margin: 0 auto;
                    font-size: 2rem;
                    @include boldFont();
                }

                // button.close {
                //     font-size: 2rem;
                //     text-transform: uppercase;
                //     @include boldFont();
                //     position: absolute;
                //     padding-right: 4rem;
                //     right: 5%;
                //     top: 5%;

                //     span {
                //         font-size: 2rem;
                //         text-transform: uppercase;
                //         font-weight: 100;
                //         position: relative;
                //         @include boldFont();

                //         span.close {
                //             position: absolute;
                //             top: 65%;
                //             /* transform: translate(0, -50%); */
                //             font-size: 3rem;
                //             padding: 0;
                //             right: -1.5rem;
                //         }
                //     }
                // }
            }

            .modal-body {
                .groupName {
                    width: 100%;

                    p {
                        font-size: 1.6rem;
                        display: inline-block;
                        margin-bottom: 0;
                    }

                    input {
                        display: inline-block;
                        border-color: $gray;
                        border-width: 0 0 1px 0;
                        font-size: 2.6rem;
                        @include boldFont();
                        width: 80%;
                        text-align: center;

                        &:focus {
                            outline: none;
                        }
                    }
                }

                .storeCard {
                    margin: 10px auto;
                    background: $green;
                    color: #fff;
                    @include borderRadius(10px);
                    width: 90%;
                    padding: 5% 1%;
                    position: relative;
                    min-height: 3.5rem;

                    h4,
                    p {
                        margin-left: 25px;
                        margin-bottom: 0;
                        font-size: 1.2rem;
                    }
                }

                .searchRow {
                    margin-top: 30px;

                    .table-wrapper {
                        height: 350px;
                        overflow-y: scroll;
                        overflow-x: hidden;
                    }

                    p {
                        font-size: 1.4rem;
                    }

                    .searhForm-wrapper {
                        border: 1px solid $mediumGray;
                        @include borderRadius(10px);
                        padding: 5%;

                        .searchFormAdd {
                            width: 100%;
                            @include borderRadius(10px);
                            border: 1px solid $mediumGray;
                            height: 30px;
                            padding-left: 40px;
                            position: relative;
                        }

                        i {
                            right: 98%;
                            top: -5px;
                        }
                    }

                    table {
                        margin-top: 35px;
                        width: 100%;

                        tr {
                            // border-bottom: 1px solid $mediumGray;
                            cursor: pointer;

                            &.added {
                                td {
                                    &.iconTd {
                                        opacity: 0.5;
                                    }
                                }
                            }

                            td {
                                &.iconTd {
                                    width: 40px;
                                    padding: 0 3rem 0 1rem;

                                    i {
                                        right: 0;
                                        top: 5px;

                                        &::before {
                                            height: 30px;
                                            width: 30px;
                                        }
                                    }
                                }

                                h4 {
                                    color: $green;
                                    font-size: 2rem;
                                    @include boldFont();
                                    padding-left: 10px;
                                    text-transform: uppercase;
                                }

                                h5 {
                                    font-size: 1.1rem;
                                    color: $black;

                                    span {
                                        font-size: 1.5rem;
                                    }
                                }
                            }
                        }
                    }
                }

                .ci-btn {
                    &.btn-green {
                        @include borderRadius(20px);
                        color: #fff;
                        @include boldFont();
                        font-size: 1.6rem;
                        @include hor-center();
                        position: relative;
                        margin-top: 30px;
                        padding: 5px 50px;
                    }

                    &:focus {
                        outline: none;
                    }
                }
            }
        }
    }
}

#editSaldo,
#addBonus {
    z-index: 2000;

    .modal-dialog {
        max-width: 50%;

        .modal-content {
            padding: 40px;
            @include borderRadius(70px);

            button.close {
                position: absolute;
                right: 15px;
                color: $black;
                span {
                    font-size: 2rem;
                }
            }

            h2 {
                font-size: 2.6rem;
                margin-bottom: 20px;
            }

            p {
                font-size: 2.6rem;
                margin-bottom: 20px;

                &.textLabel {
                    font-size: 1.6rem;
                    margin-bottom: 0;
                }
            }

            p.currentAmount {
                color: #fff;
                background: $green;
                @include boldFont();
                @include borderRadius(20px);
                width: 150px;
                margin: 0 auto;
            }

            input {
                margin-bottom: 20px;
                border: 1px solid black;
                border-width: 0 0 1px 0;
                font-size: 2.6rem;
                @include boldFont();
            }

            textarea {
                display: block;
                margin: 0 auto;
                margin-bottom: 20px;
                width: 80%;
                height: 200px;
                @include borderRadius(20px);
                resize: none;
                padding: 20px;
                font-size: 2rem;
            }

            button {
                color: #fff;
                @include borderRadius(20px);
                padding: 5px 25px;
                font-size: 1.3rem;
                @include boldFont();
            }
        }
    }
}
.select2-results__option--selectable {
    font-size: 1.8rem !important;
}
#addPromo {
    // Read Only Modal Start
    .form-control:disabled,
    .form-control[readonly],
    .select2-container--default.select2-container--disabled .select2-selection--multiple,
    .select2-container--default.select2-container--disabled .select2-selection--single {
        background-color: #fff;
        opacity: 0.6;
    }
    // Read only Modal End

    .select2-selection__placeholder {
        font-size: 1.6rem;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #6caaa8 transparent transparent transparent;
        border-style: solid;
        border-width: 10px 10px 0 10px;
        height: 0;
        left: -1%;
        margin-left: -4px;
        margin-top: -2px;
        position: absolute;
        top: 50%;
        width: 0;
    }
    .modal-header {
        border-bottom: unset;
        padding: 0;
    }
    .modal-dialog {
        max-width: 70%;
    }

    .modal-content {
        @include borderRadius(70px);

        padding: 5rem;
    }

    button.close {
        position: absolute;
        right: 5%;
        color: #2b2b2b;
        opacity: 1;
        z-index: 999;
        &:hover {
            opacity: 0.8;
        }

        span {
            font-size: 2rem;
            text-transform: uppercase;
            color: #2b2b2b;
            opacity: 1;
            position: relative;
            padding-right: 40px;

            span.close {
                /* font-size: 3.5rem; */
                opacity: 1;
                position: absolute;
                top: 4px;
                right: -30px;
                /* transform: translate(0,-50%); */
                padding: 0;
                width: 18px;
                height: 18px;
                margin: 0;
                img {
                    width: 100%;
                }
            }
        }
    }

    h2 {
        &.modal-title {
            color: #000;
            font-size: 2rem;
            @include boldFont();
            position: relative;
            width: fit-content;
            margin: 0 auto 60px auto;
            padding-left: 30px;

            i {
                position: absolute;
                margin: 0;
                padding: 0;
                width: 4rem;
                height: 4rem;
                transform: translate(-50%, -50%);
                -moz-transform: translate(-50%, -50%);
                -webkit-transform: translate(-50%, -50%);
                top: 50%;
                left: 0;
                &::before {
                    width: 4rem;
                    height: 4rem;
                }
            }
        }
    }

    .select2-selection__rendered {
        font-size: 1.6rem;
    }
    .select2-search.select2-search--inline {
        font-size: 1.6rem;
    }

    form {
        .inputWrapper {
            text-align: right;
            // margin-bottom: 35px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            width: 100%;

            label {
                font-size: 1.6rem;
                display: flex;
                flex-direction: column;
                /* flex-basis: 85%; */
                flex: 0 0 auto;
                margin-left: 1.6rem;
            }

            input {
                margin-left: 1.6rem;
                position: relative;
                top: -25px;
                font-size: 2.6rem;
                @include boldFont();
                text-align: center;
                border: 1px solid $gray;
                border-width: 0 0 1px 0;
                border-radius: 0;
                display: flex;
                flex-direction: column;
                flex-basis: 100%;
                flex: 1;
            }
        }

        h4 {
            color: $green;
            font-size: 2rem;
            margin-top: 35px;

            @include boldFont();
        }

        .selectWrapper {
            label {
                font-size: 1.6rem;
                text-align: left;
            }
            .do-slider {
                margin-top: 50px;
                .filter {
                    @include flex(initial, initial, initial, row, nowrap);
                    h4 {
                        margin-top: 0;
                    }
                    .sliderWrapper {
                        @include flex(initial, initial, initial, row, nowrap);
                        h5 {
                            color: $green;
                            font-size: 2rem;
                            @include boldFont();
                            display: inline;
                            margin: 0 25px;
                        }
                        #ex1Slider {
                            .slider-handle {
                                background: $green;
                            }
                        }
                    }
                }
            }

            .multipleSelections {
                margin: 0 auto;
                @include borderRadius(20px);
                min-height: 44px;
            }

            .select2-container--default .select2-selection--single .select2-selection__arrow {
                top: 10px;
            }
            .select2-container--default .select2-selection--single {
                border: 1px solid $gray;
            }
            .select2-container--default .select2-selection--single .select2-selection__rendered {
                line-height: 44px;
            }

            select {
                width: 80%;

                .select2-container {
                    width: 80%;
                }

                border: 1px solid $mediumGray;
                @include borderRadius(20px);
                padding-bottom: 5px;
                padding-right: 5px;
                min-height: 44px;
                font-size: 2rem;

                option {
                    font-size: 1.5rem;
                }
            }

            .select2-container--default .select2-selection--multiple {
                border: 1px solid $mediumGray;
                @include borderRadius(20px);
                padding-bottom: 5px;
                padding-right: 5px;
                min-height: 44px;

                .select2-selection__choice__display {
                    font-size: 2rem;
                }
            }
        }

        .promoDates {
            h5 {
                font-size: 2rem;
                @include boldFont();
                color: $mediumGray;
                margin-bottom: 35px;
            }

            label {
                font-size: 1.6rem;
                color: $black;
            }

            input {
                @include borderRadius(20px);
                border: 1px solid $gray;
                font-size: 2rem;
                color: $gray;
                background: url("../../img/icons/calendar.svg");
                @include bg-props(20px, 4%, no-repeat);
                top: 0;
                padding: 0 20px 0 30px;
            }
            #start_date,
            #end_date {
                color: #000;
                font-family: IstokWeb, sans-serif !important;
                font-weight: 400 !important;
            }
            .promo {
                i {
                    position: absolute;

                    &::before {
                        width: 20px;
                        height: 20px;
                    }

                    &.ci-calendar {
                        top: 10px;
                        left: 25px;
                    }

                    &.ci-polyDown {
                        top: 10px;
                        right: 56px;
                    }
                }
            }
        }
    }

    button {
        &#editSaldoVal {
            color: #fff;
            @include borderRadius(20px);
            padding: 5px 35px;
            font-size: 1.3rem;
            @include boldFont();
            margin: 0 auto;
        }
    }
}
#viewAllStores,
#seeAllPromos {
    .modal-content {
        .modal-title {
            font-size: 2rem;
            @include boldFont();
            margin-bottom: 25px;
        }
        button.close {
            position: absolute;
            right: 5%;
            span {
                font-size: 1.4rem;
            }
        }
        @include borderRadius(70px);
        ul {
            li {
                text-align: center;
                font-size: 1.6rem;
                color: $green;
            }
        }
    }
}
#addNewGroup {
    .modal-dialog {
        .modal-content {
            @include borderRadius(70px);
            padding: 15px;
            .modal-body {
                .modal-title {
                    margin-bottom: 30px;
                }
                .close {
                    position: absolute;
                    right: 5%;
                    span {
                        font-size: 1.6rem;
                    }
                }
                .searhForm-wrapper {
                    border: 1px solid $gray;
                    @include borderRadius(20px);
                    padding: 5px;
                    .searchFormAdd {
                        width: 100%;
                        position: relative;
                        height: 40px;
                        @include borderRadius(20px);
                        border: 1px solid $mediumGray;
                        margin-bottom: 20px;
                        font-size: 1.5rem;
                        padding: 5px 10px;
                    }
                    i {
                        &.ci.ci-search {
                            position: absolute;
                            right: 45px;
                            top: 12px;
                        }
                    }
                    table {
                        width: 100%;
                        tr {
                            cursor: pointer;
                            td {
                                &.iconTd {
                                    width: 40px;
                                    i {
                                        right: 0;
                                        top: 5px;
                                        &::before {
                                            height: 30px;
                                            width: 30px;
                                        }
                                    }
                                }
                                h4 {
                                    color: $green;
                                    color: #005051;
                                    font-size: 2rem;
                                    @include boldFont();
                                    padding-left: 10px;
                                    text-transform: uppercase;
                                }
                                h5 {
                                    font-size: 1.1rem;
                                    color: #2b2b2b;
                                    span {
                                        font-size: 1.5rem;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
#addCatalog,
#editService,
#refundModal {
    .modal-content {
        @include borderRadius(70px);
        .modal-body {
            .select2-container--default .select2-selection--single {
                @include borderRadius(20px);
                height: 40px;
                font-size: 2rem;
                .select2-selection__rendered {
                    font-size: 2rem;
                    line-height: 40px;
                }
            }
            .modal-title {
                font-size: 2rem;
                text-transform: uppercase;
            }
            .close {
                position: absolute;
                right: 5%;
                span {
                    font-size: 1.6rem;
                }
            }
            form {
                label {
                    font-size: 1.6rem;
                }
                input{
                    &[type="file"]{
                        font-size:2rem;
                    }
                    
                }
                input:not([type="file"]) {
                    @include borderRadius(20px);
                    height: 40px;
                    font-size: 2rem;
                    //   &.custom-file-input {
                    //     width: 100%;
                    //     display: block;
                    //   }
                }
                input[type="checkbox"] {
                    height: 25px;
                    &:focus {
                        outline: none;
                        box-shadow: none;
                    }
                }

                select {
                    @include borderRadius(20px);
                    height: 40px;
                    font-size: 2rem;
                    option {
                        font-size: 2rem;
                    }
                }
                textarea {
                    @include borderRadius(20px);
                    height: 75px;
                    padding: 10px;
                    font-size: 2rem;
                }
                .select2-container--default .select2-selection--multiple {
                    @include borderRadius(20px);
                    font-size: 2rem;
                    min-height: 55px;
                    .select2-selection__rendered {
                        font-size: 2rem;
                        line-height: 40px;
                    }
                }
                .select2-container--default .select2-selection--single .select2-selection__arrow b {
                    border-color: #6caaa8 transparent transparent transparent;
                    border-width: 10px 8px 0 8px;
                    height: 0;
                    left: 50%;
                    margin-left: -15px;
                    margin-top: 2px;
                    position: absolute;
                    top: 50%;
                    width: 0;
                }
                .disclaimer {
                    margin-top: 25px;
                }
                .do-document{
                    color: black;
                    font-weight: bold;
                    font-size: 1.6rem;
                    text-decoration: underline;
                }
                .custom-file-label {
                    border-top-right-radius: 20px;
                    border-bottom-right-radius: 20px;
                    padding-right: 20%;
                    height: 40px;
                    line-height: 35px;
                    &::after {
                        border-top-right-radius: 20px;
                        border-bottom-right-radius: 20px;
                        height: 38px;
                        line-height: 36px;
                    }
                }
                .input-group {
                    margin-bottom: 35px;
                }
                .input-group-prepend {
                    span {
                        &#inputGroupFileAddon01 {
                            border-top-left-radius: 20px;
                            border-bottom-left-radius: 20px;
                            height: 40px;
                            font-size: 1.6rem;
                        }
                    }
                }
                button.btn-green {
                    border: 1px solid $green;
                    @include boldFont();
                    color: #fff;
                    @include borderRadius(20px);
                    width: 100px;
                    padding: 10px 0;
                    font-size: 1.6rem;
                    &:hover {
                        background: #fff;
                        color: $green;
                    }
                }
            }
        }
    }
}
.trattamentoModal {
    .modal-dialog {
        max-width: 1000px;
        .appendableTable {
            h4 {
                // @include boldFont();
                font-size: 1.6rem;
            }
            .table-wrapper {
                border: 1px solid #ced4da;
                padding: 35px 15px;
                @include borderRadius(20px);
                // box-shadow: 0 6px 3px rgba(0, 0, 0, 0.05);
            }
            &.do-code {
                tfoot,
                .has-addons {
                    display: none;
                }
            }
        }
        #tblAppendGrid,
        #paletePrice,
        #paleteShopPrice,
        #colorazioniCodice,
        #appendTreatment,
        #appendProduct,
        #appendColor {
            tr {
                th {
                    font-size: 2rem;
                    text-transform: uppercase;
                    border: none;
                    &:nth-child(3),
                    &:nth-child(4) {
                        min-width: 205px;
                    }
                }
                td {
                    border: none;
                    vertical-align: middle;
                    padding: 10px 15px;
                    &:nth-child(1) {
                        font-size: 2rem;
                    }
                    &:nth-child(3),
                    &:nth-child(4) {
                        width: 100px;
                        input {
                            width: 100px;
                        }
                    }
                    &:nth-child(5) {
                        input {
                            width: 120px;
                        }
                    }
                    .select {
                        select {
                            max-width: 175px;
                            min-width: 80px;
                        }
                    }
                    input {
                        border: 1px solid $gray;
                    }
                    .field.has-addons {
                        .control {
                            display: inline;
                            margin-right: 10px;
                            button {
                                background: transparent;
                                border: 1px solid $green;
                                @include borderRadius(100%);
                                height: 30px;
                                width: 30px;
                                margin-bottom: 5px;
                                i {
                                    font-size: 1.5rem;
                                    color: $green;
                                    padding: 0;
                                    line-height: 1.5;
                                }
                                &:hover {
                                    background: $green;
                                    i {
                                        color: #fff;
                                    }
                                }
                                &:focus {
                                    outline: none;
                                }
                            }
                        }
                    }
                }
            }
            tfoot {
                tr {
                    td {
                        text-align: left;
                    }
                }
            }
        }
    }
}
@media (max-width: 1440px) {
    #addPromo {
        .modal-dialog {
            max-width: 70%;
        }
    }
}
@media (max-width: 1130px) {
    #addPromo {
        .modal-dialog {
            max-width: 70%;
        }
    }
}
@media (max-width: 1024px) {
    #addPromo {
        .modal-dialog {
            max-width: 80%;
            form {
                .dateInputCustoms {
                    flex: 0 0 100%;
                    max-width: 100%;
                    label {
                        text-align: center !important;
                    }
                }
            }
        }
    }
}

@media (max-width: 1310px) {
    #addPromo form .blockResponsive {
        display: block;
    }
    #addPromo form .promoDates label {
        text-align: left !important;
    }
    #addPromo form .promoDates .promo i.ci-polyDown {
        top: 45px;
    }
}
@media (max-width: 768px) {
    #addPromo {
        .modal-dialog {
            max-width: 80%;
        }
    }
}
