/** JEvents Calendar **/
#jevents {padding-right: 5px;}
#jevents_body .month_date {padding-left:0;}
#jevents_body .month_date .month_title {font-size:1.5em;}
.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {background-color:#016375;border: 1px solid #008c99;}
.jev_toprow div.currentmonth {border-top: 1px solid #016375;border-bottom: 1px solid #016375 !important;}
#jevents_body .jev_toprow {padding: 5px 0;}
#jevents_body .jev_toprow div.previousmonth a,#jevents_body .jev_toprow div.nextmonth a {background:none !important;}
#jevents_body .jev_toprow div.previousmonth a::before {content: "\f0d9";font-family: "Font Awesome 6 Pro";font-weight: 900;padding: 0 5px 0 0;}
#jevents_body .jev_toprow div.nextmonth a::after {content: "\f0da";font-family: "Font Awesome 6 Pro";font-weight: 900;padding: 0 0 0 5px;}
#jevents_body .jev_toprow {height:auto !important}
#jevents_body {border-radius:2px;border:0;background-color:transparent}
#jevents_body .cal_today a.cal_daylink {background-color:#016375;}
#jevents_body .cal_today a.cal_daylink:hover {border:1px solid #016375;color:#016375}
#jevents_body .nav-items div.active a, .jev_header2 .active a {background-color:#016375;}
.nav-items > div:first-child {border-left: 1px solid #016375;}
.nav-items > div {border: 1px solid #016375; border-left: 0;}
.nav-items > div:last-child {border-right: 1px solid #016375;}
#jevents_body .nav-items > div a:hover {border:0;}
#jevents_body .nav-items a:hover {color: #fff;background-color: #016375;}
#jevents_body .jev_evdt_dsec {box-shadow:inset 0px -1px 0px #d3d4ce}
#jevents_body .jev_evdt_desc a:hover {color:inherit;box-shadow:inset 0px -1px 0px #016375;text-decoration:none;}
#jevents_body .nav-items div.active a:hover, .jev_header2 .active a:hover {border-left:1px solid #016375;}
div.jevtt_title {font-size:18px;line-height:20px;}
.jev_evdt_header {color: #000;}
.jev_evdt_desc a,.jev_evdt_summary a {color: #000;text-decoration: underline;font-weight:bold;}
.jev_evdt .jev_evdt_summary {width: 100%;display: inline-block;padding-bottom: 7px;box-shadow: inset 0 -1px 0 #ddd;}
#jevents_body .jev_listview#jev_maincal .jev_daysnames {color:#000;font-size:16px; font-weight:bold; padding: 1px 20px; width: auto; height: auto;}
#jevents_body #jev_maincal {margin-top:20px;}
a.ev_link_row:link, a.ev_link_row:visited, a.ev_link_row:hover {font-size: 15px;color: #000;font-weight: bold;}
#jevents_body .cal_top_day_names td {width: 14%;padding-left: 3px;text-align: center;}
#jevents_body .jev_eventdetails_body {background-color: #f7f7f7;border:1px solid #ccc !important;padding:15px;border-radius:2px;}
#jevents_header {margin-bottom:20px;}
#jevents_body .jev_header2 > div{padding:5px;}
#jevents_body a.cal_titlelink:link, #jevents_body a.cal_titlelink:visited, #jevents_body a.cal_titlelink:hover,#jevents_body .jev_toprow div.previousmonth a,#jevents_body .jev_toprow div.nextmonth a {font-size:15px;padding:4px 2px;}
#jevents_body .cal_daysnames .saturday, #jevents_body .cal_daysnames .sunday {color:#474747}
#jevents_body div.event_legend_item {padding-right:5px;}
.jev_toprow .jev_daysnames {text-align:center;}

/** JEvents Module **/
.mod_events_latest_table {background-color: #F0F0F0;}
.mod_events_latest_table tbody {display: inline-flex;width: 100%;flex-flow: row wrap;padding:10px 10px 0px 10px;}
.mod_events_latest_table tr {display: flex;max-width: 50%;align-content: flex-start;justify-content: flex-start;width: 50%;padding-top: 5px;padding-right: 5px;}
.mod_events_latest_table .mod_events_latest_first, .mod_events_latest_table .mod_events_latest {display: inline-flex;max-height: 48px;overflow: hidden;background-color: #FFF;color: #000;flex-flow: column wrap;width: 100%;align-content: flex-start;align-items: stretch;flex-basis: 100%;}
.mod_events_latest_table .mod_events_latest_first:hover,.mod_events_latest_table .mod_events_latest_first:active, .mod_events_latest_table .mod_events_latest:hover,.mod_events_latest_table .mod_events_latest:active {background-color: #3c3c3c;color:#fff;transition: all 100ms;}
.mod_events_latest_table .mod_events_latest_first:hover .jtitletime a, .mod_events_latest_table .mod_events_latest:hover .jtitletime a {color:#fff;transition:100ms all;}
.mod_events_latest_table .jtitletime {width: auto;max-width: 100%;line-height:14px;padding: 2px 3px 0 5px;overflow: hidden;margin-right:50px;}
.mod_events_latest_table .jtitletime a {box-sizing: border-box;width: 100%;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;color:#000;}
.mod_events_latest_table .jtitle, .mod_events_latest_table .jtitle a {font-size: 13px;font-weight: normal;text-align: left;line-height: 15px;}
.mod_events_latest_table .jdate {min-width: 48px;max-width: 48px;height: 48px;background: #f9f9f9;display: block;text-align: center;padding: 8px 4px 0px 4px;font-size:16px;line-height: 16px;margin: 0;border-radius: 0px;border-right: 1px solid #eee;}
.mod_events_latest_table .jdate a {color: #000;text-shadow: rgba(0,0,0,.05) 0px 0px 2px;}
.mod_events_latest_table .jtime {font-size: 11px;width: auto;font-weight:normal;}
.mod_events_latest_table .jeventdept {width: 5px;height: 100%;}
.mod_events_latest_callink {background-color:#F0F0F0; height:40px; clear: both;line-height: 22px !important;padding-bottom: 5px;text-align: center;}

/*Mobile*/
@media only screen and (max-width:650px) {
.mod_events_latest_table tr {width:100%;max-width:100%;padding: 0 0 5px 0px;}}
@media (max-width: 497px) {
.jev_listrow {clear: both;margin-top: 0px !important;padding-left: 0 !important;}
.jev_listrow .jev_daywithevents {width:100%;}
.jev_listrowblock .jev_daysnames {width:100% !important; height:auto; padding:5px 10px 5px 10px; font-size: 15px; font-weight:bold; color:#000;margin-left: -5px;}
#jevents_body .jev_listview#jev_maincal .jev_daysnames {width: 100% !important;margin-bottom:5px;margin-left:-5px;}
div.jev_listrow > a {margin-left: 5px;}
#jevents_body a.cal_titlelink:link, #jevents_body a.cal_titlelink:visited, #jevents_body a.cal_titlelink:hover {padding:7px 3px;}
 
}

@media (prefers-color-scheme: dark) {
#jevents_body {background-color:transparent;border:0;}
#jevents_body .cal_today, .cal_top_day_names tr {background-color:#212121;}
#jevents_body .cal_table, #jevents_body .cal_daysnoevents {border: 1px solid #545454;}
#jevents_body .cal_daysnoevents,#jevents_body .cal_dayshasevents {background-color:#212121;}
#jevents_body .jev_listrowblock {background-color:transparent !important;}
.cal_daysoutofmonth {background-color:#545454;}
#jevents_body .cal_daysnames, #jevents_body .cal_daysnames .saturday, #jevents_body .cal_daysnames .sunday {background-color:#212121;color:#fff}
#jevents_body .jev_eventdetails_body {background-color: #121212;border:1px solid #545454 !important;}
.popover-content .jevtt_text,.popover-content .jevtt_text a, .jevtt_text strong {color:#000;}
.jev_toprow div.currentmonth {background-color:#121212;color:#fff !important;border:1px solid #016375 !important}
.nav-items > div a, .jev_evdt_header, div.event_legend_name a,.jev_evdt_extrainf a {color:#fff;}
.jev_evdt_desc a,.jev_evdt_summary a {color: #fff;text-decoration: underline;}
#jevents_body a.cal_titlelink:link, #jevents_body a.cal_titlelink:visited, #jevents_body a.cal_titlelink:hover {color:#FFF !important;}
.eventfull.eventfull div {background-color: #121212;}
#jev_maincal {background-color:transparent;}
a.ev_link_row:link, a.ev_link_row:visited, a.ev_link_row:hover {font-size: 15px;color: #fff !important;font-weight: bold;}
#jevents_body #jev_maincal.jev_listview .jev_daysnames {background-color: #fff;border-color: #545454;color: #000;}
.jevbootstrap .pagination ul > .active > a, .jevbootstrap .pagination ul > .active > span {color:#fff;}
.jevbootstrap .pagination ul > li > a:hover, .jevbootstrap .pagination ul > li > a:focus, .jevbootstrap .pagination ul > .active > a, .jevbootstrap .pagination ul > .active > span {background-color:#212121;}
.jevbootstrap .pagination ul > li > a, .jevbootstrap .pagination ul > li > span {border: 1px solid #545454;background-color:#121212;color: #ccc;}
.jev_evdt_location a {color:#fff !important; text-decoration: underline !important;}

.mod_events_latest_table {background-color: #121212 !important;}
.mod_events_latest_table .mod_events_latest_first, .mod_events_latest_table .mod_events_latest {background-color: #212121;color:#fff;}
.mod_events_latest_table .mod_events_latest_first:hover,.mod_events_latest_table .mod_events_latest_first:active, .mod_events_latest_table .mod_events_latest:hover,.mod_events_latest_table .mod_events_latest:active {background-color: #3c3c3c;color:#fff;transition: all 100ms;}
.mod_events_latest_table .jdate {background: #2d2d2d;color:#fff;border-right:1px solid #313131;}
a.showntime, .mod_events_latest_table .jdate a {color: #fff;}
.mod_events_latest_table .jtitle a, #jevents_body div.previousmonth:hover a, #jevents_body div.nextmonth:hover a {color:#fff !important;}
.mod_events_latest_callink {color: #fff;background-color: #121212;height: 40px}
.mod_events_latest_callink a {color: #f9f9f9 !important;}

#jevents_body .event_legend_container {background-color: #333;border-top: solid #121212 1px;}
div.jev_daynum_outofmonth, #jevents_body .jev_underlay .jev_underlay_outofmonth_start div, #jevents_body .jev_underlay .jev_underlay_outofmonth_end div, div.jev_dayoutofmonth {background-color: #333;}
#jevents_body .jev_underlay .jev_underlay_daynum_today div, .jev_daynum_today.jev_daynum {background-color:#222 !important;}
@media (max-width: 497px) {
#jevents_body #jev_maincal {border-color:transparent;background-color:transparent;}
#jevents_body #jev_maincal.jev_listview {border: 1px solid transparent;}
.jev_listrow {/*background-color:#121212; border:1px solid #545454 !important;*/}
}
}