﻿@media print {
    .pagina {
        page-break-before: always;
    }
}

body {
    padding-top: 50px;
    /*padding-bottom: 20px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
 
    overflow-x: hidden;
 
}
::-webkit-scrollbar {
    -webkit-overflow-scrolling: auto;
    width: 5px;
    height:5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #C8C9C7;
    box-shadow: 0 0 1px rgba(0,0,0,.5);
}
h2 {
    padding-left: 10px;
    padding-top: 10px;
    margin-top: 0px;
    font-size: 20px;
}

hr {
    margin-top: 0px;
    margin-bottom: 10px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.disabled {
    background-color: lightgray;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*START CUSTOM SIMONE*/
.select2-container--default .select2-selection--single {
    border: 1px solid #ccc !important;
    min-height: 34px !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

.select2-search--dropdown .select2-search__field {
    max-width: 100%;
    border-radius: 4px;
    border-color: #ccc !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px !important;
}

.form-group.form-check {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0px;
}

.form-group.form-check > label {
    position: relative;
    top: -1px;
}

.autocomplete-suggestions {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #999;
    background: #FFF;
    cursor: default;
    overflow: auto;
    -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
    -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
    box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-no-suggestion {
    padding: 2px 5px;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: bold;
    color: #000;
}

.autocomplete-group {
    padding: 2px 5px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    display: block;
    border-bottom: 1px solid #000;
}

.tableContent[role="contentinfo"] {
    min-height: calc(100vh - 205px);
}

.table-responsive {
    /*display: inline-block;*/
}

.table-responsive td, .table-responsive th{
    white-space: nowrap;
}

.table th, .table tr, .table td {
    text-align: center;
    vertical-align: middle !important;
}

span[title="Sede"], span[title="Funzionario"], span[title="Seleziona località"] {
    color: #8f8f8f !important;
}

.upborder {
    border-top: 1px solid #e7e7e7;
    margin-top: 3px
}

.price {
    background-color: #3a87ad !important;
    padding: 4px 8px !important;
    border-radius: 10px;
    color: #f5f5f5;
    font-weight: bold;
    font-size: 1em;
}

.btnInPanel {
    padding: 3px 12px !important;
    margin-top: 3px;
    margin-bottom: 4px;
    margin-right: -10px;
}

.PanelBodyEstimate {
    padding: 0px 2px;
    font-size: 0.8em;
}

.myHeading {
    padding: 13px 15px!important;
}

.Itemselectable {
    padding: 1px 8px;
    cursor: pointer;
    
}

.Itemselected {
    background-color: #7089ac;
    color: #f5f5f5;
    border: 1px #000;
}

.ItemNotSelectable {
    background-color: #999;
    color: #000;
}

.ItemSelectableUnoDi0 {
    background-color: #fcfe38;
}
.ItemSelectableUnoDi1 {
    background-color: #58fe38;
}
.ItemSelectableUnoDi2 {
    background-color: #feac38;
}
.ItemSelectableUnoDi3 {
    background-color: #fe38c4;
}
.pnotify-center {
    right: calc(50% - 150px) !important;
    top: 30% !important;
}
.error {
    font-weight: normal;
    color: #d9534f;
    margin: 0;
}
/*END CUSTOM SIMONE*/
/*START CUSTOM CARLO*/
.fbnum {
    font-size: 9px;
    color: #fff;
    margin-top: -33px;
    font-weight: bold;
    border-radius: 6px;
    border: solid 1px #fff;
    text-align: center;
    padding: 0px 4px;
    background-color: #d92929;
    float: left;
    position: relative;
    -webkit-box-shadow: -1px 1px 1px 1px rgba(0, 0, 0, 0.7) !important;
    -moz-box-shadow: -1px 1px 1px 1px rgba(0, 0, 0, 0.7) !important;
    box-shadow: -1px 1px 1px 1px rgba(0, 0, 0, 0.7) !important;
    z-index: 10;
}

.tooltipClass {
    width: auto;
    float: initial;
    position: absolute;
    background: #f1f1f1;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 2px 3px 3px #8c8b8b, -1px 2px 2px #8c8b8b;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 100;
}
.tooltip_templates {
    /*display:none;*/
}
/*END CUSTOM CARLO*/

.boxAttivita {
    width: 40px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 10px;
    -webkit-box-shadow: 1px 2px 1px 1px rgba(0, 0, 0, 0.5) !important;
    -moz-box-shadow: 1px 2px 1px 1px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 1px 2px 1px 1px rgba(0, 0, 0, 0.5) !important;
    padding-top: 1px;
    font-size: 1.4em;
    float: left;
    color: #333;
}
@media only screen and (max-width: 767px) {
    .hideLess768 {
        display: none !important;
    }
}
@media only screen and (max-width: 1024px) {
    .hideLess1024 {
        display: none !important;
    }
}
@media only screen and (max-width: 1200px) {
    .hideLess1200 {
        display: none !important;
    }
}


.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}


.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    isolation: isolate;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.nav-link:focus, .nav-link:hover {
    color: #0a58ca;
}

.btnCopione {

}

.CliSuggestion {
    left: 65vw !important;
    width: 34.9vw !important;
    display: block;
}

    #TagsContainer {
    width: 100%;
}

#CopioniContainer {
    width: 98.8%;
}
.icoPermuta {
    background-color: #72fa81;
}

.icoTachi {
    background-color: #faf572;
}

.icoCog {
    background-color: #fd6652;
}

.icoContract {
    background-color: #72c1fa;
}
.icoRecap {
    background-color: #d7d7d7;
    text-align: center;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    margin-top: 10px;
}

.card {
    flex: 0 1 calc(50% - 1em);
    /*background-color: #5179a0;
     border-radius: 15px; 
   color: white;*/
}

.card-container {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    /* width: 30%;*/
    padding: 10px;
    flex-flow: row wrap;
    flex: 0 1 calc(30% - 1em);
}

.card-image img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.card-content {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    padding: 10px 0;
}

.value {
    background-color: transparent;
    border: none;
}

.mgtop-auto {
    margin-top: auto;
}


@media screen and (max-width: 992px) {
    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .card {
        flex: 0 1 calc(50% - 1em);
        margin-block: 10px;
    }
}

@media screen and (max-width: 600px) {
    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .card {
        flex: 0 1 calc(100% - 1em);
        margin-block: 10px;
    }

    .nav-link > img {
        width: 40% !important;
    }
}

@media screen and (max-width: 768px) {
    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .card {
        flex: 0 1 calc(50% - 1em);
        margin-block: 10px;
    }

    .nav-link > img {
        width: 60% !important;
    }
}
.sx{
    text-align:left;
}
.dx {
    text-align: right;
}
input[type="range"] {
    accent-color: #261c65 !important;
}
output {
    background-color: none;
    color: #261c65;
    font-size: 18px;
    font-weight: bold !important;
    padding-left: 20px !important;
}
div.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* se vuoi che vada a capo solo se necessario */
    gap: 10px; /* opzionale per un po’ di spazio tra gli elementi */
}
div.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* se vuoi che vada a capo solo se necessario */
    gap: 10px; /* opzionale per un po’ di spazio tra gli elementi */
}
div.bottom > div {
    flex: 1;
}

div.dt-info {
    text-align: left;
}

div.dt-paging {
    text-align: right;
}
.noExport{
    /*border-bottom:none !important;*/
}
