/*
[BOOTSTRAP MENU MULTILEVEL]
*/
/* ------------------ Codice accessorio ------------------ */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .8em;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}
/* ------------------ Fine Codice accessorio ------------------ */

body{
    font-size: .75rem;
    /*font-size: .82031rem;*/
}


.page-header{
    height: 34px;
    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-color: gray;
/*    border-top-color: gray;
    border-left-color: lightgray;
    border-right-color: lightgray;*/
    background-color: #e9ecef;
}

.page-header-title{
    float: left;
    height: 100%;
    font-weight: bold;
    padding-top: 0.4rem;
    padding-right: 1.5rem;
    /*padding-bottom: 0.4rem;*/
    padding-left: 0.4rem;
    font-size: 0.9rem;
    border-width: 0px 1px 0px 0px;
    border-style: solid;
    border-top-right-radius: 0.8rem;
    background-color: #dee2e6;
}

.page-header-filters{
    float: left;
    height: 100%;
    border-width: 0px 1px 0px 0px;
    border-style: solid;
    border-top-right-radius: 0.8rem;
    border-color: gray;
}

.page-header-functions{
    float: right;
    height: 100%;
    border-width: 0px 0px 0px 1px;
    border-style: solid;
    border-top-left-radius: 0.8rem;
    border-color: gray;
    padding-top: 0.4rem;
    padding-right: 0.4rem;
    /*padding-bottom: 0.4rem;*/
    padding-left: 1.5rem;
}

.stats-inteval-label{
    padding: 0.25rem 0.4rem 0.25rem 0.4rem;
    background-color: white;
}




span.cfirst {
    text-transform: capitalize;
}

.fs1-1em{
    font-size: 1.1em;
}

.fs1-2em{
    font-size: 1.2em;
}

.fs0-8em{
    font-size: 0.8em;
}

.mt0-1em{
    margin-top: 0.1em;
}

.icon-button{
    background-color: white;
    border: 1px solid lightgrey;
    padding: 1px;
    border-radius: 5px;
}

.cursor_pointer{
    cursor: pointer;
}

#icon_clear_filter { cursor: pointer; }
#icon_refresh_data { cursor: pointer; }
#icon_export_excel { cursor: pointer; }

/* per fare i bordi del data picker quadrati come i textbox */
.k-picker-wrap{
    border-radius: 0px;
}

/* per far vedere bene il titolo della window */
.k-window-title {
    line-height: 1.3;
}

.hp_text_card_header{
    color: #093;
    font-size: 0.75rem;
    /*font-size: 1.0rem;*/
    font-weight: bold;
    padding: .30rem 1.25rem;
}

input[type=text]:focus {
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #ff4350;
}
input[type=password]:focus {
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #ff4350;
}
select:focus {
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #ff4350;
}
textarea:focus {
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #ff4350;
}

input[type=text]{
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #cdf8cd;
}
input[type=password]{
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #cdf8cd;
}
select{
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #cdf8cd;
}
textarea{
    outline: none !important;
    /*border:1px solid #ff4350;*/
    box-shadow: 0 0 3px #cdf8cd;
}

.main_cont{
    margin-top: 3.5rem;
}

.row.width-100{
    width: 100%;
}

.row.width-95{
    width: 95%;
}

.width-95{
    width: 95%;
}

.width-90{
    width: 90%;
}

.w-5{ width: 5%; }
.w-10{ width: 10%; }
.w-15{ width: 15%; }
.w-20{ width: 20%; }
.w-25{ width: 25%; }
.w-30{ width: 30%; }
.w-35{ width: 35%; }
.w-40{ width: 40%; }
.w-43{ width: 43%; }
.w-45{ width: 45%; }
.w-50{ width: 50%; }
.mw-50{ min-width: 50%; }
.w-55{ width: 55%; }
.w-60{ width: 60%; }
.mw-60{ min-width: 60%; }
.w-65{ width: 65%; }
.w-70{ width: 70%; }
.w-75{ width: 75%; }
.w-80{ width: 80%; }
.mw-80{ min-width: 80%; }
.w-85{ width: 85%; }
.w-90{ width: 90%; }
.w-95{ width: 95%; }
.w-100{ width: 100%; }
.w-fill{ width: -webkit-fill-available; }

.h-100{ height: 100% }

.k-pad{
    /*padding: .1rem .2rem;*/
    padding: .2rem;
}

.navlink-pad{
    padding: .35rem 1rem;
}

.editable_color{
    background-color: #ffff80;
    color: black;
}

option.bold{
    font-weight: bold;
}

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

.width-auto{
    width: auto;
}

.card.no_border_top{
    border-top: none;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    background-color: white;
    border-bottom: none;
    /*font-weight: 400;*/
    font-weight: bold;
}

.form-control-sm{
    padding: .1rem .2rem;
}

hr{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.dropdown-item {
    padding-top: .3rem;
    padding-bottom: .3rem;
}

.card-body {
    padding: 0.9rem;
}    

.card-body.scroll_content {
    overflow-y: scroll;
}

.scroll-content {
    overflow-y: scroll;
}

.bg-color_white{
    background-color: white;
}

/* Colori */
.white{ color: white; }
.black{ color: black; }
.red{ color: red; }
.green{ color: green; }
.gray{ color: grey; }
.blue{ color: blue; }
.orange{ color: orange; }
.yellow{ color: yellow; }
.bg-white{ background-color: white; }
.bg-red{ background-color: red; }
.bg-green{ background-color: green; }
.bg-gray{ background-color: grey; }
.bg-orange{ background-color: orange; }
.bg-yellow{ background-color: yellow; }
.bg-lightgray{ background-color: lightgray; }
.blue-sacoph { color: #5773ac; }

.card-body.no_padding {
    padding: 0px;
}

.card-body.scroll_content_no_padding {
    overflow-y: scroll;
    padding: 0px;
}

.card.fixed_height {
    /*min-height: 590px;
    max-height: 610px;*/
    height: 630px;
}

.card-header.mystyle{
    padding: 0.40rem 0.5rem;
    /*font-size: 1.17188rem;*/
    font-size: .9375rem;
    font-family: inherit;
    /*font-weight: 300;*/
    font-weight: bold;
    line-height: 1.2;
    color: inherit;
}

div.form_el_view{
    display: none;
    float: left;
    
    font-size: 100%;
    font-family: inherit;
    /*border-style: solid;*/
    border-bottom: solid;
    border-left: solid;
    /*margin-top: 2px;*/    /*se voglio che non ci sia scatto durant il passaggio visualizzazione -> modifica*/
    min-width: 70%;
    
    border-width: 1px;
    -webkit-appearance: none;
    padding: .2rem;
    
    color: #32364c;
    background-color: #fff;
    border-color: #e0e0e0;
    /*border-bottom: 1px solid #bfbfbf;*/
    /*font-size: .82031rem;*/
    /*font-weight: bold;*/
    /*padding-top: 0.2rem;*/
}

label{
    font-weight: bold;
}

label.fw-normal{
    font-weight: normal;
}

label.with_space{
    float: left;
    margin-right: 0.4rem;
    padding-top: 0.2rem;
}

.icons_right{
    float: right;
    margin-right: 0.4rem;
    font-size: 1.1rem;
}

.k-icon-1{
    font-size: 1rem;
}

.k-icon-18{
    font-size: 1.25rem;
}

.k-icon-36{
    font-size: 2.1rem;
}

.paragrafo-padleft{
    padding-left: 2rem;
}

fieldset {
    margin: 8px;
    border: 1px solid silver;
    padding: 8px;    
    border-radius: 4px;
}

legend {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    width: auto;
    margin-bottom: 0px;
    font-size: 1.0rem;
}

/*
Questa classe imposta un div layer che permette di non poter cliccare un'area.
La uso quando 
position: absolute posiziona il div all'interno del suo elemento container e non influenza il posizionamento degli oggetti
*/
div.shadow_layer{
    display:none;
    z-index:20000;
    position: absolute;
    /*background-color: rgba(104, 104, 104, 0.2);*/
    width:93%;
    height:85%;
    /*overflow:hidden;*/
}

.k-grid-filter.k-state-active {
    /*background-color: red;*/
    color: red;
}

/* Switch 1 Specific Styles Start */

input[type="checkbox"].switch_1{
	/*font-size: 30px;*/
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	width: 2.8em;
	height: 1.5em;
	background: #ddd;
	border-radius: 3em;
	position: relative;
	cursor: pointer;
	outline: none;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  }
  
  input[type="checkbox"].switch_1:checked{
	background: #0ebeff;
  }
  
  input[type="checkbox"].switch_1:after{
	position: absolute;
	content: "";
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	background: #fff;
	-webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
	        box-shadow: 0 0 .25em rgba(0,0,0,.3);
	-webkit-transform: scale(.7);
	        transform: scale(.7);
	left: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  }
  
  input[type="checkbox"].switch_1:checked:after{
	left: calc(100% - 1.5em);
  }
	
/* Switch 1 Specific Style End */


/* ----------------- Loader ------------------*/
#loader{
    position:fixed;
    /*z-index:2000;*/
    z-index:20000;
    display:none;
    top:0;
    width:100%;
    height:100%;
    /*background-color: rgba(104, 104, 104, 0.6);
    background-repeat: repeat;
    background-position: center;*/
    text-align: center;
    margin:0;
    padding:0;
    overflow:hidden;
}

.wrap {
  position: absolute;
  /*background-color: #5bb0eb;
  width:100%;*/
  background-color: white;
  border: 2px solid red;
  border-radius: 7px;
  padding: 5px 25px 5px 25px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

#img_loading_rotation{
    -webkit-animation: rotation 3s infinite linear;
}
@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}


.text {
  /*color: #fbae17;*/
  color: black;
  display: inline-block;
  margin-left: 5px;
}

.bounceball {
  position: relative;
  display: inline-block;
  height: 37px;
  width: 15px;
}
.bounceball:before {
  position: absolute;
  content: '';
  display: block;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  /*background-color: #fbae17;*/
  background-color: #5bb0eb;
  -webkit-transform-origin: 50%;
          transform-origin: 50%;
  -webkit-animation: bounce 500ms alternate infinite ease;
          animation: bounce 500ms alternate infinite ease;
}

@-webkit-keyframes bounce {
  0% {
    top: 30px;
    height: 5px;
    border-radius: 60px 60px 20px 20px;
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
  }
  35% {
    height: 15px;
    border-radius: 50%;
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  100% {
    top: 0;
  }
}

@keyframes bounce {
  0% {
    top: 30px;
    height: 5px;
    border-radius: 60px 60px 20px 20px;
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
  }
  35% {
    height: 15px;
    border-radius: 50%;
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  100% {
    top: 0;
  }
}
/* ------------------ Fine Loader ------------------ */

