main { 
  padding: 0;
}

strong { 
  font-family: 'OpenSans-SemiBold', sans-serif; 
}

.form-info {
  float: right;
}

.bg--gradient {
  background: linear-gradient(90deg, #41007F 0%, #AA1DD5 100%);
  margin-top: 0;
}

.instruments-form-container {
  height: max-content;
}

.card__header {
  width: 100%;
  height: auto;
  filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.15));
}

.topic-banner {
  align-items: center;
  background: url('/wp-content/uploads/instruments-landing-page-hero.jpg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  color: #ffffff;
  display: flex;
  filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.15));
  height: 43rem;
  justify-content: center;
}
.topic-banner h1 {
  color: #ffffff;
  margin: 0;
}

.toggle-bar label, 
.toggle-bar button { cursor: pointer; }
.toggle-bar > h3 { flex-basis: 33.3%; padding: 20px; margin: 0; }
.toggle-wrapper { position: relative; }

.toggle-area {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 40px;
  /* padding: 22px; */
  border-top: 1px solid rgba(255,255,255,0.4);
  transition: 0.3s background ease-in-out;
}

.toggle-area h3 { 
  font-size: 2.4rem; 
  margin-bottom: 0; 
  text-align: center;
  max-width: 100%;
}

.toggle-area p {
  display: none;
}

.toggle-wrapper .close {
    display: none;
    position: absolute;
    top: 0;
    right: 20px;
    background: none;
    padding: 0;
    font-size: 2rem;
    z-index: 1;
}

.toggle-bar input:checked ~ .toggle-wrapper .close {
  display: block !important;
}

.toggle-bar input:checked ~ .toggle-wrapper label {
  cursor: default;
}

.toggle-bar input:checked ~ .toggle-wrapper .toggle-area { border: 0 }

.special-svg { width: 150px !important; }


#surface-acoustic-wave:checked ~ .toggle-wrapper > :not([for="surface-acoustic-wave"]),
#bulk-acoustic-wave:checked ~ .toggle-wrapper > :not([for="bulk-acoustic-wave"]),
#film-bulk-acoustic-resonator:checked ~ .toggle-wrapper > :not([for="film-bulk-acoustic-resonator"]) { 
  display: none 
}

#surface-acoustic-wave:checked ~ .toggle-wrapper [for="surface-acoustic-wave"],
#bulk-acoustic-wave:checked ~ .toggle-wrapper [for="bulk-acoustic-wave"],
#film-bulk-acoustic-resonator:checked ~ .toggle-wrapper [for="film-bulk-acoustic-resonator"] {
  flex-flow: column;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.4);
}

#surface-acoustic-wave:checked ~ .toggle-wrapper [for="surface-acoustic-wave"] svg,
#bulk-acoustic-wave:checked ~ .toggle-wrapper [for="bulk-acoustic-wave"] svg,
#film-bulk-acoustic-resonator:checked ~ .toggle-wrapper [for="film-bulk-acoustic-resonator"] svg {
  height: 80px;
  width: 80px !important;
}

#surface-acoustic-wave:checked ~ .toggle-wrapper [for="surface-acoustic-wave"] h3,
#bulk-acoustic-wave:checked ~ .toggle-wrapper [for="bulk-acoustic-wave"] h3,
#film-bulk-acoustic-resonator:checked ~ .toggle-wrapper [for="film-bulk-acoustic-resonator"] h3 {
  height: 60px;
}

#surface-acoustic-wave:checked ~ .toggle-wrapper [for="surface-acoustic-wave"] p,
#bulk-acoustic-wave:checked ~ .toggle-wrapper [for="bulk-acoustic-wave"] p,
#film-bulk-acoustic-resonator:checked ~ .toggle-wrapper [for="film-bulk-acoustic-resonator"] p {
  display: block;
  flex-basis: 100%;
  margin-top: 20px;
}


@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

@media only screen and (min-width: 768px) {

  [class*="plus-"]:before {
    left: 0 !important;
    margin-right: 0.75ch !important;
  }

  .topic-banner {
    text-align: center;
  }

  .toggle-bar {
    display: flex;
    align-items: center;
    flex-flow: wrap;
  }

  .toggle-bar > h3 { padding: 40px 20px; flex-basis: 100%; }

  .toggle-wrapper {
    display: flex;
    flex-basis: 100%;
    width: 100%;
  }

  .toggle-area {
    flex-basis: 33.3%;
    width: 33.3%;
    flex-flow: column;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid rgba(255,255,255,0.4);
  }

  .toggle-area:hover {
    background: rgba(0,0,0,0.15);
  }

  .toggle-area svg { max-width: 150px; }

  .toggle-area:not(:last-of-type) { border-right: 1px solid rgba(255,255,255,0.4) }

  #surface-acoustic-wave:checked ~ .toggle-wrapper [for="surface-acoustic-wave"],
  #bulk-acoustic-wave:checked ~ .toggle-wrapper [for="bulk-acoustic-wave"],
  #film-bulk-acoustic-resonator:checked ~ .toggle-wrapper [for="film-bulk-acoustic-resonator"] {
    flex-flow: row wrap;
    justify-content: flex-start;
    border-top: 0;
    background: none !important;
  }

  #surface-acoustic-wave:checked ~ .toggle-wrapper [for="surface-acoustic-wave"] svg,
  #bulk-acoustic-wave:checked ~ .toggle-wrapper [for="bulk-acoustic-wave"] svg,
  #film-bulk-acoustic-resonator:checked ~ .toggle-wrapper [for="film-bulk-acoustic-resonator"] svg {
    margin-right: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  [for="surface-acoustic-wave"] svg { width: 135px; height: 147px;}
  [for="bulk-acoustic-wave"] svg { width: 130px; height: 131px; }
  [for="film-bulk-acoustic-resonator"] svg { width: 128px; height: 127px; }

  .toggle-bar { flex-wrap: nowrap !important; }

  .toggle-bar > h3 { padding: 20px 15px 20px 0; flex-basis: 33.3%;}

  .toggle-wrapper { min-height: 342px; flex-basis: 66.6%; }
  .toggle-area { min-height: 342px; }

  .toggle-wrapper {
    border-left: 1px solid rgba(255,255,255,0.4);
    border-right: 1px solid rgba(255,255,255,0.4);
  }

  .toggle-area {
    border-top: 0;
  }
  
  .special-section .toggle-area h3 { font-size: 2rem; }
}

@media only screen and (min-width: 1480px) {

  .toggle-bar > h3 { padding: 20px 80px 20px 50px; }

  .special-section .toggle-bar > h3 { padding-right: 60px; }

  .special-section .toggle-area h3 { font-size: 2.3rem; }

  .toggle-wrapper, .togle-area { min-height: 292px; }

  [lang="zh-hans"] .toggle-bar > h3 { padding-right: 20px; }
}

@media only screen and (max-width: 1023px) {
}
@media only screen and (max-width: 767px) {
  .main-header .inner { padding: 0 2rem; }
  .topic-banner h1 { padding-left: 7rem; }
  .toggle-wrapper svg { max-width: 150px; width: 100%; margin-right: 0; }
  [class*="plus-"]:before { margin-left: -3.5rem; }
}
