body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* background-color: #0a1e3f ;*/
    /* #9fccea*/
}

main {
    flex: 1;
    /* padding: 2rem 0; */
    margin-top: 58px
}


/* NAVBAR WEB */

.custom_nvbar {
    background-color: #0a1c3c;
    color: #f1f1f1 !important;
}

.custom_nav-link {
    display: block;
    /* padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x); */
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #F1F1F1;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);

    position: relative;
    /* abilitare il contesto per ::after */
    padding-bottom: 0.25rem;
    /* spazio interno inferiore per far respirare la linea */
}

/* Pseudo-elemento che disegna la linea, inizialmente larga 0 */
.custom_nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* spessore della linea */
    background-color: currentColor;
    /* usa lo stesso colore del testo */
    transition: width 0.3s ease;
}

/* Allarga la linea al 100% su hover e su link attivo */
.custom_nav-link:hover::after,
.custom_nav-link.active::after {
    width: 100%;
}


.nav_item_red {
    background-color: red;
    border-radius: 15px !important;
    padding: 5px
}



/* ===  NAVBAR BE === */

/* Per default: sidebar aperta */
.sidebar .logo-collapsed {
    display: none;
}

.sidebar .logo-open {
    display: inline;
}

/* Quando la sidebar è collassata */
.sidebar.collapsed .logo-open {
    display: none;
}

.sidebar.collapsed .logo-collapsed {
    display: inline;
}

.nav-profile.dropdown-toggle::after {
    display: none !important;
}

.avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #6c757d;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}


/* === STATS === */

.stats-row {
    position: relative;
    z-index: 1;
    margin-top: 5rem;
    background-color: var(--surface-color);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
}


/* === PLANS === */

.segment {
    background: #f1f3f5;
    padding: 5px;
    border-radius: 30px;
    display: inline-flex;
}

.segment .btn {
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.segment .btn.active {
    background-color: #00225f;
    color: #fff;
    box-shadow: 0 3px 8px rgba(13, 110, 253, .4);
}



/* === FOOTER == */

footer {
    background-color: #031733;
    /* text-align: center; */
    color: #f1f1f1;
    padding: 1rem 0;
}




/* INPUT */

.input-gray {
    /* background-color: #f1f9ff;   */
    background-color: #f5fbff;
    /* MistyRose */
    border: 1px solid #ccc;
    color: #333;
}





/* CARD */

.card_rounded {
    border-radius: 14px !important;
}

.card_rounded_top {
    border-radius: 14px 14px 0px 0px !important;
}



/* info-item */

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom:
        /*2rem */
        1.5rem;
}

/* ICON */

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: color-mix(in srgb, #FFF, transparent 85%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
    border: 4px solid #398cc5;
}


.icon-stats {
    width: 60px;
    height: 60px;
    ;
    background-color: #7cb9e3;
}


/* FONTS */

.font-nunito {
    /* color: var(--heading-color); */
    font-family: "Nunito", sans-serif;
}




/* === BUTTONS === */

.btn-xs {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.0;
    border-radius: .2rem;
}

/* RED */
.btn-red {
    background-color: #b1181a;
    color: #FFF
}

.btn-red:hover {
    background-color: #931012;
    color: #FFF
}


/* BLUE */

.btn-blue {
    background-color: #00225f;
    color: #FFF;
}

.btn-blue:hover {
    background-color: #001c4e;
    color: #FFF;
}


/* SKY */

.btn-sky {
    background-color: #2279be;
    color: #FFF;
}

.btn-sky:hover {
    background-color: #1662a0;
    color: #FFF;
}


/* BTN WHITE */

.btn-outline-white {
    border-color: #FFF;
    color: #FFF
}

.btn-white,
.btn-outline-white:hover {
    border-color: #FFF;
    color: #000;
    background: #FFF
}


/* BTN PURPLE */

.btn-outline-purple {
    border-color: #9d4edd;
    color: #9d4edd
}

.btn-purple,
.btn-outline-purple:hover {
    border-color: #9d4edd;
    color: #FFF;
    background: #9d4edd
}

.btn-purple:hover {
    border-color: #8D31D8;
    color: #FFF;
    background: #8D31D8
}


/* BTN PURPLE DARK */

.btn-outline-purple-dark {
    border-color: #40407a;
    color: #40407a
}

.btn-purple-dark,
.btn-outline-purple-dark:hover {
    border-color: #40407a;
    color: #FFF;
    background: #40407a
}

.btn-purple-dark:hover {
    border-color: #31315E;
    color: #FFF;
    background: #31315E
}




/* BTN GRAY DARK */

.btn-outline-gray-dark {
    border-color: #384c6d;
    color: #384c6d
}

.btn-gray-dark,
.btn-outline-gray-dark:hover {
    border-color: #384c6d;
    color: #FFF;
    background: #384c6d
}

.btn-gray-dark:hover {
    border-color: #2A3951;
    color: #FFF;
    background: #2A3951
}


/* BTN BLUE DARK */

.btn-outline-blue-dark {
    border-color: #043760;
    color: #043760
}

.btn-blue-dark,
.btn-outline-blue-dark:hover {
    border-color: #043760;
    color: #FFF;
    background: #043760
}

.btn-blue-dark:hover {
    border-color: #02213B;
    color: #FFF;
    background: #02213B
}


/* BTN INDIGO */

.btn-outline-indigo {
    border-color: #064663;
    color: #064663
}

.btn-indigo,
.btn-outline-indigo:hover {
    border-color: #064663;
    color: #FFF;
    background: #064663
}

.btn-indigo:hover {
    border-color: #04364D;
    color: #FFF;
    background: #04364D
}


/* BTN ORANGE PANTONE */

.btn-outline-orange_p {
    border-color: #FF5E14;
    color: #FF5E14
}

.btn-orange_p,
.btn-outline-orange_p:hover {
    border-color: #FF5E14;
    color: #FFF;
    background: #FF5E14
}

.btn-orange_p:hover {
    border-color: #FF5E14;
    color: #FFF;
    background: #FF5E14
}



/* BTN CERULEAN */
/* CONSULENTI */

.btn-outline-cerulean {
    border-color: #427C9C;
    color: #427C9C
}

.btn-cerulean,
.btn-outline-cerulean:hover {
    border-color: #427C9C;
    color: #FFF;
    background: #427C9C
}

.btn-cerulean:hover {
    border-color: #427C9C;
    color: #FFF;
    background: #427C9C
}


/* BTN MAIN BLUE */
/* IMPRESE */

.btn-outline-mainblue {
    border-color: #1F5082;
    color: #1F5082
}

.btn-mainblue,
.btn-outline-mainblue:hover {
    border-color: #1F5082;
    color: #FFF;
    background: #1F5082
}

.btn-mainblue:hover {
    border-color: #1F5082;
    color: #FFF;
    background: #1F5082
}



/* BTN BROWN */
/* RLST */

.btn-outline-brown {
    border-color: #6D4C3D;
    color: #6D4C3D
}

.btn-brown,
.btn-outline-brown:hover {
    border-color: #6D4C3D;
    color: #FFF;
    background: #6D4C3D
}

.btn-brown:hover {
    border-color: #5C4134;
    color: #FFF;
    background: #5C4134
}


/* === BACKGROUND === */

.bg-blue {
    background-color: #00225f;
}

.bg-sky {
    background-color: #2279be;
    color: #FFF
}



/* === MARGIN === */

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important
}



/* === PAGE === */

/* = ABOUT US = */

.head_about_us {
    background-image: url("/images/about_us/about_us.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* === CONTAINER === */

.container-custom {
    max-width: 960px !important;
}



/* FORM CONTROL */

/* FROM CONTROL XS */
.form-control-plaintext.form-control-xs {
    padding-right: 0;
    padding-left: 0
}

.form-control-xs {
    min-height: calc(1.0em + .1rem + 2px);
    padding: .20rem .5rem;
    font-size: .875rem;
    /* border-radius: .2rem */
}

.form-control-xs::-webkit-file-upload-button {
    padding: .25rem .5rem;
    margin: -.25rem -.5rem;
    -webkit-margin-end: .5rem;
    margin-inline-end: .5rem
}

.form-control-xs::file-selector-button {
    padding: .25rem .5rem;
    margin: -.25rem -.5rem;
    -webkit-margin-end: .5rem;
    margin-inline-end: .5rem
}

.form-control-xs::-webkit-file-upload-button {
    padding: .20rem .5rem;
    margin: -.20rem -.5rem;
    -webkit-margin-end: .5rem;
    margin-inline-end: .5rem
}

/* FORM SELECT */

.form-select-xs {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}




/* === TEXT === */


.text-blue {
    color: #00225f;
}

.text-sky {
    color: #2279be;
}

.text {
    margin-left: .25rem !important;
}

.text-disabled {
    color: #cccbcb;
}

.text-muted {
    color: #6c757d !important;
}

.text-success {
    color: #28a745 !important;
}

.text-center {
    text-align: center !important;
}

.text-purple {
    color: #9b59b6;
}



.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.text-orange {
    color: #f39c12;
}

.text-russet {
    color: #764119;
}

.text-carribean {
    color: #00CC99;
}

.text-bottle {
    color: #00664D;
}

.text-light_gray {
    color: #8e9aaf;
}




/*
  * PROGRESS BAR
  */

.progress-sm {
    height: .4rem;
}




/*
* BADGE
*/

.badge.disabled {
    pointer-events: none;
    opacity: .35;
}

.bg-purple {
    color: #fff;
    background-color: #5f27cd;
}

.bg-orange {
    color: #1a1a1a;
    background-color: #f39c12;
}

.bg-greensea {
    color: #fff;
    background-color: #16a085;
}

.bg-naval {
    color: #fff;
    background-color: #40739E;
}

.bg-gray-light {
    background-color: #e7e7e7
}

.bg-gray {
    background-color: #49494b
}

.bg-russet {
    color: #764119;
}



/* BACKGROUND */

.bg-primary {
    color: #fff;
    background-color: #007bff
}

a.bg-primary:focus,
a.bg-primary:hover {
    color: #fff;
    background-color: #0062cc !important
}

a.bg-primary.focus,
a.bg-primary:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}

.bg-secondary {
    color: #fff;
    background-color: #6c757d
}

a.bg-secondary:focus,
a.bg-secondary:hover {
    color: #fff;
    background-color: #545b62 !important
}

a.bg-secondary.focus,
a.bg-secondary:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .5)
}

.bg-outline-secondary {
    color: #6c757d;
    border: 1px solid #6c757d
}

a.bg-outline-secondary:focus,
a.bg-utline-secondary:hover {
    color: #fff;
    background-color: #545b62 !important
}

a.bg-outline-secondary.focus,
a.bg-outline-secondary:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .5)
}

.bg-success {
    color: #fff;
    background-color: #28a745
}

a.bg-success:focus,
a.bg-success:hover {
    color: #fff;
    background-color: #1e7e34 !important
}

a.bg-success.focus,
a.bg-success:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5)
}

.bg-info {
    color: #fff;
    background-color: #17a2b8
}

a.bg-info:focus,
a.bg-info:hover {
    color: #fff;
    background-color: #117a8b !important
}

a.bg-info.focus,
a.bg-info:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .5)
}

.bg-outline-info {
    color: #17a2b8;
    background-color: none;
    border: 1px solid #17a2b8;
}

a.bg-outline-info:focus,
a.bg-outline-info:hover {
    color: #fff;
    background-color: #117a8b !important
}

a.bg-outline-info.focus,
a.bg-outline-info:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .5)
}

.bg-warning {
    color: #212529;
    background-color: #ffc107
}

a.bg-warning:focus,
a.bg-warning:hover {
    color: #212529;
    background-color: #d39e00 !important
}

a.bg-warning.focus,
a.bg-warning:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(255, 193, 7, .5)
}

.bg-danger {
    color: #fff;
    background-color: #dc3545
}

a.bg-danger:focus,
a.bg-danger:hover {
    color: #fff;
    background-color: #bd2130 !important
}

a.bg-danger.focus,
a.bg-danger:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5)
}

.bg-light {
    color: #212529;
    background-color: #f8f9fa
}

a.bg-light:focus,
a.bg-light:hover {
    color: #212529;
    background-color: #dae0e5 !important
}

a.bg-light.focus,
a.bg-light:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(248, 249, 250, .5)
}

.bg-dark {
    color: #fff;
    background-color: #343a40
}

a.bg-dark:focus,
a.bg-dark:hover {
    color: #fff;
    background-color: #1d2124 !important
}

a.bg-dark.focus,
a.bg-dark:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(52, 58, 64, .5)
}

/* BACKGROUND BROWN */

.bg-brown {
    color: #fff;
    background-color: #6D4C3D
}

a.bg-brown:focus,
a.bg-brown:hover {
    color: #fff;
    background-color: #4A2901 !important
}

a.bg-brown.focus,
a.bg-brown:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(74, 41, 1, .5)
}





/* FORM IMPUT */

.border-danger~.invalid-feedback {
    display: block
}

.invalid-feedback {
    display: block
}

.border-3red {
    border: 1px solid red
}

.border-3green {
    border: 1px solid green
}

.border-danger {
    border: 1px solid red
}

.border-success {
    border: 1px solid green
}




/* TOOGLE */

.can-toggle {
    position: relative;
}

.can-toggle *,
.can-toggle *:before,
.can-toggle *:after {
    box-sizing: border-box;
}

.can-toggle input[type=checkbox] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.can-toggle input[type=checkbox][disabled]~label {
    pointer-events: none;
}

.can-toggle input[type=checkbox][disabled]~label .can-toggle__switch {
    opacity: 0.4;
}

.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:before {
    content: attr(data-unchecked);
    left: 0;
}

.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:after {
    content: attr(data-checked);
}

.can-toggle label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
}

.can-toggle label {
    flex: 1;
    margin-top: 7px
        /* padding-left: 32px; */
}

.can-toggle label .can-toggle__switch {
    position: relative;
}

.can-toggle label .can-toggle__switch:before {
    content: attr(data-checked);
    position: absolute;
    top: 0;
    text-transform: uppercase;
    text-align: center;
}

.can-toggle label .can-toggle__switch:after {
    content: attr(data-unchecked);
    position: absolute;
    z-index: 5;
    text-transform: uppercase;
    text-align: center;
    background: white;
    transform: translate3d(0, 0, 0);
}

.can-toggle input[type=checkbox][disabled]~label {
    color: rgba(119, 119, 119, 0.5);
}

.can-toggle input[type=checkbox]:focus~label .can-toggle__switch,
.can-toggle input[type=checkbox]:hover~label .can-toggle__switch {
    background-color: #777;
}

.can-toggle input[type=checkbox]:focus~label .can-toggle__switch:after,
.can-toggle input[type=checkbox]:hover~label .can-toggle__switch:after {
    color: #5e5e5e;
}

.can-toggle input[type=checkbox]:hover~label {
    color: #6a6a6a;
}

.can-toggle input[type=checkbox]:checked~label:hover {
    color: #5db054;
}

.can-toggle input[type=checkbox]:checked~label .can-toggle__switch {
    background-color: #5db054;
}

.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:after {
    color: #4fb743;
}

.can-toggle input[type=checkbox]:checked:focus~label .can-toggle__switch,
.can-toggle input[type=checkbox]:checked:hover~label .can-toggle__switch {
    background-color: #5db054;
}

.can-toggle input[type=checkbox]:checked:focus~label .can-toggle__switch:after,
.can-toggle input[type=checkbox]:checked:hover~label .can-toggle__switch:after {
    color: #47a43d;
}

.can-toggle label {
    flex: 1;
}

.can-toggle label .can-toggle__switch {
    transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1);
    background: #848484;
}

.can-toggle label .can-toggle__switch:before {
    color: rgba(255, 255, 255, 0.5);
}

.can-toggle label .can-toggle__switch:after {
    transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1);
    color: #777;
}

.can-toggle input[type=checkbox]:focus~label .can-toggle__switch:after,
.can-toggle input[type=checkbox]:hover~label .can-toggle__switch:after {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:after {
    transform: translate3d(65px, 0, 0);
}

.can-toggle input[type=checkbox]:checked:focus~label .can-toggle__switch:after,
.can-toggle input[type=checkbox]:checked:hover~label .can-toggle__switch:after {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

.can-toggle label {
    font-size: 14px;
}

.can-toggle label .can-toggle__switch {
    height: 36px;
    flex: 0 0 134px;
    border-radius: 4px;
}

.can-toggle label .can-toggle__switch:before {
    left: 67px;
    font-size: 12px;
    line-height: 36px;
    width: 67px;
    padding: 0 12px;
}

.can-toggle label .can-toggle__switch:after {
    top: 2px;
    left: 2px;
    border-radius: 2px;
    width: 65px;
    line-height: 32px;
    font-size: 12px;
}

.can-toggle label .can-toggle__switch:hover:after {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

.can-toggle.can-toggle--size-small input[type=checkbox]:focus~label .can-toggle__switch:after,
.can-toggle.can-toggle--size-small input[type=checkbox]:hover~label .can-toggle__switch:after {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.can-toggle.can-toggle--size-small input[type=checkbox]:checked~label .can-toggle__switch:after {
    transform: translate3d(44px, 0, 0);
}

.can-toggle.can-toggle--size-small input[type=checkbox]:checked:focus~label .can-toggle__switch:after,
.can-toggle.can-toggle--size-small input[type=checkbox]:checked:hover~label .can-toggle__switch:after {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.can-toggle.can-toggle--size-small label {
    font-size: 13px;
}

.can-toggle.can-toggle--size-small label .can-toggle__switch {
    height: 26px;
    flex: 0 0 90px;
    border-radius: 5px;
}

.can-toggle.can-toggle--size-small label .can-toggle__switch:before {
    left: 45px;
    font-size: 10px;
    line-height: 27px;
    width: 45px;
    padding: 0 12px;
}

.can-toggle.can-toggle--size-small label .can-toggle__switch:after {
    top: 1px;
    left: 1px;
    border-radius: 4px;
    width: 44px;
    line-height: 24px;
    font-size: 10px;
}

.can-toggle.can-toggle--size-small label .can-toggle__switch:hover:after {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}




/* ITEM POINTER */

.item_pointer {
    cursor: pointer;
}




/* WIDTH */

.mw-35 {
    min-width: 35px;
}

.mw-45 {
    min-width: 55px;
}

.mw-55 {
    min-width: 55px;
}

.mw-75 {
    min-width: 75px;
}









/*** OVERLAY LEVEL ***/

.overlay_lvl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999999;
}



/* === FONT AWESOME === */

.border-fa-secondary {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgb(131, 131, 131);
}



.inp_disabled {
    pointer-events: none !important;
    background-color: #e9ecef !important
}



/* CARD COLORED */

/* PICTION */

.card-piction {
    background-color: #40B7F2;
    border: 1px solid #109EE5;
    color: #FFF;
    min-height: 100px;
}


.card-naval {
    background-color: #528bb9;
    border: 1px solid #40739E;
    color: #FFF;
    min-height: 100px;
}

.card-gray {
    background-color: #7e7e7e;
    border: 1px solid #49494b;
    color: #FFF;
    min-height: 100px;
}


.card-rlst {
    background-color: #8e634f;
    border: 1px solid #6D4C3D;
    color: #FFF;
    min-height: 100px;
}





/*** IMAGE ***/

/* WIDTH */
.img-w50 {
    width: 50px;
}

.img-w60 {
    width: 60px;
}

.img-w75 {
    width: 75px;
}

.img-w100 {
    width: 100px;
}

.img-w120 {
    width: 120px;
}

.img-w150 {
    width: 150px;
}

.img-h22 {
    height: 22px;
}



td[colspan="2"] {
    text-align: center;
}

th[colspan="2"] {
    text-align: center;
}




/** DATATABLES ROW **/

.just_exported {
    color: #828282;
    background-color: #aaf5b5 !important
}

.error_exported {
    color: #828282;
    background-color: #f5aaaa !important
}

.contesa_exported {
    color: #ebebeb;
    background-color: #fc99e5 !important
}




/** TABLE **/

/*  TABLE - XS */

.table-xs {
    font-size: 14px;
}

.table-xs> :not(caption)>*>* {
    padding: .25rem .25rem;
}