:root {
  --vcal-today-bg-color: #10989E;
  --vcal-today-color: #fff;
  --vcal-selected-bg-color: #E7E9ED;
  --vcal-selected-color: #333;
  --cal-width: 160px;
  --cell-height: calc(var(--cal-width) / 7);
}

.v-cal *, .v-cal *:before, .v-cal *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.v-cal {
  margin: 0 auto;
  /* width: 100%; */
  width: var(--cal-width);
  font-size: 8px;
  color: #8c8c8c;
  min-height: 195px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.v-cal .vcal-btn {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: button;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: normal;
  min-width: 27px;
  outline: none;
  overflow: visible;
  padding: 0;
  text-align: center;
}

.v-cal .vcal-header {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
  font-size: 1.5em;
}

.v-cal .vcal-header svg {
  fill: black;
}

.v-cal .vcal-header__label {
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.v-cal .vcal-week {
  background-color: var(--vcal-selected-bg-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.v-cal .vcal-week span {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 14.28%;
  flex: 0 0 14.28%;
  font-weight: bold;
  max-width: 14.28%;
  text-align: center;
  text-transform: uppercase;
  padding: 1em 0;
  font-size: 1.2em;
}

.v-cal .vcal-body {
  background-color: rgba(var(--vcal-selected-bg-color), 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.v-cal .vcal-date {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 1px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 14.28%;
  flex: 0 0 14.28%;
  max-width: 14.28%;
  padding: 0;
  font-size: 1.3em;
  color: black;
  position: relative;
  height: var(--cell-height);
}

.v-cal .vcal-date span {
  z-index: 2;
  line-height: var(--cell-height);
}

.v-cal .vcal-date--today {
  position: relative;
  font-weight: bold;
}

.date-colors {
  overflow: hidden;
  z-index: 1;
}

.date-colors, .date-colors div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.date-colors div:nth-child(2) {
  position: absolute;
  top: 20%;
  left: -100%;
  width: 200%;
  height: 100%;
  content: "";
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.v-cal .vcal-date--selected {
  background-color: var(--vcal-selected-bg-color);
  color: var(--vcal-selected-color);
}

.v-cal .vcal-date--disabled .date-colors,
.v-cal .vcal-date--disabled span {
  border-radius: 0;
  opacity: 0.5;
}

.v-cal .vcal-date .date-tooltip {
  position: absolute;
  bottom: 50%;
  min-height: 100%;
  background: #EFEFEF;
  content: " ";
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 400ms, visibility 400ms, bottom 400ms;
  transition: opacity 400ms, visibility 400ms, bottom 400ms;
  -webkit-transition-delay: 700ms;
  transition-delay: 700ms;
  margin: auto;
  font-size: 1em;
  font-weight: normal;
  line-height: 120%;
  text-align: center;
  padding: 0.4em 1em;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.46);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.46);
  display: block;
  z-index: 100;
}

.v-cal .vcal-date:hover .date-tooltip {
  visibility: visible;
  opacity: 1;
  bottom: 130%;
}

.gcalendar-popup {
  color: black;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  background: white;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  padding: 20px;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 400ms ease, visibility 400ms ease;
  transition: opacity 400ms ease, visibility 400ms ease;
  /* width: 960px;
  height: 80vh; */
  width: 960px;
  height: 600px;
}

.gcalendar-popup.visible {
  visibility: visible;
  opacity: 1;
}

.gcalendar-popup .close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.gcalendar-popup iframe {
  border-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  height: 90%;
  margin: 20px auto;
}

.availability-calendar .showcal {
  text-align: right;
}

.availability-calendar .showcal a,
.showcal a:visited {
  color: grey;
  text-decoration: none;
}

.availability-calendar .showcal a:hover {
  color: lightgrey;
}
