﻿:root {
    --gray: #6c757d;
    --gray-dark: #343a40;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --ligth-blue: #ebf7fa;
    --ligth-green: #e7faf5;
    --light-red: #ffeff2;
    --ligth-yellow: #fff9ef;
    --text-gray: #999;
    --danger: #F45846;
    --primary: #2487ce;
    --success: #2cc185;
    --warning: #ffbd00;
}

a {
    cursor: pointer;
}

.main-content {
    min-height: 70vh;
}

.bg-warning {
    background-color: var(--warning) !important;
}


.mai-top-header .navbar-brand {
    background-image: none !important;
    width: 185px;
}

    .mai-top-header .navbar-brand img {
        max-width: 185px;
        max-height: 60px;
        padding: 2px 0px 5px 0px;
        /*margin-top: -10px;
		margin-left: -19px;*/
    }

.mai-sub-header .navbar-nav > .nav-item > .nav-link:hover {
    background: #f3f3f3;
}

/**** Stili per i label float ****/

div.form-floating {
    margin-top: 1rem;
}

    div.form-floating label {
        position: absolute;
        color: #b7b7b7;
        font-weight: normal;
        font-size: 1.1rem;
        pointer-events: none;
        left: 25px;
        top: 12px;
        transition: 0.2s ease all;
        -moz-transition: 0.2s ease all;
        -webkit-transition: 0.2s ease all;
    }

        div.form-floating label.floating {
            top: -0.85rem;
            background: #fff;
            font-size: 0.9rem;
            padding: 0 0.2rem;
            height: 1rem;
            color: #4db8ea;
        }

    div.form-floating textarea ~ label {
        top: 2.5rem;
    }

        div.form-floating textarea ~ label.floating {
            top: 1.15rem;
        }

    /*div.form-floating input.quick-search-input ~ label.floating {
        top: -4rem;
        background: #fff;
        font-size: 1rem;
        padding: 0 0.2rem;
        height: 1rem;
    }*/

    /* div.form-floating input:focus ~ label.floating {
        color: #4db8ea;
    }*/

    div.form-floating select[multiple] ~ label.floating {
        color: #4db8ea;
    }

    div.form-floating input.date-type {
        width: 15rem;
        line-height: 1.3rem;
    }

/***********************************
    Alert
*/

div.alert div.message {
    font-size: 1.1rem;
}

.alert-warning {
    background-color: #fcf2c5;
    color: #857222;
}

    .alert-warning > .icon {
        color: #857222;
    }

    .alert-warning > .message a {
        color: #857222;
        font-weight: 600;
    }

/***********************************
    Badge           
*/

.badge-danger-lighten {
    background-color: var(--light-red);
    color: var(--danger);
    font-weight: 600;
    border: none;
}

.badge-info-lighten {
    background-color: var(--ligth-blue);
    color: var(--primary);
    font-weight: 600;
    border: none;
}

.badge-secondary-lighten {
    background-color: var(--gray-100);
    color: var(--gray);
    font-weight: 600;
    border: none;
}

.badge-success-lighten {
    background-color: var(--ligth-green);
    color: var(--success);
    font-weight: 600;
    border: none;
}


.badge-warning-lighten {
    background-color: var(--ligth-yellow);
    color: var(--warning);
    font-weight: 600;
    border: none;
}

.badge-warning {
    background-color: var(--yellow);
    color: #FFFFFF;
    border-color: var(--yellow);
}

/********************************
	Top Bar
*/
.mai-top-header {
    background-color: #fff !important;
}


.mai-user-nav > .nav-item.dropdown > .nav-link {
    color: #707070 !important;
}

.mai-top-header .navbar-nav > .nav-item.dropdown .dropdown-menu {
    background-color: #fff !important;
}

.mai-top-header .navbar-nav > .nav-item.dropdown .dropdown-menu {
    background-color: #fff !important;
}

    .mai-top-header .navbar-nav > .nav-item.dropdown .dropdown-menu > .dropdown-item {
        color: #707070 !important;
    }

.mai-top-header .mai-icons-nav > .nav-item.dropdown > .nav-link .icon {
    font-size: 28px;
}

.nav-link .icon {
    font-size: 2rem;
}


/* end Top Bar */

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    content: "✓" !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    content: '' !important;
    width: 8px;
    height: 8px;
    background-color: #2487ce;
    margin: 7px;
    border-radius: 16px;
}


/*.custom-control-input[type=radio]:checked ~ .custom-control-color::after {
    background-color: #fff !important;
}

.custom-control-input[type=radio]:checked ~ .custom-control-color::before {
    background-color: #2cc185 !important;
}*/

/************************/
/*      Select        */
/**********************/
select.custom-select {
    padding: 0.6rem 2.307rem 0.6rem 1.307rem
}

/*
Importato e commentato perchè in caso di testi lunghi non adatta la larghezza correttamente (es pagina ordini, ricerca per codice)
select.form-control {
    padding: 0.7rem !important;
}
*/

/********************************
	Select 2
*/

.select2-container--default .select2-selection--single .select2-selection__arrow b:after {
    font-family: "Pe-icon-7-stroke" !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    padding-top: 0.3rem !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 15px !important;
}

select[multiple].hide-result .select2-dropdown.select2-dropdown--below {
    display: none;
}

button.select2-selection__clear {
    color: red;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    height: 100% !important;
    margin-right: 2.8rem !important;
}

/********************************
	Card
*/
.card {
    box-shadow: 0 2px 6px rgb(0 0 0 / 8%) !important;
    border-radius: 4px;
}

.card-border-color-warning {
    border-top-color: var(--yellow);
}

.input-number-container button.input-number-add {
    top: -8px !important;
}

.input-number-container button.input-number-sub {
    bottom: -8px !important;
}

input[type=number].form-control {
    display: inline-block !important;
}

/* Twitter TypeAhead*/

.tt-menu {
    width: 100%;
    top: calc(100% - 2px) !important;
    z-index: 1000 !important;
    background-color: #bbe9ff;
    border-top: 0px !important;
    border: 2px solid #bbe9ff;
}

    .tt-menu .tt-suggestion {
        font-family: "Raleway", sans-serif;
        font-size: 1.1rem; /*1.308rem;*/
        font-weight: 500;
        padding: 4px 1.307rem;
        cursor: pointer;
        color: #4db8ea;
        background: #fff;
    }

        .tt-menu .tt-suggestion.tt-cursor {
            background-color: unset;
            color: #185C8C;
        }

/* box di ricerca in alto */
/*#remote .tt-menu {
    width: calc(100% + 2rem);
    top: calc(100% - 1px) !important;
    background-color: #4db8ea;
    border-width: 0 1px 1px;
    border-color: #4db8ea;
}

    #remote .tt-menu .tt-suggestion {
        padding: 4px 10px;
        color: rgba(255, 255, 255, 0.5);
    }

        #remote .tt-menu .tt-suggestion.tt-cursor {
            background-color: unset;
            color: #fff;
        }*/


.twitter-typeahead {
    width: 100%
}


/**************
*   Modal
  *************/
.modal.errorDialog .modal-dialog {
    width: 60%;
}

.modal-content {
    max-width: unset !important;
}

.modal-body .row:last-child .form-group {
    margin-bottom: 1.5rem;
}

.modal .modal-header button.close i {
    font-size: 2.5rem;
}

.modal .modal-header button.close:focus {
    outline: none;
}

    /* #region SweetAlert 2 */
    .swal2-popup {
    width: 40rem;
}

.swal2-actions {
    justify-content: center !important;
}

    .swal2-actions .btn {
        margin: 0 1rem !important;
        padding: 1rem 1.2rem;
        border-radius: 6px;
        font-size: 1.1rem;
    }

.swal2-header {
    align-items: center !important;
    padding-bottom: 0 !important;
}

    .swal2-header .swal2-title {
        font-weight: 500 !important;
        font-size: 2.5rem !important;
        order: unset !important;
    }

    .swal2-header .swal2-icon {
        order: unset !important;
        zoom: 1.3;
        margin: 0.5rem auto 2rem !important;
    }

.swal2-content #swal2-content {
    text-align: center !important;
    font-size: 1.2rem !important;
}

    .swal2-content #swal2-content * {
        text-align: center;
        font-size: 1.2rem;
    }

/* #endregion */

.PackageInfo {
    /*background-color: #fff5426b !important;*/
    border-color: rgba(244,88, 70, 0.48) !important;
}

.popover {
    border-color: rgba(244,88, 70, 0.48) !important;
}

    .popover .arrow:before {
        border-left-color: rgba(244,88, 70, 0.48) !important;
    }


.navbar-sticky {
    position: -webkit-sticky !important; /* Safari */
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

html {
    height: unset !important;
    /*sovrascritta l'impostazione che impone l'altezza al 100% dei file app.css e little-fox.css*/
    /*questo per permettere lo sticky (blocco) della barra nera in alto*/
}

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

    link

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

a:hover {
    text-decoration: underline;
}

.itemlink a {
    color: #A96046 !important;
}

a.itemlink {
    color: #469fdf !important;
}

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

    Icon

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

@font-face {
    font-family: 'Material Symbols Sharp';
    font-style: normal;
    font-weight: 100 700;
    src: url(/font/material-design-symbols/MaterialSymbolsSharp.woff2) format('woff2');
}

.material-symbols-sharp {
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 250, 'GRAD' -25, 'opsz' 48
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid\9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

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

    Footer

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

.footer-top {
    padding: 60px 0 30px;
    background: #333;
    text-align: left;
    color: #aaa;
}

    .footer-top h3 {
        padding-bottom: 10px;
        color: #fff;
    }

    .footer-top .footer-contact img {
        max-width: 1.7rem;
        height: auto;
    }

        .footer-top .footer-contact img ~ span {
            padding-left: 7px;
        }

.footer-about img.logo-footer {
    max-width: 15rem;
    margin-top: 0;
    margin-bottom: 18px;
}

.footer-about p a {
    border: 0;
}

    .footer-about p a:hover, .footer-about p a:focus {
        border: 0;
    }

.footer-contact p {
    word-wrap: break-word;
}

.footer-contact i {
    padding-right: 10px;
    font-size: 18px;
    color: #666;
}

.footer-contact p a {
    border: 0;
}

    .footer-contact p a:hover, .footer-contact p a:focus {
        border: 0;
    }

.footer-links a {
    color: #aaa;
    border: 0;
}

    .footer-links a:hover, .footer-links a:focus {
        color: #fff;
    }

.footer-bottom {
    padding: 15px 0 17px 0;
    background: #444;
    text-align: left;
    color: #aaa;
}

    .footer-bottom .powered-by img {
        height: 1.6rem;
    }

.footer-social {
    padding-top: 3px;
    visibility: hidden;
}

    .footer-social a {
        margin-left: 20px;
        color: #777;
        border: 0;
    }

        .footer-social a:hover, .footer-social a:focus {
            color: #79a05f;
            border: 0;
        }

    .footer-social i {
        font-size: 24px;
        vertical-align: middle;
    }

.footer-copyright {
    padding-top: 5px;
}

    .footer-copyright a {
        color: #fff;
        border: 0;
    }

        .footer-copyright a:hover, .footer-copyright a:focus {
            color: #aaa;
            border: 0;
        }

.badge-lg {
    font-size: 2.0rem !important;
}


/**Noty*/

.noty_theme__nest.noty_bar {
    box-shadow: rgb(0 0 0 / 60%) 5px 4px 10px 0;
}

#noty-custom-container {
    position: sticky;
    z-index: 9999;
    top: 5rem;
    bottom: 0;
    max-width: 20%;
    min-width: 10%;
    float: right;
}


/*********************************
    Table
*/

.td-fixed {
    width: 10px;
    white-space: nowrap;
}
