/* 1. General */
/* 2. Header */
/* 3. Visual */
/* 4. Font Sizes */
/* 5. Footer */
/* 5.1 Footers responsiveness */
/* 6. Special Contact Form Sections */
/* 7. Welcome Page */

/* 1. General */

@font-face {
  font-family: 'front_light';
  src:  url('/fonts/maneurope-light-webfont.woff') format('woff'),
        url('/fonts/maneurope-light-webfont.woff2') format('woff2');
}

@font-face {
  font-family: 'front_medium';
  src:  url('/fonts/maneuropecondensed-regular-webfont.woff') format('woff'),
        url('/fonts/maneuropecondensed-regular-webfont.woff2') format('woff2');
}

@font-face {
  font-family: 'front_bold';
  src:  url('/fonts/maneuropecondensed-bold-webfont.woff') format('woff'),
        url('/fonts/maneuropecondensed-bold-webfont.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html {
  font-family: "front_light";
}

a {
  text-decoration: none;
}

a:visited,
a:active {
  color: black;
}

body {
  margin: 0;
}

.header-bar,
.contact-form-container,
main {
  max-width: 1360px;
}

/* 2. Header */

header {
  height: 75px;
  display: flex;
  width: 100%;
}

.header-bar {
  height: inherit;
  display: flex;
  max-width: 1360px;
  width: 100%;
  margin: 0 0 0 20px;
}

.header-container-left,
.header-container-right {
  width: 50%;
  display: flex;
  align-items: center;
  height: inherit;
}

.header-container-left {
  justify-content: flex-start;
}

.header-container-right {
  justify-content: flex-end;
  position: relative;
}

.header-container-right img {
  height: inherit;
}

.language-switcher-link {
  color: black;
  margin-right: 30px;
  font-size: 0.8rem;
}

.language-switcher-link:hover,
.language-switcher-link:focus {
  cursor: pointer;
  color: rgb(228,0,69);
}

/* 3. Visual */

.visual-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.visual-container img {
  width: 100%;
}

/* 4. Font Sizes */

.man-header-label {
  font-size: 0.7rem;
  padding-right: 30px;
}

/* 5. Footer */

#default-footer {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

#newsletter-section {
  min-height: 50px;
  background-color: #f4f5f6;
  border-bottom: 2px solid white;
}

.footer-subsection {
  background: #f4f5f6;
  border-bottom: 2px solid white;
  display: flex;
  flex-wrap: wrap;
  font-family: 'front_light';
  color: #303c49;
}

#footer-hints-section,
#additional-footer-links-section {
  padding: 30px 20px;
}

#additional-footer-links-section a {
  color: #303c49;
}

#additional-footer-links-section a:not(:last-child) {
  margin-right: 20px;
}

#additional-footer-links-section a:hover,
#additional-footer-links-section a:focus {
  color: rgb(228,0,69);
  cursor: pointer;
}

.hints-title {
  font-family: 'front_bold';
  margin-bottom: 20px;
}

.links-footer-column span {
  font-family: 'front_bold';
}

.links-footer-column {
  width: 25%;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  color: #303c49;
  line-height: 1.5;
  font-family: 'front_light';
}

.links-footer-column a {
  color: #303c49;
}

.links-footer-column a:hover,
.links-footer-column a:focus {
  cursor: pointer;
  color: rgb(228,0,69);
}

#icons_section a {
  width: 100%;
  display: flex;
  align-items: center;
}

.footer-icon-container {
  height: 20px;
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ccc;
  border-radius: 10px;
  background-color: #303c49;
}

.links-footer-column a:not(:last-child) {
  margin-bottom: 10px;
}

.footer-icon-container i {
  color: white;
  font-size: 11px;
}

.footer-icon-container i:hover {
  cursor: pointer;
}

.icon-label-footer {
  color: #303c49;
}

#icons_section .icon-label-footer {
  font-family: 'front_light';
  margin-left: 10px;
}

.links-footer-column a:first-of-type {
  margin-top: 20px;
}

#icons_section a:hover .icon-label-footer {
  color: rgb(228,0,69);
}

#footer-end-section {
  background: #f4f5f6;
  padding: 20px;
  font-family: 'front_light';
  display: flex;
}

/* 5.1 Footers responsiveness */

@media (max-width:999px) {

  .links-footer-column {
    width: 50%;
  }

  .icon-label-footer,
  .address-line,
  #footer-hints-section p {
    font-size: 0.8rem;
  }

}

@media (max-width:640px) {

  .links-footer-column {
    width: calc(100% - 40px);
    border-bottom: 1px solid #e2e3e4;
    margin: 0 auto;
    padding: 15px 0;
  }

  .links-footer-column:first-of-type {
    border-top: 1px solid #e2e3e4;
  }

  .links-footer-column > span {
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
  }

  .links-footer-column > span::after {
    content: "+";
    position: absolute;
    left: 0;
    color: rgb(228,0,69);
    font-size: 35px;
    font-family: 'front_light';
    transition: content 0.5s;
  }

  .links-footer-column > .infos-section-title.toggled-on::after {
    content: "-";
    transform: scaleX(1.9);
    margin-left: 5px;
    margin-bottom: 5px;
  }

  #footer-infos-section {
    padding: 30px 0;
  }

  #footer-infos-section .links-footer-column a {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    opacity: 0;
    transition: margin 0.5s, max-height 0.5s, opacity 0.5s;
  }

  #footer-infos-section .links-footer-column a.toggled-on {
    max-height: 50px;
    margin-bottom: 10px;
    opacity: 1;
  }

  #footer-infos-section .links-footer-column a.toggled-on:first-of-type {
    margin-top: 20px;
  }

  .infos-section-title:hover,
  .infos-section-title:focus {
    cursor: pointer;
    color: rgb(228,0,69);
  }

}

/* 6. Special Contact Form Sections */

.hotel-information {
  margin: 0 0 10px 0;
  padding-left: 40px;
}

.hotel-information > *,
.contact-form-bottom-part > * {
  display: block;
}

.hotel-information a,
.contact-form-bottom-part a {
  color: black;
}

.hotel-information a:hover,
.hotel-information a:focus,
.contact-form-bottom-part a:hover,
.contact-form-bottom-part a:focus {
  color: rgb(228,0,69);
  cursor: pointer;
}

.contact-form-heading {
  font-size: 1.2rem;
}

.contact-form-section:nth-of-type(2),
.contact-form-subheading,
.contact-form-heading {
  font-family: 'front_bold';
}

.contact-form-bottom-part > span {
  margin-bottom: 15px;
}

.contact-form-section:nth-of-type(3),
.contact-form-section:nth-of-type(6),
.contact-form-section:nth-of-type(9),
.contact-form-section:nth-of-type(12) {
  border-top: 2px solid lightgray;
  padding-top: 20px;
}

.contact-form-section:nth-of-type(6),
.contact-form-section:nth-of-type(9) {
  margin-top: 20px;
}

.overnight-header,
.food-habits-header,
.contact-form-bottom-part {
  margin-top: 0;
}

#overnight_stay_info {
  margin-top: 20px;
}

#food_habits_section {
  margin-top: 0;
}

#participation_conditions {
  margin-top: 20px;
}

#speech_section {
  margin-top: 20px;
}

/* 7. Welcome Page */

main {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: 20px auto 0 auto;
}

.main-part-container-left,
.main-part-container-right {
  width: 100%;
}

.main-part-container-left,
.main-part-container-right {
  display: flex;
  flex-direction: column;
}

.main-part-container-right {
  justify-content: flex-start;
}

.bold-line {
  font-family: 'front_bold';
  font-size: 1.2rem;
}

.main-part-subcontainer {
  background-color: #f4f5f6;
  display: flex;
  flex-direction: column;
  width: 260px;
  padding: 20px;
}

.main-part-subcontainer:first-child {
  margin-bottom: 30px;
}

.subcontainer-title {
  color: rgb(228,0,69);
  font-size: 0.8rem;
  margin: 0;
}

.subcontainer-section {
  display: flex;
  flex-direction: column;
  color: black;
}

.subcontainer-section-title {
  font-family: 'front_bold';
  margin-bottom: 5px;
}

.subcontainer-section-line {
  margin: 0;
}

.subcontainer-section a {
  color: black;
}

.subcontainer-section a:hover,
.subcontainer-section a:focus {
  cursor: pointer;
  color: rgb(228,0,69);
}

/* Copied from contact_form.css, as that stylesheet is not enqueued on home page */
.contact-form-submit-button {
  padding: 10px 25px;
  color: white;
  background-color: rgb(228,0,69);
  border: 2px solid rgb(228,0,69);
  transition: background-color 0.5s, color 0.5s;
  font-size: 1.2rem;
  white-space: nowrap;
  font-family: inherit;
  width: auto;
}

.contact-form-submit-button:visited {
  color: white;
}

.contact-form-submit-button:hover,
.contact-form-submit-button:focus {
  background-color: white;
  color: rgb(228,0,69);
  cursor: pointer;
}

.main-lp-header {
  margin-top: 0;
}

.main-part-container-right {
  margin-top: 20px;
}

@media (min-width: 1095px) {

  #overnight_stay_info {
    margin-top: 10px;
  }

  #speech_section {
    margin-top: 0;
  }

  main {
    flex-direction: row;
  }

  .main-part-container-left {
    width: 60%;
  }

  .main-part-container-right {
    width: 40%;
  }

  .main-part-container-right {
    align-items: center;
  }

  .main-part-container-right {
    margin-top: 0;
  }

  /* Header */
  .man-header-label {
    font-size: 0.9rem;
  }

  .language-switcher-link {
    font-size: 1rem;
  }

  .header-container-right img {
    margin-bottom: -20px;
  }

  .header-bar {
    margin: 0 20px;
  }

}
