#calendar {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  width: 339px;
  margin: 0px auto;
  height: auto;
  overflow: hidden;
  box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2),0 2px 4px 0 rgba(0, 0, 0, 0.1),inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

@media screen and (max-width: 991px) and (min-width: 770px) {
  .container, .container-md, .container-sm {
    max-width: 850px;
    padding-right: 5px;
    padding-left: 5px;
  }
}

.card-text {
  color: #555;
}

@media (max-width: 768px) {
  .even-comming {
    margin-bottom: 23px;
  }
}

#events {
  padding: 1px 10px 55px 10px;
  /*background-image: url("../../assets/img/alqq.png");*/
  /*background-color: #61cafe;*/
}

#events h3 {
  padding-bottom: 50px;
  padding-top: 45px;
  color: #134f8e;
  font-family: 'Bad Script';
}

#events h3 {
  font-family: sans-serif;
  font-weight: bold;
  color: #ffffff;
  background-color: #214260;
  margin: 0;
  padding: 7px 15px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

#events > span {
  display: block;
  font-size: 24px;
  text-align: center;
  padding-bottom: 27px;
  padding-top: 55px;
  color: #314f6b;
  font-family: 'Bungee';
}

.even-comming {
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(14,63,126,0.06) 10%, rgba(0,212,255,0) 95%);
  border: none;
  margin-bottom: 12px;
}

.even_bod {
  padding: 35px;
}

.even_bod h6 {
  font-size: 20px;
  font-weight: 700;
}

.even_bod li {
  font-size: 12.5px;
  padding: 3px 15px;
  border-radius: 17px;
  background: rgb(170,197,220);
  color: #214260;
  font-weight: 700;
  margin: 3px;
}

.even_bod ul {
  margin-top: 20px;
}

.upcoming_events {
  display: flex;
  align-items: center;
  box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px;
  margin: 10px 0;
}

.upcoming_events .date {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background: #214260;
  padding: 7px;
  color: #dddddd;
}

.date h4 {
  font-size: medium;
}

.event_info {
  padding: 0 15px;
}

@media (max-width: 768px) {
  #events .upcomin {
    padding: 0 10px!important;
  }
}

#events .upcomin {
  padding: 0 35px;
}

.upcomin button:hover {
  font-weight: 500;
  border: 1px dashed #000000;
}

.upcomin button {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.event_foot {
  padding: 15px 3px;
  border-bottom: 1px solid #dddddd;
}

#calendar {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  width: 339px;
  margin: 0px auto;
  height: auto;
  overflow: hidden;
  box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2),0 2px 4px 0 rgba(0, 0, 0, 0.1),inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

.header {
  height: 50px;
  width: 339px;
  background: #214260;
  color: #ffffff;
  font-family: 'Abel';
  text-align: center;
  position: relative;
  z-index: 100;
}

.header h1 {
  margin: 0;
  padding: 0;
  font-size: 21px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

.left, .right {
  position: absolute;
  width: 0px;
  height: 0px;
  border-style: solid;
  top: 50%;
  margin-top: -7.5px;
  cursor: pointer;
}

.left {
  border-width: 7.9px 15px 7.9px 0;
  border-color: transparent #56c3fc transparent transparent;
  left: 20px;
}

.right {
  border-width: 7.9px 0 7.9px 15px;
  border-color: transparent transparent transparent #56c3fc;
  right: 20px;
}

.left:hover {
  border-color: transparent #e4007b transparent transparent;
}

.right:hover {
  border-color: transparent transparent transparent #e4007b;
}

.month {
  /*overflow: hidden;*/
  opacity: 0;
}

.month.new {
  animation: fadeIn 1s ease-out;
  opacity: 1;
}

.month.in.next {
  -webkit-animation: moveFromTopFadeMonth .4s ease-out;
  -moz-animation: moveFromTopFadeMonth .4s ease-out;
  animation: moveFromTopFadeMonth .4s ease-out;
  opacity: 1;
}

.month.out.next {
  -webkit-animation: moveToTopFadeMonth .4s ease-in;
  -moz-animation: moveToTopFadeMonth .4s ease-in;
  animation: moveToTopFadeMonth .4s ease-in;
  opacity: 1;
}

.month.in.prev {
  -webkit-animation: moveFromBottomFadeMonth .4s ease-out;
  -moz-animation: moveFromBottomFadeMonth .4s ease-out;
  animation: moveFromBottomFadeMonth .4s ease-out;
  opacity: 1;
}

.month.out.prev {
  -webkit-animation: moveToBottomFadeMonth .4s ease-in;
  -moz-animation: moveToBottomFadeMonth .4s ease-in;
  animation: moveToBottomFadeMonth .4s ease-in;
  opacity: 1;
}

.week {
  background: rgba(255, 255, 255, 1);
}

.day {
  display: inline-block;
  width: 47px;
  padding: 0px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  background: rgba(255, 255, 255, 1);
  color: #214260;
  position: relative;
  z-index: 100;
}

.day.other {
  color: #f96b07;
}

.day.today {
  color: #214260;
  background-color: #ffea80;
  border-radius: 9px;
  width: 53px;
  height: 53px;
  border: 3px dotted #56c3fc;
}

.day-name {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 1px;
  color: #00386b;
  letter-spacing: .7px;
}

.day-number {
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 600;
}

.day .day-events {
  list-style: none;
  margin-top: 3px;
  text-align: center;
  height: 10px;
  line-height: 6px;
  overflow: hidden;
}

.day .day-events span {
  vertical-align: top;
  display: inline-block;
  padding: 0;
  margin: 0;
  width: 17px;
  height: 5px;
  line-height: 5px;
  margin: 0 1px;
}

.blue {
  background: #0097e6;
}

.orange {
  background: rgb(247,133,0);
}

.green {
  background: #17e33d;
}

.yellow {
  background: rgba(249, 233, 0, 1);
}

.details {
  position: relative;
  width: 337px;
  height: 57px;
  background: #fff3b5;
  color: #214260;
  margin: 5px auto 0px auto;
  border-radius: 12px;
  border: 1px solid rgba(33,66,96,0.31);
}

.details.in {
  -webkit-animation: moveFromTopFade .5s ease both;
  -moz-animation: moveFromTopFade .5s ease both;
  animation: moveFromTopFade .5s ease both;
}

.details.out {
  -webkit-animation: moveToTopFade .5s ease both;
  -moz-animation: moveToTopFade .5s ease both;
  animation: moveToTopFade .5s ease both;
}

.arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -7px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent rgba(164, 164, 164, 1) transparent;
  transition: all 0.7s ease;
}

.events {
  height: 75px;
  overflow-y: auto;
  overflow-x: hidden;
}

.events.in {
  -webkit-animation: fadeIn .3s ease both;
  -moz-animation: fadeIn .3s ease both;
  animation: fadeIn .3s ease both;
}

.events.in {
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  animation-delay: .3s;
}

.details.out .events {
  -webkit-animation: fadeOutShrink .4s ease both;
  -moz-animation: fadeOutShink .4s ease both;
  animation: fadeOutShink .4s ease both;
}

.events.out {
  -webkit-animation: fadeOut .3s ease both;
  -moz-animation: fadeOut .3s ease both;
  animation: fadeOut .3s ease both;
}

.event {
  font-size: 14px;
  line-height: 13px;
  letter-spacing: .2px;
  padding: 2px 5px;
  vertical-align: top;
}

.event.empty {
  color: #214260;
}

.event-category {
  height: 5px;
  width: 25px;
  display: inline-block;
  margin: 0px 0 0;
  vertical-align: top;
}

.event span {
  display: inline-block;
  padding: 0 0 0 7px;
}

.legend {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  background: rgba(255, 255, 255, 1);
  line-height: 30px;
  color: #000;
}

.entry {
  position: relative;
  padding: 0 0 0 25px;
  font-size: 13px;
  display: inline-block;
  line-height: 30px;
  background: transparent;
}

.entry:after {
  position: absolute;
  content: '';
  height: 5px;
  width: 5px;
  top: 12px;
  left: 14px;
}

.entry.blue:after {
  background: rgba(156, 202, 235, 1);
}

.entry.orange:after {
  background: rgba(247, 167, 0, 1);
}

.entry.green:after {
  background: rgba(153, 198, 109, 1);
}

.entry.yellow:after {
  background: rgba(249, 233, 0, 1);
}

/* Animations are cool! */

@keyframes moveFromTopFade {
  from {
    height: 0px;
    margin-top: 0px;
    transform: translateY(-100%);
  }
}

@keyframes moveToTopFade {
  to {
    height: 0px;
    transform: translateY(-100%);
  }
}

@keyframes moveToTopFadeMonth {
  to {
    opacity: 0;
    -moz-transform: translateY(-30%);
  }
}

@keyframes moveFromTopFadeMonth {
  from {
    opacity: 0;
    -moz-transform: translateY(30%);
  }
}

@keyframes moveToBottomFadeMonth {
  to {
    opacity: 0;
    -webkit-transform: translateY(30%);
  }
}

@keyframes moveFromBottomFadeMonth {
  from {
    opacity: 0;
    -webkit-transform: translateY(-30%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes fadeOutShink {
  to {
    opacity: 0;
    padding: 0px;
    height: 0px;
  }
}

.event_wrap {
  padding: 10px;
  margin: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.event_wrap p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event_wrap img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.event_wrap .ev-link {
  text-decoration: none;
  color: #fff;
  background: #314f6b;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 5px;
  width: fit-content;
}

.event_yr {
  font-size: 10px!important;
  font-weight: normal!important;
}

