﻿:root {
  --light-green: #E7FDEF;
  --green: #009c60;
}
/* Header */
.basic-wrapper {
  margin: auto;
  max-width: 1080px;
}

.basic-header-wrapper {
  align-items: center;
  display: grid;
  grid-template-columns: 150px auto;
  justify-content: space-between;
  padding: 8px 30px;
}

@media (min-width: 1024px) {
  .basic-header-wrapper {
    padding: 8px 30px;
  }
}

.basic-header-logo-wrapper {
  font-size: 0;
}

.basic-header-logo-wrapper a, 
.basic-header-logo-wrapper img {
  display: block;
}

.basic-header-language-switch a {
  color: var(--black);
  font-size: .75rem;
  text-align: right;
  text-decoration: underline;
}

.basic-header-language-switch a:hover,
.basic-header-language-switch a:focus {
  color: var(--primary-red);
}

/* Section */
.sf-section-wrapper {
  margin: auto;
  max-width: 1080px;
}

.sf-section-form {
  padding: 20px;
}
/* Banner */
@media screen and (max-width: 767px) {
  .sf-section-banner .sf-section-image.basic-image-container {
    min-height: 200px;
    overflow: hidden;
  }
  .sf-section-banner .sf-section-image.basic-image-container .basic-image {
    height: 200px;
    object-fit: cover;
  }
}

@media screen and (max-width: 430px) {
  .sf-section-banner .sf-section-image.basic-image-container .basic-image {
    object-position: 80% 0;
  }
}

@media screen and (min-width: 768px) {
  .basic-image-container .basic-image-credit {
    bottom: inherit;
    left: inherit;
    margin: -32px auto 0;
    max-width: 1080px;
    padding: 10px 20px 10px 50%;
    position: relative;
    right: inherit;
    text-align: right;
    top: inherit;
  }
}

@media screen and (min-width: 768px) {
  .basic-image-container .basic-image-credit {
    padding-left: 50%;
  }
}
@media screen and (min-width: 951px) {
  .basic-image-container .basic-image-credit {
    padding-left: 500px;
  }
}

.sf-banner-content-box {
  background: var(--primary-red);
  padding: 20px;
  text-align: center;
}

.sf-banner-heading {
  color: var(--white);
}

.sf-banner-subheading {
  color: var(--white);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .sf-banner-content-box {
    align-items: center;
    display: flex;
    max-width: 45%;
    min-height: 200px;
  }

  .basic-image-container.sf-section-image {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
  }

  .basic-image-container.sf-section-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .sf-section {
    position: relative;
  }
}

@media (min-width: 951px) {
  .sf-banner-content-box {
    padding: 40px;
  }

  .sf-banner-heading {
    font-size: 2.625rem;
  }

  .sf-banner-subheading {
    font-size: 1.125rem;
  }
}

@media (min-width: 1170px) {
  .sf-banner-content-box {
    min-height: 300px;
  }

  .sf-banner-heading {
    font-size: 3.125rem;
  }
}

.sf-section-form .sf-section-wrapper {
  max-width: 768px;
}

.sf-form-heading {
  margin-bottom: 20px;
}

.sf-notice-block {
  background: #e001;
  display: grid;
  grid-template-columns: 20px auto;
  margin-bottom: 20px;
  padding: 15px 20px;
}

.sf-notice-block::before {
  color: var(--primary-red);
  content: '!';
  font-size: 20px;
  font-weight: 700;
  line-height: 1em;
}

.sf-notice {
  color: var(--primary-red);
  font-style: italic;
}

.sf-notice a {
  color: inherit;
}

.sf-notice a:hover {
  color: inherit;
  text-decoration: underline;
}

/* Form Content */
.sf-description-trailer,
.sf-description-trailer p,
.sf-form .explanation-text {
  color: var(--medium-grey-darker);
  font-size: .75rem;
}

.ck-editor__editable {
  min-height: 200px;
}

.file-drop-zone .file-instructions {
  font-size: .875rem;
}

/* Thank You */
.formwidget-submit-text .sf-success-block {
  background: var(--light-green);
  display: grid;
  grid-template-columns: 20px auto;
  margin-bottom: 20px;
  padding: 15px 20px;
}

.formwidget-submit-text .sf-success-block::before {
  color: var(--green);
  content: '\2713';
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.125;
}

.formwidget-submit-text form {
  text-align: center;
}
