html body {
    background-color: #fbf8f4;
    direction: ltr;
}

.content-wrapper a:link {
  color: #7c6a57!important;
}


.content-wrapper a:visited {
  color: #7c6a57!important;
}


.content-wrapper a:hover {
  color: #005331!important;
}


.content-wrapper a:active {
  color: #005331!important;
}

.content-wrapper {
    height: 100%!important;
    padding-top: 14px!important;
}

.bg-full-screen-image {
    background: url(images/bg-login.jpg) center center no-repeat fixed!important;
    -webkit-background-size: cover;
    background-size: cover;
}

.green {
    color: #005331!important;
}

.black {
    color: #2b335e!important;
}

.bcolor1 {
    background-color: #fbf8f4!important;
}

.bcolor2 {
    background-color: #e9ddca!important;
}

.bcolor3 {
    background-color: #7d6b57!important;
}

.text-bold-700 {
    color: #2b335e!important;
}

/* hide mobile version by default */
.logo .tablet {
    display: none;
}

/* when screen is tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .logo .tablet {
        display: block;
    }

    .logo .desktop {
        display: none;
    }

    body.vertical-layout.vertical-menu.menu-collapsed .navbar .navbar-brand {
        padding-top: 13px;
    }
}

/* when screen is mobile */
@media (max-width: 768px) {
    .header-navbar .navbar-header .navbar-brand .brand-logo {
        margin-left: 0px!important;
    }
}

.header-navbar .navbar-header .navbar-brand .brand-logo {
    width: 160px!important;
    padding-top: 5px;
    margin-left: 38px;
}

.header-navbar .navbar-header .navbar-brand {
    margin-right: 0;
    padding: 0;
}

.header-navbar .navbar-header .navbar-brand .brand-logo-tablet {
    width: 45px !important;
    margin-left: -5px;
    margin-right: 0;
    padding: 0!important;
}

.navbar-semi-dark .navbar-header {
    background: #e9ddca;
}

.main-menu.menu-dark {
    color: #7d6b57;
    background: #e9ddca;
}

.main-menu.menu-dark .navigation > li > a {
    padding: 12px 30px 12px 18px;
    background: #e9ddca;
    color: #7d6b57;
}

.main-menu.menu-dark .navigation li.hover > a,
.main-menu.menu-dark .navigation li.active > a {
    color: #005331;
    font-weight: 700;
}

.main-menu.menu-dark .navigation > li.open > a {
    color: #005331;
    border-right: 4px solid #005331;
    background: #d3c8be;
    font-weight: 500;
}

.main-menu.menu-dark .menu-content {
    background-color: #e4d9ce!important;
}

.main-menu.menu-dark .menu-content .nav-item a {
    color:#005331!important;
    padding-top: 3px;
    padding-bottom: 3px;
}


.badge-info {
    background-color: #005331;
    margin-right: 20px;
}

.btn-info {
    color: #fff!important;
    border-color: #005331!important;
    background-color: #047c4b!important;
}

.btn-info:hover {
    color: #fff!important;
    border-color: #00653c!important;
    background-color: #005331!important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open>.dropdown-toggle.btn-info {
    color: #fff;
    background-color: #005331!important;
    border-color: #00653c!important;
}

.help-block ul {
    margin: 0  !important;
    padding: 0 !important;
}

.help-block ul li {
    list-style: none;
}

@media only screen and (min-width:150px) and (max-width:700px) {
    .form-actions {
        text-align: center!important;
    }
}

@media (min-width: 768px) {
}

.card-columns {
    @include media-breakpoint-only(lg) {
        column-count: 4;
    }

    @include media-breakpoint-only(xl) {
        column-count: 5;
    }
}

.btn-circle {
    width: 16px;
    height: 16px;
    padding: 0px 0px;
    border-radius: 8px;
    text-align: center;
    font-size: 10px;
    line-height: 1.2857;
    margin-bottom: 5px;
    font-weight: 700;
}

.form label {
    margin-top: 10px;
}

.carousel-indicators {
    left: 0;
    top: auto;
    bottom: -10px;
}

/* The colour of the indicators */
.carousel-indicators li {
    background: #a3a3a3;
    border-radius: 50%;
    width: 8px;
    height: 8px;
}

.carousel-indicators .active {
    background: #707070;
}

.col-sm-push-6 {
    text-align: right;
}

@media (max-width: 767px) {
    .col-sm-6 {
        text-align: center;
    }
}

/*Check box*/
.check-big {
    position: relative;
    cursor: pointer;
    color: #aaa;
    font-size: 24px;
}

.modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.modal-footer {
    right: 0;
    bottom: 0;
    left: 0;
    height: 80px;
    padding: 10px;
    background: #f1f3f5;
}

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

.align-items-center {
    -ms-flex-align: center!important;
    align-items: center!important;
}

.d-flex {
    display: -ms-flexbox!important;
    display: flex!important;
}

/* TABELLA */
table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    background-color: #ffffff;
    border: 1px solid #ddd;

}

table th,
table td {
    padding: .625em;
}

table th {
    font-size: .85em;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: normal !important;
    background-color: #e9ddca;
    color: #7c6a57;
}

.green {
    color: #005331;
}

.box-square {
    border: 1px solid #005331;
    padding: 0px 10px;
    margin-right: 8px;
    background-color: #fbf8f4;
    font-size: 120%;
}

.card-header .fa {
    transition: .3s transform ease-in-out;
}

.card-header .collapsed .fa {
    transform: rotate(90deg);
}

.badge-success {
    background-color: #00653c;
    font-weight: 600;
}

.page-item.active .page-link,
.pg-node {
    background-color: #e9ddca!important;
    border-color: #626e82!important;
    color: #626e82;
}

.pagination .page-link {
    color: #626e82!important;
    border: 1px solid #626e82!important;
}

.n-matrice {
    background-color: #ffffff;
    color: #005331;
    font-weight: 700;
    padding: 0px 5px;
    border: 1px solid #005331;
}
.n-matrice-menu {
    background-color: #e4d9ce;
    color: #005331;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    padding: 3px 3px;
    line-height:10px;
    border: 1px solid #005331;
}

.titolo-matrice {
    font-size:160%;
    line-height: 18px;
}

.elemento {
	display: inline-block;
	font-size: .875rem;
    background-color: #ffffff;
    color: #005331;
    font-weight: 700;
    padding: 0px 5px;
    border: 1px solid #005331;
}

.btn-elemento {
    background-color: #ffffff;
    color: #005331;
    font-weight: 700;
    padding: 3px 5px;
    border: 1px solid #005331;
	line-height: 1.1em;
}

.btn-elemento:hover,
.btn-elemento:active,
.btn-elemento:visited,
.btn-elemento:focus,
.open>.dropdown-toggle.btn-elemento {
    background-color: #005331!important;
    border-color: #005331!important;
    color: #FFFFFF;
}

.btn-stat {
    background-color: #e9ddca;
    color:   #7c6a57;
    font-weight: 700;
    padding: 7px 5px;
    border: 1px solid #005331;
    font-size:120%!important;
}

.btn-stat:hover,
.btn-stat:active,
.btn-stat:visited,
.btn-stat:focus,
.open>.dropdown-toggle.btn-stat {
    background-color: #e9ddca!important;
    border-color: #e9ddca!important;
    color:#005331!important;
}

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

.p-0 {
    padding: 0!important;
}

.m-0 {
    margin: 0!important;
}

form.form-bordered .form-group .label-control {
    padding-top: 0.5rem;
}

form.form-bordered .form-group > div {
    padding: 0.5rem;
    padding-right: 0;
    border-left: 1px solid #e9ebf5;
}

.btn-warning {
    border-color: #7b6957!important;
    background-color: #7b6957!important;
    color: #FFFFFF;
}

.btn-primary {
    border-color: #e9ddca!important;
    background-color: #e9ddca!important;
    color: #005331!important;
}

.btn-primary:hover {
    color: #fff!important;
    border-color: #00653c!important;
    background-color: #005331!important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
    color: #fff!important;
    background-color: #005331!important;
    border-color: #00653c!important;
}

.line-l {
    border-left: 1px solid;
    padding-left: 18px;
}

.d-cer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.ico-matrice {
    font-family: 'Open Sans';
    background-color: #ffffff;
    color: #005331;
    padding: 5px 13px;
    font-weight: 700;
    border: 1px solid #005331;
}

.open {
    font-family: 'Open Sans' !important;
    letter-spacing: normal !important;
}

.form-control-sm {
    width: 100%;
    border-radius: 0;
}

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

.form-td {
    padding: 7px 3px 0 3px!important;
}

th {
    vertical-align: middle!important;
}

td {
    vertical-align: middle!important;
}

.th-0 {
    background-color: #fbf8f4!important;
    border-top: solid 1px #fbf8f4!important;
    border-left: solid 1px #fbf8f4!important;
}

.td-0 {
    background-color: #fbf8f4!important;
    border-top: solid 1px #fbf8f4!important;
    border-left: solid 1px #fbf8f4!important;
    border-bottom: solid 1px #fbf8f4!important;
}

.td-0-last {
    background-color: #fbf8f4!important;
    border-left: solid 1px #fbf8f4!important;
	border-right: solid 1px #fbf8f4!important;
    border-bottom: solid 1px #fbf8f4!important;
}

.tabella th {
    padding: 3px 5px!important;
    text-align: center!important;
    line-height: 120%;
}

.tabella td {
    padding: 0rem .3rem!important;
    text-align: center;
}


.elenco th {
    vertical-align: middle!important;
    text-align: center!important;
    line-height: 120%;
}

.elenco td {
    padding: 5px 10px !important;
    text-align: center;
}
.diagnostica td {
    padding: 4px 3px!important;
    text-align: left;
}

.b-0 {
    border: 0!important;
}

.um {
    font-size: 10px;
    margin-top: -23px;
    margin-left: 5px;
    text-align: left;
}

.um-big {
    font-size: 10px;
	margin-top: -28px;
	margin-bottom: 15px;
    margin-left: 8px;
    text-align: left;
}

.table-bordered {
    border: 1px solid #e9ddca!important;
}

.table-bordered th {
    border: 1px solid #ffffff!important;
}

.table-bordered td {
    border-top: 1px solid #e2e0dc!important;
    border-right: 1px solid #e2e0dc!important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #005331!important;
    border: 1px solid #005331;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: #005331!important;
    border: 1px solid #005331;
}

.nascosto {
	display: none;
}

.cursor {
	cursor: pointer;
}

.coloreoltrelimite {
	 color: #B20000!important;
}

.coloreevidenziato {
	 color: #000000!important;
}

.um-tot {
    color: #2f333e!important;
    border: 1px solid #2f333e;
    background-color:#f2f2f2;
}

.modal-open .modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-footer {
    height:50px!important;
    background-color: #ffffff!important;
    border-top:0px solid #ffffff!important;
}
.modal-header {
    background-color: #fbf8f4!important;
    color:#005331!important;
}

h5 {
    color:#005331!important;
    font-weight: 700!important;
}

.logo-modal {
    height:20px;
    margin-right:5px;
    padding-bottom:3px;
}

.imgborder {
    border: 1px solid #2c303b;
}

#img-matrice {
    border-radius: 0px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #6b6f82;
}

#img-matrice:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

/* The Modal (background) */
.modal-img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 750px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ffffff;
    padding: 10px 0;
    height: 150px;
    font-weight:700;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 0.8s;
    animation-name: fade;
    animation-duration: 0.8s;
}

@-webkit-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* html input file tag */
#upload_button_doc {
  display: inline-block;
}
#upload_button_doc input[type=file] {
  display: none;
}
#upload_input_file {
	width:100%; 
	height:40px;
	cursor: pointer; 
	border: 1px solid #CACFE7; 
	background-color:#FFFFFF; 
	border-radius: 4px; 
	padding-left:15px;
	padding-rigth:15px;
	padding-top:8px; 
	padding-bottom:8px; 
}

.br0 {
    border-right:1px solid #e9ddca!important;
}

.p-sm-1 {
    padding: 0.5rem !important;
  }

.drop-menulungo{
   max-height:312px;
   overflow-y: scroll;
}

/* MENU FISSO */
.menu-fisso {
    background: #fbf8f4;
    position: fixed;
    width: 100%;
    height: 104px;
    padding-top: 13px;
    z-index: 999;
}

.menu-accordion {
    z-index: 99999!important;
}

.menu-margine {
    margin-top: 85px;
}

.menu-titolo {
   	font-size:10px;
    line-height:12px;
    margin-top:4px
}
.menu-blocco {
    text-align:center;
    float:right;
    margin-top:10px;
    margin-left:10px;
    display:inline-block;
    min-width:50px;
}

@media only screen and (max-width: 780px) {
    .menu-margine {
        margin-top: 140px!important;
    }
}

.padding-menu {
    padding-right: 290px;
    margin-top: -35px;
}

@media only screen and (max-width: 1000px) {
    .padding-menu {
        padding-right: 90px!important;
    }
}

@media only screen and (max-width: 780px) {
    .padding-menu {
        padding-right: 0px!important;
        margin-top: 0px!important;
    }
}

.btn-outline-primary {
    border-color: #3c290b!important;
    color: #3c290b!important;
    border-radius: 0px!important;
}

.btn-outline-primary:hover {
    border-color: #005331!important;
    color: #005331!important;
    border-radius: 0px!important;
    background-color: #e9ddca!important;
}

.btn-outline-primary:active {
    border-color: #3c290b!important;
    color: #3c290b!important;
    border-radius: 0px!important;
    background-color: #e9ddca!important;
}

.btn-outline-primary:visited {
    border-color: #3c290b!important;
    color: #3c290b!important;
    border-radius: 0px!important;
    background-color: #e9ddca!important;
}

.btn-outline-primary:focus {
    border-color: #3c290b!important;
    color: #3c290b!important;
    border-radius: 0px!important;
    background-color: #e9ddca!important;
}

.btn-outline-primary:active:focus {
    border-color: #3c290b!important;
    color: #3c290b!important;
    border-radius: 0px!important;
    background-color: #e9ddca!important;
}
/* FINE MENU FISSO */

/* TABELLA FORMULAZIONE MISCELA */
.text-transform-none {
	text-transform: none !important;
}
.b2pxt {
	border-top: 2px solid #AAAAAA !important;
}
.b2pxb {
	border-bottom: 2px solid #AAAAAA !important;
}
.b1pxl {
	border-left: 1px solid #999999 !important;
}
.b1pxr {
	border-right: 1px solid #999999 !important;
}
.b1pxt {
	border-top: 1px solid #999999 !important;
}
.b1pxb {
	border-bottom: 1px solid #999999 !important;
}
.riga-matrice-primaria {
	height:15px; 
	background-color:#FEFECC; 
}
.riga-matrice-secondaria {
	height:15px; 
	background-color:#FFFFFF; 
}
.riga-valore-finale {
	height:15px; 
	background-color:#EFF4FB; 
}
.riga-valore-ideale {
	height:15px; 
	background-color:#EFF4FB; 
}
.riga-valore-limite {
	height:15px; 
	background-color:#EFF4FB; 
}

/* tooltip */

.tooltip-inner {
background-color: #382A15;
}
.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #382A15 !important;
}
.tooltip.bs-tooltip-left .arrow:before {
    border-left-color: #382A15 !important;
}
.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #382A15 !important;
}
.tooltip.bs-tooltip-top .arrow:before {
    border-top-color: #382A15 !important;
}
.tooltip .tooltip-inner {
  opacity: 1 !important;
}
