﻿.sezione-full {
    position: fixed;
    overflow: auto;
    transition: left 0.5s, width 0.5s, min-width 0.5s;
    height: 100%;
    padding-bottom: 120px;
}

#main[data-menu-sidebar-opened='false'] .sezione-full {
    left: 60px;
    width: calc(100% - 60px);
}

#main[data-menu-sidebar-opened='true'] .sezione-full {
    left: 240px;
    width: calc(100% - 240px);
}

.grid-container{
    width:98%;
    margin:0 auto;
}

[class*="col-"] {
	float: left;
	padding: 5px;
	max-width: 100%;
}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}

[class*="colsm-"] {
    float: left;
    padding: 5px;
}

.row {
	/*border-bottom:1px solid #eeeeee;*/
	flex-wrap: nowrap;
	display: block;
	margin: 0 auto;
}

.row-alt {
    background-color: rgba(145, 38, 143, 0.11);
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.colsm-0e5{width: 4.16%;}
.colsm-1 {width: 8.33%;}
.colsm-1e5{width: 12.50%}
.colsm-2 {width: 16.66%;}
.colsm-3 {width: 25%;}
.colsm-4 {width: 33.33%;}
.colsm-5 {width: 41.66%;}
.colsm-6 {width: 50%;}
.colsm-7 {width: 58.33%;}
.colsm-8 {width: 66.66%;}
.colsm-9 {width: 75%;}
.colsm-10 {width: 83.33%;}
.colsm-11 {width: 91.66%;}
.colsm-12 {width: 100%;}

.colname{
    display:block;
    width:25%;
    float:left;
    background-color: #eeeeee;
    margin-right: 5px;
    color: #90278e;
}

.rowhead{
    display:none;
    background-color: #90278e;
    color: white;
    border-top: none;
    border-right: none;
    border-left: none;
    margin-top: 10px;
}

.footer{
    background-color: #91268f;
    color: #ffffff;
}

.bottom-border{
    border-bottom:1px solid #eeeeee;
}

.rowactive{
    position: relative;
    display:none;
    background-color: rgba(145, 38, 143, 0.84);
    color: white;
    -moz-border-radius: 5px 0 5px 5px;
    border-radius: 5px 0 5px 5px;
}

.rowactive:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-style: solid;
    display: block;
    width: 0;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    border-width: 13px;
    border-color: #fff #fff transparent transparent;
    -moz-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 5px;
}

.rowdetails{
    display: none;
    clear:both;
}

.paddetails{
}

.details{
    position: relative;
    color: #1d1c1d;
    -moz-border-radius: 5px 0 5px 5px;
    border-radius: 5px 0 5px 5px;
    border-bottom: 1px dashed #212121;
    border-left: 1px dashed #212121;
}

.filter-container{
    text-align:center;
    margin-bottom: 5px;
}

.pager-container{
    text-align:center;
    margin-bottom:15px;
}

.pager-link {
	display: inline-block;
	padding: 10px;
	min-width: 40px;
	text-align: center;
	border: 1px solid #91268f;
	text-decoration: none;
	color: #91268f;
	cursor: pointer;
	margin: 0 2px;
}

.pager-link:hover{
    background-color:#91268f;
    color:#ffffff;
}

.current-pager-link{
    display:inline-block;
    padding:10px;
    min-width: 40px;
    text-align: center;
    background-color:#91268f;
    color:#ffffff !important;
    text-decoration: none;
    border:1px solid #91268f;
}

.sort-container{
    float: left;
    width: 100%;
    padding: 5px;
}

.sort-link{
    text-decoration:none;
    color:#ffffff;
	cursor:pointer;
}

.txtNota{
    width:100%;
    width: 100%;
    border: none;
    padding: 5px;
}

.text-hide{
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-hide:hover span{
    z-index: 1;
    display: inline-block;
    background-color: rgb(228, 227, 227);
    position: absolute;
    padding: 4px;
    box-shadow: 0 0 2px black;
}

.text-legenda{
    font-size:11px;
}

.open-note{
    cursor:pointer;
}

.button-note{
    text-align:center;
}

.pnlResInsNota{
    display:none;
    padding:13px;
}

.txtResInsNota{
    font-weight: bold;
    padding: 15px 0;
    display: inline-block;
    font-size: 19px;
}

.ResInsError{

}

.ResInsSuccess{

}

.lstDetNote{
    list-style-type: none;
}

.lstDetNote li{
    display: inline-block;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eeeeee;
}

.error-container{
	text-align: center;
	font-size: 1.2em;
	padding: 15px;
}

@media only screen and (min-width: 600px) {
    /*For tables*/
    .col-0e5{width: 4.16%;}
    .col-1 {width: 8.33%;}
    .col-1e5{width: 12.50%}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    
    .rowhead{
        display:block;
    }

    .colname{
        display:none;
    }

    .filter-container {
        text-align: left;
    }

    .pager-container{
        text-align:left;
    }

    .sort-container{
        display:none;
    }

    .paddetails{
        border-top: 1px dashed #212121
    }

    .nota{
        margin: 0 auto;
        width: 50%;
        float: left;
        padding: 10px 25px;
    }

    .button-note{
        float: left;
        width: 50%;
    }

    .txtResInsNota{
        padding:0;
    }

}

@media only screen and (min-width: 769px) {
    /*For desktop*/
    .col-0e5{width: 4.16%;}
    .col-1 {width: 8.33%;}
    .col-1e5{width: 12.50%;  }
    .col-2 {width: 16.66%; }
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    
    .row-flex{
        /*border-bottom:1px solid #eeeeee;*/
        display:flex;
        flex-direction:row;
        flex-wrap:wrap;
    }

    .flex-g1{
        flex-grow:1;
    }

    .rowhead{
        /*display:block;*/
    }

    .rowdetails{
        flex: 0 0 100%;
    }

    .colname{
        display:none;
    }

    .filter-container {
        text-align: left;
    }

    .pager-container{
        text-align:left;
    }

    .sort-container{
        display:none;
    }

    .paddetails{
        border-top: 1px dashed #212121
    }

    .nota{
        margin: 0 auto;
        width: 50%;
        float: left;
        padding: 10px 25px;
    }

    .button-note{
        float: left;
        width: 50%;
    }

    .txtResInsNota{
        padding:0;
    }

}

@media only screen and (max-width: 991px) {
    #main[data-menu-sidebar-opened='false'] .sezione-full, #main[data-menu-sidebar-opened='true'] .sezione-full {
        left: 0px;
        width: 100%;
        min-width: 100%;
    }
}
