:root {
    --main-bg-color: #fff;
    --main-text-color: #888888;
    --primary-clr: #0e8a00;
  }
  [data-theme="dark"] {
    --main-bg-color: #1e1f26;
    --main-text-color: #ccc;
  }
  * {
    box-sizing: border-box;
    /*transition: all ease 0.2s; */
    font-family: "Lato", Arial, Helvetica, sans-serif;
  }

 @font-face {
  font-family: 'glyphicons-halflings';
  src: 
  url('../fonts/FontIcon.woff') format('truetype');
}



 @font-face {
  font-family: 'Lato';
  src: 
  url('../fonts/Lato-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: bold;
}


body{
  background: #e6e6e6;
}

header{
    background: url('../imgs/header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    height: 169px;
}

.mainContentWrap{
    position: relative;
}

.topWrapper .container, 
.bottomWrapper .container {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
    min-height: 300px;
}


.panel-style.panel {
    background-color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.panel-style {
    display: inline-block;
    width: 100%;
}


.panel-style > .panel-heading {
    background-color: #28a711;
    border-radius: 0;
    border: 0;
    text-align: center;
}



.panel-style .panel-heading {
    width: 150px;
    margin: 0;
    padding: 37px 20px;
    font-weight: bold !important;
    border-radius: 0 4px 4px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.66);
    color: #fff !important;
    float: right;
    border-radius: 7px;
}


.title_date_now{
  display: flex;
  justify-content: center;
  align-items: center;
}


/* /////////////////////////////////////////  */ 

.clock {
    min-height: 18em;
    min-width: 18em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-bg-color);
    background-image: url("../imgs/clock8.png");
    background-position: center center;
    background-size: cover;
    border-radius: 50%;
    border: 4px solid var(--main-bg-color);
    /* box-shadow: 0 -15px 15px rgba(255, 255, 255, 0.05),
      inset 0 -15px 15px rgba(255, 255, 255, 0.05), 0 15px 15px rgba(0, 0, 0, 0.3),
      inset 0 15px 15px rgba(0, 0, 0, 0.3); */
    transition: all ease 0.2s;
    margin: 50px;
  }
  .clock:before {
    content: "";
    height: 0.75rem;
    width: 0.75rem;
    background-color: #000;
    border: 2px solid var(--main-bg-color);
    position: absolute;
    border-radius: 50%;
    z-index: 1000;
    transition: all ease 0.2s;
  }
  .hour,
  .min,
  .sec {
    position: absolute;
    display: flex;
    justify-content: center;
    border-radius: 50%;
  }
  .hour {
    height: 9em;
    width: 9em;
  }
  .hour:before {
    content: "";
    position: absolute;
    height: 50%;
    width: 6px;
    background-color: #555;
    border-radius: 6px;
  }
  .min {
    height: 10em;
    width: 10em;
  }
  .min:before {
    content: "";
    height: 50%;
    width: 4px;
    background-color: #555;
    border-radius: 4px;
  }
  .sec {
    height: 10em;
    width: 10em;
  }
  .sec:before {
    content: "";
    height: 60%;
    width: 2px;
    background-color: #f00;
    border-radius: 2px;
  }
  /* Style for theme switch btn */
  .switch-cont {
    margin: 2em auto;
    /* position: absolute; */
    bottom: 0;
  }
  

/* ///////////////////////////////////////////  */ 


.box_info_sum{
  background-color: #28a711;
  border-radius: 7px;
}




/* ///////////////////////////////////////////////////  */


.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: #fff;

  padding: 15px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .12), 0 1px 4px rgba(0, 0, 0, .24);

}
/* 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: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: capitalize;
  padding: 0;
}
.calendar .month .prev,
.calendar .month .next {
  cursor: pointer;
  color: #ff5722;
  font-weight: 600;
}
.calendar .month .prev:hover,
.calendar .month .next:hover {
  color: var(--primary-clr);
}
.calendar .weekdays {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 20px; */
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize;
  background: #555 !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 7px;
}

.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: 0 0px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.calendar .days .day {
  width: 14.28%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: black;
  /* border: 1px solid #f5f5f5; */
  font-family: "Lato", arial;
  font-size: 15px;
  font-weight: 600;
}
.calendar .days .day:nth-child(7n + 1) {
  /* border-left: 2px solid #f5f5f5; */
}
.calendar .days .day:nth-child(7n) {
  /* border-right: 2px solid #f5f5f5; */
}
.calendar .days .day:nth-child(-n + 7) {
  /* border-top: 2px solid #f5f5f5; */
}
.calendar .days .day:nth-child(n + 29) {
  /* border-bottom: 2px solid #f5f5f5; */
}

.calendar .days .day:not(.prev-date, .next-date):hover {
  color: #000;
  background-color: transparent;
}
.calendar .days .prev-date,
.calendar .days .next-date {
  color: #b3b3b3;
}
.calendar .days .active {
  position: relative;
  font-size: 1.5rem;
  color: #000;
  background-color: transparent;
  border: 1px solid var(--primary-clr);
  border-radius: 6px;
}
.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: 1.5rem;
  font-weight: 600;
}
.calendar .days .event {
  position: relative;
}
.calendar .days .event::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 75%;
  height: 6px;
  border-radius: 30px;
  transform: translateX(-50%);
  background-color: var(--primary-clr);
}
.calendar .days .day:hover.event::after {
  background-color: #fff;
}
.calendar .days .active.event::after {
  background-color: #fff;
  bottom: 20%;
}
.calendar .days .active.event {
  padding-bottom: 10px;
}
.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;
  position: relative;
  width: 60%;
  min-height: 100%;
  padding: 20px 30px;
}

.right .today-date {
  width: 100%;
  height: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  padding-left: 70px;
  margin-top: 50px;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.right .today-date .event-day {
  font-size: 2rem;
  font-weight: 500;
}
.right .today-date .event-date {
  font-size: 1rem;
  font-weight: 400;
  color: #878895;
}
.events {
  width: 100%;
  height: 100%;
  max-height: 600px;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-left: 4px;
}
.events .event {
  position: relative;
  width: 95%;
  min-height: 70px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0 20px;
  padding-left: 50px;
  color: #000;
  /* background: linear-gradient(90deg, #3f4458, transparent); */
  cursor: pointer;
}
/* 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: center;
  pointer-events: none;
}
.events .event .title .event-title {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 20px;
}
.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;
  display: none;
}
.events .event:hover .event-time {
  color: #fff;
}
/* add tick in event after */
.events .event::after {

}
.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;
}
.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 */

@media screen and (max-width: 1000px) {
  body {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .container {
    min-height: 100vh;
    flex-direction: column;
    border-radius: 0;
  }
  .container .left {
    width: 100%;
    height: 100%;
    padding: 20px 0;
  }
  .container .right {
    width: 100%;
    height: 100%;
    padding: 20px 0;
  }
  .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: 340px;
  }
  .add-event-wrapper {
    bottom: 100px;
  }
}
@media screen and (max-width: 500px) {
  .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: 20px;
  }
}

.credits {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: #fff;
  background-color: #b38add;
}
.credits a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.credits a:hover {
  text-decoration: underline;
}



/* ******************************************************  */







.box_info_sum .row{
  height: 100%;
}


.date-now{
  display: flex;
  flex-direction: column;
  padding-left: 53px;
  justify-content: center;
  height: 100%;

  color: white;
  font-weight: 600;
  font-size: 23px;
}


.wrapper-clock{
  display: flex;
  align-items: center;
  flex-direction: column;
}

#MyClockDisplay {
    color: #000;
    font-size: 60px;
    font: normal 30px 'glyphicons-halflings';
/*    letter-spacing: 7px;*/
/*     margin-bottom: 70px; */
/*    font-weight: 600;*/
}

.calendar .month .date{
  color: #0e8a00;
}

/* //////////////////////////////////////////////////////  */

.section_calender{
  margin: 0;
  margin-bottom: -15px;
  background-color: #f8f8f8;
  padding: 40px 15px;
  line-height: 2;
  border-radius: 0 0 4px 4px;
  border-top: 1px solid #e3e3e3;
}

.wrapper_top_section{
  border-bottom: 1px solid #ccc;
  display: flex;
  /* align-items: center;
  justify-content: space-evenly; */
  flex-direction: column;
  border-bottom: 1px solid #ccc;
  padding: 0 50px;
}

.wrapper_top_section>div:first-child{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* margin-bottom: -100px; */
}
.wrapper_top_section>div:last-child{

}

.box_info_com{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
}

.list_events{
  list-style: none;
}

.list_events li {
  color: #f00!important;
}

.list_events li span:first-child{
  font-weight: 600;
  font-size: 20px;
}

.list_events li span:last-child{
  color: #f00!important;
  font-size: 19px;
}

.container .right .title_show_events{
  color: #0e8a00;
  margin: 0 20px;
  margin-bottom: 35px;
}

.holiday {
  color: #f00!important;
  font-weight: 600;
}

.calendar_wrapper{
  width: 50%;
  /* max-width: 500px; */
}

.item_summry{
  min-height: 50px;
  display: flex;
  align-items: center;

  align-items: center;
  width: 33%;
}

.item_summry span:first-child{
  color: #000;
  font-weight: 600;
  margin-right: 8px;
}

.item_summry span:last-child{

}

.item_summry img{
  margin-left: 15px;
}

.item_summry>span>i{
  color: #0e8a00;
  margin-right: 8px;
}

.topWrapper{
  margin-top: -80px;
}

.topWrapper .container{
  border-radius: 8px;
}



.today-btn{
  padding: 5px 10px;
  border: 1px solid var(--primary-clr);
  border-radius: 5px;
  background-color: var(--primary-clr);
  cursor: pointer;
  color: white;
  margin-bottom: 18px;

  background: #0e8a00;
  border: 1px solid #0e8a00;
  text-shadow: none !important;
  position: relative;
  transition: all 400ms ease-in-out;
  z-index: 0;
}
.today-btn:hover {
  color: #0e8a00;
  background-color: transparent;
}


.sec_info_region{
  flex: 1;
}

.wrapper-clock{
  flex: 1;
}

@media only screen and (max-width: 1000px) {
  .row_calendar_wrapper {
    flex-wrap: wrap;
  }

  .sec_info_region{
    flex: 1;
  }

  .wrapper-clock{
    flex: 1;
  }
  .wrapper_top_section {
    flex-wrap: wrap;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .row_calendar_wrapper .left{width: 100%;max-width: initial !important;}
  .row_calendar_wrapper .right{width: 100%;}

  .container, .container-md, .container-sm{
    max-width: 100%;
  }

  .topWrapper {
    margin-top: -80px;
  }


  .calendar .month .prev:hover,
  .calendar .month .next:hover{ 
    color: #ff5722  !important;
  }

  .calendar .month .prev:focus,
  .calendar .month .next:focus,   
  .calendar .month .next:active,   
  .calendar .month .prev:active{ 
    color: inherit  !important;
  }


  .wrapper_top_section>div:first-child{
    flex-direction: column;
  }

  .item_summry{
    width: 50%;
  }

  #mapTarget {
    margin-top: 51px;
  }

  #MyClockDisplay{
    margin-bottom: 70px;
  }
}


#mapTarget{

}

#mapTarget svg{
  max-width: 450px;
  /* margin-top: -70px; */
}


.enabled {
  fill: #21669E;
  cursor: pointer;
}

.description {
  pointer-events: none;
  position: absolute;
  font-size: 14px;
  text-align: center;
  background: white;
  padding: 0px 15px;
  z-index: 5;
  height: 30px;
  line-height: 30px;
  margin: 0 auto;
  color: #0e8a00;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #eee;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: none;
}
.description.active {
  display: block;
}
.description:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
  font-family: "Lato", Arial, Helvetica, sans-serif;
}

.heyo:hover {
  fill: #CC2929;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}





.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 22px;
  margin: 0 5px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


.es_icon{
  height: 28px;
  width: 28px;
  background-image: url(../imgs/spain.png);
  background-repeat: no-repeat;
  display: inline-block;
  background-size: contain;
}

.en_icon{
  height: 28px;
  width: 28px;
  background-image: url(../imgs/united-kingdom.png);
  background-repeat: no-repeat;
  display: inline-block;
  background-size: contain;
}

.change_langauge{
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-left: 5px;
}

.select2-container img{
  width: 25px;
  margin-right: 8px;
  margin-left: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 24px;
}