#menuPrinc { display: block !important; }
#rounding-box { margin-right: 25px; margin-top: 7px;}
.hidden-desktop { display: none }
/* Open Kanino Responsive Layout */

@media screen and (max-width: 1190px) {
	#contabilitaContainer .slot-img { display: none; }
	.slot-message { max-width: 70%; }
	.menu-icon{ float: left; font-size: 18px !important; margin: 5px 0 0 5px !important;}
	#next-page, #prev-page { display: none; }
	#diario-master-wrapper { width: 100%; margin-left: 0px; }
    #page-prev-btn { position: absolute;	top: 250px;	left: 212px; width: 39px; height: 152px;	margin: 0; padding: 0; background: url(../img/diario/pages-turn-left-2.png) 0 0 no-repeat; transition: all 1s ease-out;	}
	#page-next-btn { transition: all 1s ease-out; position: absolute; top: 250px; left: 995px; width: 39px; height: 152px; margin: 0; padding: 0;background: url(../img/diario/pages-turn-right-2.png) 0 0 no-repeat;}
	#page-prev-btn.closed-book {	left: 405px;}
	#page-next-btn.closed-book {	left: 818px;} 
	.help-pdc-stato-prescrizioni { position: absolute; top: 370px; right: -10px; left: auto; }
	.help-preventivi-dare-avere { position: absolute; top: 105px; right: -10px; left: auto; }
	.help-pagamenti-txt { width: 380px;}
	.help-anamnesi-controlli { position: fixed; top: 200px; left: 590px; }
	.help-anamnesi-controlli-text {	position: fixed; top: 130px; left: 210px;}
	.help-anamnesi-controlli-text p { width: 300px; }
	#container { min-width:900px;max-width:900px;clear:both;width:100%;margin:0 auto;padding:0;}
  	
	/*
	#contabilitaContainer .preventivi { width: 510px !important; }
	#contabilitaContainer .pagamenti { width: 230px !important; margin-left: -2px; }
	*/
	.avvisoStorico { display: none; visibility: hidden; }
	.avvisoStoricoHoriz { font-size: 13px; line-height: 8px; text-transform: none; text-align: center; font-weight: normal; color: #333; /*text-shadow: 1px 1px 1px #111;*/ visibility: visible; display: block; height: 30px; }
	#strumenti ul.kanino-tools li.noHover { border-radius: 3px;width: 360px; min-width: 320px; max-width: 360px; margin-right: 5px; min-height: 30px; height: 30px;}
	.avvisoStoricoHoriz img { width: 20px; margin-left: 0px; margin-right: 0px;}
	/*.menu-icon{float: left; font-size: 18px; margin: 5px 0 0 5px;}*/
	#stato_iniziale_alert { display: none !important; }
}

@media screen and (max-width: 1024px) {
	.hidden-desktop { display: block !important;}
	#contabilitaContainer .slot-img { display: none; }
	#rounding-box { margin-right: 4px; margin-top: 7px;};
	.slot-message { max-width: 70% }
    #diario-master-wrapper { width: 100%; margin-left: 2px; min-width: 760px; }
    .commission-user { width: 40% !important;}
    .box-container { width: 780px !important;}
    .totalbox-wrapper { margin: 5px !important; width: 170px !important;}
    .totalbox-wrapper:last-child { width: 210px !important; margin-right: 0 !important;}
    .wrapper-spacer-lg { display: none !important; }
    #pat-piechart { width: 75% !important; margin: 20px auto; }
    #summary-box { width: 37% !important; }
    .dash-box { width: 30% !important; /*min-height: 330px!important;*/}
    .dash-box-double { width: 62% !important;}
    .totalbox { font-size: 1.5em !important;}
    /* Anche OnScreen Help DEVE essere Responsive */ 
    .help-schema-interattivo { top: 140px;	left: 140px; }    
	.help-schema-text { position: absolute; top: 40px; left: 40px; }	
	.help-pdc-menu-strumenti { display: none; visibility: hidden;  }
	.help-pdc-menu-strumenti-text { position: absolute; top: 170px; left: 510px; }
	.help-pdc-menu-strumenti-secondary { position: absolute; top: 85px; left: 240px; visibility: visible; display: block; }
	.hidden-md { display: none; visibility: hidden; }
	.visible-md { display: block; visibility: visible;}
	.inline-md { display: inline !important; visibility: visible; }
	#cartella { width: 585px !important; }
	#arcate { margin-left: 23px !important; }
	.arcate-smaller { margin: 8px 4px !important; }
	.verticalslider_contents .activeContent { max-width: 700px; width: 90%;}
	.box.imgBox{ max-width: 228px !important; }
	#strumenti ul.kanino-tools li.header,li.li-separator { display: none !important;}
	.hidden-tablet { display: none !important; }
	select.dentiStatus { width: 120px !important; }
	.dhx_cal_navline .dhx_cal_date { left: 80px !important; }
	#prescri-table_filter { float: right !important; }
	#prescri-table_wrapper { top: -15px !important; }
	#statoPdc #spanStatoPdc small { display: none !important;}
	.logo_box { width: 50px !important; margin-right: 5px !important; }
	.logo_front { width: 160px !important;}
	#coccardaGratis { /*margin-left: 0px !important; */}
	#multimode_msg { top: 10px !important; right: -10px !important; }
	.bubble-msg { width: 170px !important; }
	#users-table { width: 70% !important; margin-left:0; }
	.table-icon, .table-content { height: 70px; }
	.truncateMe {
		max-width: 80px !important;
		word-break: break-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	body, #masterDiv, #mainBody, #mainHeader , .tmask { max-width: 1024px !important; overflow-x: hidden !important;}
	#popupHeader { width: auto !important; }
	#strumenti { max-width: 850px;width: 100%;float: left;padding:0;margin: 0 0 5px 0;height: 35px;border-right: 0px;/*background: #e2e2e2;/*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e2e2), color-stop(50%,#dbdbdb), color-stop(51%,#d1d1d1), color-stop(100%,#fefefe)); background: -webkit-linear-gradient(top, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); background: linear-gradient(to bottom, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%);border: 1px solid #fff; border-radius: 5px; padding: 0px !important;box-shadow: 0px 0px 5px #888; */ }
    #strumenti ul.kanino-tools { background: transparent; height: 39px;/* margin-left: 5px;*/ float: left;width: 100%; }
    #strumenti ul.kanino-tools li { min-width: 20px; width: auto; padding: 0 8px 0 5px; box-shadow: none; float: left; font-size: 11.5px; }
    #strumenti ul.kanino-tools li.header, #strumenti ul li.header:hover { padding: 0; max-width: 160px; width: auto; margin: 0; text-align: left; margin-top: 0px; }
	#strumenti ul.kanino-tools li select { width: 160px ; }
	button.smallButton, .smallButton { padding: 4px 2px !important; }
	/*#masterDiv { display: block !important; }
	#notSupported { display: none !important; }*/
}

@media screen and (min-width: 1112px) and (max-width: 1112px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
	.truncateMe {
		max-width: 80px !important;
		word-break: break-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	form#elenco #prescrizioni { width: 88% !important; margin: 5px 8px 20px; }
	#strumenti { margin: 0px 5px -5px 5px !important; padding: 0 5px 0 0 !important; border-right: 1px solid #ddd; }
	#strumenti ul.kanino-tools li { 
		width: 45px !important; 
		font-size:1.5em; 
		padding-left: 5px; 
		height: 44px; 
		white-space: initial;
		border-bottom: 1px solid #ddd;
		line-height: 45px;
	}
	ul.kanino-tools #stampa { border-bottom: 0 !important; }
	#mainBody .tabs ul li:not(.plugins-tab) { padding: 3px 16px 6px 15px !important; }
	body, #masterDiv, #mainBody, #mainHeader , .tmask { max-width: 1112px !important; overflow-x: hidden !important;}
	#summary-box .head-box { width: 200px !important; }
	#ph-prev-num { margin-left: 8px; }
	#ph-prev-title { width: 47% !important; }
}

@media screen and (max-height: 590px) {
	.tbox { top: 2px !important; }
} 


@media screen and (max-width: 600px) {
	.tabs-left>.tab-content {
		margin-left: 0;
	}

	.hidden-tablet, .hidden-phone { display: none !important; }

	button.smallButton, .smallButton {
		padding: 6px 4px !important;
	}
}

@media screen and (min-width: 958px) and (max-width: 960px) {
	body { zoom: .95 !important; }
}

@media screen and (min-width: 958px) and (max-width: 1011px) {
	body { zoom: .95 !important; }
}

@media screen and (max-width: 958px) {
	
	#masterDiv { display: none !important; }
	#notSupported { display: block !important; }
	body { background: #fff !important;}
	body.login { background: #65BFF9 !important;}
	
/*
	#menuPrinc { display: none !important; }
	#menuPrinc-mobile { display: block !important; }
	*/
}