 /** Insert here Custom CSS **/

body {
    font-size: 1rem!important;
    line-height: 1.5rem !important;
}

.table {
    font-weight: 500 !important;
}

.card label {
    font-size: .9em !important;
    margin-bottom: 2px !important;
    color: #2c2c2c !important;
}


.sidebar .nav li>a, .off-canvas-sidebar .nav li>a {
    font-size: .85em;
    padding: 5px 8px;
}

.login-page .card-login .logo-container {
    width: 250px;
    margin-bottom: 10px;
}

.login-page .form-control {
    font-weight: 600 !important;
}


.table>thead>tr>th {
    border-bottom-width: 1px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 0;
}

table.dataTable>tbody>tr>td  {
    max-width: fit-content !important;
    padding:3px !important;
}

.btn {
    font-weight: 700;
    text-transform: uppercase;
}

.white {
    color:white !important;
}

.navbar-nav .dropdown-menu .dropdown-item, .bootstrap-select .dropdown-menu.inner li a {
    font-size: 1em;
    text-transform: uppercase;
    padding-top: .2rem;
    padding-bottom: .3rem;
    margin-top: 5px;
}

.swal2-modal .swal2-title {
    color: #f96332 !important;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    text-transform: none;
    position: relative;
    margin: 0 0 .4em;
    padding: 0;
    display: block;
    word-wrap: break-word;
}

.swal2-modal .swal2-confirm, .swal2-modal .swal2-cancel {
    border-width: 1px;
    border-radius: 30px;
    padding-right: 23px;
    padding-left: 23px;
    font-size: 0.8571em;
    line-height: 1.35em;
    border: none;
    margin: 10px 1px;
}


.swal2-modal .swal2-confirm  {
    background-color: #f96332 !important;
}


 .swal2-modal .swal2-cancel {

    margin-left: 10px;
}


 .panelPreHome {
     height: 50px !important;
 }

.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color:#369;
    font-weight:700;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#369;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

.tree .now-ui-icons {
    color:#dc3545;
}

.statistics .info .info-title {
    font-size: 1.2em;
}

#plansTable>tbody>tr>td {
    padding: 5px 7px;
}

.subItemPrevisionale>td {
    padding-left:35px !important;
}

.btn-primary {
    background-color: #f96332;
    color: #FFFFFF !important;
}

.description, .card-description, .footer-big p, .card .footer .stats {
    color: #2c2c2c;
    font-weight: 400;
}

.text-muted {
    text-decoration: line-through !important;
}

/*public website addendum */

#footer-public {
    padding: 10px 0;
    background-color: #edf3f9;
    font-size: .85rem;
}

#footer-public .form-group {
    width: 100%;
}

#footer-public .form-control {
    background-color: white;
}

#footer-public .form-check-label {
    margin-bottom: 0;
    font-size: .75rem;
}

.footer ul li a {
    color: #333;
    padding: 0;
    font-size: .85rem;
    text-transform: none;
    text-decoration: none;
}

.footer ul li a:hover {
    color: #f96332;
}



h1, h2 {
    color:#204065;
}

h1 {
    font-size: 3em !important;
}

h4, .h4 {
    margin: 0 !important;
    font-size: 1.2rem;
    text-transform: uppercase;
}

 #rigaCTA {
            background-color:#fafafa;
        }

#rigaFocus .nav-pills .nav-item {
    min-width:200px !important;
}

#rigaFocus {

}

.wh-widget-send-button-get-button {
    display:none !Important;
}

.testoBlu {
    color:#204065;
}

#form-convenzione-aim p {
    font-size: .9em !important;
    color:#444;
}

#form-convenzione-aim .nav-pills .nav-item i {
    line-height: 40px;
}

#form-convenzione-aim .nav-pills .nav-item .nav-link {
    font-weight: 600;
}

#form-convenzione-aim label {
    color: #204065 !important;
}

.acceptBox {
    font-size: .65em !important;
    line-height: 1.2em !Important;
    text-transform: uppercase;
    font-weight: 600;
    text-align: justify;
}

.listaDoc {
    font-size: .9em !important;
    line-height: 1.4em !Important;
    text-align: justify;
}

.acceptBox .form-check .form-check-label {
    font-size: .9em !important;
    line-height: 1.4em !Important;
    text-transform: uppercase;
    font-weight: 600;
    text-align: justify;
}

#preventivatore-step {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .8rem !important;
    line-height: 1.2rem;
}

.nav-pills.nav-pills-info .nav-item .nav-link.active  {
    background-color: #2a5788 !important;
}

.nav-pills.nav-pills-info .nav-item .nav-link  {
    text-transform: uppercase;
}


.navbar-img {
    max-width: 22vw;
}

.navbar .navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: .85em;
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    line-height: 1.625rem;
    margin-right: 3px;
}

.navbar p {
    display: inline-block;
    margin: 0;
    line-height: 1.8em;
    font-size: .8rem;
    font-weight: 600;
}

#rigaContactUS {
    background: url("https://polizzeincloud.com/img/test-foto-contatti.jpg");
    background-size: cover;
    background-repeat:no-repeat;
}

.sfondo-blu {
    background-color:#204066;
}


.footer {
    background-color: #f2f3f4;
    color: #333 !important;
}

.panel-header {
  /*  height: auto;
    padding-top: 0 !important;
    min-height: 90px !important; */
}


.footer .list-unstyled li {
    display: block;
}

/* form checkup */

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ee0979;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #ee0979;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;
}

#msform .action-button-previous {
    width: 100px;
    background: #C5C5F1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
}

/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
    letter-spacing: 1px;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: #333;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #ee0979;
    color: white;
}

/* end checkup */

/* ============================================
   SIDEBAR RESPONSIVE FIX - Mobile/Tablet
   ============================================ */

/* Previeni overflow orizzontale su mobile */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .wrapper {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    /* Sidebar - posizione fissa su mobile */
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh !important;
        z-index: 1030;
        transform: translate3d(-260px, 0, 0);
        transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
    }

    /* Quando sidebar è aperta */
    .nav-open .sidebar {
        transform: translate3d(0, 0, 0) !important;
    }

    /* Main panel - non traslare, solo overlay */
    .main-panel {
        width: 100% !important;
        float: none !important;
        transition: none !important;
        transform: none !important;
    }

    /* Quando sidebar aperta - overlay scuro invece di traslare */
    .nav-open .main-panel {
        transform: none !important;
    }

    /* Overlay scuro dietro sidebar quando aperta */
    .nav-open .main-panel::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1029;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Navbar full width */
    .navbar.fixed-top {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .nav-open .navbar.fixed-top {
        transform: none !important;
    }

    /* Fix container fluid */
    .nav-open .fixed-top [class*="container-"] {
        transform: none !important;
    }
}

/* Tablet specifico */
@media (min-width: 768px) and (max-width: 991px) {
    .sidebar {
        width: 260px;
    }

    .main-panel > .content {
        padding: 0 15px 15px;
    }
}

/* Mobile piccolo */
@media (max-width: 576px) {
    .sidebar {
        width: 260px;
    }

    .main-panel > .content {
        padding: 0 10px 10px;
    }

    .panel-header {
        min-height: 80px !important;
    }
}
