/** Todo:

*/

:root {
  --white:    #ffffff;
  --darkblue: #114170;
  --midblue:  #009bdd;
  --lightblue:#deedf3;
}

@font-face {
  font-family: 'dinpro';
  src: url('../fonts/DINPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: 'dinpro';
  src: url('../fonts/DINPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: 'dinpro';
  src: url('../fonts/DINPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: 'dinpro';
  src: url('../fonts/DINPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: 'dinpro';
  src: url('../fonts/DINPro-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: auto;
}

/** Genera; */

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }
.p-60 { padding: 60px; }

.text-white * { color: var(--white) !important; }

.font-normal h1,
.font-normal h2,
.font-normal h3,
.font-normal h4,
.font-normal h5,
.font-normal h6 {
  font-weight: 400 !important;
}

.bg-white h1,
.bg-white p,
.bg-white li {
  color: var(--darkblue) !important;
}
.bg-white h2,
.bg-white h3 {
  color: var(--midblue) !important;
}
.bg-white a {
  color: var(--darkblue) !important;
  /* background-image: linear-gradient(var(--midblue) 0 0); */
}
.bg-white a:hover {
  color: var(--midblue) !important;
}

.bg-darkblue h1,
.bg-darkblue h2,
.bg-darkblue h3,
.bg-darkblue p,
.bg-darkblue li {
  color: var(--white) !important;
}
.bg-darkblue a {
  color: var(--midblue) !important;
  background-image: linear-gradient(var(--lightblue) 0 0);
}
.bg-darkblue a:hover {
  color: var(--lightblue) !important;
}

.bg-midblue h1,
.bg-midblue h2,
.bg-midblue h3,
.bg-midblue p,
.bg-midblue li {
  color: var(--white) !important;
}
.bg-midblue a {
  color: var(--darkblue) !important;
  background-image: linear-gradient(var(--lightblue) 0 0);
}
.bg-midblue a:hover {
  color: var(--lightblue) !important;
}

.bg-lightblue h1,
.bg-lightblue p,
.bg-lightblue li {
  color: var(--darkblue) !important;
}
.bg-lightblue h2,
.bg-lightblue h3 {
  color: var(--midblue) !important;
}
.bg-lightblue a {
  color: var(--midblue) !important;
  background-image: linear-gradient(var(--darkblue) 0 0);
}
.bg-lightblue a:hover {
  color: var(--darkblue) !important;
}

/** Fonts and texts */

h1.post-title { font-size: 32px !important; color: var(--darkblue) !important }
h2.post-title { font-size: 24px !important; color: var(--darkblue) !important }

p, a, time, input, textarea, li, button, .tribe-events-c-view-selector__list * {
  font-family: 'dinpro', Helvetica, Arial, sans-serif !important;
}
button,
.tribe-events-c-view-selector__list *,
.widget .post-date {
  text-transform: uppercase;
}
.widget li a {
  font-size: 150% !important;
}
p {
  color: var(--darkblue) !important;
  max-width: 845px;
}
p, .widget a {
  display: block !important;
  color: var(--darkblue) !important;
  font-style: normal !important;
}
#footer p {
  color: var(--white) !important;
}
#footer a,
#footer a:hover {
  color: var(--white) !important;
  display: inline-block !important;
}
.tribe-events-c-messages__message-list-item-link {
  color: var(--darkblue) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--darkblue) !important;
}

p a,
li a {
  text-decoration: none !important;
  display: inline-block;
  padding-bottom:2px;
  background-image: linear-gradient(var(--white) 0 0);
  background-position: 0 100%;
  background-size: 0% 1px;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s;
}
p a:hover,
li a:hover {
  background-position: 100% 100%;
  background-size: 100% 1px;
}

.post-meta-infos {
  text-transform: uppercase;
}

/** Navigation */

.sub_menu {
  top: 3px !important;
}
.sub_menu li {
  padding-right: .5em !important;
  padding-left: .5em !important;
}
.sub_menu li:hover a {
  color: var(--white) !important;
}
.sub_menu li:hover {
  background-color: var(--midblue) !important;
}
.logo.avia-svg-logo {
  transform: scale(.5);
  -webkit-transform-origin-x: 0;
}
.sub-menu .avia-bullet {
  display: none;
}

/** Info block (e.g. home) */

.no-bullets ul {
  list-style-type: none !important;
  margin: 30px 0 0 0;
}
.no-bullets ul li {
  margin-left: 0;
}
li h3::before {
  content: '\2713';
  padding-right: 10px;
}
ul:has(li h3 a) {
  width: fit-content;
}
li h3 a {
  position: relative;
  display: inline-block;
}
li h3 a::after {
  content: '\2192';
  padding-left: 10px;
  font-size: 80%;
  position: absolute;
  right: -25px;
}

/** Icon grid (e.g. home) */

.avia-icon-grid-container .avia-icongrid-flipback h4 {
  color: #ffffff !important;
}

/** Magazine posts overview (e.g. home) */

.av-magazine-thumbnail {
  padding: 0 !important;
}
.av-magazine-content-wrap {
  border: none !important;
}
/* .av-magazine-content-wrap h3 {
  font-size: 150% !important;
  color: var(--midblue) !important;
} */
.av-magazine-content-wrap time {
  line-height: 1px;
}
.av-magazine-content-wrap h3 a {
  font-size: 150% !important;
  line-height: 140% !important;
  color: var(--midblue) !important;
  text-decoration: none !important;
  display: block;
  padding: .1em 0 .2em !important;;
  margin: 0 1em 0 0 !important;;
  background-image: linear-gradient(var(--midblue) 0 0);
  background-position: 0 100%;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s;
}
.av-magazine-content-wrap h3 a:hover {
  background-position: 100% 100%;
  background-size: 100% 100%;
  color: var(--white) !important;
  padding: .1em .3em .2em !important;;
  margin: 0 .1em 0 0 !important;;
}
.av-magazine-hero .av-magazine-content-wrap h3 a {
  font-size: 180% !important;
}
.av-magazine-content-wrap p {
  font-size: 150% !important;
}
.av-magazine-top-heading {
  color: var(--midblue);
  display: block;
  width: 100%;
  padding-bottom: 1em;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1em;
  letter-spacing: 1px;
  text-align: center;
}

/** Agenda posts overview (e.g. home) */

.av-upcoming-events img {
  border-radius: 0;
}
.av-upcoming-events a {
  text-decoration: none !important;
}
.av-upcoming-events a h4 {
  font-size: 120% !important;
  line-height: 120% !important;
  color: var(--midblue) !important;
  display: block;
  padding: .3em 0 .4em;
  margin: 0 1em 0 0;
  background-image: linear-gradient(var(--midblue) 0 0);
  background-position: 0 100%;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s;
}
.av-upcoming-events a:hover h4 {
  background-position: 100% 100%;
  background-size: 100% 100%;
  color: var(--white) !important;
  padding: .3em .5em .4em;
  margin: 0 .5em 0 0;
}
.av-upcoming-event-meta {
  font-size: 12px;
  text-transform: uppercase;
}
.av-upcoming-event-schedule {
  line-height: 14px;
  margin: 0;
  padding: 0;
}

/** Single event */

.av-single-event-content h2 {
  display: none;
}

/** Footer */
#footer .flex_column:nth-child(1) {
  width: 38%;
}
#footer .flex_column:nth-child(2) {
  width: 25%;
}
#footer .flex_column:nth-child(3) {
  width: 25%;
}

/** Buttons */

.avia-button,
.tribe-events-c-subscribe-dropdown__button,
.tribe-events-c-search__button  {
  background-image: linear-gradient(var(--darkblue) 0 0) !important;
  background-position: 0 100% !important;
  background-size: 0% 100% !important;
  background-repeat: no-repeat !important;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s;
}
.avia-button:hover,
.tribe-events-c-subscribe-dropdown__button:hover,
.tribe-events-c-search__button:hover {
  background-position: 100% 100% !important;
  background-size: 100% 100% !important;
}
.button-bottom {
  padding-bottom: 60px;
}
.button-bottom .avia-button-wrap {
  position: absolute;
  bottom: 0;
}

/** Agenda page */

.tribe-events-calendar-month__day-cell:hover {
  background-color: var(--darkblue);
  cursor: pointer;
}
.tribe-events-calendar-month__day-cell:hover * {
  color: var(--white);
}
.tribe-events .datepicker .month.current {
  background-color: var(--midblue) !important;
  color: var(--white) !important;
}
.tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused {
  background-color: var(--darkblue) !important;
}


/** Alert message */
#alert {
	background-color: var(--midblue);
	color: #ffffff;
	width: 100%;
	height: auto;
	padding: 40px;
	margin: 0 auto;
	border: none!important;
	display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
}
#alert p a {
	color: #ffffff !important;
	text-decoration: underline!important;
}
#alert h2 {
  text-transform: uppercase;
  font-family: 'dinpro', Helvetica, Arial, sans-serif !important;
  font-weight: 500 !important;
}
#alert p, #alert h2, #alert div {
	margin: 0 auto 20px auto;
	color: #ffffff !important;
  font-family: 'dinpro', Helvetica, Arial, sans-serif !important;
	max-width: 800px;
}
#alert div {
	text-align: right;
	cursor: pointer;
}
.avia-layerslider {
	border: none!important;
}

/** Forms */
#top label {
  font-weight: normal !important;
}
#top legend {
  font-size: initial !important;
}