@import url("//newtommy.pageservizi.it/CORE/css/font/font.css");

html{
    height: 100%;
}

body {
	width: 100%;
	height: 100%;
	padding: 0;
	padding-top: 0px;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}

a img {border: 0;}

*::selection 	 	{background: rgba(255,255,158,0);}
*::-moz-selection 	{background: rgba(255,255,158,0);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgba(255,255,158,0);}
input[type="text"], input[type="password"], textarea, select { outline: none; } /* hide outlines in chrome */
input[type="text"]::selection, input[type="password"]::selection, textarea::selection { background: rgba(97,194,218,1) !important; }
input[type="text"]::-moz-selection, input[type="password"]::-moz-selection, textarea::-moz-selection { background: rgba(97,194,218,1) !important; } 

img {
    user-drag: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.hideDiv{
    display: none;	
}

/**/
#body_bg_slide{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index:-1;
    background-color: rgba(236,236,236,0.5) !important;
}
#bg_slide_title{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index:-1;
    background-color: transparent !important;
}
#body_bg_slide img.bg_slide{
        position: relative;
        width:100%;
        height:100%;
}
/**/
#body_bg_slide_vert{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index:-1;
    background-color: rgba(236,236,236,0.5) !important;
}
#bg_slide_title_vert{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index:-1;
    background-color: transparent !important;
}
#body_bg_slide_vert img.bg_slide{
        position: relative;
        width:100%;
        height:100%;
}

/**/

.AjaxLoader{
    display:none;
    position:absolute;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:9999999999;    
    overflow: hidden;
    overflow-x:hidden;
    overflow-y:hidden;
    background-color: #FFFFFF;
    opacity:0.4;
    filter:alpha(opacity=40);
    text-align: center;
    vertical-align: middle;
}

.AjaxLoaderImg{
    position:fixed;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    /*margin-top: -(Y/2)px;
    margin-left: -(X/2)px;*/
    background-color: none;	
}

/**/

.date_box{
    position: relative;
}

.date_box .icon-date{
    position: absolute !important;
    top: 3px;
    right: -10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.date_box .icon-date:hover{
    opacity: 0.5;
}

#myDate{
    display: block;
    border-radius: 0.4em;
    -webkit-appearance: none;
    border: solid 1px #ddd;
    padding: 0.3em 0;
    width: 100%;
    line-height: 1.25em;
    text-align: center;
    letter-spacing: 5px;
    font-size: 14pt;
}

#myDate:focus{
    box-shadow: 0px 0px 2px 2px #c94663;
}

/**/

#avatar{
    position: relative;
    top: 10px;
    left: 5px;
    display: none;
}

.avatar_text{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 180px;
    line-height: 30px;
    font-size: 30px;
    /*text-shadow: 2px 2px #C0C0C0;*/
    color: #708090;
    text-align: left;
    font-style: italic;
    overflow: hidden;
}

/**/
table.main{
	width: 100%;
}
table.main[no_result='no_result'] tr{
	height: 0px !important;
}
table.main td{
	width: 25%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
}
table.main .btnChoose{
	width: 180px;
	height: 100px;
	border: 1.5px solid rgba(192, 192, 192, 0.5);
	border-radius: 10px;
	display: inline-block;
	background-color: rgba(192, 192, 192, 0.2);
	box-shadow: 1px 1px 5px #000000;
	cursor: pointer;
	margin-top: 10px;
	margin-bottom: 10px;
}
table.main .cnt_mdl{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: inherit;
	height: inherit;
}
table.main .btnChoose:hover{
	opacity: 0.4;
}

/**/
table.choose{
	width: 100%;
}
table.choose[no_result='no_result'] tr{
	height: 0px !important;
}

table.choose td{
	width: 25%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
}
table.choose .btnChoose{
	width: 180px;
	height: 180px;
	border: 1.5px solid rgba(192, 192, 192, 0.5);
	border-radius: 10px;
	display: inline-block;
	background-color: rgba(192, 192, 192, 0.2);
	box-shadow: 1px 1px 5px #000000;
	cursor: pointer;
	margin-top: 10px;
	margin-bottom: 10px;
}
table.choose .cnt_mdl{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: inherit;
	height: inherit;
}
table.choose .btnChoose:hover{
	opacity: 0.4;
}

/**/

table.calendar{
	width: 100%;
}

table.calendar tr.cln_head td{
	height: 20px !important;
	color: grey;
}

table.calendar tr.even{
	background-color: rgba(229,229,229,0.5);
}
table.calendar .box_fascia{
    display: none;
}

table.calendar .orario{
	width: 30px;
	height: 100px;
	text-align: center;
	vertical-align: middle;
}
table.calendar .box_rotate{
	position: relative;
	width: 30px;
	height: 100px;
	overflow: hidden;
}
table.calendar .rotate{
	position: absolute;
	top: 37px;
	left: -30px;
	width: 100px;
	height: 30px;
	text-align: center;
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	 -ms-transform: rotate(270deg);
	  -o-transform: rotate(270deg);
	     transform: rotate(270deg);
	color: grey;
}

table.calendar .kind{
	width: 90px;
}

table.calendar .kind table td{
	width: 90px;
	height: 25px;
	text-align: center;
	vertical-align: middle;
	font-size: 12px;
	border-bottom: 1px solid grey;
	color: grey;
}

table.calendar tr.even .kind table td{
	border-color: white;
}

table.calendar .kind table tr:last-child td{
	border: none;
}

table.calendar .week table{
	width: 100%;
}

table.calendar .week table td{
	width: 14%;
	height: 25px;
	vertical-align: middle;
	text-align: center;
	font-size: 14px;
}

/**/

table.day{
	width: 100%;
}

table.day .box_day.even{
	background-color: rgba(229,229,229,0.5);
}

table.day .box_day{
	width: 100%;
}

table.day .box_day td{
	height: 25px;
	vertical-align: middle;
	text-align: center;
	font-size: 14px;
	
}

table.day .box_day .DX_bord{
	border-right: 2px solid white;
}

table.day .orario{
	width: 30px;
	height: 100px;
	text-align: center;
	vertical-align: middle;
}
table.day .box_rotate{
	position: relative;
	width: 30px;
	height: 100px;
	overflow: hidden;
}
table.day .rotate{
	position: absolute;
	top: 37px;
	left: -30px;
	width: 100px;
	height: 30px;
	text-align: center;
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	 -ms-transform: rotate(270deg);
	  -o-transform: rotate(270deg);
	     transform: rotate(270deg);
	color: grey;
	font-size: 16px;
}

table.day .kind{
	width: 90px;
}

table.day .kind table td{
	width: 90px;
	height: 25px;
	text-align: center;
	vertical-align: middle;
	font-size: 12px;
	border-bottom: 1px solid grey;
	color: grey;
}

table.day .box_day.even .kind table td{
	border-color: white;
}

table.day .kind table tr:last-child td{
	border: none;
}

table.day .box_slot{
	width: 150px;
}
table.day .box_slot table{
    width: 100%;
}

table.day .note table{
    width: 100%;
    margin-left: 5px;
}
table.day .note table td{
    text-align: left;
    font-size: 13px;
    height: auto;
}
table.day .note .note_title{
    font-weight: bold;
    color: grey;
    border-bottom: 1px solid rgba(229,229,229,0.5);
}
table.day .box_day.even .note .note_title{
    border-color: white;
}
table.day .note .note_field{
    font-style: italic;
    padding-bottom: 5px;
    color: grey;
}
table.day .box_data{
	font-size: 15px !important;
	color: #333333 !important;
}


/**/

.turno_title{
    border: 1px solid rgba(97,194,218,1);
    border-radius: 10px 10px 0px 0px;
    font-style: italic;
    font-weight: bold;
    text-transform: lowercase;
    border-bottom: none;
    word-break: break-all;
    /*color: rgba(0,0,127,1);*/
    color: #333333 !important;
    font-size: 12px !important;
    background-color: rgba(97,194,218,0.5);
    padding-left: 1px;
    padding-right: 1px;
}
.turno_title[idturno='nope']{
    visibility: hidden !important;
}

.slot{
    word-break: break-all;
}
.slot[idturno='nope']{
	border: none;
	cursor: default;
}
.slot:not([idturno='nope']){
	border: 1px solid grey;
	cursor: pointer;
}
.slot:not([idturno='nope']):hover{
	opacity: 0.5;
}
.slot[idpersona='nope']{
	visibility: hidden !important;
}
.slot:not([idpersona='available']){
	background-color: rgba(0,127,0,0.5);
}

/**/
table.daily{
	width: 100%;
}
table.daily[no_result='no_result'] tr{
	height: 0px !important;
}

table.daily td{
	width: 14%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
}
table.daily  td:last-child{
	width: 16%;
}
table.daily .btnChoose{
	width: 100px;
	height: 100px;
	border: 1.5px solid rgba(192, 192, 192, 0.5);
	border-radius: 10px;
	display: inline-block;
	background-color: rgba(192, 192, 192, 0.2);
	box-shadow: 1px 1px 5px #000000;
	cursor: pointer;
	margin-top: 10px;
	margin-bottom: 10px;
}
table.daily .cnt_mdl{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: inherit;
	height: inherit;
}
table.daily .btnChoose:hover{
	opacity: 0.4;
}

/**/
.turno_title.red{
    color: rgba(255,0,0,1);
    border: 1px solid rgba(255,0,0,1);
    background-color: rgba(255,0,0,0.6);
}
.turno_title.blue{
    color: rgba(0,0,255,1);
    border: 1px solid rgba(0,127,127,1);
    background-color: rgba(0,127,127,0.6);
}
.turno_title.yellow{
    color: rgba(255,255,0,1);
    border: 1px solid rgba(255,255,0,1);
    background-color: rgba(255,255,0,0.6);
}
.turno_title.green{
    color: rgba(0,80,0,1);
    border: 1px solid rgba(0,80,0,1);
    background-color: rgba(0,80,0,0.6);
}
.turno_title.pink{
    color: rgba(255,192,203,1);
    border: 1px solid rgba(255,192,203,1);
    background-color: rgba(255,192,203,0.6);
}
.turno_title.orange{
    color: rgba(255,165,0,1);
    border: 1px solid rgba(255,165,0,1);
    background-color: rgba(255,165,0,0.6);
}
.turno_title.purple{
    color: rgba(128,0,128,1);
    border: 1px solid rgba(128,0,128,1);
    background-color: rgba(128,0,128,0.6);
}
.turno_title.brown{
    color: rgba(165,42,42,1);
    border: 1px solid rgba(165,42,42,1);
    background-color: rgba(165,42,42,0.6);
}
.turno_title.azzurro{
    color: rgba(0,127,255,1);
    border: 1px solid rgba(0,127,255,1);
    background-color: rgba(0,127,255,0.6);
}
.turno_title.gold{
    color: rgba(255,215,0,1);
    border: 1px solid rgba(255,215,0,1);
    background-color: rgba(255,215,0,0.6);
}
.turno_title.acquamarin{
    color: rgba(127,255,212,1);
    border: 1px solid rgba(127,255,212,1);
    background-color: rgba(127,255,212,0.6);
}
/**/
.turno_title.lightsalmon{
    color: rgba(255, 160, 122,1);
    border: 1px solid rgba(255, 160, 122,1);
    background-color: rgba(255, 160, 122,0.6);
}
.turno_title.peachpuff{
    color: rgba(255, 218, 185,1);
    border: 1px solid rgba(255, 218, 185,1);
    background-color: rgba(255, 218, 185,0.6);
}
.turno_title.thistle{
    color: rgba(216, 191, 216,1);
    border: 1px solid rgba(216, 191, 216,1);
    background-color: rgba(216, 191, 216,0.6);
}
.turno_title.slateblue{
    color: rgba(106, 90, 205,1);
    border: 1px solid rgba(106, 90, 205,1);
    background-color: rgba(106, 90, 205,0.6);
}
.turno_title.olive{
    color: rgba(128, 128, 0,1);
    border: 1px solid rgba(128, 128, 0,1);
    background-color: rgba(128, 128, 0,0.6);
}
.turno_title.wheat{
    color: rgba(245, 222, 179,1);
    border: 1px solid rgba(245, 222, 179,1);
    background-color: rgba(245, 222, 179,0.6);
}
.turno_title.chocolate{
    color: rgba(210, 105, 30,1);
    border: 1px solid rgba(210, 105, 30,1);
    background-color: rgba(210, 105, 30,0.6);
}
.turno_title.teal{
    color: rgba(0, 128, 128,1);
    border: 1px solid rgba(0, 128, 128,1);
    background-color: rgba(0, 128, 128,0.6);
}

