.field {
    display: flex;
    flex-flow: column-reverse;
    margin-bottom: 15px;
    position: relative;
    margin-top: 15px;
}

.field label, .field input {
    transition: all 0.2s;
    touch-action: manipulation;
}

.field input {
    font-size: 14px;
    border: 1px solid #ddd;
    font-family: inherit;
    -webkit-appearance: none;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: text;
    min-height: 38px;
    height: 38px;
}

.field textarea {
    font-size: 14px;
    border: 1px solid #ddd;
    font-family: inherit;
    -webkit-appearance: none;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: text;
    height: 90px;
    resize: none;
}

.field input:focus, .field textarea:focus {
    outline: 0;
}

.field label {
    font-size: 12px;
    margin-left: 0;
    position: absolute;
    left: 10px;
    top: -10px;
    background-color: white;
    padding: 0 4px;
    color: #ddd;
    font-weight: 300;
}

.field input:placeholder-shown + label {
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    pointer-events: none;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin: left bottom;
    color: #666;
    transform: translate(0px, 21px) scale(1.2);
    font-weight: 300;
}

::-webkit-input-placeholder {
    opacity: 0;
    transition: inherit;
    color: transparent;
}

.field input:focus::-webkit-input-placeholder {
    opacity: 1;
    color: transparent;
}

.field input:not(:placeholder-shown) + label,
.field input:focus + label {
    transform: translate(0, 0) scale(1);
    cursor: pointer;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    color: transparent;
}
:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: transparent;
}
::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: transparent;
}
:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: transparent;
}
input::placeholder {
    color: transparent;
}
textarea::-webkit-input-placeholder {
    /* WebKit browsers */
    color: transparent;
}
textarea:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: transparent;
}
textarea::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: transparent;
}
textarea:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: transparent;
}
textarea::placeholder {
    color: transparent;
}

.ui{
    display: flex;
    border-radius: 3px;
    height: 38px;
    background-color: #ebebeb;
    margin-top: 15px;
    margin-bottom: 15px;
    align-items: center;
    padding: 5px 10px;
}

.ui i{
    margin-right: 5px;
}

.field .um{
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translate(0, -50%);
}

.box-dato-input .select2-container {
    width: 100% !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

.value-fixed {
    height: 38px;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 38px;
    font-size: 14px;
    background-color: #fafafa;
    border-radius: 4px;
    padding: 0 10px;
    width: 100%;
}

.row-small-padding{
    margin-right: -5px;
    margin-left: -5px;
}

.row-small-padding div[class^="col-"], .row-small-padding div[class*="col-"]{
    padding-left: 5px;
    padding-right: 5px;
}

.grid-list-gestito, .grid-list-non_gestito{
    display: none;
    padding-bottom: 100px;
}

.grid-list-gestito.active, .grid-list-non_gestito.active{
    display: block;
}

.bottoni-vista{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.bottoni-vista .btn.active{
    box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
}
.bottoni-vista .btn{
    margin-left: 5px;
}

.info-tag{
    display: inline-block;
    position: relative;
    cursor: help;
    margin-left: 3px;
}

.box-info-tag{
    min-width: 90px;
}

.info-tag img{
    display: block;
}

.tabella-materia tbody tr:first-child td{
    font-weight: bold;
}

.canvas-consorzio{
    background-color: #FFF;
    -webkit-box-shadow: 0px 3px 10px -3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 10px -3px rgba(0,0,0,0.2);
    box-shadow: 0px 3px 10px -3px rgba(0,0,0,0.2);
    border-radius: 3px;
    padding: 30px;
}

.bar-chart-new{
    margin-bottom: 30px;
}

.square-bar{
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
    margin-right: 6px;
}

.legenda-bar{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.bg-primario{
    background-color: rgb(129,178,136);
}
.bg-secondario{
    background-color: rgb(184, 174, 110);
}
.bg-assunzione{
    background-color: rgb(154,96,97);
}
.bg-elaborato{
    background-color: rgb(122,158,187);
}

.main-header .sidebar-toggle::before {
    content: "\f0c9";
    display: none;
}

.main-header .sidebar-toggle i{
    line-height: 50px;
}

.main-header .sidebar-toggle:hover {
    color: #121A2F;
}

.sidebar-menu img {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 15px;
}

.link-img{
    display: flex;
    align-items: center;
}

.bar-graph {
    width: 100% !important;
    height: 100% !important;
}
