.events-tab ul{
   border: none;
   padding-top: 40px;
   padding-bottom: 30px;
}

.events-tab.tabs li a{
   padding: 0;
   opacity: 0.4;
   display: inline-block;
   text-align: center;
   font-weight: bold;
   margin-right: 30px;
   padding-bottom: 4px;
   border-bottom: 4px solid #001a65;
}

.events-tab.tabs li a:hover{
   opacity: 1;
   color: #ffffff;
   padding-bottom: 4px;
   border-bottom: 4px solid #cc8600;
}

.events-tab.tabs li.is-active a{
   opacity: 1;
   color: #ffffff;
   border-bottom: 4px solid #cc8600;
}

.events-tab.tabs li a span{
   font-size: 36px;
   line-height: 36px;
   margin-bottom: 6px;
   display: block;
}
.events-tab.tabs li a span.months-desktop{
   font-size: 15px;
   line-height: 15px;
   font-weight: normal;
}

.events-tab.tabs li a span.months-mobile{
   display: none;
}

@media screen and (max-width: 767px) {
   .events-tab.tabs li{
      display: inline-block;
   }
   .events-tab.tabs li a span{
      font-size: 20px;
      line-height: 20px;
      margin-bottom: 6px;
   }
   .events-tab.tabs li a span.months-desktop{
      display: none;
   }
   .events-tab.tabs li a span.months-mobile{
      display: block;
      font-weight: 300;
   }
}

.hour-row{
   position: relative;
   display: flex;
   flex-wrap: wrap;
   margin-left: 50px;
   border-left: 1px solid #ffffff;
   margin-bottom: 20px;
   padding-left: 10px;
}

.hour-row.hide{
   display: none;
}

.hour-row .label{
   color: #ffffff;
   position: absolute;
   left: -50px;
   font-size: 14px;
   font-weight: 300;
}
.event-box{
   display: inline-block;
   width: calc(20% - 20px);
   background-color: #002794;
   padding: 20px;
   margin: 0 10px;
   cursor: pointer;
}

.event-box:hover{
   background-color: #0130B4;
}


.event-box.top-spacing{
   margin-top: 20px;
}

.event-box.service{
   background-color: #011F6F;
}

.event-box.service:hover{
   background-color: #022380;
}

.event-box .title{
   font-size: 17px;
   font-weight: 600;
   color: #ffffff;
}

.event-box .subtitle{
   margin-top: -10px !important;
   font-size: 14px;
   font-weight: 300;
   color: #ffffff;
}

.event-box ul li{
   color: #CD8502;
   font-size: 14px;
   margin-bottom: 8px;
   font-weight: 600;
}

.event-box .event-info {
   display: none;
}

.event-modal{
   display: none;
   position: fixed;
   width: 800px;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background-color: #ffffff;
   color: #01154d;
   z-index: 99;
   overflow: hidden;
}

.event-modal .header{
   height: 100%;
   width: 200px;
   display: inline-block;
   background-color: #002694;
   z-index: -1;

}

.event-modal .header-bg{
   position: absolute;
   width: 200px;
   height: 101%;
   left: 0;
   top: 0;
   background-color: #002694;
}

.event-modal .header .content{
   z-index: 13;
   position: absolute;
   width: 200px;
   left: 0;
   top: 0;
   padding: 20px;
}

.event-modal .header .content ul{
   list-style: none;
   margin: 0;
   padding-top: 20px;
}

.event-modal .header .content li{
   color: #CD8502;
   font-weight: 600;
   margin-bottom: 6px;
   font-size: 14px;
}

.event-modal .body{
   width: calc(100% - 205px);
   display: inline-block;
   background-color: #ffffff;
   padding: 25px;
}

.event-modal .body .event-title{
   font-family: "Playfair Display",serif;
   color: #01154d;
   font-size: 2rem;
   line-height: 2rem;
   margin-bottom: 16px;
   font-weight: 600;
   margin-top: 10px;
}

.event-modal strong{
   color: #01154d;
}

.event-modal ol{
   list-style: none;
   margin-bottom: 20px;
}

.event-modal .body .event-subtitle{
   font-family: "Playfair Display",serif;
   color: #01154d;
   font-size: 1.6rem;
   line-height: 1.6rem;
   margin-bottom: 16px;
   font-weight: 600;
}

.event-modal .body p{
   font-size: 14px;
}

.event-modal .close-event-modal{
   color: #01154d;
   position: absolute;
   right: 10px;
   top: 2px;
   font-size: 22px;
   padding: 0;
}

.event-modal .close-event-modal::before{
   content: "\f00d";
   display: inline-block;
   font-family:"FontAwesome";
   font-size: inherit;
   text-rendering: auto;
   -webkit-font-smoothing: antialiased;
}

.cd-schedule .cover-layer {
   position: fixed;
   z-index: 10;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   background: rgba(0, 0, 0, 0.8);
   opacity: 0;
   visibility: hidden;
   -webkit-transition: opacity .4s, visibility .4s;
   transition: opacity .4s, visibility .4s;
}

.cd-schedule .cover-layer.show {
   opacity: 1;
   visibility: visible;
}

@media screen and (max-width: 767px) {
   .hour-row{
      position: relative;
      display: block;
      border-top: 1px solid #ffffff;
      border-left: none;
      margin-left: 0;
      padding-left: 0;
      padding-top: 10px;
      margin-top: 50px;
   }

   .hour-row.hide{
      display: none;
   }

   .hour-row .label{
      top: -34px;
      left: 0;
      font-size: 17px;
      font-weight: normal;
   }
   .event-box{
      width: 100%;
      margin: 10px 0;
   }
   .top-spacing{
      margin-top: 10px;
   }

   .event-modal{
      width: 100%;
   }

   .event-modal .header{
      width: 100%;
      background-color: #002694;
   }
   .event-modal .header .content{
      width: 100%;
      position: relative;
   }
   .event-modal .header-bg{
      display: none;
   }
   .event-modal .body{
      width: 100%;
   }
   .event-modal .close-event-modal{
      color: #ffffff;
      z-index: 99;
   }
}

@media screen and (min-width: 767px)  and (max-width: 1023px) {
   .event-box{
      width: calc(33% - 20px);
   }
   .event-box:nth-child(5), .event-box:nth-child(6){
      margin-top: 20px;
   }
   .event-modal{
      width: 80%;
   }
}

@media screen and (min-width: 1023px) and (max-width: 1281px) {
   .event-box{
      width: calc(25% - 20px);
   }
   .event-box:nth-child(6){
      margin-top: 20px;
   }
}
