/* WAS ALREADY DISABLED
.box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #111845a6 !important;
  box-shadow: 0 20px 50px rgb(23, 32, 90);
  padding: 20px;
}
*/

/* DISABLED FOR FIX
.box{
  width: 100%;
  height: calc(100% - 4px);
  box-sizing: border-box;
  overflow: hidden;
  float:left;
  border: 2px solid #000 !important;
  color: white;
}
*/

.box {
  position: relative;
  -webkit-box-shadow: inset 0px -1px 0px 3px rgba(0,0,0,0.75);
  -moz-box-shadow: inset 0px -1px 0px 3px rgba(0,0,0,0.75);
  box-shadow: inset 0px -1px 0px 3px rgba(0,0,0,0.75);
}

/*
.box:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
}
*/

.animLine {
  background-size: cover;
  float: left;
 
  /*box-shadow: 0 2px 4px #000;*/
  position: relative;
  transform: scale(1.045);
  transition: .1s;
}

.animLine:hover:before,
.animLine:hover:after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, #ddd 40%, transparent 40%);
  top: -5px;
  bottom: -5px;
  left: -15px;
  right: -5px;
  z-index: 1;
  border-radius: 4px;
  background-size: 250% 4px;
  background-repeat: no-repeat;
  filter: drop-shadow(5px 5px 5px #fff);
  background-position: 80% 0;
}

.animLine:hover:before {
  animation: beforeLineAnim 4s linear infinite;
}

.animLine:hover:after {
  animation: afterLineAnim 4s linear infinite;
  transform: rotate(-90deg);
  background-position: -20% 0;
}

@keyframes beforeLineAnim {
  45%,
  50% {
    background-position: -100% 0;
  }
  45% {
    transform: scale(1)
  }
  50%,
  95% {
    transform: scale(1, -1)
  }
  95% {
    background-position: 80% 0
  }
}

@keyframes afterLineAnim {
  20%,
  25% {
    background-position: -100% 0;
  }
  20% {
    transform: scale(1.2) rotate(-90deg)
  }
  25% {
    transform: scale(-1.2, 1) rotate(-90deg)
  }
  70%,
  75% {
    background-position: 80% 0;
  }
  70% {
    transform: scale(-1.2, 1) rotate(-90deg)
  }
  75% {
    transform: scale(1.2, 1) rotate(-90deg)
  }
}



@media screen and (max-width: 650px) {
    #calendar {
      padding-top: 10px !important;
      padding-bottom: 10px !important;
    }
    #calendar td {
        vertical-align: middle !important;
        position: relative;
    }
    .fc {
        text-align: center !important;
    }

    .fc td {
        padding: 0px;
        vertical-align: middle !important;
    }

    .fc-content-skeleton tbody{
        display: none;
    }
    .fc-content-skeleton, .fc-content-skeleton thead{
        height: 42px;
    }
    .fc-row .fc-content-skeleton{
        padding: 0;
    }
    .fc-row{
        height: auto!important;
    }

    .fc-day-number, .fc-day-top .fc-sun .fc-other-month .fc-past > .fc-day-number{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%)!important;
        -webkit-transform: translate(-50%,calc(-50% + 18px));
        padding: 3px!important;
        line-height: 18px!important;
        height: 18px!important;
        width:18px!important;
        border-radius: 18px!important;
        font-size: 11px!important;
        color: #00b1eb!important;
        background-color: white!important;
    }

    .fc-day-number {
      -webkit-transform: translate(-50%,-50%);
      line-height: 2em !important;
      margin-top: -3%;
    }

    .fc-other-month > .fc-day-number{
        color: white!important;
    }

    .fc-today > .fc-day-number{
        color: white!important;
        background-color: #00b1eb!important;
        margin-top: -6%;
    }

    .fc-center {
        max-width: 70%;
        overflow: hidden;
    }
    #calendar h2 {
        font-size: 20px!important;
        line-height: 40px;
    }
    .fc-left {
        overflow: hidden;
        z-index: 1;
    }
    .fc-right{
        overflow: hidden;
        z-index: 1;
    }
    .mobile-agenda-block{
        display: block;
    }
}
.fc-left {
  margin-left: 7px;
}
.fc-button {
  background-color: #fff;
}

.fc-center h2 {
  color: #00b1eb !important;
  font-weight:bold;
  text-transform:uppercase;
}
#calendar {
  padding: 35px 5px 15px 5px;
  border-radius:12px;
}
.fc-unthemed .fc-today {
  background-color: #ffb23e;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;



}
.fc .fc-toolbar > * > :first-child:focus {
  outline:0;
}
.fc-state-disabled {
  opacity: 0.2 !important;
}

.fc-prev-button {
    background-repeat:no-repeat;
    background-image:url('../assets/slider-left.png')!important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.fc-next-button {
    background-repeat:no-repeat;
    background-image:url('../assets/slider-right.png')!important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.fc-button {
  color: #fff;
  opacity: 0.75;
}
.fc-content-skeleton .fc-state-highlight {
    background-color:red !important;
}

.fc-other-month {
    background-color:#00b1eb;
}

.fc-bg, .fc td {
    background-clip: padding-box !important;
    border-radius: 12px;
    color: white;
    padding: 0px;
}

.fc-day {
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  opacity: 0.9;
}
.fc-day-header{
    color: rgb(0, 177, 235);
}
.fc-day:hover {
  opacity: 1;
}

.fc-day-grid .fc-row {
  cursor: pointer;
}

.fc-state-default {
  background-image: none;
}

.fc-state-hover {
  background-image: none;
  opacity: 1 !important;
}

.fc-bgevent {
  opacity: 0.9;
}

.fc th, .fc td{
    border-width: 3px;
}


#loading {
  position: absolute;
  top: 10px;
  display: none;
}

#calendar {
  overflow: hidden;
  max-width: 900px;
  margin: 20px auto;
  padding:10 10px 10px 10px;
  background-color:#fff;
}

#calendar h2 {
  font-size: 2em;
  font-family: 'Avenir Next LT Pro' !important;
  text-transform: uppercase;
}

.mobile-agenda-block {
    width: 100%;
    text-align: left;
    background-color: #ffba51;
    position: relative;
    padding: 40px 10px 10px 10px;
    border-radius: 8px;
    font-family: 'Avenir regular';
    font-size: 14px;
    display: none !important;
}

#mobile-details{
    position: absolute;
    right: 20px;
    bottom: 14px;
}
.mobile-agenda-block::after {
    content: attr(data-day);
    position: absolute;
    text-align: center;
    font-weight: bold;
    font-family: 'Avenir Next LT Pro';
    font-size: .9em;
    right: 10px;
    top: 10px;
    color: #fff;
    width: 32px;
    height: 32px;
    line-height: 22px !important;
    border-radius: 18px;
    background-color: #00a1e0 !important;
    padding: 7px;
}
.mobile-agenda-block .openingstijden, .mobile-agenda-block .activiteiten, .mobile-agenda-block .meterbad, .mobile-agenda-block .buitenbad {
    position: relative;
    display: block;
    font-size: 14px;
    font-family: 'Avenir regular';
    color:black;
    line-height: 28px;
    max-width: 100%;
    height: 28px;
    padding-left: 34px;
    border: 0;
    background-color: #00000000;
    font-weight: normal;
}

.mobile-agenda-block .openingstijden-open::before, .mobile-agenda-block .activiteiten::before, .mobile-agenda-block .meterbad::before, .mobile-agenda-block .openingstijden-gesloten::before, .mobile-agenda-block .buitenbad::before{
    content: " ";
    position: absolute;
    background-position: center;
    background-size: cover;
    width: 22px;
    border-radius: 15px;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
}
.mobile-agenda-block .activiteiten::before{
    /*background-image: url('../assets/calendar.png');*/
    background-image: url("../assets/25-meter-bad.svg");
}

.mobile-agenda-block .openingstijden-open::before{
  background-image: url("../assets/klok-dagdeel-buiten.svg");
}


.mobile-agenda-block .openingstijd-gesloten::before{
  /*background-image: url("../assets/klok-dagdeel.svg");*/
}

.mobile-agenda-block .openingstijden-gesloten::before{
    /*background-image: url("../assets/klok-dagdeel-red.svg")!important;**/
}

.mobile-agenda-block .meterbad::before{
    background-image: url('../assets/25-meter-bad.svg');
    /*background-image: url("../assets/klok-dagdeel.svg");*/
}
.mobile-agenda-block .buitenbad::before {
    background-image: url("../assets/klok-dagdeel.svg");
}






    /*.fc-content-skeleton > table> tbody > tr > td.meterbad::before{
        background-image: url("../assets/25-meter-bad.svg");
        border-left:23px;
    }
    .fc-content-skeleton > table> tbody > tr > td.openingstijd::before{
        background-image: url("../assets/klok-dagdeel-buiten.svg");
    }

    .fc-content-skeleton > table> tbody > tr > td.openingstijdbuiten::before{
        background-image: url("../assets/klok-dagdeel.svg");
    }

    .fc-content-skeleton > table> tbody > tr > td.openingstijd-gesloten::before{
        background-image: url("../assets/klok-dagdeel-red.svg");
    }
    .fc-content-skeleton > table> tbody > tr > td.activiteiten::before{
        background-image: url("../assets/speciale-activiteiten.png");
    }*/






.fc-today-button {
    display:none;
}

.fc-prev-button {
    display:left;
}

.fc-next-button {
    float:right !important;
}

.fc-button {
  background-color: #fff;
}

@media screen and (min-width: 651px) {
    .mobile-agenda-block{
        display: none;
    }
    .fc-basic-view .fc-body .fc-row{

    }
    .fc-day-grid-event .fc-content {
        color:#fff;
        white-space: normal;
    }
    .fc-content-skeleton > table> thead > tr{
        height: 42px!important;
    }
    .fc-content-skeleton > table> thead > tr > td{
        height: 42px!important;
        position: relative;
    }

    .fc-content-skeleton > table> thead > tr > td > span{
        position: absolute;
        top: 6px;
        bottom: -6px;
        right: 8px;
        /*background-image: url("../assets/druppel-agenda.svg");*/
        background-color:#fff;
        background-position: center;
        background-size: 110%;
        color: #000;
        text-align: center;
        font-size: 12px!important;
        width: 27px !important;
        height:27px;
        line-height: 30px !important;
        border-radius: 30px!important;
        padding: 0 !important;
    }

    .fc-content-skeleton > table> thead > tr > td.fc-today > span{
        color: #000;
        /*background-image: url("../assets/druppel-agenda-blauw.svg")!important;*/

    }

    .fc-content-skeleton > table> tbody > tr{
        height: 26px!important;
    }

    .fc-content-skeleton > table> tbody > tr > td{
        height: auto!important;
        position: relative;
        vertical-align: middle;

    }

    .fc-content-skeleton > table> tbody > tr > td > a{
        background-color: transparent;
        border: 0;
        color: black;
        padding-left: 5px;
        padding-right: 5px;
        font-family: 'Avenir regular';
    }
    .fc-content-skeleton > table> tbody > tr > td > a {
        padding-left: 30px;
    }

    .fc-content-skeleton > table> tbody > tr > td::before{
        content: ' ';
        position: absolute;
        display: inline-block;
        width: 20px;
        height: 20px;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 20px;
        background-size: cover;
        background-position: center;
    }
    .fc-content-skeleton > table> tbody > tr > td.meterbad::before{
        background-image: url("../assets/25-meter-bad.svg");
        border-left:23px;
    }
    .fc-content-skeleton > table> tbody > tr > td.openingstijd::before{
        background-image: url("../assets/klok-dagdeel-buiten.svg");
    }

    .fc-content-skeleton > table> tbody > tr > td.openingstijdbuiten::before{
        background-image: url("../assets/klok-dagdeel-buiten.svg");
    }

    .fc-content-skeleton > table> tbody > tr > td.openingstijd-gesloten::before{
        background-image: url("../assets/klok-dagdeel-red.svg");
    }
    .fc-content-skeleton > table> tbody > tr > td.activiteiten::before{
        background-image: url("../assets/speciale-activiteiten.png");
    }
}

/*.fc-bg .fc-today {
  box-shadow: inset 0 0 0 5px #00abb5;
  transition: color 0.25s 0.0833333333s;
  position: relative;
} */


/*td .fc-today span {
  display:none !important;
}

td .fc-today {
  color:#ff