
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    height: 100%;
    width: 100%;
}

    body:not(.home, .settings) {
        overflow: hidden;
    }

:root {
    --white-color: #fff;
    --blue-color: #4070f4;
    --grey-color: #707070;
    --grey-color-light: #aaa;
    --background-color: #F6F6F6;
    --border-radius-sidebar: 70px;
    --box-background: #2BABB0;
    --bg-color: #2BABB0;
    --hover-menu-color: #2BABB0;
    --navbar-item: #6A6A6A;
    --border-radius-box: 17px;
    --white-color: #FBFBFB;
}

a:not(.button, #forgot-password, .breadcrumb-item a):hover {
    color: transparent;
}

/* breadcumbs stylesheet */
.breadcrumb-item a {
    text-decoration: none;
    color: #6A6A6A;
}


.boxDashboard {
    width: 289px;
    height: 170px;
    margin-right: 50px;
    background: var(--white-color) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px #9FB1AB;
    border-radius: var(--border-radius-box);
    padding: 0;
}

    .boxDashboard:last-child {
        margin-right: 0px !important;
    }

.boxDashboard__content {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    flex-wrap: wrap;
}

    .boxDashboard__content h3 {
        text-align: left;
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 19px;
        font-family: "Montserrat", sans-serif;
        letter-spacing: 0px;
        color: #2BABB0;
        text-transform: uppercase;
    }

.boxDashboard__info {
    position: relative;
    width: fit-content;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .boxDashboard__info h4 {
        font-weight: 500;
        font-size: 40px;
        line-height: 49px;
        font-family: "Montserrat", sans-serif;
        letter-spacing: 0px;
        color: #2BABB0;
        text-transform: uppercase;
        margin-right: 10px;
    }

.boxDashboard__content svg {
    height: 65px;
    width: 65px;
}


.boxDashboard.bgBlue svg rect,
.boxDashboard.bgBlue svg path {
    fill: #ffffff;
}

.boxDashboard.bgBlue .boxDashboard__info h4,
.boxDashboard.bgBlue .boxDashboard__content h3 {
    color: var(--white-color);
}

.boxTabella {
    background: var(--white-color) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px #9FB1AB40;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

body.settings .boxTabella {
    background: transparent !important;
    box-shadow: none !important;
}

.button {
    width: fit-content;
    height: 40px;
    background-color: #2BABB0;
    text-decoration: none;
    border-radius: 18px;
    padding: 9px;
    box-shadow: none;
    outline: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .button img {
        width: 36px;
        height: 36px;
        margin-right: 0px;
    }

    .button span {
        text-transform: uppercase;
        letter-spacing: 0;
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 19px;
        font-family: "Montserrat", sans-serif;
        padding: 9px;
        color: #ffff !important;
    }

    .button:hover {
        color: #ffffff !important;
    }

.badge {
    width: 25px;
    height: 25px;
    border-radius: 100%;
    display: block !important;
}

.badgeSuccess {
    background: #89B02B;
}

.badgeDanger {
    background: #C9864C;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.entryTitleAccount {
    font: normal normal normal 20px/24px Montserrat;
    letter-spacing: 0px;
    color: #6A6A6A;
    text-transform: uppercase;
    margin-top: 50px;
}

input[type="date"]:hover:after {
    color: #bf1400;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
}

input[type="date"]::-webkit-inner-spin-button {
    z-index: 1;
}

input[type="date"]::-webkit-clear-button {
    z-index: 1;
}

.btnForInputDate {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    position: relative;
    top: -8px;
    right: 0px;
}




/* INPUT DENTRO I MODALI */
#ModalCreazioneUtente .boxInput > input[type="text"],
#ModalCreazioneUtente .boxInput > input[type="tel"],
#ModalCreazioneUtente .boxInput > input[type="email"],
#ModalDettaglioUtente .boxInput > input[type="text"],
#ModalDettaglioUtente .boxInput > input[type="tel"],
#ModalDettaglioUtente .boxInput > input[type="email"],
#ModalDettaglioPresenza .boxInput > input[type="text"],
#ModalDettaglioPresenza .boxInput > input[type="tel"],
#ModalDettaglioPresenza .boxInput > input[type="email"],
#ModalDettaglioAccessoNegato .boxInput > input[type="text"],
#ModalDettaglioAccessoNegato .boxInput > input[type="tel"],
#ModalDettaglioAccessoNegato .boxInput > input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-align: left;
    font: normal normal normal 12px/15px Montserrat;
    letter-spacing: 0px;
    color: #6A6A6A;
    background-color: transparent;
}

#ModalDettaglioUtente .btnUpdate,
#ModalDettaglioPresenza .btnUpdate {
    position: absolute;
    right: 25px;
    bottom: 34px;
    width: 85px;
    height: 85px;
    background: #DFFCFE 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 16px #00000029;
    border-radius: 112px;
    border: none;
    outline: none;
}

#tableAnagrafica_filter,
#tableLeadsAll_filter,
#tableAccessiNegati_filter,
#tablePresenze_filter {
    display: none;
}


/** Inserisco la dropdown per la ricerca*/
.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    .dropbtn:hover, .dropbtn:focus {
        background-color: #3e8e41;
    }


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    overflow: auto;
    z-index: 1;
}

    .dropdown-content a {
        color: black !important;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            color: var(--hover-menu-color) !important;
        }

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

/** defaul stylesheet for modal */
.modal {
    opacity: 1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.modal-backdrop {
    background-color: transparent;
    z-index: 0;
    height: unset !important;
    width: unset !important;
}

    .modal-backdrop.show {
        opacity: 0;
    }

body:not(.home).modal-open {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body:is(.home).modal-open {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    z-index: 9999;
    position: fixed;
}

body.modal-open .sidebar,
body.modal-open .navbar,
body.modal-open .sidebar ~ .home-section {
    z-index: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}


.modal-content {
    border: none !important;
}

.modal-header .btn-close {
    box-shadow: none !important;
}


.dataTables_empty {
    top: 10px;
    position: relative;
}

.form-check-input:focus {
    box-shadow: none !important;
}

/* media queries for laptop */
@media only screen and (min-width: 1370px) and (max-width: 1605px) {
    .entryTitle {
        margin-bottom: 50px !important;
        margin-top: 80px !important;
    }


    /* tabella presenza */
    .boxTablePresenze {
        padding-inline: 20px !important;
    }

    body:not(.home).modal-open {
        overflow-y: hidden !important;
    }
}





/*
Icona chiusura modale
*/
.btn-close > img {
    width: 21px;
    height: 21px;
    object-fit: cover;
}

/*
Stylesheet for ui-datepicker 
*/
.ui-datepicker .ui-datepicker-header {
    background: #2babb0;
    border: none;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #2babb0 !important;
    border: 1px solid #2babb0 !important;
    color: #FBFBFB !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #2babb0 !important;
    background: #2babb0 !important;
    font-weight: bold;
    color: #FBFBFB !important;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
    border: 1px solid #2babb0 !important;
    font-weight: bold;
    background: #2babb0 !important;
    color: #FBFBFB !important;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
    background: #2babb0 !important;
    color: #FBFBFB !important;
}

    .ui-state-hover .ui-icon,
    .ui-state-focus .ui-icon,
    .ui-button:hover .ui-icon,
    .ui-button:focus .ui-icon {
        background-image: url("https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/ui-lightness/images/ui-icons_ffffff_256x240.png") !important;
    }

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    cursor: pointer !important;
}

/* Stylesheet modale cancellazione */
#cancellazioneModal {
    display: none;
    z-index: 1000000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    #cancellazioneModal .modal-header {
        border-bottom: none;
        border-top: none;
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #cancellazioneModal .modal-footer {
        border-bottom: none;
        border-top: none;
        padding-inline: 32px;
        margin-bottom: 32px;
    }

    #cancellazioneModal .modal-dialog {
        max-width: 737px;
        width: 100%;
        height: fit-content;
    }

    #cancellazioneModal .modal-content {
        background: #FAFCFC 0% 0% no-repeat padding-box;
        box-shadow: 0px 3px 6px #00000029;
        border-radius: 60px;
        height: fit-content;
        border: none;
    }

    #cancellazioneModal .modal-title {
        font: normal normal bold 35px/47px Segoe UI;
        letter-spacing: 0.35px;
        color: #2BABB0;
        text-transform: uppercase;
        margin-top: 21px;
    }

    #cancellazioneModal .modalCloseIcon {
        width: 17px;
        height: 17px;
        object-fit: cover;
        top: 10px;
        position: relative;
    }

    #cancellazioneModal .modal-body label {
        text-align: left;
        font: normal normal 600 20px/27px Segoe UI;
        letter-spacing: 0.2px;
        color: #0077AD;
    }

    #cancellazioneModal .modal-footer {
        display: flex;
        justify-content: center;
    }

    #cancellazioneModal .button {
        outline: none;
        border: none;
        background: transparent;
        border-radius: 19px;
        width: fit-content;
        height: 37px;
        text-align: center;
        font: normal normal 600 13px/17px Segoe UI;
        letter-spacing: 0.13px;
        color: #2BABB0;
        border: 1px solid #2BABB0;
        text-transform: uppercase;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

        #cancellazioneModal .button:not(.btnRetry) > span {
            color: #2BABB0 !important;
        }

    #cancellazioneModal .btnRetry > span {
        color: #AE1313 !important;
    }

    #cancellazioneModal .button:hover {
        border: 2px solid #2BABB0;
    }

    #cancellazioneModal .button:focus, #cancellazioneModal .button:active {
        border: 2px solid #2BABB0;
        color: #FAFCFC;
        background-color: #2BABB0;
    }

        #cancellazioneModal .button:focus span,
        #cancellazioneModal .button:active span {
            color: #ffff !important;
        }

    #cancellazioneModal .button.btnRetry {
        outline: none;
        border: none;
        background: transparent;
        border-radius: 19px;
        width: 100px;
        height: 37px;
        text-align: center;
        font: normal normal 600 13px/17px Segoe UI;
        letter-spacing: 0.13px;
        color: #0077AD;
        border: 1px solid #AE1313;
        text-transform: uppercase;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

        #cancellazioneModal .button.btnRetry:focus,
        #cancellazioneModal .button.btnRetry:active {
            border: 2px solid #AE1313;
            background-color: #AE1313;
        }

        #cancellazioneModal .button.btnRetry:hover {
            border: 2px solid #AE1313;
        }

        #cancellazioneModal .button.btnRetry:focus span {
            color: #FAFCFC !important;
        }

