:root {
  --neh-yellow: #FFE027;
  --neh-blue: #1F1B54;
}

@import url('https://fonts.googleapis.com/css?family=Oswald');

html { 
  position: relative;
  min-height: 100%;
}

body { 
  background-color: #1F1B54; 
  color: white;
  font-family: 'soleil', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
}

.page-wrapper { 
  position: relative; 
}

.wrapper { 
  display: flex; 
  gap: 60px; 
  flex-direction: column; 
}

.logo-container, .image-container {
  display: flex; 
  justify-content: center; 
}

.logo-container {
  margin-top: 60px;
}

.image-container img {
  max-width: 600px;
  width: 100%;
}

.menu-toogle { 
  position: fixed; 
  top: 15px; 
  right: 15px; 
  color: #413d76; 
  cursor: pointer; 
  font-size: 0.8rem;
  z-index: 3;
}

.menu-toogle:hover {
  color: #605c8e; 
}

.menu-toogle.logged-in {
  color: #c0a875;
}

.menu-toogle.logged-in:hover {
  color: #ffdf99;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  background-color: rgb(18, 15, 51, 1);
  box-shadow: rgba(0, 0, 0, 0.16) -10px 0px 10px 1px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  justify-content: space-between;
}

.navbar-links-container {
  padding-top: 60px;
}

.navbar-login-container {
  font-size: 0.8rem;
  padding-bottom: 30px;
}

.sidenav.show {
  width: 350px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #f1f1f1;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #ffdf00;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  cursor: pointer;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.navbar-login-container a {
  padding: 0;
  font-size: 16px;
}

.form-signin {
  text-align: center!important;
  margin-left: auto!important;
  margin-right: auto!important;
  padding: 1.5rem!important;
  /* margin-top: 3rem!important; */
  background-color: white;
  color: black;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
  border-radius: 0.25rem!important;
  margin-top: 60px;
}

.d-none {
  display: none!important;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-info {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.eventform-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: black;
  color: white;
  width: 100%;
}

.eventform-content {
  padding: 1rem 2rem;
}
.eventform-image {
  width: 100%;
  aspect-ratio: 1483 / 1744;
  /* height: 55vh; */
  background-size: cover;
  background-position: 50% 30%;
}

.eventform-information {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.eventform-header {
}
.eventform-preamble {
  font-size: 1rem;
  font-weight: 700;
}
.eventform-text {
  font-size: 1rem;
}

.eventform-form {
}

.eventform-formfield {
  display: flex;
  margin-block: 10px;
}
.eventform-formfield--caption, .eventform-formfield--field {
  flex: 1;
}

.eventform-footer {
  padding-bottom: 30px;
}

.flex-wrapper {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 450px), 1fr));;
}

.section a {
  color: #fff;
  text-decoration: none;
}
.section a:hover {
  color: #ccc;
}

.section-header {
  margin-bottom: 30px;
}

.start-image-text-container {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.wrap-wide {
  width: 100%;
  padding: 0 30px;
}

.start-image-text-container-text {
  flex: 0 0 56%;
}

.start-image-text-container-text-wrapper {
  padding: 30px;
}

.news-form label {
  font-weight: 600;
}

.admin-news-container {
  display: flex;
  gap: 60px;
}

.admin-news-form {
  flex: 0 0 66.6%;
}

.admin-news-links {
  flex: 0 0 33.3%;
}

.news-admin-news-links-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-admin-news-link {
  cursor: pointer;
}
.news-admin-news-link.unpublished {
  color: #999;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

@media (max-width: 795px) {
  .wrap-wide {
    padding: 0 4rem;
  }

  .start-image-text-container {
    flex-direction: column;
  }

  .start-image-text-container-text-wrapper {
    padding: 10vw;
  }
}

@media (min-width: 1200px) {
  .wrap-wide {
      max-width: 100%;
      padding: 0 10vw;
  }
}

@media (min-width: 1499px) {
  .wrap-wide {
      max-width: 100%;
      /* padding: 0 14vw; */
      padding: 0 60px;
  }
}

@media (min-width: 1700px) {
  .wrap-wide {
      max-width: 100%;
      padding: 0 14vw;
  }
}

.edit-eventform-field, .edit-eventform-field-header {
  display: flex;
  gap: 10px;
}

.edit-eventform-field .field {
  flex: 1;
}

.edit-eventform-field-header {
  margin-bottom: 10px;
}

.edit-eventform-field-header--item {
  flex: 1;
  font-weight: 700;
}

.edit-eventform-field[data-fieldtype="divider"] .fieldName, .edit-eventform-field[data-fieldtype="divider"] .fieldCaption, .edit-eventform-field[data-fieldtype="divider"] .fieldValues {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none; 
}

.edit-eventform-field[data-fieldtype=""] .fieldName, .edit-eventform-field[data-fieldtype=""] .fieldCaption, .edit-eventform-field[data-fieldtype=""] .fieldValues {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none; 
}

.datepicker {
  background-color: #EEE;
  color: #000;
}

.gj-datepicker .input-group-append button, .gj-datepicker .input-group-append button:hover {
  background-color: white !important;
  border-left: 1px solid #999;
}

.react-datepicker-popper {
  z-index: 3;
}

.react-datepicker__view-calendar-icon input {
  padding: 6px 10px 5px 10px;
}

.react-datepicker__input-container .react-datepicker__calendar-icon {
  right: 0px;
  top: 3px;
}

.colorpicker-swatch {
  padding: 5px;
  background: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
  display: inline-block;
  cursor: pointer;
  height: 100%;
}

.colorpicker-swatch-color {
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

.colorpicker-popover {
  position: absolute;
  z-index: 2;
}

.colorpicker-cover {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.eventCards {
  margin-top: 30px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.eventCard {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgb(253, 227, 73) 0%, rgb(207, 182, 29) 100%);
  color: rgb(33, 37, 41);
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.eventCard img {
  width: 100%;
  aspect-ratio: 1483 / 1744;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  transition: transform 0.2s ease;
  object-fit: cover;
}

.eventCard:hover img {
  transform: scale(1.02);
}

.eventCard .description {
  padding: 20px;
}

.eventCard .title {
  font-weight: 700;
}

.news-items { display: flex; flex-direction: column; gap: 30px; }
.news-item { cursor: pointer; }
.news-item:hover { color: #E0E0E0; }
.news-header { font-weight: 700; }
.news-date { font-size: 0.8rem; }


.section-wrapper {
  /* margin-block: 30px; */
  /* background-color: var(--neh-blue); */
}

.section-cards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

.section-card {
  background-color: #F0FBFF;
  background-color: #F0F0F0;
  color: var(--neh-blue);
  border-radius: 10px;
  padding: 30px 10px;
  /* height: 15rem; */
  min-height: 225px;
  display: flex;
  flex-direction: column;
  /* background: linear-gradient(135deg, rgb(253, 227, 73) 0%, rgb(207, 182, 29) 100%); */
  background: linear-gradient(135deg, rgb(253, 227, 73) 0%, rgb(207, 182, 29) 100%);
}

.section-card-linked:hover {
  cursor: pointer;
  background: linear-gradient(135deg, rgb(229, 204, 66) 0%, rgb(182, 161, 24) 100%);
}

.kiosk-mode .section-cards {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.kiosk-mode .section-card {
  min-height: 275px;
}

.section-card-title {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.1rem;
}

.section-card-data {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  font-size: 3.5rem;
  font-weight: 800;
}

.section-card-data-large {
  font-size: 3.5rem;
  font-weight: 800;
}
.section-card-data-details {
  font-size: 1rem;
  font-weight: 500;
}
.section-card-data-1y {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 10px;
}
.section-card-data-small {
  font-size: 1.2rem;
  font-weight: 500;
}

.truncate-overflow {
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
}
.truncate-overflow::before {
  position: absolute;
  content: "...";
  bottom: 0;
  right: 0;
}
.truncate-overflow::after {
  content: "";
  position: absolute;
  right: 0;
  width: 1rem;
  height: 1rem;
  color: var(--neh-blue);
}

.eventform-link {
  cursor: pointer;
}

.eventform-link:hover {
  color: #E0E0E0;
}

.link {
  cursor: pointer;
}

.link:hover {
  color: #E0E0E0;
}