.calendario { 
    /*width:230px!important;*/
    width:250px!important;
		height:auto;
    background-position: center top; background-color:#FFF;
    border-bottom:1px solid #aaa;
    border-top:1px solid #aaa;
}

div.cal {
	position:absolute;
	left:85%;
  top:7px;
  width:15px;
  z-index:0;
  min-height:20px;
}

div.cal .calendario { 
  	box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3); 
}

div.cal.selected { z-index:10 }

div.cal img{
	position:absolute!important;
	left:0px!important;
  top:0!important;
	overflow:hidden;
  z-index:0
}

div.cal * {
	box-sizing: border-box; 
	-moz-box-sizing: border-box;
}

div.cal .diames, div.cal .diasemana {
	/*width: 30px!important;*/
	width: 33px!important;
}

div.cal .dragbar { padding:0; height:15px;  width:100% }

div.cal .btnholder { 
	height:20px!important;
	/*margin-left:15px;*/
	margin-left:5px!important;
}

.calendario .close {  
  	padding:2px 12px!important;
  	padding-right:16px!important;
  	font-size:1em;
  	color:#fff;
  	float:right;
  	background-image:url(/images/texturas/trp_000.png);
  	background-repeat:repeat;
    width:30px!important;
  	height:15px!important;
  	border:none;
  	margin:0!important;
  	cursor:pointer;
}

.calendario .close:hover { background-color:red }

.btnholder { 
	border-top:1px solid #fff;
	background-color:#095;
    margin:1px 0!important;
	background-position:center;
	height:auto; padding:0;
	background-image:url(/images/texturas/degrade.png);
}

.btnholder .up, .btnholder .down {
		padding:6px 2px;
  	cursor:pointer;
}

.btnholder .up:hover, .btnholder .down:hover {
		background-image:url(/images/texturas/trp_000.png);
}

.btnholder .btnUp {
  border-color: transparent transparent #fff transparent;
}
   
.btnholder .btnDown {
	  border-color: #fff transparent transparent transparent;
}

.calendario .controle { 
    padding:3px; overflow:hidden;
    background-image:url(/images/texturas/divisor.jpg);
    background-position:top center;
}

.calendario .controle * { float:left; margin:1px }

.calendario .controle .ano { 
	/*width:34px!important;*/
	width:35px!important; 
	/*margin-left:14px!important;*/
	margin-left:7px!important; 
	margin-top:2px; 
	/*padding:3px 1px!important*/
	padding:2px 5px!important;
  font-size:12px;
}

.calendario .controle .mes { padding:2px 0!important; margin-left:0; font-size:12px  }

.calendarioIN { 
	height:auto; /*min-height:180px;*/min-height:175px;
	background-color:#fff;
	background-image:url(/images/texturas/diagonal_.gif);
	display:table; 
}

.semana { height:25px }

.diames, .diasemana {
	color : #777;
	border:1px solid transparent;
	padding:5px;
	width: 18px;
	display:block;
	float:left;
	margin:1px;
	font-style:italic;
	font-size:12px;
	text-align:right;
}

#prevChegada .diames, #prevChegada .diasemana {
	width: 20px;
}

.invisivel { visibility:hidden }

.dias, .semana { clear:both; padding: 0.1em; }

.diasemana { 
  	background-color:#5c8;
  	color:#066;
  	font-size:14px;
  	font-weight:bold;
  	background-image:url(/images/texturas/degrade.png); 
}

.diames { background-color:#bcd; cursor:pointer }

.diames.diapassado,td.diapassado { 
	background-color:#9C9;
	color:#366;	
}

.diames.selected,tr.selected td { 
	background-color:#fc0!important;
	color:brown;	
}

.past-not .diapassado { 
  background-color:#aba;
	color:#588;	
	cursor:default!important;
}

.diames.diapassado.selected { 
	background-color:#dc3!important;
}

#horas table { border-color:#777 }

.esgotado td { 
	background-color:#c96!important;
	cursor:pointer!important; 
}

.esgotado th { 
	background-color:#800!important;
	cursor:pointer!important; 
}

th.diapassado { 
	background-color:#366!important;
	color:#9c9;	
}

.clickavel th:hover {
	background-color:#cFF;
	color:#036;
}

.diatual { border-color:blue; color:blue; }

.hover { background-color:#bFF }

.diames:hover { background-color:#cFF }

.horaLim, .horaQtd { padding:2px; height: 12px; width:35px; background-color:#cca; cursor:pointer }
.horaLim { background-color:#caa }
.horaLim:hover, .horaQtd:hover { background-color:#CFF }
#horas { width:245px; float:left; padding:10px; background-color:#ddd }
#horas th { padding:2px; height: 12px; width: 50px; cursor:pointer }
.calSelect { background-color:#fc0 }

.calendario .selected td, .calendario .selected th { background-color:#fc0!important; color:#036!important }