/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 24/05/2017, 19:59:09
    Author     : AtoCarlos
*/

/* Agendas navigation */
div.divTelaAgendamentoWrapper div.calNav{
    width: 190px;
	float: left;
}

div.divTelaAgendamentoWrapper div.calNav ul  {
	 margin: 0;
	  padding: 0;
	  position: absolute;
       overflow: auto;
      max-height: 594px;
        max-width: 189px;
}

div.divTelaAgendamentoWrapper div.calNav ul li {
	list-style-type: none;
          max-width: 187px;
}

div.divTelaAgendamentoWrapper div.calNav ul li a {
	     display: block;
	      padding: 14px 10px;
	 margin-bottom: 5px;
	text-decoration: none;
	         color: #4c4c4c;
      font-weight: bold;
}
span.calAgendaName{
    color: rgb(90, 175, 201);
    font-family: Arial, Verdana, sans-serif;
    font-size: 0.8em;
    font-weight: lighter;
}

div.divTelaAgendamentoWrapper div.calNav ul li a:hover {
	color: #F79C33;
}

div.divTelaAgendamentoWrapper div.calNav ul li a.active {
               color: rgb(90, 175, 201);
}


/* Traços do Seletor de  navegacao de Agendas */
div.calNav label {
    display: none;
}
div.calNav input {
    display: none;
}
span.tracos {
      font-size: 1.2em;
    font-weight: bolder;
}

/* Seletor de serviços */

a.serviceSelector {
	       display: block;
 	text-decoration: none;
	       padding: 10px;
	  font-weight: lighter;
           color: #676767;
	 background: #DEDEDE;
	    border: 1px solid #CCC;
	   cursor: pointer;
   margin-left: 1px;
}
a.serviceSelector span.calServName{
    color: rgb(90, 175, 201);
    font-size: 0.8em;
}
a.serviceSelector img {
	vertical-align: middle;
}
.serviceSelector:hover {
	color: orange;
}

div.calSeletorServico {
	 position: absolute;
	        /*width: calc(100% - 48px);;*/
      min-width: 292px;
       max-width: 918px;
           height: 480px;
	     z-index: 100; /*100;*/	
    text-shadow: 1px 1px #8a8a8a;
	   overflow: auto;
	 text-shadow: none;
	border-bottom: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
	     color: greenyellow; /*#676767;*/
   background: #E3E3E3;
}

div.calSeletorServico a {
	text-decoration: none;
	       display: block;
	      padding: 14px;
	       width: 265px;
	      float: left;
	    cursor: pointer;
        font-size: 0.9em;
        font-weight: lighter;
}
	
div.calSeletorServico a:hover {
	background-color: #999999;
}
	
div.calSeletorServico a span {               /* define duraçao e valor*/
	    color: #6f6f6f;
	 font-size: 0.8em;
	font-weight: normal;
}

.icnRightTriangle {
  background: url(../images/icnOpenCloseTriangle.png) 0px -10px no-repeat;
    display: block;
     width: 8px;
   height: 13px;
   float: right;
}

.icnDownTriangle {
  background: url(../images/icnOpenCloseTriangle.png) 0px 0px no-repeat;
    display: block;
     width: 14px;
   height: 8px;
   float: right;
}

    /* Content */

div.calContent100 {
	clear: both;
	width: 880px;
}
    
div.divTelaAgendamentoWrapper div.calPainelContent {
	            float: right;
	        background: #FFF;
	            padding: 15px;                    
	       border-radius: 10px;
	-webkit-border-radius: 10px;
	  -moz-border-radius: 10px;
                  width: 85%;
             max-width: 712px;
	    -moz-box-shadow: 0 0 5px #ccc;
	   -webkit-box-shadow: 0 0 5px #ccc;
	          box-shadow: 0 0 5px #ccc;
	           position: relative;
	        min-height: 520px;
           max-height: 880px;
}

div.calPainelContent h2 {
	  font-weight: bold;
	    font-size: 1.5em;
	margin-bottom: 15px;
}


div.calPainelContent div.calendarLeftPanelMonth, div.calPainelContent div.calServices {
	        width: 322px;
	        float: left;
	padding-right: 1%;
       max-height: 580px;
         overflow: auto;
}

div.calPainelContent div.calendarRightPanelDay {
	      width: 358px; 
	padding-left: 1%;
	      float: right;
    max-height: 580px; 
    min-height: 360px;
}

/* Grid: Servicos Duracao Preco - da tela Calendars.html */
div.scrollServicesList {
   max-height: 175px;
    margin-bottom: 2px;
}

table.servicesList {
    width: 320px;
}

table.servicesList th {
	color: #424d6a;
	padding-left: 10px;
	padding-bottom: 5px;
    font-size: 0.8em;
    font-weight: bold;
}
table.servicesList tr th.clNameServ{
    text-align: left;    
}

table.servicesList tr th.clDurationServ, 
table.servicesList tr th.clPriceServ{
    text-align: right;
    width: 60px;
}

table.servicesList tr th.clDurationServ span, 
table.servicesList tr th.clPriceServ span{
    font-size: 0.7em;
}
table.servicesList td {
	font-size: 0.8em;
	color: #626262;
    font-family: "Courier new",Arial Narrow,sans-serif;
    padding: 5px 0 5px 10px;
    text-align: right;
}

table.servicesList tr.zebra {
	background: #efefef;
}

.clServiceNameIcon {
	    display: inline-block;
	      height: 12px;
    	     width: 190px;                    /*auto;*/
	vertical-align: middle;
	    background: url(../images/icnInfo.png) no-repeat right;
        text-align: left;
}

.clServiceNameNotIcon {
	    display: inline-block;
	      height: 12px;
	        width: 190px;                   /* auto;*/
	vertical-align: middle;
        text-align: left;
}

span.infoTooltip{
    min-width: 320px;
    max-width: 400px;
}
span.infoTooltipName{
    color: blue;
    font-family: "Courier new",Arial Narrow, sans-serif;
    background: #f3f2af;
}
    

/* DayCalendar.html - Schedules slots list */

div.diaAgendamento {
    margin: 10px 0 10px 0;
    height: 30px;
}

div.diaAgendamento span {
    font-weight: bold;
         color: #4C4C4C;
    font-size: 0.8em;
       float: left;
       margin: 0.4em;
    text-align: center;
        width: 100%;
}

div.scheduleSlotsList {
     padding-right: 2px;
            width: 100%;        /*99%;*/
           height: 510px;
       overflow: auto;
}
div.scheduleSlotsList, div.diaAgendamento {
    z-index: 1;
}
div.moAppoint, div.moSchedule, div.moSelectUser{
    z-index: 9;
}
    
p.noSlotsMessageCenter {
    text-align: center;
}
p.noSlotsMessageLeft {
    text-align: left;
    font-size: 0.7em;
}
textarea.remarksAppoint {
	    width: 98% !important;
	    height: 26px;
	font-family: Arial, Verdana, sans-serif;
	 font-size: 12px;
        color: #404040;
}
nav.menuAgendas ul.calUlNav{
    height: 545px;
    overflow: auto;
}

nav.menuAgendas ul.calUlNav li a{
    font-size: 0.9em;
    font-weight: lighter;
    width: 180px;
}

div.parteFixaAgenda{
         width: 100%;
    max-height: 620px;
}
div.form50AgendaEdit1 {
	      float: left;
           width: 320px;                    /* width: 47.95333%;  05/04/2017 */
	padding-right: 0.5%;
}
div.form50AgendaEdit2 {
          float: left;
           width: 320px;                    /* width: 47.95333%;  05/04/2017 */
	padding-right: 0.5%;
    padding-left:  0.5%;
}

@media screen and (max-width: 960px) {
    div.divTelaAgendamentoWrapper div.calNav{
        width: 16%;
    }    
}
@media screen and (max-width: 940px) {

    div.calNav label{
        display: block;
        font-size: 16px;
        font-weight: bold;
         padding-top: 10px;
         padding-left: 10px;
        padding-bottom: 8px;
                width: 100%;
           min-width: 320px;
    }
    label[for="bt_menu"]:hover {
        color: orange;
    }
    
    div.calNav label {
        margin-left: 15px;
    }
    
        /* label layer cria curtina para bloquear click na tela*/
  div.calNav label.menuAgendasClose {
     position: fixed; 
       right: 0;
        top: 0;
      bottom: 0;
         left: 0;
       display: block;
     background: rgba(0,0,0,0.4);
    -webkit-transition: all 500ms ease;
      -moz-transition: all 500ms ease;
       -o-transition: all 500ms ease;
     -ms-transition: all 500ms ease;
        transition: all 500ms ease;
    -webkit-transform: translate(100%, 0);
       -ms-transform: translate(100%, 0);
     -moz-transform: translate(100%, 0);
      -o-transform: translate(100%, 0);
        transform: translate(100%, 0);
         z-index: 1;
  } 
    /*<!--
    Utilizando dos seletores do CSS3 que são os ‘:checked’ e ‘~’, conseguimos formatar elementos de acordo com a necessidade, veja a documentação em:https://www.w3.org/TR/css3-selectors/#selectors.
    -->*/
    /*Selects every <nav> element that are preceded by a <input#bus-nav:checked> element */
    
  div.calNav input#bt_menu:checked ~ label.menuAgendasClose{
    -webkit-transform: translate(0, 0);
       -ms-transform: translate(0, 0);
     -moz-transform: translate(0, 0);
      -o-transform: translate(0, 0);
        transform: translate(0, 0);
  } 
  
  div.calNav input#bt_menu:checked ~ nav.menuAgendas li{
          display: block;         /* display do menu */
        background: #DEDEDE;
        font-weight: normal;
         font-size: 0.8em;
              width: 320px;
         margin-left: 20px;
               height: 23px;
        padding-bottom: 15px;
	    border-bottom: solid 1px #cfcfcf;
             z-index: 3;  
    }
 
    nav.menuAgendas ul li{
        display: none;
    }
    div.divTelaAgendamentoWrapper div.calNav ul  {
	position: absolute;
	 z-index: 1;  /*1;*/
    }
    div.divTelaAgendamentoWrapper div.calNav ul li {
	list-style-type: none;
    }

    div.divTelaAgendamentoWrapper div.calNav ul li a {
	display: block;
	padding: 12px 1px;
    }

    div.divTelaAgendamentoWrapper div.calNav ul li a.active {
         color: rgb(90, 175, 201);
    }

    /* Panels*/   
    div.calPainelContent {
                 float: left;
            margin-left: 25px;
               padding: 5px;
                width: 95%;
    }
    div.calendarLeftPanelMonth, div.calendarRightPanelDay, div.calServices{
            max-width: 320px; 
    }
        
        /* DayCalendar.html */
    div.slot .slotTime {
            padding: 11px 5px;
    }

    div.SlotDetails {
            width: 120px;
       word-break: break-all;            
    }
    div.SlotDetails em{
        font-size: 0.9em;
            width: 100%;
        max-width: 140px;
       word-break: break-all;            
    }

    div.freeSlot .SlotDetails {
            padding: 11px 0px 0px 5px;
    }
    div.userScheduled .slotTime {
            padding: 11px  0px 0px 5px;
    }

    div.userScheduled .SlotDetails {
            padding: 3px 0 3px 5px;
    }

    div.busySlot .SlotDetails {
          max-width: 128px;                /*140px*/
            padding: 3px 0 3px 5px;
    }

    div.reservedSlot .SlotDetails {
            padding: 3px 0 3px 5px;
    }
    div.calendar table th {
        padding-bottom: 3px;
             font-size: 0.8em;
    }
    div.calendar table td {
            font-size: 0.8em;
    }

    div.calendar table td a {
            padding: 13px 8px;
    } 
}       /* Final da media */

@media screen and (max-width: 810px){
    div.calPainelContent div.calendarLeftPanelMonth,  
    div.calPainelContent div.calServices{
            float: left;
            width: 300px;
    }
    div.calPainelContent div.calendarRightPanelDay{
        float: left;
        width: 300px;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 768px){
    div.calPainelContent div.calendarRightPanelDay {
        min-height: 120px;
    }
    div.calNav nav.menuAgendas ul.calUlNav li a{
        width: 420px;
        font-size: 0.9em;
        background-color: #E3E3E3;
    }
}
@media screen and (max-width: 710px) {
  /* */    
    div.scheduleSlotsList {
            height: 364px;
    }

    span.icnRightTriangle {
        display: none;    
    }
    span.icnDownTriangle {
        display: none;    
    }
    
    /* Redesenhar slots DayCalendar e MonthCalendar.html */

        /* MonthCalendar.html */
    div.dateShow span {
            font-size: 1.0em;
    }

    .calCtrlButtons {
            padding-bottom: 3px;
    }

    .btnPrev .dijitButtonNode, .btnNext .dijitButtonNode {
            padding: 6px 13px!important;
    }    
}        /* Final da media 767 */

@media screen and (max-width: 520px) {
    div.divTelaAgendamentoWrapper div.calPainelContent {
        width: 280px;
    }
    div.divTelaAgendamentoWrapper div.calNav {
        width: 317px;
    }    
    div.calPainelContent div.calendarLeftPanelMonth, div.calPainelContent div.calendarRightPanelDay, 
    div.calPainelContent div.calServices{
            width: 280px;
    }
}

@media screen and (max-width: 340px) {
    div.busySlot .SlotDetails {
            width: 128px;
    }
}