/* general */

:root {
  --darkgrey: #3e3e3e;
}
h4 {
  font-size: 28px;
  margin: 0 0 45px;
}
.main ul {
  margin: 0 0 40px 20px;
}
.alignleft {
  margin: 0 40px 40px 0;
}
.alignright {
  margin: 0 0 40px 40px;
}

/* banner */

#banner.mach {
  position: relative;
  background: var(--white);
  min-height: 500px;
  margin: 0;
  overflow-x: visible;
}
#banner.mach .banner-img {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#banner.mach .red-overlay {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 60% 0%, 30% 100%, 0% 100%);
  background: var(--red);
}
#banner.mach .container {
  position: relative;
  z-index: 9;
  grid-template-columns: 1fr 2fr;
  grid-gap: 0;
  min-height: inherit;
  padding-top: 30px;
  padding-bottom: 30px;
}
  #banner.mach .container main {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
  }
  #banner.mach .logo {
    position: relative;
    z-index: 10;
    max-width: 85%;
  }
  #banner.mach h1 {
    font-size: 32px;
    text-transform: uppercase;
    margin: 0 0 40px;
  }
  #banner.mach p {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    padding-right: 22%;
    margin: 0 0 30px;
  }
#intro h3 {
  text-align: center;
  text-transform: uppercase;
}
.buttons .button-wrap {
  display: flex;
  justify-content: space-evenly;
}
  body:not(#conference-page) .buttons .button:not(#insert-media-button) {
    background: var(--blue);
    border-color: var(--blue);
  }
  body:not(#conference-page) .buttons .button:not(#insert-media-button):hover {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
  }

/* section 2 */

#section-2 {
  position: relative;
  background: #000;
}
#section-2 .bg-img {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#section-2 .container {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-gap: 0 130px;
  align-items: center;
}
  #section-2 h3 {
    font-size: 34px;
    font-weight: 500;
    color: var(--white);
    text-transform: none;
    text-align: right;
    padding: 0 90px 0 0;
    margin: 0;
    border-right: 2px solid var(--white);
  }
  #section-2 ul {
    font-size: 24px;
    color: var(--white);
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
  }
    #section-2 ul li:not(:last-child) {
      margin: 0 0 25px;
    }

/* section 3 */

#section-3 .container {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0 60px;
  align-items: stretch;
}
#section-3 img.aligncenter,
#section-3 h3,
#section-3 .buttons {
  grid-column: 1 / -1;
}
#section-3 h3 {
  color: var(--blue);
  margin: 0 0 50px;
}
#section-3 .buttons {
  padding-top: 30px;
}
#steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: #f4f4f4;
}
  #steps aside {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 40px;
    align-items: start;
  }
  #steps aside:not(:last-child) {
    margin: 0 0 30px;
  }
  #steps aside h4 {
    position: relative;
  }
  #steps aside h4:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
  }
  #steps aside p {
    font-size: 16px;
    margin: 0;
  }

/* section 4 */

#section-4 .container { 
  display: grid;
  justify-items: center;
}
#section-4 h3 {
  color: var(--blue);
  margin: 0 0 50px;
  text-align: center;
  text-transform: uppercase;
}
#section-4 p {
  font-size: 22px;
  text-align: center;
  text-transform: uppercase;
}
body:not(#conference-page) #section-4 .button:not(#insert-media-button) {
    background: var(--blue);
    border-color: var(--blue);
  }
  body:not(#conference-page) #section-4 .button:not(#insert-media-button):hover {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
  }

@media screen and (max-width: 1200px) {
  #banner.mach .banner-img {
    object-position: 65% 0;
  }
  #banner.mach .container {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 1024px) {
  #banner.mach .banner-img {
    object-position: 65% 0;
  }
  #banner.mach .red-overlay {
    clip-path: polygon(0 0, 70% 0%, 40% 100%, 0% 100%);
  }
  #section-2 .container {
    grid-template-columns: 1fr 1fr;
  }
  #section-3 .container {
    grid-template-columns: 1fr;
    grid-gap: 0 60px;
  }
  #steps {
    margin: 0 0 30px;
  }
  #section-3 .container img {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  #banner.mach {
    min-height: 300px;
  }
  #banner.mach .container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  #banner.mach .container main {
    justify-content: center;
  }
  #banner.mach .banner-img {
    object-position: 100% 0;
  }
  #banner.mach:not(.info) .red-overlay {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.7;
  }
  #banner.mach.info .red-overlay {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
  }
  #banner.mach h1 {
    margin: 0 0 20px;
  }
  #banner.mach p {
    padding-right: 0;
    margin: 0;
  }
  #banner.mach .logo {
    max-width: 300px;
    margin: 0 auto 30px;
  }
  #section-2 .container {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
  #section-2 h3 {
    text-align: center;
    padding: 0 0 30px;
    border-right: 0px solid var(--white);
    border-bottom: 0px solid var(--white);
  }
  #section-2 ul {
    margin: 0 0 40px 30px;
  }
}
@media screen and (max-width: 580px) {
  #steps aside {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }
  .buttons .button-wrap {
    display: grid;
    justify-items: center;
  }
}


/* mach atlantic - info page */

#banner.mach.info {
  background: var(--blue);
  min-height: 200px;
}
#banner.mach.info #breadcrumbs {
  justify-self: end;
}
#banner.mach.info p {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-right: 0;
  margin: 0;
}
  #banner.mach.info p a {
    color: #92a3b5;
  }

#mach-atlantic-info .container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 60px;
}
#mach-atlantic-info #sidebar {
  background: #f0f0f0;
  padding: 30px 20px;
}
#mach-atlantic-info #sidebar h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
#mach-atlantic-info #sidebar h3:not(:first-of-type) {
  margin-top: 30px;
}
#mach-atlantic-info #sidebar a {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  padding: 8px 12px;
  background: var(--white);
  border-bottom: 2px solid #f0f0f0;
}
  #mach-atlantic-info #sidebar a:hover {
    color: var(--white);
    background: var(--blue);
    border-bottom: 2px solid var(--blue);
  }
#mach-atlantic-info h4 {
  margin: 0 0 15px;
}
#main > h3 {
  margin: 0 0 60px;
}
#main .info-block:last-child hr {
  display: none;
}

@media screen and (max-width: 1024px) {
  #mach-atlantic-info .container {
    grid-template-columns: 1fr 2fr;
  }
}
@media screen and (max-width: 768px) {
  #mach-atlantic-info .container {
    display: flex;
    flex-direction: column-reverse;
    grid-gap: 0;
  }
  #banner.mach.info #breadcrumbs {
    justify-self: center;
  }
  #mach-atlantic-info #sidebar {
    margin-top: 60px;
  }
}

/* mach atlantic - application page */

#mach-atlantic-info #sidebar ul {
  list-style: none;
  margin: 30px 0 0;
}
#mach-atlantic-info #sidebar ul li:nth-child(2) {
  font-size: 13px;
  margin-bottom: 15px;
}
#mach-atlantic-info #sidebar ul a i {
  padding-right: 5px;
}