:root {
  --primary-clr: #ce2e21;
}
@font-face {
 
  font-family: OpenSans-Regular;
  src: url(fonts/OpenSans/OpenSans-Regular.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: OpenSans-Regular;}
/* nice scroll bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-clr);
  border-radius: 50px;
}


.left {
  /* width: 60%; */
  /* padding: 20px; */
}
.calendar {
  position: relative;
  width: 100%;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #878895;
  border-radius: 5px;
  background-color: transparent;
  margin: 0 auto;
}
/* set after behind the main element */
.calendar::before,
.calendar::after {
  /* content: ""; */
  position: absolute;
  top: 50%;
  left: 100%;
  width: 12px;
  height: 97%;
  border-radius: 0 5px 5px 0;
  background-color: #d3d4d6d7;
  transform: translateY(-50%);
}
.calendar::before {
  height: 94%;
  left: calc(100% + 12px);
  background-color: rgb(153, 153, 153);
}
.calendar .month {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: capitalize;
}
.calendar .month .date {
    padding:0 2rem;
    text-transform: uppercase;
    font-family: TevaSans-Light;
}
.calendar .month .prev,
.calendar .month .next {
  cursor: pointer;
}
.calendar .month .prev:hover,
.calendar .month .next:hover {
  color: var(--primary-clr);
}
.calendar .weekdays {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize;
}
.weekdays div {
  width: 14.28%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar .days {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0px 4px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0px;
}
.calendar .days .day {
  width: 14.28%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #343747;
  border: none;
}
.calendar .days .day:nth-child(7n + 1) {
  border-top: none;
}
.calendar .days .day:nth-child(7n) {
   border-top: none;
}
.calendar .days .day:nth-child(-n + 7) {
  border-top: none;
}
.calendar .days .day:nth-child(n + 29) {
  border-top: none;
}

.calendar .days .day:not(.prev-date, .next-date):hover {
  color: #fff;
  background-color: #36393b;
}
.calendar .days .prev-date,
.calendar .days .next-date {
  color: #b3b3b3;
  opacity: 0;
}
.calendar .days .active {
  position: relative;
  font-size: 1.52rem;
  color: #fff;
  background-color: #393c3e;
}
.calendar .days .active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* box-shadow: 0 0 10px 2px var(--primary-clr); */
}
.calendar .days .today {
  /* font-size: 2rem; */
}
.calendar .days .event {
  position: relative;
}
.calendar .days .event::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 50%;
  padding-top: 2px;
  width: 75%;
  height: 5px;
  border-radius: 30px;
  transform: translateX(-50%);
  background-color: #393c3e;
}
.calendar .days .day:hover.event::after {
  background-color: #fff;
}
.calendar .days .active.event::after {
  background-color: #cd2f30;
  bottom: 13%;
}
.calendar .days .active.event {
  padding-bottom: 10px;
}
.event { 

}

.event .title { 

}

.event .title .img-event {

max-width: 100px;
}

.event .title .img-event img {

width: 100%;
}

.event .title .event-title {width: 100%;}

.event .btn-event {background: #D02927;width: auto;padding: 3px 24px;border-radius: 20px;float: left;position: relative;margin: 0 auto;text-align: center;margin-left: 1rem;}

.event .btn-event a {

text-decoration: none;

color: white;
}

.event .btn-event a .text-event { 

}
.calendar .goto-today {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--primary-clr);
}
.calendar .goto-today .goto {
  display: flex;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--primary-clr);
}
.calendar .goto-today .goto input {
  width: 100%;
  height: 30px;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0 20px;
  color: var(--primary-clr);
  border-radius: 5px;
}
.calendar .goto-today button {
  padding: 5px 10px;
  border: 1px solid var(--primary-clr);
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  color: var(--primary-clr);
}
.calendar .goto-today button:hover {
  color: #fff;
  background-color: var(--primary-clr);
}
.calendar .goto-today .goto button {
  border: none;
  border-left: 1px solid var(--primary-clr);
  border-radius: 0;
}
.container .right {
  /* position: relative; */
  /* width: 40%; */
  /* min-height: 100%; */
  /* padding: 20px 0; */
  /* max-height: 366px; */
  /* padding-bottom: 27rem; */
  /* overflow: scroll; */
}

.right .today-date {
  color: white!important;
  width: 100%;
  height: auto;
  display: flex;
  margin-top: -10px;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 1;
  background: #D02927;
  justify-content: space-between;
  padding: 0 40px;
  padding-left: 70px;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.right .today-date .event-day {
  font-size: 1.25rem;
  font-weight: 500;
}
.right .today-date .event-date {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
}
.events {
  width: 100%;
  height: 100%;
  /* max-height: 600px; */
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-left: 4px;
  max-height: 25rem;
  height: 20vw;
  /* margin-top: 2rem; */
  overflow: scroll;
  /* direction: ltr; */
  overflow-x: hidden;
  position: relative;
  margin-bottom: 3rem;
}
.right{/* margin-left:25px; *//* background:white; *//* margin-top:25px; *//* max-height: 430px; *//* height: 46vw; */min-height: 330px;/* padding: 25px; */}

.left{/* margin-right:25px; */background: #fff;max-height: 430px;/* height: 36vw; *//* min-height: 330px; *//* max-height: 50.5rem; *//* height: 17vw; *//* min-height: 330px; */margin-bottom: 1rem;margin-top: 25px;padding: 12px;border-radius: 2rem;margin-top: 2rem;}
.events{

}
.events::-webkit-scrollbar {
  width: 12px;
}

.events::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgb(57 60 62); 
  background:rgb(127 127 127);
padding:5px;
  border-radius: 10px;
}

.events::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background:#E6E7E7;
  padding:5px;
  -webkit-box-shadow: inset 0 0 6px #E6E7E7; 
}

.events .event {
  position: relative;
  width: 95%;
  height: auto;
  display: flex;
  /* justify-content: center; */
  flex-direction: column;
  gap: 5px;
  padding: 0px 14px;
  padding-left: 0;
  color: #fff;
  /* background: linear-gradient(90deg, #3f4458, transparent); */
  cursor: pointer;
  margin-bottom: 1rem;
  margin-top: 0rem;
  direction: ltr;
}
/* even event */
.events .event:nth-child(even) {
  background: transparent;
}
.events .event:hover {
  /* background: linear-gradient(90deg, var(--primary-clr), transparent); */
}
.events .event .title {
  display: flex;
  align-items: start;
  /* pointer-events: none; */
  width: 100%;
  line-height: 1;
  min-height: 75px;
  padding-left: 2rem;
}
.events .event .title:before {content:'•';color: #ffffff;}
.events .event .title .event-title h3 {
  font-weight: 500;
  font-size: 1rem;
  margin-left: 23px;
  color: #ffffff;
  font-family: OpenSans-Regular;
}
.events .event i {
  color: var(--primary-clr);
  font-size: 0.5rem;
}
.events .event:hover i {
  color: #fff;
}
.events .event .event-time {
  font-size: 0.8rem;
  font-weight: 400;
  color: #878895;
  margin-left: 15px;
  pointer-events: none;
}
.events .event:hover .event-time {
  color: #fff;
}
/* add tick in event after */
.events .event::after {
  content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“";
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 3rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  color: var(--primary-clr);
  transform: translateY(-50%);
}
.events .event:hover::after {
  /* display: flex; */
}
.add-event {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #878895;
  border: 2px solid #878895;
  opacity: 0.5;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
}
.add-event:hover {
  opacity: 1;
}
.add-event i {
  pointer-events: none;
}
.events .no-event {
  width: 100%;
  /* height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #878895;min-height: 50px;
}
.add-event-wrapper {
  position: absolute;
  bottom: 100px;
  left: 50%;
  width: 90%;
  max-height: 0;
  overflow: hidden;
  border-radius: 5px;
  background-color: #fff;
  transform: translateX(-50%);
  transition: max-height 0.5s ease;

}
.add-event-wrapper.active {
  max-height: 300px;
}
.add-event-header {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #373c4f;
  border-bottom: 1px solid #f5f5f5;
}
.add-event-header .close {
  font-size: 1.5rem;
  cursor: pointer;
}
.add-event-header .close:hover {
  color: var(--primary-clr);
}
.add-event-header .title {
  font-size: 1.2rem;
  font-weight: 500;
}
.add-event-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
}
.add-event-body .add-event-input {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.add-event-body .add-event-input input {
  width: 100%;
  height: 100%;
  outline: none;
  border: none;
  border-bottom: 1px solid #f5f5f5;
  padding: 0 10px;
  font-size: 1rem;
  font-weight: 400;
  color: #373c4f;
}
.add-event-body .add-event-input input::placeholder {
  color: #a5a5a5;
}
.add-event-body .add-event-input input:focus {
  border-bottom: 1px solid var(--primary-clr);
}
.add-event-body .add-event-input input:focus::placeholder {
  color: var(--primary-clr);
}
.add-event-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.add-event-footer .add-event-btn {
  height: 40px;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  border: none;
  color: #fff;
  background-color: var(--primary-clr);
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid var(--primary-clr);
}
.add-event-footer .add-event-btn:hover {
  background-color: transparent;
  color: var(--primary-clr);
}

/* media queries */
.video-first { 

}

.video-first .title-video {line-height: 1.5;max-width: 90%;text-align: center;margin: 0 auto;font-size: 1.5rem;font-weight: 500;margin-bottom: 1rem;min-height: 3rem;}

.video-first .embed-responsive {

/* border-radius: 50px; */

text-align: center;
}

.video-first .embed-responsive iframe {

border-radius: 50px;

width: 96%;

height: 236px;

/* min-height: 150px; */

margin: 0 auto;

/* max-height: 230px; */
}

.video-first p {

text-align: center;

margin-top: 0.5rem;

margin-bottom: -0.5rem;
}
.pdf-first {display: flex;flex-direction: column;justify-content: space-between;height: 100%;}

.pdf-first .title-pdf {max-width: 90%;text-align: center;margin: 0 auto;font-size: 1.5rem;/* margin-bottom: 1rem; */min-height: 3rem;font-weight: 500;line-height: 1.5;}

.pdf-first  a{color: #000000;text-align: center;display: flex;flex-direction: row;text-decoration: none;}

.pdf-first  .pdf-info {position: relative;height: auto;max-height: 243px;margin-top: 1rem;display: flex;flex-direction: column;justify-content: space-between;min-height: 315px;align-items: center;}

.pdf-first  .pdf-info img {position: relative;/* left: 7%; */min-height: 211px;height: 213px;width: auto;margin: 0 auto;/*! margin-bottom: 1rem; */}
  .pdf-first  .pdf-info img:nth-child(2){position: relative;height: 4vw;max-height: 40px;left: auto;width: auto;margin: 0 auto;margin-left: 10px;margin-top: 10px;min-height: auto;}
.pdf-first  .pdf-info h4 {z-index: 999;position: relative;width: 100%;right: 0;text-align: left;line-height: 1.5;background: #D02927;width: auto;padding: 3px 24px;border-radius: 20px;float: left;position: relative;margin: 0 auto;margin-left: auto;margin-left: auto;text-align: center;margin-left: auto;color: white;text-decoration: none;}

@media screen and (max-width: 1000px) {
  body {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .container {
    /* min-height: 100vh; */
    flex-direction: column;
    padding:0;
    border-radius: 0;
  }
  .container .left {
    width: 90%;
    /* height: 100%; */
    /* padding: 20px 0; */
    margin: 0;
    margin-top: 20px;
    margin-bottom: 10px;
    max-height: max-content;
    height: auto;
    min-height: auto;
    margin: 0 auto;
    margin-bottom: 2rem;
  }
  .container .right {
    /* width: 100%; */
    /* height: 100%; */
    /* padding: 20px 0; */
    margin: 0;
    margin-top: 20px;
    margin-bottom: 10px;
    height: auto;
    min-height: auto;
    height: auto;
    /* padding-bottom: 27rem; */
  }
  .calendar::before,
  .calendar::after {
    top: 100%;
    left: 50%;
    width: 97%;
    height: 12px;
    border-radius: 0 0 5px 5px;
    transform: translateX(-50%);
  }
  .calendar::before {
    width: 94%;
    top: calc(100% + 12px);
  }
  .events {
    padding-bottom: 74px;
    min-height: 250px;
  }
  .add-event-wrapper {
    bottom: 100px;
  }
}

@media screen and (max-width: 992px) {
  .events .event {
  position: relative;
  width: 95%;
  /* min-height: 70px; */
  height: auto;
  display: flex;
  /* justify-content: center; */
  flex-direction: column;
  gap: 5px;
  padding: 0px 14px;
  padding-left: 0;
  color: #fff;
  /* background: linear-gradient(90deg, #3f4458, transparent); */
  cursor: pointer;
  margin-bottom: 1rem;
  margin-top: 1rem;
  min-height: auto;
  direction: ltr;
}
   .video-first { 

}

.video-first .title-video {max-width: 90%;text-align: center;margin: 0 auto;font-size: 1.25rem;/* font-weight: bolder; */margin-bottom: 1rem;/* min-height: 3rem; */}

.video-first .embed-responsive {

/* border-radius: 50px; */

text-align: center;
}
 .right .today-date .event-day {
  font-size: 1rem;
  font-weight: 500;
}
.right .today-date .event-date {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
}
.video-first .embed-responsive iframe {
border-radius: 50px;
width: 96%;
height: 33vw;
margin: 0 auto;
}

.video-first p {
text-align: center;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
.pdf-first { 

}

.pdf-first .title-pdf {max-width: 90%;text-align: center;margin: 0 auto;font-size: 1.25rem;/* margin-bottom: 1rem; */min-height: 3rem;/* font-weight: bolder; */}

.pdf-first a { 

}

.pdf-first  .pdf-info {position: relative;/*! height: 110vw; */max-height: 100%;margin-top: 0rem;flex-direction: column;/*! display: flex; */min-height: 1;}

.pdf-first  .pdf-info img {/*! position: absolute; *//*! left: 7%; *//*! height: auto; */width: 100%;/*! left: 25%; *//*! bottom: 4%; *//*! min-height: unset; *//*! max-width: 250px; *//*! width: 50%; *//*! margin: 0 auto; *//*! right: auto; */}
  .pdf-first  .pdf-info img:nth-child(2){position: absolute;right: 38%;height: 2.5vw;max-height: 40px;left: auto;width: auto;bottom: 9%;min-height: 10vw;}
.pdf-first  .pdf-info h4 {z-index: 999;position: relative;width: 50%;/*! right: 0; *//*! bottom: 39%; *//*! font-size: 4vw; */line-height: 1.5;background: #D02927;width: auto;padding: 3px 24px;border-radius: 20px;/*! float: left; *//*! position: relative; *//*! margin: 0 auto; *//*! margin-left: auto; *//*! margin-left: auto; */text-align: center;/*! margin-left: auto; */color: white;text-decoration: none;}

  .calendar .month {
    height: 75px;
  }
  .calendar .weekdays {
    height: 50px;
  }
  .calendar .days .day {
    height: 40px;
    font-size: 0.8rem;
  }
  .calendar .days .day.active,
  .calendar .days .day.today {
    font-size: 1rem;
  }
  .right .today-date {
    padding: 11px;
  }
}
.event .title .img-event {
  max-width: 75px;
  min-width: 110px;
}
.credits {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: #fff;
  background-color: #b38add;
}
.credits a {
  text-decoration: none;
  font-weight: 600;
}
.credits a:hover {
  text-decoration: underline;
}

@media (max-width:991px){
  .calendar {

  width: 90%;

  margin: 0 auto;
}
}