/*
* Artico 7
*/

body {
    margin: 0;
    padding: 0;
}
body,table {
    font-family: Arial;
}
a {
    text-decoration: none;
}
img {
    border: 0px;
    max-width: 100%;
}
h1,h2,h3,h4,p,li { /* p:empty */
    margin: 0.3em 0;
    min-height: 1em;
}


/*
* custom
grigio sporco #f3f2f1
*/


body {
    background-color: #f3f2f1;
}
@media (min-width: 768px) {
    h1 {
	font-size: 200%;
	padding-bottom: 1em;
    }
}
a {
    color: #0078d7;
}
a:hover {
    opacity: 0.8;
}
input,select {
    padding: 4px;
}
.acp_body {
}
.acp_body p {
    margin: 0.5em 0;
}


/*******************************************************************************
* m1form-xx.css
*/

.aform_div {
}
.aform_row {
    border-bottom: 1px dotted #a1c6f5;
}
.aform_lab {
    font-size: 90%;
}
.aform_val .aform_out {
    font-weight: bold;
}
.label_must {
    color: #0078d7;
}
.aform_val input[readonly="readonly"] {
    background-color: #f0f0f0;
    border-width: 1px;
}


.inet_tdiv {
    max-height: 65vh;
}
.inet_tdiv_full {
    max-height: none;
}
.inet_tlist thead th,.inet_tlist thead td {
    position: sticky;
    top: 0;
}
.inet_tlist tfoot th,.inet_tlist tfoot td {
    position: sticky;
    bottom: 0;
}

@media (max-width: 768px) {
    .inet_tdiv {
	max-height: none;
    }
}
@media print {
    .inet_tdiv {
	max-height: none;
    }
}


.inet_buttons {
    background-color: #eee;
    min-height: 1em;
}
.inet_default {
    border-color: transparent;
    background-color: #0078d7;
    color: #fff;
}
.inet_secondo {
    color: #d778d7;
}
.inet_cancel {
}
.inet_remove {
    border-color: transparent;
    color: #ee6611;
}


/* inet_tlist grid */
.inet_tlist tr:hover {
    background-color: rgba(0,120,215,0.1); /*#0078d7;*/
}
.inet_tlist tr.inet_tr_checked { /* riga selezionata */
    background-color: rgba(0,120,215,0.15); /*#0078d7;*/
}




/*******************************************************************************
* ribbon bar
* <div class="a_ribbon_tabs">
* <div class="a_ribbon_bars">

nero scuro    border-right: 1px solid #2f3a3f;
nero chiaro    background-color: #45555c;
blu link 0078d7

*/

.a_ribbon_menu {
    /*font-size: 90%;*/
}
a.a_ribbon_tab1 {
    display: block;
    padding: 4px 8px;
    text-transform: uppercase;
    color: inherit;
}
a.a_ribbon_tab1.selected {
    background-color: #45555c;
    font-weight: bold;
}
.a_ribbon_bar1 {
    display: none;
}
.a_ribbon_bar1.selected {
    display: block;
}
.a_ribbon_bar1 a {
    color: inherit;
}
.a_ribbon_bar1 input {
    margin-left: 16px;
    font-size: 80%;
    padding: 0;
    border: 1px solid #45555c;
    background-color: transparent;
    color: inherit;
}
.a_ribbon_link {
    display: block;
    padding: 1px 0;
    white-space: nowrap;
}
.a_ribbon_link.selected {
    color: #fff;
    font-weight: bold;
    background: transparent url(img/arr_dx_white.png) no-repeat center right;
}
li.a_ribbon_postit {
    padding: 0.5em;
    background-color: #ffc;
    color: #111;
}
.a_ribbon_counter {
    background-color: #e04006;
    color: #fff;
    border-radius: 8px;
    font-size: 90%;
    padding: 2px 3px;
}
.a_ribbon_counter:empty {
    display: none;
}



/*******************************************************************************
* menu mobile on off
*/

.acp_layout {
    display: flex;
    align-items: stretch;
}
.acp_aside_div {
    background-color: #2f3a3f;
    color: #ccc;
    flex: 0 0 240px;
    position: sticky; top: 0; z-index: 10;

}
.acp_menu_div {
    background-color: #2f3a3f;
    color: #ccc;
    position: fixed;
    z-index: 11; /*inet_tools +1 inet_buttons -1 tbd*/
    width: 240px;
    height: 100vh;
    overflow: auto;
}
.acp_layout.closed .acp_aside_div {
    display: none;
}
.acp_menu_onoff {
    display: none;
}
.acp_menu_onoff a {
    border: 1px solid #666;
    padding: 4px 1em;
    font-size: 80%;
    color: #fff;
    display: inline-block;
}
.acp_main_div {
    padding: 1em;
    flex-grow: 1;
}
.inet_tdiv_full {
    max-width: calc(100vw - 240px - 1em - 1em - 32px); /* barra laterale */
    max-height: 80vh;
}
@media (max-width: 768px) {
    .inet_tdiv_full {
    	max-width: none;
    	max-height: none;
    }
}






@media (max-width: 768px) {
    .acp_layout {
	flex-direction: column;
	height: auto;
    }
    .acp_aside_div {
    	min-height: 0;
    	width: 100%;
    	flex: 0 0 100%;
    }
    .acp_menu_onoff {
	display: block;
	padding: 4px;
    }
    .acp_layout.mobile .acp_menu_onoff a {
    	background-color: #ccc;
    }
    .acp_menu_div {
	display: none;
    }
    .acp_layout.mobile .acp_menu_div {
	display: block;
	height: auto;
	position: static;

	max-height: 90vh;
	overflow: auto;
	width: 100%;

    }
}

@media print {
    .acp_layout {
	height: auto;
    }
    .acp_aside_div {
    	display: none;
    }
}





/*******************************************************************************
* ribbon_menu
*/



.a_ribbon_menu {
}
.a_ribbon_bar1 > li {
    padding: 0.5em 0px;
}
.a_ribbon_link {
    white-space: nowrap;
    border-left: 2px solid transparent;
    padding-left: 2px;
}
.a_ribbon_menu .a_ribbon_link.selected {
    color: inherit;
    border-left: 2px solid #2f3a3f;
    background-color: rgba(255,255,255,0.1);
}

.acp_right_div {
}
.acp_right_menu {
}
.acp_right_menu a {
    background-color: #2f3a3f;
    padding: 2px 4px;
    margin: 0 1px 1px 0;
    display: block;
    font-size: 90%;
    color: #000;
}

@media (max-width: 768px) {
    .a_ribbon_link {
    	margin: 0.5em 0;
    }

}


/*******************************************************************************
* documenti view
*/

.viewh_tbl td {
    padding: 4px 8px;
    background-color: #fff;
    vertical-align: top;
    font-weight: bold;
}
.viewh_tbl td:first-child {
    width: 100px;
    font-weight: normal;
}
.viewb_item { /*box */
    background-color: #fff;
    border-radius: 8px;
}


.inet_tools {
}
/*
ios non e' possibile scrollare i filtri griglia prenotazione
..anche su monitor piccoli
position: sticky; top: 0; z-index: 10; background-color: #f3f2f1;
*/
.inet_tools_sticky {
    background-color: #f3f2f1;
}
