﻿/*#region global*/
/*====================================================================================================================================================================================================
    GLOBAL
====================================================================================================================================================================================================*/
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

form {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: unset;
}

.mst-page, .page {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

.img-crop, .img-resize, .img-cover {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

.img-container {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center center;
    object-position: center center;
}

.modal-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 9999999;
}

.modal-popup-content {
    position: relative;
    display: none;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    max-width: 80%;
    width: 600px;
    background: #fff;
}

.modal-popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #000;
    font-size: 20px;
    cursor: pointer;
}

.modal-popup-content > div {
    padding: 20px;
}

.container-90 {
    width: 90%;
    margin: 0 auto;
}

.container-80 {
    width: 80%;
    margin: 0 auto;
}

.container-70 {
    width: 70%;
    margin: 0 auto;
}

@media(max-width: 767px) {
    .container-90, .container-80, .container-70 {
        width: 100%;
        margin: 0;
        padding: 0 10px;
    }
}

.bottone {
    all: unset;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    padding: 7px 20px;
    -moz-border-radius: 1.75rem;
    -webkit-border-radius: 1.75rem;
    border-radius: 1.75rem;
    font-size: 18px;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.bottone-icona {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* spazio tra testo e icona */
    vertical-align: middle;
}

.bottone-wfs {
    background: #00539b;
    border: 1px solid #000;
    color: #fff;
}

    .bottone-wfs:hover, .bottone-wfs:focus, .bottone-wfs:active {
        background: #4d87b9;
    }

.bottone-wfs-gradient {
    background: linear-gradient(45deg, #00539b, #4d87b9);
    border: 1px solid #000;
    color: #fff;
}

    .bottone-wfs-gradient:hover, .bottone-wfs-gradient:focus, .bottone-wfs-gradient:active {
        background: linear-gradient(45deg, #00539b, #000);
    }

.bottone-wfs-success {
    background: #1f8e1d;
    border: 1px solid #000;
    color: #fff;
}

    .bottone-wfs-success:hover, .bottone-wfs-success:focus, .bottone-wfs-success:active {
        background: #0fb40c;
    }

.bottone-wfs-error {
    background: #c6171e;
    border: 1px solid #000;
    color: #fff;
}

    .bottone-wfs-error:hover, .bottone-wfs-error:focus, .bottone-wfs-error:active {
        background: #b93b40;
    }

.tabella thead {
    background: #00539b;
    text-align: center;
    color: #fff;
}

.tabella-sticky thead {
    position: sticky;
    top: 0;
}

.tabella thead td, .tabella thead th {
    background: #00539b;
    text-align: center;
    color: #fff;
}

.tabella tbody tr:nth-child(odd) {
    background: #e3eef7;
}

    .tabella tbody tr:nth-child(odd) td, .tabella tbody tr:nth-child(odd) th {
        background: #e3eef7;
    }

.tabella td, .tabella th {
    vertical-align: middle;
    text-align: center;
}

.tabella-status-bullet-container {
    -webkit-justify-content: end;
    justify-content: end;
    display: flex;
    padding: 0 !important;
}

.tabella-status-text-container {
    text-align: left;
    -webkit-justify-content: start;
    justify-content: start;
    display: flex;
    padding: 0 !important;
}

.tabella-status-bullet {
    margin: 5px;
    width: 15px;
    height: 15px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: block;
}

.tabella-status-green {
    background-color: #5ae821;
}

.tabella-status-red {
    background-color: #db1d1d;
}

.tabella-status-blue {
    background-color: #0e61c7;
}

.tabella-status-col {
    min-width: 110px;
}

.tabella-left th, .tabella-left td, .tabella-left thead th, .tabella-left thead td, .tabella-left tbody th, .tabella-left tbody td {
    text-align: left;
}

.tabella-right th, .tabella-right td, .tabella-right thead th, .tabella-right thead td, .tabella-right tbody th, .tabella-right tbody td {
    text-align: left;
}

.bg-light-success {
    background: #e1ffd5 !important;
}

.bg-light-danger {
    background: #ff9797 !important;
}

.chk-asp {
    display: flex;
}

.chk-asp label{
    margin-left:10px;
}

ul:not(.list-styled), ol:not(.list-styled) {
    list-style: none !important;
}

.disabled-before-ready {
    pointer-events: none !important;
    opacity: 0.5;
}

.btn-no-css, .no-btn-css {
    border: none;
    background: none;
    padding: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}
/*#endregion*/

/*#region header*/
/*====================================================================================================================================================================================================
    HEADER
====================================================================================================================================================================================================*/
.header-nav-item{
    margin:auto;
}

/*@media(max-width:1500px) and (min-width:1400px){
    .header-nav-item {
        font-size:12px;
    }
}

@media(max-width:1600px) and (min-width:1501px) {
    .header-nav-item {
        font-size: 13px;
    }
}

@media(max-width:1800px) and (min-width:1601px) {
    .header-nav-item {
        font-size: 15px;
    }
}*/

@media(max-width:1199px) {
    #primary-nav {
        position: absolute;
        top: 100%;
        right: 0px;
        background: rgb(255, 255, 255);
        padding: 20px 0px;
        border-bottom: 1px solid rgb(238, 238, 238);
    }
}
/*#endregion*/

/*#region footer*/
/*====================================================================================================================================================================================================
    FOOTER
====================================================================================================================================================================================================*/

/*#endregion*/

/*#region home*/
/*====================================================================================================================================================================================================
    HOME
====================================================================================================================================================================================================*/

/*#endregion*/


/*#region old-css*/
/*====================================================================================================================================================================================================
    OLD CSS
====================================================================================================================================================================================================*/
.form-search .hide, .form-inline .hide, .form-horizontal .hide{
    display:none;
}
/*#endregion*/

