#timeDiv {
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  max-width: 360px;
  /* background: #000000; */
  width: 100%;
  /* margin: 2em auto; */
  top: 50%;
  /* padding: 10px; */
  /* border-radius: 3px;
  -webkit-box-shadow: 0 8px 16px -8px #adadad;
  -moz-box-shadow: 0 8px 16px -8px #adadad;
  box-shadow: 0 8px 16px -8px #adadad; */
  display: inline-block;
  vertical-align: top;
  font-weight: 600;
}
/* 
#timeDiv:before {
  content: "";
  position: absolute;
  top: -1.2em;
  right: 0;
  display: block;
  border-radius: 28px;
  background: rgba(0, 169, 94, 0.4);
  width: 56px;
  height: 56px;
} */

.open {
  color: #27ae60;
  /* border: 2px solid #27ae60; */
}
.open:before {
  content: "";
  position: absolute;
  top: -1.2em;
  right: 0;
  display: block;
  border-radius: 28px;
  background: rgba(0, 169, 94, 0.4);
  width: 56px;
  height: 56px;
}

.closed {
  color: rgba(231, 76, 60, 0.85);
  /* border: 2px solid rgba(231, 76, 60, 0.8); */
}

.closed:before {
  content: "";
  position: absolute;
  top: -1.2em;
  right: 0;
  display: block;
  border-radius: 28px;
  background: rgba(231, 76, 60, 0.4);
  width: 56px;
  height: 56px;
}

/* .viewOpen {
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  vertical-align: top;
  border: 2px solid rgba(70, 70, 70, 0.7);
  max-width: 170px;
  background: #fff;
  width: 100%;
  color: rgba(70, 70, 70, 0.8);
  margin: 0 auto;
  top: 50%;
  padding: 10px;
  border-radius: 3px;
  -webkit-box-shadow: 0 8px 16px -8px #adadad;
  -moz-box-shadow: 0 8px 16px -8px #adadad;
  box-shadow: 0 8px 16px -8px #adadad;
  cursor: pointer;
} */

#apeFooter .btnApe{
  max-width: 290px;
  width: 100%;
  display: inline-block;
  color: #031481;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 auto;
  top: 50%;
  vertical-align: top;
}

#apeFooter .btnApe:before {

  background: rgba(252, 130, 112, .5);
  /* z-index: -1; */
}

/* #apeFooter .btnApe:hover:before {
  background: #fc8270;
} */


#apeFooter .grid-container {
    padding-top:  2em;
    padding-right: 0rem;
    padding-left: 0rem;
}

.viewOpen i {
  color: rgba(70, 70, 70, 0.8);
}

@media all and (max-width: 600px) {
  #timeDiv {
    margin-bottom: 20px;
  }
}

@media all and (min-width: 601px) {
  #timeDiv {
    margin-right: 15px;
  }
}

.dateTime {
  max-width: 320px;
  margin: 0 auto;
}

.day {
  display: inline-block;
  float: left;
}

.time {
  display: inline-block;
  float: right;
}

.today {
  color: #fc8270;
  font-weight: 600;
}

@media all and (max-height: 420px) {
  #timeDiv, .viewOpen {
    top: 60%;
  }
}
/* view hours modal */

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(244, 249, 40, 0.7);
  display: none;
}

#time-modal-state {
  display: none;
}

#time-modal-state:checked + .modal-overlay {
  opacity: 1;
  animation: fade-in .4s;
  display: block;
}

.tm-modal {
  position: absolute;
  margin: 0 auto;
  padding: 30px 25px;
  background: #EBE8EE;
  right: 0;
  left: 0;
  text-align: center;
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  line-height: 1.8;
}



.tm-modal h2 {
  margin-top: 0;
  line-height: 25px;
  font-size: 22px;
  border-bottom: 1px solid #dce0d8;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-weight: 400;
}

@media all and (max-width: 470px) {
  .tm-modal {
    width: 75%;
  }
  .tm-modal h2{
    font-size: 20px;
  }
}

#time-modal-state:checked + .modal-overlay .tm-modal {
  top: 20%;
}

.modal-overlay-close {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.button-close {
  text-decoration: none;
  position: absolute;
  color: #fff;
  background: #464646;
  padding: 0px 7px;
  font-weight: bold;
  top: 0px;
  right: 0;
  cursor: pointer
}