/* Style the ROOT html and body content, style are inherited by the children of HTML elements aka containers */

html,
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1rem;
  background: #ffffff;
  color: #232323;
  /* Nicer fonts */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  /* Enable kerning */
  font-feature-settings: "liga", "kern";
  text-align: justify;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Style common elements of all pages */

h1,
h2,
h3,
h4,
h5 {
  color: #232323;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
}

p {
  line-height: 1.2em;
}
hr {
  margin: 30px 0;
}

img {
  display: block !important;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Header */

#header {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  position: relative;
}

#header h1 {
  margin: 0 0 5px 0;
  padding: 0;
}

#header h2 {
  margin: 0;
  padding: 0;
}

/* #header button {
  margin: 0 0 0 33%;
  position: absolute;
  font-size: 1.2rem;
  padding: 5px;
  background: #ffffff;
  border: 1px solid black;
  border-radius: 25px;
} */

/* #header button:hover {
  background-color: yellow;
} */

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Top Nav */

#nav {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #cccccc;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

#nav ul li {
  display: inline-block;
}

#nav ul li:not(:last-child) {
  margin-right: 15px;
}

#nav ul li a,
#nav ul li a:visited {
  color: #000000;
  font-size: 1.1rem;
  font-weight: bold;
}

.dropdown button {
  font-size: 1.1rem;
  font-weight: bold;
  background: #ffffff;
  color: #232323;
  border: none;
}

.dropdown a {
  display: block;
  color: #232323;
  text-decoration: none;
  padding: 10px;
  text-align: left;
}

.dropdown .navcontent {
  position: absolute;
  display: none;
  background: #ffffff;
}

.dropdown:hover .navcontent {
  display: block;
}

.event-submenu {
  position: relative;
  display: block;
}

.event-submenu .submenu-trigger {
  background-color: #ffffff;
  color: #232323;
  padding: 10px 15px;
  padding-right: 30px;
  text-decoration: none;
  display: block;
  text-align: left;
  position: relative;
}

.event-submenu .submenu-trigger:hover {
  background-color: #f1f1f1;
}

.submenu-content {
  display: none;
  position: absolute;
  left: 100%;
}

.submenu-content a:hover {
  background-color: #ddd; /* Lighter hover for sub-menu links */
}

.event-submenu:hover .submenu-content {
  display: block;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Content container - used on all pages to contain all content */
/* NOTE: It's not an ID, as it's used more than once per a page (main content area and footer, could be more) */

.content_container {
  display: flex;
  width: 100%;
  margin: 0 0 10px 0;
}

.content_container .content_container_inner {
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 1024px;
  width: 100%;
  padding: 10px;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Footer */

#footer {
  margin: 20px 0 0 0;
  font-size: 0.86rem;
  background: #eeeeee;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Landing-page */
/* Landing page styling only */

#landing_page {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Landing-page */
/* company-logo on landing-page */

#landing_page #company_logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  width: 35%;
}

#landing_page #company_logo img {
  width: 100%;
  height: auto;
  max-width: 350px;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* small-indexes on landing-page */

h1 {
  text-align: center;
  width: 100%;
  margin: 20px 0;
}

#landing_page .small_index {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  width: 50%;
  text-align: center;
}

#landing_page .small_index a:link {
  text-decoration: none;
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  line-height: 0.7em;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* About-page */
/* About page styling only */

#about {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* images on about page */
/* are div="profile_picture" and div="company_logo" necessary? */

.content_container .content_container_inner #about #company_logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Center images in about page */
#about #company_logo,
#about #profile_picture {
  text-align: center;
  margin: 20px auto;
  width: 100%;
}

#about img {
  max-width: 350px;
  width: 100%;
  height: auto;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Social Media buttons https://www.w3schools.com/howto/howto_css_social_media_buttons.asp */

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

/* .fa-twitter {
  background: #55acee;
  color: white;
} */

/* .fa-google {
  background: #dd4b39;
  color: white;
} */

.fa-linkedin {
  background: #007bb5;
  color: white;
}

/* .fa-youtube {
  background: #bb0000;
  color: white;
} */

.fa-instagram {
  background: #125688;
  color: white;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Events-page */
/* Events pages styling only */

#events {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* CSS of events pages */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

* {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #666;
}

/* STRUCTURE */

.wrapper {
  padding: 5px;
  max-width: 960px;
  width: 95%;
  margin: 20px auto;
}
header {
  padding: 0 15px;
}

.columns {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 5px 0;
}

.column {
  flex: 1;
  border: 1px solid gray;
  margin: 2px;
  padding: 10px;
  &:first-child {
    margin-left: 0;
  }
  &:last-child {
    margin-right: 0;
  }
}

#web-2-0 {
  margin-bottom: 100px;
}

@media screen and (max-width: 980px) {
  .columns .column {
    margin-bottom: 5px;
    flex-basis: 40%;
    &:nth-last-child(2) {
      margin-right: 0;
    }
    &:last-child {
      flex-basis: 100%;
      margin: 0;
    }
  }
}

@media screen and (max-width: 680px) {
  .columns .column {
    flex-basis: 100%;
    margin: 0 0 5px 0;
  }
}
/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
