:root {
  /* --primary: #ff8400; */
  --approved: #2d7e2d;
  --pending: #ffff46;
  --blackout: #000000;
  --declined: #ff4e4e;
  --blackout-visit: #000000;
  --blackout-poc: #000000;
  --blackout-wastebin: #000000;
  --blackout-electrical: #000000;
  --approved-poc: #B383E3; /* #009fd1; */
  --postwalk-poc: #682fa1;
  --demo: #ff8400;
  --event: #cd3300;
  --event-popup: #c26c00;
  --blackout-stripes: #000000;
  --event-stripes: #cd3300; /* #c26c00; */
  --demo-stripes: #ff8400;
  --event-booking-font-size: 0.75rem!important;
}

#calendar-request .main-block {
	/* display: table;
	width: 100%; */
	/* max-width: 100%!important; */
  max-width: 1400px;
  min-height: calc(100vh - 145px)!important;
	/* margin: 0 auto;
	table-layout: fixed;
	height: 100%;
	position: relative;
	z-index: 1; */
}


#calendar table,
.btn-outline-dark,
.btn-outline-primary{
	background-color: white;
	border: 1px solid gray!important;
}

td {
    touch-action: manipulation;
}
#filters, #calendar{
	margin: auto;
}

.multiselect-container .input-group {
  width: 95%;
}
.loading{
	height: 22px;
	display: block;
	background: rgba(206, 212, 218, 0.74);
}
.multiselect-container {z-index: 1200;}
.multiselect-container>li>a>label{margin:0;height:100%;cursor:pointer;font-weight:400;padding:3px 20px 3px 10px}
.multiselect-selected-text {font-size: 0.875rem;}

.ui-widget-header,
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
{
  border: none;
  background: none;
  text-align: center;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  color: #555555;
}
.ui-state-default.ui-state-highlight {
  background: rgba(255, 166, 0, 0.4);
  color: black;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  background: rgba(255, 166, 0, 0.7);
  color: white;
}
.ui-datepicker td {
  height: 40px;
  width: 40px;
  padding: 0px;
}

td.ui-datepicker-unselectable.calendar_blackout span {
  background: black!important;
  color: white!important;
  opacity: 1.0!important;
}

td.ui-datepicker-unselectable.calendar_blackout {
  opacity: 1.0!important;
}

.ui-datepicker-current-day a {
  border: 1px solid rgba(255, 166, 0, 1)!important;
}

.overlay-deleted {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 95%;
  z-index: 1500;
  background: rgba(0,0,0, 0.35);
  cursor: pointer;
  font-size: 2rem;
  color: white;
  text-align: center;
  padding: 5%;
}
#container-requests-change{
  max-height: 600px;
  /* min-height: 200px; */
  /* height: calc(100% - 70px); */
  overflow: auto;
}
.datepicker{z-index:1151 !important;}
table.calendar{
    border: 0px solid black;
    /* margin: 0 auto; */
    margin: auto 20px;
    box-shadow: 0px 0px 3px 3px #d3d3d373;
    border-radius: 0.5rem;
}
table.calendar #calendar_title
{
  font-size: xx-large;
    font-family: system-ui;
    font-weight: 600;
}

table.calendar tr th,
table.calendar tr td{
  min-width:5rem;
  height:5.25rem;	
  width: 11%;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #e6e6e6;
}

table.calendar tr th{
  vertical-align: middle;
}

table.calendar tr td{
  /* vertical-align: top; */
  position: relative;
  cursor: pointer;
} 
table.calendar tr td.active,
table.calendar tr td.not_active {
  cursor: pointer;
}
table.calendar tr td.active:hover,
table.calendar tr td.not_active:hover,
table.calendar tr td.active.selected,
table.calendar tr td.not_active.selected
{
  border:1px solid rgba(255, 168, 0, 0.3);  
  background: linear-gradient(45deg, rgba(255, 168, 0, 0.3), transparent);
  box-shadow: 2px 2px 2px 0px rgba(255, 168, 0, 0.3);
  transition: 0.3s;
  -webkit-transition: 0.3s;
}

td.day-month-past{background:linear-gradient(45deg, rgba(128, 128,128,.5), transparent);}
td.not_active_visit{ background:linear-gradient(135deg, rgba(128, 128,128,.5), transparent);}
td.day-month-today{background:linear-gradient(45deg, rgba(0, 123, 255, 0.4), transparent);}
td.day-blank{background:linear-gradient(45deg, rgba(128, 128,128, 1), transparent); }
td.day-weekend-com-semana{background:linear-gradient(45deg, rgba(0, 0, 0, 0.7), transparent);color:white;}
td.day-weekend, td.holiday{ background:linear-gradient(45deg, rgba(128, 128,128, 0.2), transparent); color:black; }

span.day-weekend, span.day-weekend-com-semana{
	font-size: 0.9rem;
	display: block;
	text-align: right;
	padding-top:2px;
	padding-right:3px;
	/*position:absolute;
	top:0.3rem; right:0.5rem;*/
}
td.day-month, td.day-weekend, td.day-weekend-com-semana{vertical-align: top; text-align: center; font-size: 0.85rem;}

span.day-month{
	font-size: 0.9rem;
	display: block;
	text-align: right;
	padding-top:2px;
	padding-right:3px;
	/*position:absolute;
	top:0.3rem; right:0.5rem;*/
}
.btn-legenda {
  opacity: 1.0!important;
}
.pending { background-color: rgb(255, 255, 70); color: black; }
.approved { background-color: rgb(45, 126, 45); color: white; }
.declined { background-color: rgb(255, 78, 78); color: white; }
.deleted { background-color: rgb(124, 124, 124); color: lightgrey; }

.blackout_visit { background-image: repeating-linear-gradient( 134deg, black 0px, #9d9d9d 5px ); color:white;}
.blackout{background:black!important;color:white;}
.event{background: var(--event) !important;color:white;}
.demo{background: orange!important;}
.event-demo {background: linear-gradient(to right,  orange 0%,orange 50%,var(--event)  50%,var(--event)  100%); border:1px solid black;}

.col-blackout{background:black!important;border:1px solid black;color:white;}
.col-event{background: var(--event) !important;border:1px solid black;color:white;}
.col-demo{background: orange!important;border:1px solid black;}
.col-event-demo {background: linear-gradient(to right,  orange 0%,orange 50%,var(--event)  50%,var(--event)  100%); border:1px solid black;}
.col-blackout-stripes,
.col-blackout_visit
{
	font-weight: bold;
	border:1px solid black;
	background-image: 
    repeating-linear-gradient(
      -45deg,
      black,
      black 13px,
      white 5px,
      white 20px 
    );
}
.col-event-stripes{
	font-weight: bold;
	border:1px solid black;
	background-image: 
    repeating-linear-gradient(
      -45deg,
      var(--event),
      var(--event) 13px,
      black 5px,
      black 20px 
    );
}
.col-demo-stripes{
	font-weight: bold;
	border:1px solid black;
	background-image: 
    repeating-linear-gradient(
      -45deg,
      orange,
      orange 13px,
      white 5px,
      white 20px 
    );
}


div.event{
	font-weight: bold;
	color:white;
	background: var(--event)!important;
}
div.blackout{
	font-weight: bold;
	color:white;
	background-color: rgba(0, 0, 0, 1)!important;
}
div.demo{
	font-weight: bold;
  color:white;
	background-color: orange!important;
}
div.event-demo{
  font-weight: bold;
  color:white;
  background-color: linear-gradient(to right,  orange 0%,orange 50%,var(--event) 50%,var(--event) 100%)!important;
}


div.event-stripes{
	font-weight: bold;
	/*color:white;*/
	background-image: 
    repeating-linear-gradient(
      -45deg,
      var(--event),
      var(--event) 13px,
      white 5px,
      white 20px /* determines size */
    );
}


div.blackout-stripes{
	font-weight: bold;
	background-image: 
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, .3),
      rgba(0, 0, 0, .3) 13px,
      white 5px,
      white 20px /* determines size */
    );
}

div.demo-stripes{
	font-weight: bold;
	background-image: 
    repeating-linear-gradient(
      -45deg,
      orange,
      orange 13px,
      white 5px,
      white 20px /* determines size */
    );
}

div.event-demo, div.event, div.event-stripes
, div.blackout, div.blackout_visit, div.demo
, div.blackout-stripes, div.demo-stripes
, .day-month~div.approved, .day-month~div.pending, .day-month~div.declined, .day-month~div.deleted
{ 
  font-weight: bold;
	font-size: 0.75rem;
	display: block;
	border-collapse: collapse;
	text-align: center;
	border-top:1px solid black;
	width:100%;
	/*display: block;*/
}

/*so para a legenda */
button.blackout-stripes{
	font-weight: bold;
	background-image: 
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, .6),
      rgba(0, 0, 0, .6) 13px,
      white 5px,
      white 20px /* determines size */
    );
}

/* feito no jquery td.tem-informacao>span:last-child{border-bottom:1px solid black!important;margin-bottom:1px;}*/


/*div.event:last-child, div.event-stripes:last-child,
div.blackout:last-child, div.demo:last-child,
div.blackout-stripes:last-child, div.demo-stripes:last-child{
	border-bottom:1px solid black;
	margin-bottom:1px;
}*/

span.week-number{
	font-size: 1rem;
	/*color:red;*/
	display: block;
	text-align: center;
	padding-top:15px;
	/*padding-right:3px;*/
}
span.week-number-blank{
	font-size: 1rem;
	/*color:red;*/
	display: block;
	text-align: center;
	padding-top:35px;
	/*padding-right:3px;*/
}

ul.multiselect-container.dropdown-menu.show {
	border: 1px solid black;
	max-height: 300px;
	min-width: 200px;
	font-size: small;
	overflow: auto;
}
ul.multiselect-container.dropdown-menu.show {
	min-width: 270px;
}
.approved.form-control {
	color: green;
	font-weight: 800;
}

.popup-line-break {
	margin-top: .25rem;
    margin-bottom: .25rem;
    border: 0;
    border-top: 2px solid rgba(0,0,0,.8);
    box-shadow: 1px 1px 3px 0px #000000d4;
}

.switchMonth{
  cursor: pointer;
  vertical-align: middle;
  background: transparent;
}
.switchMonth:hover{
	/* font-size: 1.15rem; */
	background: linear-gradient(90deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .25));
}

/* CHECKBOXES */
  /* The container */
  .containercb {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .containercb input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 3px;
    left: 2%;
    height: 0.9rem;
    width: 0.9rem;
    background-color: #eee;
		box-shadow: 1px 1px 1px 1px rgba(190, 190, 190, 0.4);
		
    border-radius: 30%; /* CIRCLE */
  }
  
  /* On mouse-over, add a grey background color */
  .containercb:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .containercb input:checked ~ .checkmark {
    background-color: rgb(125, 125, 125);
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .containercb input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .containercb .checkmark:after {
		left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
		/*
		left: 8px;
    top: 1px;
    width: 9px;
    height: 20px;
    border: solid white;
		border-width: 0 3px 3px 0;
		*/
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
	}
	
	.containercb .label {
		margin-left: 0.2rem;
	}

	.approvedDEL {
		color: green;
		font-weight: 600;
		transition: 0.3s;
		-webkit-transition: 0.3s;
	}

	.approve {
		color: black;
		font-weight: 600;
		/* background: lightskyblue; */
		transition: 0.3s;
		-webkit-transition: 0.3s;
	}

	.approve.store {
		background: lightskyblue;
	}

	textarea:placeholder-shown[placeholder=Required], input:placeholder-shown[placeholder=Required] {
		background-color: lightgoldenrodyellow;
	}

  #calendar-request .modal {
    background-color: #00000085;
  }

  #modal-popup .modal-body div {
    padding: 0.25rem 0rem;
  }

  #modal-submit .label,
  #modal-popup .label {
    font-size: 0.8rem;
    font-weight: 600;
  }

  .comment-required {
    /* background-color: lightgoldenrodyellow; */
    box-shadow: 0px 0px 3px #ff0000F0;
    border: red;
  }
  .comment-required::placeholder {
    content: "Required";
  }

  .active.no-visit-schedule-icon::after {
    color: white;
    border: 1px solid white;
  }

  .no-visit-schedule-icon::after {
    /* font-size: 1.5rem; */
    display: inline-table;
    color: #ff0000;
    content: "!";
    border-radius: 50%;
    border: 1px solid red;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    margin-left: 4px;
    opacity: 0.7;
  }

  #calendar-requests,
  #calendar-events,
  #calendar-notification {
    /* opacity: .5;  */
    display: flex; 
    justify-content: center; 
    align-items: flex-start;
    height: 34rem;
    box-shadow: 0px 0px 4px 1px lightgrey;
    border-radius: .5rem;
    overflow-y: auto;
    padding: 0;
    background: rgba(180, 180, 180, 0.1);
  }

  #calendar-events {
    height: calc(84px * 6);
  }

  /* #visit-notification {
    margin-top: 30px!important;
  } */

  #calendar-notification .quillWrapper {
    /* height: calc(500px - 4rem); */
    /* width: 100%; */
    overflow-y: auto;
    background-color: #fff3cd;
    border-color: #ffeeba;
  }

  #calendar-requests .card,
  #calendar-events .card {
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0px 0px 3px 1px lightgrey;
  }
  #calendar-requests .card-body,
  #calendar-events .card-body {
    padding: .75rem;
  }

  #calendar-requests .nav-item,
  #calendar-events .nav-item {
    /* width: 25%; */
    width: 100%;
  }

  #calendar-requests .nav-link.active
  {
    border: none;
    background: transparent;
    /* color: white!important;
    background-color: var(--primary); */
    
  }

  #calendar-events .nav-link.active
  {
    color: white!important;
    background-color: transparent; /* var(--dark); */
    
  }
  
  #calendar-requests .nav-link,
  #calendar-events .nav-link {
    color: black!important;
    background-color: white;
    border-color: #e9ecef #e9ecef #dee2e6;
  }

  .associate-required-label 
  {
    opacity: 1;
    color: var(--primary);
    cursor: pointer;
    padding: 4px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    box-shadow: 0px 0px 4px 0px;
  }

  .delete-visit,
  .edit-visit {
    cursor: pointer;
  }

  .visit-card-action {
    width: 10%; 
    position: absolute; 
    padding:0; 
    margin: 0; 
    right: 10%; 
    height: 100%;
  }
  .visit-status {
    width: 10%; 
    position: absolute; 
    padding:0; 
    margin: 0; 
    right: 0; 
    height: 100%;
    opacity: 0.6;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #calendar-legend .btn,
  #calendar-legend-events .btn {
    pointer-events:none;
    font-size: xx-small;
    width: 20%;
    box-shadow: 0px 0px 4px 3px lightgrey!important;
  }
  #calendar-legend,
  #calendar-legend-events {
    position: absolute; 
    bottom: 0px; 
    right: 0px; 
    display: flex; 
    justify-content: center; 
    /* height: 50px; */
  }

  .calendar-side-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 0px;
  }

  .multiselect__tag {
    background: #e1e1e1;
    color: #000;
    /* background: var(--primary); */
  }
  
  .multiselect__tags {
    border: 0px;
  border-bottom: 1px solid #e8e8e8;
  /* background: #f5f5f5; */
  background: #ffffff;
  border-radius: 3px;
  /* border: 0px;
  border-bottom: 1px solid #e8e8e8; */
  }
  
  .multiselect__tag-icon:after {
    color: #000;
  }
  
  .multiselect__tag-icon:focus, .multiselect__tag-icon:hover {
    background: #a5a5a5;
  }
  
  .multiselect__input::placeholder{ color: #000000bb; }
.multiselect__input::-webkit-input-placeholder{ color: #000000bb; }
.multiselect__input::-moz-placeholder{ color: #000000bb; }
.multiselect__placeholder{ color: #000000bb; }

.typo__label {
  display: none;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: system-ui;
}

#txt-sm-comment,
#txt-comment
{
  max-height: 200px;
}

.event-date-picker input {
  width: 4.5rem;
  border: none;
}

.event-date-picker > .vdp-datepicker__calendar {
  text-align: left;
  position: absolute!important;
}

/* .vdp-datepicker__calendar {
  position: fixed!important;
} */

.vdp-datepicker__calendar .cell {
  color: black;
}

.general_requirements_events {
  display: none;
}

input.general_requirements_events ~ label {
  padding: 0.25rem;
  margin: 0.25rem;
  border-radius: .25rem;
}

input.general_requirements_events:checked ~ label {
  font-weight: 600;
  background: var(--event-popup);
    color: white;
}

