/* 1. General */
/* 2. Header */
/* 3. Introductory Info */
/* 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/amag_text-light-webfont.ttf') format('truetype'),
        url('/fonts/amag_text-light-webfont.woff') format('woff');
}

@font-face {
  font-family: 'front_medium';
  src:  url('/fonts/amag_display-light-webfont.ttf') format('truetype'),
        url('/fonts/amag_display-light-webfont.woff') format('woff');
}

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

* {
  box-sizing: border-box;
}

html {
  font-family: "front_light";
}

a {
  text-decoration: none;
  color: #13aff0 !important;
}

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

body {
  margin: 0;
}

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

/* 2. Header */

.amaq-square-logo-text {
  fill: white;
}

#amag-square-logo {
  background: black;
  width: 105px;
}

header {
  display: flex;
  width: 100%;
}

.header-title-container {
  flex-grow: 1;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 17px;
  font-family: 'front_bold';
  padding-top: 27px;
}

/* 3. Introductory info */

.introductory-info {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  padding: 10px 20px;
  width: calc(100% - 50px);
  margin: 0 auto;
}

.info-subtitle {
  font-family: 'front_bold';
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 0;
}

.info-main-title {
  font-family: 'front_bold';
  font-size: 18px;
}

.info-sub-description {
  line-height: 1.3;
  margin-top: 5px;
}

/* 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 */

#custom-contact-form-container {
  width: calc(100% - 50px);
  margin: 0 auto;
  padding: 50px 0;
}

.contact-form-subheading,
.contact-form-heading {
  font-family: 'front_bold';
}

/* Center (vertically) checkbox descriptions */
.checkbox-option-description {
  align-items: center;
  min-height: 20px;
}

.contact-form-container input,
.contact-form-container select {
  border-radius: 0;
  margin-bottom: 8px;
  height: 30px;
  padding-top: 4px;
  font-size: 15px;
}

.contact-form-container textarea {
  border-radius: 0;
  padding-top: 4px;
  font-size: 15px;
}

.select-menu-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid darkgray;
  padding-bottom: 14px;
}

#data_privacy_section,
#comments_section,
.contact-form-submit-button {
  margin-top: 20px;
}

.data-privacy-policy {
  display: inline-block;
  padding: 0 4px;
  color: #13aff0 !important;
}

#thank-you-par {
  font-family: 'front_bold';
}

/* 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: 20px 25px;
  color: white;
  background-color: black;
  border: 2px solid black;
  transition: background-color 0.5s, color 0.5s;
  font-size: 1.2rem;
  white-space: nowrap;
  font-family: 'front_bold';
  width: auto;
  border-radius: 5px;
}

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

.contact-form-submit-button:hover,
.contact-form-submit-button:focus {
  background-color: white;
  color: black;
  cursor: pointer;
}

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

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

@media (min-width:750px) {

  .header-title-container {
    padding-left: 30px;
    font-size: 30px;
  }

}

@media (min-width: 1095px) {

  #amag-square-logo {
    width: 200px;
  }

  .header-title-container {
    padding-left: 50px;
    font-size: 45px;
  }

  .introductory-info {
    margin: 0 0 0 250px;
    width: calc(80% - 250px);
  }

  #custom-contact-form-container {
    margin: 0 0 0 200px;
    padding: 50px 0 50px 50px;
    width: calc(80% - 200px);
  }

  #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;
  }

}


#date_one_selection,#date_two_selection {
  display: none;
}
