/* Navbar */
.navbar-expand-lg .navbar-nav .dropdown-menu {
  background: rgb(0, 0, 0);
}

.dropdown-item:hover {
color:#E57200 !important;
}

@media only screen and (min-width: 992px) {
  .nav-container {
    display: flex;
    height: 6rem;
  }
}
header.primary a {
  color: white !important;
}

/* Calendar Switches*/
.no-past .event-past {
  display: none;
}

h2.eventdate {
  margin-bottom: 0;
}

#calendar_events div.event {
  margin-bottom: .75rem;
}

#calendar_events div.event + h2.eventdate {
  margin-top: 1.25em;
}

.view-switchers {
  color: #b85c00;
  margin-bottom: 1.25rem;
}

#searchoptions-generic fieldset {
  border: 0;
  padding: 0; 
  margin: 0;
  width: 38%;
  left: 1.6rem;
  position: relative;
}

#searchoptions-generic fieldset legend {
  padding-bottom: .5rem;
}

.event-search-widget fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.event-search-widget fieldset legend {
  font-size: 0.875rem;
  color: #4d4d4d;
  cursor: pointer;
  display: block;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

#past_events legend {
  display: none;
  visibility: hidden;
}

.past-events {
  background: #e9e9e9;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.past-events p {
  margin-bottom: 0;
}

.past-events fieldset {
  padding: 0;
  margin: 0;
  margin-top: 1rem;
  border: 0;
}

#search_field label,
#jumptoform label {
  position: absolute;
  z-index: -1;
}

#jumptoform label
#calendar_box_custom table,
#calendar_box table {
  width: 100%;
  text-align: center;
  background: white;
  border: #232c4b;
  border-width: 3px;
  border-style: solid;

}

#jumptoform label
#calendar_box_custom table tr th,
#jumptoform label
#calendar_box_custom table tr td,
#calendar_box table tr th,
#calendar_box table tr td {
  width: calc(100%/7);
  height: 50px;
}

#jumptoform label
#calendar_box_custom table tr th.hasEvents,
#jumptoform label
#calendar_box_custom table tr td.hasEvents,
#calendar_box table tr th.hasEvents,
#calendar_box table tr td.hasEvents {
  padding: 0;
  height: auto;
}

#jumptoform label
#calendar_box_custom table tr th.hasEvents a,
#jumptoform label
#calendar_box_custom table tr td.hasEvents a,
#calendar_box table tr th.hasEvents a,
#calendar_box table tr td.hasEvents a {
  color: rgb(0, 0, 0);
  display: block;
  padding: calc(100% / 4);
  height: 100%;
  background-color: #E57200;
  text-decoration: none;
  font-weight: 700;
}

#jumptoform label
#calendar_box_custom table tr th.hasEvents.outperiodday a,
#jumptoform label
#calendar_box_custom table tr td.hasEvents.outperiodday a,
#calendar_box table tr th.hasEvents.outperiodday a,
#calendar_box table tr td.hasEvents.outperiodday a {
  opacity: 0.5;
}

#jumptoform label
#calendar_box_custom table tr th .prev-next-link,
#calendar_box table tr th .prev-next-link {
  text-indent: -9999px;
  display: block;
  float: left;
}

.calendar-dayrow .today a {
  position: relative;
}

.calendar-dayrow .today a:after {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  bottom: 4px;
  left: calc(50% - 2px);
}

/* Large Calendar*/
#calendar_page table {
  width: 100%;
  text-align: center;
}

#calendar_page table tr th {
  width: calc(100%/7);
  text-align: center;
}

#calendar_page table tr.calendar-box-header th {
  font-size: 1em;
  background-color: rgb(244 244 244);
  
}

#calendar_page table tr.calendar-box-header th .prev-next-link {
  text-indent: -9999px;
  display: block;
  float: left;
}

#calendar_page table tr.calendar-dayhead th {
  font-size: 0.8em;
  background-color: rgb(244 244 244);
}

#calendar_page table tbody tr.calendar-dayrow td {
  width: calc(100%/7);
  vertical-align: top;
  padding: 0.1em;
  height: 8em;
  border: 1px solid #eee;
}

#calendar_page table tbody tr.calendar-dayrow td.fillday {
  background-color: #eee;
}

#calendar_page table tbody tr.calendar-dayrow td.fillday span {
  color: #999;
}

#calendar_page table tbody tr.calendar-dayrow span {
  font-size: 1.2em;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  font-weight: bold;
}

#calendar_page table tbody tr.calendar-dayrow .cal-event a {
  font-size: 0.80em;
  line-height: 1em;
  display: block;
  max-height: 2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.3em;
  background-color: #990616;
  margin-bottom: 2px;
  color: #FFF;
  word-break: break-all;
  color: #FFF;
  white-space: unset;
}

#calendar_page table tbody tr.calendar-dayrow .cal-event.end a {
  padding-left: 0px;
  background-color: #000;
}

#calendar_page table tbody tr.calendar-dayrow .cal-event.start a {
  padding-right: 0px;
  background-color: #000;
}

#calendar_page table tbody tr.calendar-dayrow .cal-event.middle a {
  padding-left: 0px;
  padding-right: 0px;
  background-color: #000;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info {
  display: block;
  width: 200px;
  min-height: 100px;
  background-color: white;
  border: 1px solid #000;
  position: absolute;
  margin-left: calc(100%/7);
  margin-top: -39px;
  /* min-height/2 */
  z-index: 100;
  color: #000;
  font-size: 1em;
  padding: 0.3em;
  display: none;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info:after, #calendar_page table tbody tr.calendar-dayrow .tooltip-info:before {
  right: 100%;
  top: 26px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info:after {
  border-color: transparent;
  border-right-color: white;
  border-width: 6px;
  margin-top: -6px;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info:before {
  border-color: transparent;
  border-right-color: #000;
  border-width: 7px;
  margin-top: -7px;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info.active {
  display: block;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info h2 {
  font-size: 1em;
  line-height: 1em;
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info div.info {
  font-size: 0.80em;
  margin-bottom: 0.3em;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info div.info p {
  font-size: 1em;
  margin: 0px;
  padding-bottom: 0px;
  line-height: 1em;
}

#calendar_page table tbody tr.calendar-dayrow .tooltip-info div.short-desc {
  font-size: 0.80em;
}

.event-date-box {
  display: inline-block;
  min-width: 144px;
  vertical-align: top;
}

.event-info-box {
  display: inline-block;
  width: 76%;
  vertical-align: top;
  color: #232c4b;
  position: relative;
  margin: auto;
  left: 3rem;
}

.event-info {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;     

}

.filter-tags-container span {
  display: inline-block;
  padding: 0.35rem;
  margin-bottom: 0.35rem;
  background: #eee;
  color: #555;
}

.event-filters ul {
  display: inline-block;
}

.event-filters ul li {
  display: inline-block;
  background: #e9e9e9;
  padding: 0.25rem;
  margin: 0.25rem;
}

.desk_check {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  position: absolute;
  margin-top: -0.5rem;
  left: -100px;
  width: 100px;
  padding: 0.25rem;
  font-size: 0.9rem;
}

.desk_check:hover {
  background: black;
}

.desk_check span {
  display: block;
  font-weight: bold;
  margin-bottom: 0.125rem;
  font-size: 0.75em !important;
}

.desk_check a {
  font-size: 0.75em !important;
  line-height: 1em !important;
  display: block !important;
  max-height: 26px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding: none !important;
  background: none !important;
  margin-bottom: 2px !important;
  word-break: break-word !important;
  display: block !important;
  color: #FFF !important;
  text-decoration: underline !important;
  margin-bottom: 0.125rem !important;
}

.desk_check a:hover {
  text-decoration: none !important;
  color: #FFF !important;
}


/* Custom styles */
/* 2024 Events Calendar Styling */

#calendar_box {
  width: 75%;
  opacity: 1;
  position: relative;
  margin: auto;
  grid-column: 2;
  grid-row: 1 / span 2;


}

table tr.even, table tr.alt, table tr:nth-of-type(even) {
    background: #f2f2f2;
}

.calendar-box-header {
  border: solid;
}

#prev_month {
  font-size: 1.2rem;
}

#next_month {
  font-size: 1.2rem;
}

#current_month {
  font-size: 1.5rem;
  color: rgb(35 44 75);
}

.event-info-link {
  text-decoration: none !important;
  font-size: 1.5rem;

}

p.categories_trigger.ajax-load-link {
  display: block;
  position: relative;
  
}

.event-item {
  min-width: 144px;
  vertical-align: top;
  display: flex;
  margin-bottom: 20px;
}

.lead-event-title {
  font-size: 1.8rem;
  text-decoration: none;
}

.img-thumbnail {
  position: absolute;
  vertical-align: middle;
  border-style: none;
}

.thumbnail-cont {
  width: 300px;
  height: 200px;
}

.date-stamp {
  text-transform: uppercase;
  margin: 0;
  position: relative;
  display: block;
  z-index: 5;
  left: 15.88rem;
  top: 4px;
  font-family: "franklin-gothic-urw", "Helvetica Neue", Helvetica, sans-serif;
  align-items: center;
  align-content: center;
  text-align: center;
  background: white;
  width: 50px;
  font-size: 1.2rem;
  color: #E57200;
  font-weight: bolder;
  height: 50px;
  line-height: 1.4rem;
}

.slide-stamp {
  text-transform: uppercase;
  margin: 0;
  position: relative;
  display: block;
  z-index: 5;
  font-family: "franklin-gothic-urw", "Helvetica Neue", Helvetica, sans-serif;
  align-items: center;
  align-content: center;
  text-align: center;
  background: white;
  width: 50px;
  font-size: 1.2rem;
  color: #E57200;
  font-weight: bolder;
  height: 50px;
  line-height: 1.4rem;
  bottom: 13.28rem;
  margin-left: 20.13rem;
}

.text_block h2 {
  color: #E57200;
  font-size: 50px;
  margin: 0;
  font-weight: 800;
}

#searchoptions-generic {
  background: #c9cbd2;
  padding: 20px;
  margin: 0;
  border-bottom-color: #232c4b;
  border-bottom-width: medium;
  border-bottom-style: solid;
}
.search_field {
  width: 25%;
}
#keywords {
  background-color: rgb(35 44 75);
  color: white !important;
  border-radius: 11px;
}
.events-grid-cont {
  padding-top: 25px;
  padding-left: inherit;
  padding-bottom: 25px;
  background: #c9cbd2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 12rem 0fr;
  grid-template-areas: "searchoptions-dates pcb-mini-cal";
  gap: 10px;
  margin: auto;
  height: fit-content;
}

legend {
  color: #232c4b;
  font-size: 1.25em;
  font-weight: 800;
}

.h5 {
  color: #232c4b;
  font-size: 1.25em;
  font-weight: 800;
}

.category-select {
  background-color: rgb(35 44 75);
  border-radius: 11px;
  color: white;
}

categories-filter
.searchoptions-categories {
    position: relative;
    margin: 0;
    height: fit-content;

}

#date-from {
  width: 40%;
  background-color: rgb(35 44 75);
  border-radius: 11px;
  color: white;
}

#date-to {
  width: 40%;
  background-color: rgb(35 44 75);
  border-radius: 11px;
  color: white;
}

.block {
  color: rgb(35 44 75);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.categories-filter {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  top: -18px;
  position: relative;
}

#searchoptions-categories {
  position: relative;
  margin: 0;
  left: 2rem;
  width: 75%;
}

.location-section {
  padding-top: 1rem;
}
#searchoptions-dates input[type=submit] {
    border: none;
    min-height: 44px;
    background-color: #E57200;
    color: white;
    top: .5rem;
    font-size: .8rem;
    position: relative;
    margin: auto;
    border-radius: 11px;
    display: none;
  }
  
  #searchoptions-dates {
    position: relative;
    margin: 0;
    left: 2rem;
  }

  #view_period_switchers {
    margin: 0;
    position: relative;
    left: 3rem;
    top: 1.5rem;
    margin: auto;
    color: #232c4b;
  }

  .view_period_range {
    color: #232c4b;
    font-weight: 600;
  }

  .short_desc {
    position: relative;
    word-wrap: break-word;
    width: 91%;
    bottom: 1.2rem;
  }

  #calendar_events {
    position: relative;
    margin: auto;
    top: 1.5rem;
  }

  .no-found {
    margin: auto;
    position: relative;
    color: #ff0000;
    font-weight: 700;
    align-content: center;
    text-align: center;
    bottom: 1rem;
  }

  .events-module {
    position: relative;
    padding-bottom: 1.5rem;
    
  }

  .clear-filter {
    color: rgb(0, 0, 0);
    font-size: 2.2rem;
    font-weight: 200;
    background: none !important;
  }

  @media only screen and (max-width: 991px) {
    .event-info-box {
    left: 5rem;

    }
  }

  @media only screen and (max-width: 768px) {
	legend {
			position: relative;
			display: flex;
			justify-content: center;
			align-items: center;
		}

    #calendar_box {
    	display: none;
    }

    .category-select {
        text-align: center;
      }
    .events-grid-cont {
			display: block;
			padding-left: 0;
    }

		.h5 {
			text-align: center;
		}

		#searchoptions-generic fieldset {
			display: flex;
			position: relative;
			justify-content: center;
            left: 0;
			width: 100%;
		}

		#searchoptions-categories {
			position: relative;
			margin: auto;
			display: flex;
			width: fit-content;
			justify-content: center;
			left: 0;
		}

		#searchoptions-dates {
			position: static;
			margin: 0;
		}

		#search_field {
			position: relative;
			display: flex;
			margin: auto;
		}

		#dates_field {
			position: relative;
			width: 33%;
			text-align: center;
			align-items: center;
			align-content: center;
			margin: auto;
			
		}

		#date-from {
			width: 100% !important;
		}
		#date-to {
			width: 100% !important;
		}

		.block {
			position: relative;
			display: block;
			padding-right: .1rem;
		}

    .no-bullet {
      width: 100%;
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
      margin-left: 0;
      margin-right: 0;
      box-sizing: border-box;
    }

	    #view_period_switchers {
	        display: flex;
            justify-content: center;
            gap: 5px;
            flex-direction: column;
            left: 0;
            top: 0;
		}

        nav.view_period_switchers {
	        display: flex;
            justify-content: center;
            
		}
        #calendar_events {
            top: 0;

        }

		.img-thumbnail{
			position: relative;
		}

		.lead-event-title {
			position: relative;
			display: flex;
		}

		.thumbnail-cont {
			position: relative;
			justify-content: center;
			width: 100%;
			display: flex;
		}

		.date-stamp {
			position: absolute;
		}

    .categories-filter {
      justify-content: center;
      
    }

		.view_period_range {
			display: flex;
      justify-content: center;
      top: .6rem;
      position: relative;
		}

		.event-info-box {
			left: 0;
			margin: auto;
			width: 100%;
			text-align: center;
			position: static;
      padding-top: 10px;
		}

		.event-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      margin: 0 auto 20px auto;
		}
		.title {
			text-align: center;
			display: flex;
      position: relative;
      justify-content: center;
		}

		.short_desc {
			width: 100%;
		}
  }


  @media only screen and (max-width: 498px) {
    #view_period_switchers {
      left: 0rem;
    }

    .view_period_switchers {
      position: relative;
      margin: auto;
      text-align: center;
    }

    #searchoptions-generic fieldset {
      border: 0;
      padding: 0; 
      margin: 0;
      width: 100%;
      left: 0;
      position: relative;
    }

    .content {
    width: 100%;
      
    }

    .container {
			padding-left: 0;
			padding-right: 0;
			margin-right: auto;
			margin-left: auto;
    }

    .category-section {
      padding-left: 10px;
      padding-right: 10px;
    }

    #dates_field {
        width: 60%;
    }

    #date-from {
        width: 100% !important;
        text-align: center;
    }
    #date-to {
        width: 100% !important;
        text-align: center;
    }
  }

  /* Fulltext Styles */


.ft-cont {
  text-align: center;
}

.ft-cont ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.ft-h1 {
  font-size: 50px;
  font-weight: 800;
  color: #E57200;

}

.ft-date {
  font-weight: 700;
  color: #232c4b;
  font-family: 'franklin-gothic-urw';
  font-size: 23px;
}

.ft-img {
  display: flex;
  width: 500px;
  height: 300px;
  justify-content: center;
  position: relative;
  margin: auto;
}

.ft-intro {
  max-width: 75%;
  text-align: center;
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 20px;
  font-size: 1.7rem;
  color:#232c4b;
}
.ft-shortdesc {
  max-width: 75%;
  text-align: center;
  display: flex;
  justify-content: center;
  margin: auto;
}

.ical {
	position: relative;
	display: flex;
	justify-content: center;
	margin: 2rem;
}

.calendar-button {
	width: auto;
}


.btn-text {
  display: flex;
  justify-content: center;

}

.btn-container {
  justify-content: center;
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: center;
  align-items: center;
  gap: 14px;
}

a.carousel-button {
  position: relative;
  display: flex;
  justify-content: center;
  margin: auto;
  width: fit-content;
  left: -10px;
}

.event-btn-cont {
  padding: 1rem;
}

.download-ic {
  margin: auto;
  padding-left: 7px;
  
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  position: relative;
  justify-content: center;
  bottom: 1rem;
  font-size: 1.7rem;
  gap: 10px;
}

@media only screen and (max-width: 498px) {
.ft-img {
  width: 300px;
  height: 200px;
}
a.carousel-button {
  left: -5px;
  font-size: .7rem;
}
}
@media only screen and (max-width: 450px) {
.slide-stamp {
  margin-left: auto;
  bottom: 11.87rem;
}
}