* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

body {
  box-sizing: border-box;
  color: #313131;
  font: 400 16px 'Raleway', sans-serif;
  min-height: 100%;
  padding-bottom: 527px;
  position: relative;
}

img { vertical-align: middle; }

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1em;
  margin-bottom: 1em;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1em;
  margin: 1em 0;
}

h2:first-child { margin-top: 0; }

h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1em;
  margin: 1em 0 0.8em 0;
}

h3:first-child { margin-top: 0; }

h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 1.2em 0 0.8em 0;
}

h5 {
  font-size: 18px;
  font-weight: 600;
  margin: 0.889em 0 0;
}

h5:first-child { margin-top: 0; }

h6 {
	font-size: 18px;
  font-weight: 600;
  margin: 1em 0 0.5em;
}

p {
  line-height: 1.8em;
  margin: 1em 0;
}

p:first-of-type { margin-top: 0; }

p:last-of-type { margin-bottom: 0; }

hr {
  background-color: #e1e1e1;
  border: none;
  clear: both;
  height: 1px;
  margin: 2em 0;
}

a { transition: 300ms; }

strong { font-weight: 600; }

.pull-left {
  float: left;
  margin-right: 2em;
}

.pull-right {
  float: right;
  margin-left: 2em;
}

.button {
  background-color: #00a650;
  border: none;
  color: #fff !important;
  display: inline-block;
  font: 500 16px 'Raleway', sans-serif;
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
}

.fas {
  margin-right: 10px;
  vertical-align: middle;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: relative;
  z-index: 100;
}

.header .logo {
  position: absolute;
    top: 40px;
    left: 40px;
  z-index: 100;
}

.logo a { display: block; }

.banner {
  position: relative;
  z-index: 0;
}

.banner img { max-width: 100%; }

.header .main-menu { background-color: #00a650; }

.main-menu ul { list-style: none; }

.main-menu a {
  color: #fff;
  display: block;
  text-decoration: none;
}

#menu-main-menu {
  display: flex;
  flex-flow: row nowrap;
  margin: 0 auto;
  max-width: 1600px;
  place-content: center space-evenly;
}

#menu-main-menu > li {
  border-right: 1px solid #54c38a;
  flex: 1 1 auto;
  position: relative;
}

#menu-main-menu > li:first-child { border-left: 1px solid #54c38a; }

#menu-main-menu > li > a {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  height: 70px;
  justify-content: center;
  padding: 0 10px;
  text-align: center;
  vertical-align: center;
}

#menu-main-menu > li:hover > a { background-color: #00803e; }

#menu-main-menu > li:hover > ul { display: block; }

#menu-main-menu ul {
  background-color: #00803e;
  display: none;
  min-width: 100%;
  position: absolute;
  white-space: nowrap;
}

#menu-main-menu ul li { border-top: 1px solid #54c38a; }

#menu-main-menu ul a {
  font-weight: 400;
  padding: 20px;
}

#menu-main-menu ul a:hover { background-color: #00a650; }

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

#mainMenu {
  background-color: #2c3538;
  height: 100vh;
  overflow-x: hidden;
  position: fixed;
    top: 0;
    right: 0;
  transition: 1s;
  width: 0;
  z-index: 998;
}

#mainMenu.show { width: 100%; }

#mainMenu ul { list-style: none; }

#mainMenu .mobile-menu { margin: 0 30px; }

#mainMenu .mobile-menu:first-child { margin-top: 30px; }

#menu-mobile-menu li ul {
  display: none;
  margin-bottom: 15px;
}

.mobile-menu a {
  color: #fff;
  display: block;
  font-size: 18px;
  margin: 20px 0;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================================
    Mobile Menu Toggle
    ========================================================================== */
  
#openMenu {
  background-color: #2c3538;
  display: none;
  padding: 20px 15px;
  position: fixed;
    top: 0;
    right: 0;
  transition: .5s;
  width: 41px;
  z-index: 999;
}

#openMenu.open {
  background-color: #2c3538;
  color: #fff;
}

#menuTitle {
  position: relative;
  text-align: center;
  transition: .5s;
}
  
/* ==========================================================================
    Mobile Menu Icon Transition Effect
    ========================================================================== */
  
#btn {
  cursor: pointer;
  display: block;
  height: 30px;
  position: relative;
  transition: .5s;
  z-index: 200;
}

#btn .icon,
#btn .icon::before,
#btn .icon::after {
  background: #fff;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  transition: top ease .5s .5s, transform ease .5s;
  width: 41px;
}

#btn .icon {
  top: 14px;
  left: 2px;
}

#btn .icon::before { top: -8px; }

#btn .icon::after { top: 8px; }

#btn.active .icon { background: transparent; }

#btn.active .icon::before { transform: rotate(45deg); }

#btn.active .icon::after { transform: rotate(-45deg); }

#btn.active .icon::before,
#btn.active .icon::after {
  background-color: #fff;
  top: 0;
  transition: top ease .5s, transform ease .5s .5s;
}

/* ==========================================================================
   Content
   ========================================================================== */

main {
  display: grid;
  gap: 60px;
  grid-template-columns: 2fr 5fr 2fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 60px 20px;
  position: relative;
  z-index: 0;
}

main a { color: #00a650; }

.content img { max-width: 100%; }

.content ul,
.content ol {
  line-height: 1.8em;
  margin: 1em 0;
  overflow: hidden;
}

.content ul:not(.no-bullets) li { margin-left: 1.1em; }

.content ol li { margin-left: 1em; }

.content .no-bullets { list-style: none; }

.content .menu li { margin-bottom: 0.5em; }

.content .menu li:last-child { margin-bottom: 0; }

.content h5 + p { margin-top: 0.25em; }

.content p.label { margin-bottom: 0.25em; }

.content p.label + * { margin-top: 0; }

.sponsors {
  display: flex;
  flex-flow: column nowrap;
  gap: 30px;
  list-style: none;
}

.sponsors img {
  max-width: 360px;
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 50px;
}

.post {
  border-top: 1px solid #e1e1e1;
  padding: 2em 0;
}

.post:first-of-type {
  border-top: none;
  padding-top: 0;
}

.post-info {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  list-style: none;
  font-style: italic;
}

.post-info li {
  list-style: none;
  margin: 0 !important;
}

.post-info span {
  font-weight: 600;
  margin-right: 5px;
}

.readmore { margin-top: 1em; }

.readmore .button { padding: 11px 15px 10px 15px; }

.blog-posts h2 a {
  color: #313131;
  text-decoration: none;
}

.fm-form-container.fm-theme1 .fm-form .button-submit { font: 16px 'Raleway', sans-serif; }

.fm-form .fm-header-bg, .fm-form .wdform-field:not([type=type_hidden]) { padding: 10px 0 !important; }

.content .bwg_slideshow_image_container_0 { margin-bottom: 6px !important; }

.content .wdform-field h4 { margin: 1em 0 0.5em; }

.iti {
  box-sizing: border-box;
  padding-right: 10px;
  width: 100%;
}

.content .fm-form .wdform_date_fields select { margin-right: 0 !important; }

.content .fm-form label,
.content .fm-form p { line-height: 1.5em !important; }

.content .fm_empty_margin { margin: 0 !important; }

.content .fm-form-container.fm-theme1 .fm-form .button-submit { font-weight: 500 !important; }

/* ==========================================================================
   Calendar Plugin
   ========================================================================== */

.content .ecwd_calendar_view_tabs { background-color: #00a650 !important; }

.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul,
.content .ecwd_138.ecwd_theme_133 .calendar-head,
.content .ecwd_138.ecwd_theme_133 table.cal_blue.ecwd_calendar_container .current-day .day-number,
.content .ecwd_138.ecwd_theme_133 table.cal_blue.mini .current-day,
.content .ecwd_138.ecwd_theme_133 .ecwd-search button,
.content .ecwd_138.ecwd_theme_133 .ecwd-search button:hover,
.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul li a,
.content .ecwd_138.ecwd_theme_133 .ecwd_calendar .filter-arrow-right,
.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul li,
.content .ecwd_138.ecwd_theme_133 .ecwd_calendar .filter-arrow-left { background-color: #00803e !important; }

.content .ecwd_138.ecwd_theme_133 .calendar-head {
  border: none;
  border-bottom: 1px solid #00a650;
}

.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul li.ecwd-selected-mode a {
  background-color: #00a650 !important;
  color: #fff !important;
}

.content .ecwd_calendar_view_tabs ul li:first-child.ecwd-selected-mode a { border-left: none !important; }

.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul li,
.content .ecwd_138.ecwd_theme_133 .ecwd_calendar .filter-arrow-right,
.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul li {
  border-left: 1px solid #00a650 !important;
  border-right: none !important;
}

.content .ecwd_138.ecwd_theme_133 .ecwd_calendar .filter-arrow-left {
  border-left: none;
  border-right: 1px solid #00a650;
}

.content .ecwd_138.ecwd_theme_133 .calendar-head .previous,
.content .ecwd_138.ecwd_theme_133 .calendar-head .next,
.content .ecwd_138.ecwd_theme_133 .calendar-head .current-month { border: none !important; } 

.content .calendar-head .previous,
.content .calendar-head .next,
.content .calendar-head .current-month { text-shadow: none !important; }

.content .calendar_main .ecwd_calendar,
.content .cal_blue.ecwd_calendar_container { font-family: 'Raleway', sans-serif !important; }

.content .calendar_main .ecwd-search-submit .fa {
  top: 15px !important;
  left: 13px !important;
}

.content .ecwd_138.ecwd_theme_133 .ecwd-day-date,
.content .ecwd_138.ecwd_theme_133 .day-event-list .ecwd-week-date,
.content .ecwd_138.ecwd_theme_133 .day4-event-list .ecwd-week-date,
.content .ecwd_138.ecwd_theme_133 .week-event-list .ecwd-week-date,
.content .ecwd_138.ecwd_theme_133 .ecwd_list .ecwd-list-date {
  background-color: #e2eae1 !important;
  color: #5c5c5c !important;
}

.content .ecwd-day-date,
.content .day-event-list .ecwd-week-date,
.content .day4-event-list .ecwd-week-date,
.content .week-event-list .ecwd-week-date,
.content .ecwd_138.ecwd_theme_133 div[class^="ecwd-page"] .ecwd_list .ecwd-list-date {
  font-size: 16px !important;
  font-style: normal !important;
  padding: 5px 10px !important;
}

.content .calendar_main .ecwd_calendar .ecwd_list li,
.content .calendar_main .ecwd_calendar .day4-event-list li,
.content .calendar_main .ecwd_calendar .day-event-list li,
.content .calendar_main .ecwd_calendar .week-event-list li { border-top: none !important; }

.content .cal_blue.ecwd_calendar_container { border-collapse: collapse !important; }

.content .calendar_main .ecwd_calendar .week-event-list .ecwd-list-img,
.content .calendar_main .ecwd_calendar .day4-event-list .ecwd-list-img,
.content .calendar_main .ecwd_calendar .day-event-list .ecwd-list-img,
.content .calendar_main .ecwd_calendar .ecwd_list .ecwd-list-img {
  background-color: #e2eae1 !important;
  float: none !important;
  font-size: 16px !important;
  font-style: normal !important;
  margin: 0 !important;
  width: auto !important;
}

.day4-event-list h3 a,
.ecwd_list h3 a,
.day-event-list h3 a,
.week-event-list h3 a {
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: normal !important;
}

.content .ecwd-no-image.event-container,
.content .ecwd-no-image .event-main-content,
.content .calendar_main .ecwd_calendar li.ecwd-no-image { padding: 20px !important; }

.content .ecwd-date .ecwd_timezone,
.content .calendar_main .ecwd_calendar .metainfo,
.content .ecwd_countdown_info .metainfo,
.content .event-detalis span,
.content .event-detalis a { font-style: normal !important; }

.content .calendar_main .ecwd_calendar .day4-event-list .ecwd-list-img-container,
.content .calendar_main .ecwd_calendar .ecwd_list .ecwd-list-img-container,
.content .calendar_main .ecwd_calendar .day-event-list .ecwd-list-img-container,
.content .calendar_main .ecwd_calendar .week-event-list .ecwd-list-img-container { padding: 0 !important; }

.content .ecwd_list .ecwd-list-date { text-align: left !important; }

.content .cal_blue.ecwd_calendar_container .events li > span,
.content .cal_blue.ecwd_calendar_container .events li > a { font-style: normal !important; }

.content .ecwd_138.ecwd_theme_133 .cal_tabs_blue .filter-container ul li:last-child { border-right: 1px solid #00a650 !important; }

.content .event-details-title .event-metalabel { margin-top: 7px !important; }

.content .ecwd-event.ecwd-single-event,
.content .ecwd-event.ecwd-single-event .event-detalis span,
.content .ecwd_138.ecwd_theme_133 ul.events span,
.content .ecwd-event.ecwd-single-event .event-detalis a { font-style: normal !important; }

#ecwd_back_link {
  display: block !important;
  margin-bottom: 1em !important;
}

.right-sidebar .ecwd_138.ecwd_theme_137 .calendar-head,
.right-sidebar .ecwd-widget-mini .ecwd_calendar_view_dropdown,
.right-sidebar .ecwd-widget-mini .arrow-down { display: none !important; }

.right-sidebar .ecwd_138.ecwd_theme_137 ul.ecwd_list li { border: none !important; }

.right-sidebar h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1em;
  margin: 0 0 1.2em 0;
}

.right-sidebar .ecwd-widget-mini .ecwd_list h3 {
  line-height: normal !important;
  margin-bottom: 5px !important;
  padding: 0 !important;
}

.right-sidebar .ecwd_138.ecwd_theme_137 ul.ecwd_list li .event-main-content h3 a { font-size: 18px !important; }

.right-sidebar .ecwd-widget-mini .ecwd-list-date {
  height: auto !important;
  font-style: normal !important;
  width: auto !important;
}

.right-sidebar .ecwd_138.ecwd_theme_137 ul.ecwd_list li {
  display: grid !important;
  grid-template-columns: 1fr 7fr;
}

.right-sidebar .calendar_main .ecwd_calendar .ecwd_calendar_container > ul > li,
.right-sidebar .calendar_main .ecwd_calendar .ecwd_calendar_container > ul.ecwd_list > li { margin-bottom: 10px !important; }

.right-sidebar .ecwd-widget-mini .ecwd_list .event-main-content {
  padding: 15px !important;
  width: auto !important;
}

.right-sidebar .ecwd_138.ecwd_theme_137 ul.ecwd_list li .event-main-content { background-color: #f3f3f3 !important; }

.right-sidebar .ecwd-widget-mini .ecwd-time,
.right-sidebar .ecwd-widget-mini .ecwd-date { margin: 5px 0 0 !important; }

.right-sidebar .calendar_main .ecwd_calendar .metainfo { font-style: normal !important; }

.right-sidebar .ecwd_138.ecwd_theme_137 .ecwd_list .ecwd-list-date { color: #fff !important; }

.right-sidebar .ecwd_138.ecwd_theme_137 .ecwd_list .ecwd-list-date { background-color: #00a650 !important; }

.right-sidebar .calendar_main .ecwd_calendar.ecwd-widget-mini { max-width: none !important; }

.right-sidebar .calendar_main .ecwd_calendar.ecwd-widget-mini .event-content { grid-column: 1 / span 2; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-wrapper {
  position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.footer-buttons {
  display: grid;
  gap: 20px 40px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto 40px;
  max-width: 1600px;
}

[class*="footer-sidebar"] {
  align-items: center;
  aspect-ratio: 10 / 3;
  display: flex;
}

.footer-sidebar-1 {
  background: url("/wp-content/themes/numacorp/images/registration.jpg") center center no-repeat;
  background-size: cover;
}

.footer-sidebar-2 {
  background: url("/wp-content/themes/numacorp/images/race-notices.jpg") center center no-repeat;
  background-size: cover;
}

.footer-buttons h2 {
  color: #fff;
  margin: 0 50px;
  max-width: 240px;
}

.footer-buttons a {
  color: #fff;
  text-decoration: none;
}

.footer {
  background-color: #242b28;
  color: #bfbfbf;
  padding: 40px 20px;
  text-align: center;
}

.footer .logo { margin-bottom: 30px; }

.footer a { color: #fff; }

.bottom-menu .menu {
  display: flex;
  flex-flow: row wrap;
  gap: 10px 20px;
  list-style: none;
  margin-bottom: 30px;
  place-content: center;
}

.bottom-menu a {
  font-weight: 500;
  text-decoration: none;
}

@media only screen  
and (max-width : 1299px) {

body { padding-bottom: 0; }

.header .logo {
  top: 20px;
  left: 20px;
}

.header .logo img { width: 30vw; }

#menu-main-menu > li > a,
#menu-bottom-menu a { font-size: 16px; }

main {
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
}

.content {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.left-sidebar {
  grid-column: 1;
  grid-row: 2;
}

.right-sidebar {
  grid-column: 2;
  grid-row: 2;
}

.footer .title { font-size: 48px; }

.footer-wrapper { position: relative; }

.footer-buttons { padding: 0 20px; }

.footer-buttons h2 {
  font-size: 24px;
  margin: 0 40px;
  max-width: 35%;
}

}

@media only screen  
and (max-width : 1023px) {

#menu-main-menu > li > a,
#menu-bottom-menu a { font-size: 14px; }

#menu-main-menu > li > a { padding: 0 5px; }

#menu-bottom-menu { gap: 10px 12px; }

.footer-buttons { gap: 20px; }

.footer-buttons h2 {
  font-size: 20px;
  margin: 0 30px;
}

}

@media only screen  
and (max-width : 767px) {

.pull-left,
.pull-right {
  float: none;
  margin: 1em 0;
  text-align: center;
}

.header .logo {
  background: url("/wp-content/themes/numacorp/images/banner.jpg") left top no-repeat;
  background-size: cover;
  height: 30vh;
  padding: 10px;
  position: relative;
    top: 0;
    left: 0;
}

.header .logo img { width: 40vw; }

.banner { display: none; }

.main-menu,
.bottom-menu { display: none; }

#openMenu { display: block; }

main {
  gap: 30px;
  grid-template-columns: auto;
  grid-template-rows: repeat(3, auto);
  padding: 40px 20px;
}

.content {
  grid-column: 1;
  grid-row: 1;
}

.right-sidebar {
  grid-column: 1;
  grid-row: 3;
}

.bottom-left { grid-row: 4; }

.bottom-right {
  grid-column: 1;
  grid-row: 5;
}

footer .title { font-size: 36px; }

footer .link p { font-size: 16px; }

footer .logo img { max-width: 100%; }

.footer-buttons { grid-template-columns: auto; }

}

@media only screen  
and (max-width : 479px) {

.header .logo img { width: 60vw; }

.footer-buttons h2 { font-size: 16px; }

}