* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  color: var(--body-text-color);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, li, a {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--body-text-color);
  text-decoration: none;
}

.fader-enter-active,
.fader-leave-active {
  transition: opacity 0.5s ease;
}
.fader-enter-from,
.fader-leave-to {
  opacity: 0;
}


.trans-fader1 {
  animation-name: fader1;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
}
@keyframes fader1 {
  0% { opacity: 1; height: 100% }
  25% { opacity: 1; height: 100% }
  75% { opacity: 1; }
  100% { height: 0; opacity: 0 }
}
.trans-fader2 {
  animation-name: fader2;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes fader2 {
  0% { opacity: 1 }
  25% { opacity: 1 }
  100% { opacity: 0; }
}



.debug { 
  position: fixed; 
  bottom: 0; 
  right: 0; 
  background: var(--header-bg-color);
  color: #fff; 
  padding: 10px;
  z-index: 100;
  border-top-left-radius: 4px;
  opacity: 0.5;
}

.s-limit {
  max-width: 1080px;
  width: 100%;
  margin: auto;
  position: relative;
}
.s-capped {
  max-width: 66.66%;
}
.s-pad {
  padding: 64px 0;
}

.s-loading {
  position: fixed;
  background: var(--header-bg-color);
  color: var(--header-text-color);
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  bottom: 0;
  z-index: 10000;
  pointer-events: none;
}
.s-loading img {
  height: 40px;
  display: block;
  margin: calc(50vh - 20px) auto;
}

.s-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  width: 100vw;
  background: var(--header-bg-color);
  color: var(--header-text-color);
  z-index: 100;
}
.s-header--logo {
  float: left;
}
.s-header--logo img {
  height: 30px;
  padding: 4px;
}
.s-header--logo a {
  font-size: 20px;
  color: var(--header-text-color);
  padding: 15px 16px 15px 0;
  display: block;
  line-height: 30px;
}
.s-header--logo a:focus {
  outline: 1px solid #fff;
  border: none;
}
.s-header--items {
  padding: 10px;
  width: 681px;
  float: right;
}
.s-content .s-pad div > img {
  max-width: 300px;
  max-height: 200px;
}
.s-popup--card_body h2 {
  font-size: 20px;
  font-weight: 500;
}
.s-section--content p a {
  font-size: inherit !important;
  text-decoration: underline;
  font-weight: 500;
}
.s-section--content p {
  line-height: 26px !important;
}
.s-header--items li {
  height: 40px;
  line-height: 40px;
  float: left;
  padding: 0 16px;
  margin-left: 8px;
  font-size: 14px;
  opacity: 0.8;
  color: var(--header-text-color);
  transition: all 0.3s ease;
  border-color: var(--subheader-bg-color);
}
.s-header--items li:hover {
  border-bottom: 4px solid var(--subheader-bg-color);
  opacity: 1;
}
.s-header--items li.search {
  border-bottom: 0px;
}
.s-header--items li[data-selected="true"] {
  background: var(--subheader-bg-color);
  border-radius: 3px;
  opacity: 1;
}
.s-header--items a:focus {
  outline: 1px solid #fff;
  border: none;
}
.s-header--items li.search:focus {
  outline: none;
}
.s-header--items li input {
  height: 40px;
  font-size: 14px;
  border: 2px solid var(--header-text-color);
  color: var(--header-text-color);
  border-radius: 3px;
  background: none;
  width: 200px;
  padding: 0 10px;
}
.s-header--items li input::placeholder {
  color: var(--header-text-color);
  opacity: 0.5;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}
.s-header--items li input:focus {
  outline: 1px solid #fff;
}



.s-home {
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--subheader-bg-color);
  overflow: hidden;
}
.s-home--overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
}
.s-home--shapes {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: calc(100vh - 60px - 60px);
}
.s-home--shapes svg {
  opacity: 0.8;
  position: absolute;
}
.s-home--shapes svg.s1 {
  width: 90%;
  left: -200px;
  top: -650px;
}
.s-home--shapes svg.s2 {
  width: 50%;
  right: -300px;
  bottom: -300px;
}
.s-home--content {
  position: relative;
  z-index: 1;
  margin-top: 120px;
}
.s-home--content p h2 {
  font-size: 52px;
  padding: 0px !important;
  margin-bottom: 16px;
}
.s-home--content p {
  color: var(--header-text-color);
  font-size: 36px !important;
  line-height: 44px !important;
  padding: 0px !important;
  max-width: 580px !important;
}
.s-home--content p * {
  color: var(--header-text-color) !important;
}
.s-home--content button {
  height: 40px;
  border-radius: 3px;
  padding: 0 48px;
  color: #fff;
  outline: none;
  border: none;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 24px;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.s-home--content button:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.s-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100vw;
  height: 40px;
  background: var(--subheader-bg-color);
  color: var(--subheader-text-color);
  z-index: 100;
}
.s-nav--items {
  float: left;
  height: 40px;
}
.s-nav--items li {
  height: 40px;
  line-height: 40px;
  font-size: 12px;
  letter-spacing: 0.2px;
  padding: 0 16px;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  float: left;
  color: var(--header-text-color);
  border-bottom-width: 0px;
  border-bottom-style: solid;
  background: var(--subheader-sel-color);
  transition: all 0.3s ease;
  opacity: 0.8;
}
.s-nav--items li:hover {
  border-bottom-width: 4px;
  opacity: 1;
}
.s-nav--items a:focus {
  outline: 1px solid #fff !important;
  border: none !important;
}
.s-nav--items li[data-selected="false"] {
  background: none;
}
.s-nav--items li[data-selected="true"] {
  border-bottom-width: 0px;
  opacity: 1;
  font-weight: 500;
}

.s-content {
  margin-top: 60px;
  min-height: calc(100vh - 100px - 150px);
  margin-bottom: 60px;
}
.s-nav ~ .s-content {
  margin-top: 100px;
}
.s-content h1 {
  font-size: 24px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  padding: 0 16px;
  font-weight: 600;
}
.s-content h2 {
  font-size: 22px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  padding: 0 16px;
  font-weight: 600;
}
.s-content .s-banner h2 {
  color: #fff;
}
.s-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
  padding: 0 16px;
  font-weight: 600;
}
.s-content h4 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: 0.1px;
  padding: 0 16px;
}
.s-content h5 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: 0.1px;
  padding: 0 16px;
}
.s-content p {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1px;
  padding: 0 16px;
  font-weight: 400;
  white-space: pre-line;
}
.s-content p img {
  max-width: 400px;
}
.s-content p h2 {
  padding: 0px;
}
.s-content p > div a {
  font-size: inherit;
  text-decoration: underline;
  font-weight: 500;
}

.s-toolkit {
  margin-top: 64px;
}
.s-toolkit--card {
  width: calc(33.33% - 32px);
  margin: 16px;
  background: var(--header-bg-color);
  border-radius: 3px;
  overflow: hidden;
  padding: 0px;
  height: 280px;
  position: relative;
  display: inline-block;
  transition: all 0.2s ease;
}
.s-toolkit--card:hover {
  transform: scale(1.03);
  cursor: pointer;
}
.s-toolkit--card_icon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 92px;
  background: rgba(0, 0, 0, 0.3);
}
.s-toolkit--card_icon div {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;
  position: absolute;
  opacity: 0.4;
  top: 0;
}
.s-toolkit--card_icon img {
  width: 120px;
  height: 120px;
  display: block;
  margin: 20px auto;
  z-index: 10;
  position: relative;
}
.s-toolkit--card_label {
  color: var(--header-text-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 1;
  line-height: 20px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  padding: 8px;
}
.s-toolkit--card_label span {
  display: block;
}
.s-toolkit--card_label span:nth-child(1) {
  font-size: 16px;
  margin-bottom: 34px;
}
.s-toolkit--card_label span:nth-child(2) {
  font-weight: 400;
  font-size: 13px;
  text-align: left !important;
}

.s-banner {
  height: 150px;
  width: 100vw;
  padding-top: 36px;
  transition: all 0.3s ease;
  position: relative;
}
.s-banner--image {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.4;
  top: 0;
}
.s-banner--image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.s-banner img {
  width: 100px;
  height: 100px;
  top: -14px;
  left: 0;
  position: absolute;
}
.s-banner h2,
.s-banner p {
  padding-left: 102px;
}
.s-banner p {
  color: #fff;
  max-width: 75%;
}
.s-banner p * {
  color: inherit;
  max-width: inherit;
}

.s-section {
  margin: 128px 0;
  vertical-align: top;
}
.s-section--nav {
  width: 300px;
  padding-right: 16px;
  padding-left: 40px;
  border-right: 2px solid #eee;
  min-height: 300px;
  display: inline-block;
  vertical-align: top;
}
.s-section--nav {
  position: relative;
}
button.clear {
  position: absolute;
  right: 38px;
  top: 8px;
  border-radius: 100px;
  border: none;
  background: #eee;
  font-size: 20px;
  transition: all 0.3s ease;
  color: var(--body-text-color);
}
button.clear:hover {
  background: #ccc;
  cursor: pointer;
}
.s-section--nav li {
  min-height: 32px;
  padding: 8px;
  line-height: 24px;
  transition: all 0.3s ease;
  border-left-width: 4px;
  border-left-color: transparent;
  border-left-style: solid;
  position: relative;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.s-section--nav li[data-selected="false"] {
  background: none;
  border-left-color: transparent;
}
.s-section--nav li:hover {
  background: #e9edf0;
  cursor: pointer;
}
.s-section--nav > ul > a > li[data-selected="true"] {
  background: #e9edf0 !important;
}
.s-section--nav > ul > a > li {
  font-weight: 500;
  font-size: 14px;
}
.s-section--nav ul > a {
  display: block;
}
.s-section--nav > ul > ul {
  margin-left: 16px;
  margin-top: 8px;
}
.s-section--nav > ul > ul li {
  font-size: 13px;
  margin-top: 8px;
}
.s-section--nav > ul > ul li:hover {
  background: #e9edf0 !important;
}
.s-section--nav > ul > ul li[data-selected="true"] {
  font-weight: 500;
  border-left-color: transparent;
  background: #e9edf0 !important;
}
.s-section--content {
  width: calc(100% - 304px);
  display: inline-block;
  vertical-align: top;
  padding: 0 16px;
}
.s-section--content h4 {
  margin-top: 32px;
}
.s-section--content_subcategory {
  padding: 0 16px;
  overflow: auto;
}
.s-section--content_subcategory ul {
  padding-top: 2px;
}
.s-section--content_subcategory li {
  float: left;
  padding: 8px;
  border-radius: 4px;
  margin: 0 8px 8px 0;
  border: 2px solid #e9edf0;
  transition: all 0.3s ease;
  color: #fff;
}
.s-section--content_breadcrumbs {
  font-size: 12px !important;
  padding: 0 16px 10px 16px;
  display: block;
}
.s-section--content_breadcrumbs a {
  text-decoration: underline;
  font-size: 12px !important;
}
.s-section--content_breadcrumbs span {
  padding: 0 4px;
}
.s-section--content_subcategory li:hover {
  cursor: pointer;
  background: #e9edf0;
  color: var(--body-text-color);
}
.s-section--content_exercise {
  background: #e9edf0;
  margin: 16px 0 16px 16px;
  height: 100px;
  padding-top: 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}
.s-section--content_exercise:hover {
  transform: scale(1.03);
  cursor: pointer;
}
.s-section--content_exercise p {
  font-weight: 400;
  font-size: 14px;
  max-width: 66%;
  overflow: hidden;
  white-space: pre-line;
  height: 48px;
  text-overflow: ellipsis;
}
.s-section--content_tags {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 33%;
}
.s-section--content_tags li {
  font-size: 11px;
  margin: 0 8px 8px 0;
  display: block;
  float: right;
  padding: 3px;
  border-radius: 3px;
  color: #fff;
  transition: all 0.2s ease;
  background: var(--toolkit-6);
}
.s-section--content_tags li:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.s-section--nav input,
.s-section--mob input {
  width: 230px;
  height: 40px;
  background: none;
  border: 2px solid #e9edf0;
  border-radius: 3px;
  color: var(--body-text-color);
  font-size: 14px;
  font-weight: 400;
  padding: 0 8px;
  font-family: 'Montserrat', sans-serif;
}
.s-section--nav select,
.s-section--mob select {
  width: 230px;
  height: 40px;
  background: #e9edf0;
  border: 2px solid #e9edf0;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 16px;
  color: var(--body-text-color) !important;
  font-size: 14px;
  font-weight: 400;
  padding: 0 8px;
  font-family: 'Montserrat', sans-serif;
}

.s-section--mob {
  position: relative;
  margin: 0 16px 16px 16px;
}
.s-section--mob p {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 13px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.s-section--mob input {
  width: 100%;
}
.s-section--mob select {
  width: 100%;
  height: 40px;
  background: #e9edf0;
  border: 2px solid #e9edf0;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  padding: 0 8px;
  font-family: 'Montserrat', sans-serif;
}
.s-section--mob select.special {
  color: #e9edf0 !important;
}

.s-footer {
  width: 100vw;
  background: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding: 64px 0;
}
.s-footer img {
  height: 16px;
  margin-bottom: 16px;
  display: block;
}
.s-footer-trio {
  width: 20%;
  vertical-align: top;
  padding-right: 32px;
  display: inline-block;
  color: var(--footer-text-color);
}
.s-footer-trio h5,
.s-footer-trio ul,
.s-footer-trio li {
  color: var(--footer-text-color);
  font-size: 13px;
}
.s-footer-trio h5 {
  font-weight: 500;
  font-size: 14px;
}
.s-footer-trio li {
  margin-top: 6px;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.s-footer-trio li:hover {
  cursor: pointer;
  opacity: 1;
}
.s-footer-trio p {
  color: var(--footer-text-color);
  opacity: 0.8;
  font-size: 13px;
  white-space: pre-line;
}
.s-footer-trio a {
  color: var(--footer-text-color);
  opacity: 0.8;
  font-size: 13px;
  text-decoration: underline;
}

.s-section--nav ul {
  position: relative;
}
.s-section--nav_toggle {
  position: absolute;
  left: -38px;
  width: 30px;
  height: 30px;
  top: 6px;
  background: none;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--body-text-color);
}
.s-section--nav_toggle:hover {
  background: #e9edf0;
}

.s-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}
.s-popup--overlay {
  background: var(--header-bg-color);
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.7;
  z-index: 1;
}
.s-popup table {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
.s-popup table td {
  vertical-align: middle;
}
.s-popup--card_header {
  font-size: 22px;
  margin-bottom: 16px;
}
.s-popup--card {
  background: #fff;
  z-index: 10;
  position: relative;
  max-width: 1080px;
  margin: 64px auto;
  max-height: calc(100vh - 128px);
  padding: 32px;
  border-radius: 3px;
}
.s-popup--card p {
  white-space: pre-line;
}
.s-popup--card ul {
  margin-top: 16px;
}
.s-popup--card ul li {
  font-size: 13px;
  margin: 0 8px 8px 0;
  display: inline-block;
  padding: 4px;
  border-radius: 3px;
  color: #fff;
  transition: all 0.2s ease;
}
.s-popup--card ul li:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.s-popup--card_header button {
  background: var(--subheader-bg-color);
  color: var(--subheader-text-color);
  border: 0;
  position: absolute;
  right: 32px;
  top: 24px;
  height: 30px;
  padding: 0 32px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.s-popup--card_header button:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.s-form {
  border-radius: 3px;
  padding: 32px;
  background: #e9edf0;
  border: none;
  margin: 32px 16px;
  max-width: 600px;
  transition: all 0.3s ease;
}
.s-form label {
  display: block;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 8px;
}
.s-form input {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 2px solid #e9edf0;
  border-radius: 3px;
  color: var(--body-text-color);
  font-size: 14px;
  font-weight: 400;
  padding: 0 8px;
  font-family: 'Montserrat', sans-serif;
}
.s-form select {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 2px solid #e9edf0;
  border-radius: 3px;
  color: var(--body-text-color);
  font-size: 14px;
  font-weight: 400;
  padding: 0 8px;
  font-family: 'Montserrat', sans-serif;
}
.s-form textarea {
  width: 100%;
  height: 150px;
  background: #fff;
  border: 2px solid #e9edf0;
  border-radius: 3px;
  color: var(--body-text-color);
  font-size: 14px;
  font-weight: 400;
  padding: 8px;
  font-family: 'Montserrat', sans-serif;
}
.s-form *[data-error="true"] {
  border: 2px solid red;
}
.s-form label ~ input,
.s-form label ~ textarea,
.s-form label ~ select {
  margin-bottom: 16px;
}
.s-form button {
  background: var(--subheader-bg-color);
  color: var(--subheader-text-color);
  border: 0;
  height: 40px;
  padding: 0 32px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  margin-top: 16px;
  width: 100%;
  transition: all 0.3s ease;
}
.s-form button:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.s .tk1,
.a .tk1 {
  background: var(--toolkit-1);
  border-color: var(--toolkit-1);
  fill: var(--toolkit-1);
}
.tk1-focus *:focus {
  outline: 1px solid var(--toolkit-1);
}
.s .tk2,
.a .tk2 {
  background: var(--toolkit-2);
  border-color: var(--toolkit-2);
  fill: var(--toolkit-2);
}
.s .tk3,
.a .tk3 {
  background: var(--toolkit-3);
  border-color: var(--toolkit-3);
  fill: var(--toolkit-3);
}
.s .tk4,
.a .tk4 {
  background: var(--toolkit-4);
  border-color: var(--toolkit-4);
  fill: var(--toolkit-4);
}
.s .tk5,
.a .tk5 {
  background: var(--toolkit-5);
  border-color: var(--toolkit-5);
  fill: var(--toolkit-5);
}
.s .tk6,
.a .tk6 {
  background: var(--toolkit-6);
  border-color: var(--toolkit-6);
  fill: var(--toolkit-6);
}


/* Admin Panel */

.a-lhs {
  position: absolute;
  left: 0;
  width: 200px;
  border-right: 1px solid #ccc;
  top: 0;
  bottom: 0;
}
.a-lhs li {
  height: 40px;
  font-size: 15px;
  padding: 0 10px;
  line-height: 40px;
  border-bottom: 1px solid #ccc;
}
.a-lhs li:hover {
  cursor: pointer;
  background:#eee;
}
.a-lhs li[data-selected="true"] {
  background:#eee;
  font-weight: 500;
}
.a-rhs {
  position: absolute;
  right: 0;
  left: 200px;
  top: 0;
  bottom: 0;
}

.a-rhs h1 {
  font-size: 20px;
  font-weight: 500;
  padding: 20px 20px 5px 20px;
}
.a-rhs p {
  font-size: 14px;
  padding: 0 20px;
}

.a-rhs .a-table {
  width: calc(100% - 40px);
  height: calc(100vh - 120px);
  overflow-y: auto;
  margin: 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.a-rhs .a-table table {
  width: 100%;
  border-collapse: collapse;
}
.a-rhs .a-table table th {
  background:#eee;
  font-size: 11px;
  text-transform: uppercase;
  text-align: left;
  padding: 5px 10px;
  font-weight: 500;
  border-bottom: 1px solid #ccc;
}
.a-rhs .a-table table td {
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  padding: 10px;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
}
.a button {
  height: 30px;
  border: 1px solid #ccc;
  background: #eee;
  border-radius: 3px;
  padding: 0 20px;
  font-size: 13px;
}
.a button.action {
  background: darkcyan;
  border-color: darkcyan;
  color: #fff;
}
.a button:hover {
  cursor: pointer;
  background:#ccc;
}
.a button.action:hover {
  background: rgb(2, 108, 108);
}

.a-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
}
.a-popup table {
  width: 100%;
  height: 100%;
}
.a-popup--card {
  background:#fff;
  border-radius: 3px;
  width: calc(100% - 128px);
  height: calc(100% - 128px);
  padding: 20px;
  margin: auto;
  overflow-y: auto;
}
.a-popup--card h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.a-popup--card p {
  margin-bottom: 10px;
}
.a-popup--card p span {
  display: inline-block;
  font-family: monospace;
  white-space: pre-line;
  background:#eee;
  border-radius: 3px;
  font-size: 12px;
  padding: 3px 8px;
}
.a-popup--card input,
.a .editor {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  font-family: sans-serif;
  white-space: pre-line;
}
.a-popup--card .a-tags ~ button,
.a-popup--card input ~ button,
.a-popup--card .editor ~ button {
  margin: 20px 0 0 20px;
  float: right;
}
.a-popup--card .editor ~ label {
  margin-top: 20px;
}
.a-popup--card label {
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}
.a span.preview {
  max-width: 300px;
  max-height: 100px;
  display: block;
  overflow: hidden;
}
.a-content {
  padding: 20px;
}
.a-content input {
  height: 30px;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  font-family: sans-serif;
}
.a-content input ~ button {
  margin-left: 10px;
}
.a-tag {
  background:#eee;
  padding: 10px 36px 10px 10px;
  border-radius: 3px;
  display: inline-block;
  margin: 0 10px 10px 0;
  position: relative;
}
.a-tag span {
  width: 16px;
  height: 16px;
  display: inline-block;
  text-align: center;
  line-height: 15px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  position: absolute;
  top: 11px;
  right: 10px;
  background:#ccc;
}
.a-tag span:hover {
  cursor: pointer;
  background: lightcoral;
}

.a span.label {
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  font-size: 12px;
}

.a-rhs--action {
  position: absolute;
  top: 20px;
  right: 20px;
}

.a .a-minitag {
  font-size: 11px;
  margin: 0 5px 5px 0;
  background:#eee;
  display: inline-block;
  padding: 2px 4px;
}
.a .a-minitag[data-visible="true"] {
  background:#ccc;
}

.a-popup select {
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-right: 10px;
}

/* mobile */

ul.s-header--items.mobile {
  position: fixed;
  top: 50px;
  left: 0px;
  right: 0px;
  overflow-y: auto;
  background: var(--header-bg-color);
  color: #fff;
  padding: 16px 0 64px 0;
  height: 0px;
  width: 100vw;
  transition: height 0.3s ease;
  pointer-events: none;
  opacity: 0;
}
ul.s-header--items.mobile.open {
  height: 100vh;
  opacity: 1;
  pointer-events: all;
}
ul.s-header--items.mobile li {
  display: block;
  float: none;
  padding: 8px 16px;
  height: 34px;
  margin: 0px;
  line-height: 16px;
  font-weight: 500;
  font-size: 15px;
}
ul.s-header--items.mobile li:hover {
  background: var(--subheader-bg-color);
  opacity: 1;
}
ul.s-header--items.mobile li.pad {
  padding-left: 42px;
  font-weight: 400;
  opacity: 0.8;
}

ul.s-header--items.mobile li.search {
  height: 56px;
  margin-bottom: 8px;
}
ul.s-header--items.mobile li.search input {
  width: calc(100vw - 32px);
}
button.s-header--mobile {
  border: 2px solid #fff;
  background: none;
  height: 40px;
  position: absolute;
  right: 16px;
  top: 12px;
  border-radius: 3px;
  color: #fff;
  padding: 0 20px;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
}

@media only screen and (max-width: 800px) {
  .s-limit {
    padding: 0 16px;
  }
  .s-header--items {
    display: none;
  }
  .s-header--items.mobile {
    display: block;
  }
  .s-home--shapes svg.s1 {
    width: 70vh;
    top: -30vh;
    left: -10vw;
  }
  .s-home--shapes svg.s2 {
    width: 50vh;
    bottom: -25vh;
    right: -20vw;
  }
  .s-nav {
    display: none;
  }
  .s-capped {
    max-width: 100% !important;
  }
  .s-toolkit--card {
    width: calc(100% - 32px);
  }
  .s-toolkit {
    padding-bottom: 64px;
  }
  .s-footer-trio {
    display: block;
    width: 100%;
    margin-top: 32px;
  }
  .s-footer-trio:nth-child(2) {
    display: none;
  }
  .s-section--nav {
    display: none;
  }
  .s-section--content {
    width: 100%;
    padding: 0;
  }
  .s-banner {
    height: 130px;
  }
  .s-banner p {
    display: none;
  }
  .s-banner img {
    position: relative;
    display: block;
    width: 80px;
    height: 80px;
    margin: -16px auto -16px auto;
  }
  .s-banner h2 {
    padding: 0;
    text-align: center;
  }
  .s-nav ~ .s-content {
    margin-top: 60px;
  }
  .s-section {
    margin: 64px 0;
  }
  .s-footer {
    padding: 32px 16px;
  }
  .s-section--content_exercise {
    margin: 16px;
    height: auto;
    overflow: auto;
    padding: 16px 0;
  }
  .s-section--content_exercise p {
    max-width: 100%;
  }
  .s-section--content_tags {
    display: block;
    position: relative;
    top: 8px;
    left: 16px;
    right: 0;
    width: calc(100% - 32px);
  }
  .s-section--content_tags li {
    display: block;
    float: inherit !important;
    width: 100%;
  }
  .s-popup--card_header button {
    bottom: 16px;
    left: 16px;
    right: 16px;
    top: initial;
  }
  .s-section--content_breadcrumbs {
    display: none;
  }
  .s-nav ~ .s-content {
    padding-top: 32px;
  }
  .s-banner {
    margin-top: -32px;
  }
  button.clear {
    right: 8px;
  }
}


.s-popup--card {
  height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  width: calc(100vw - 32px);
  margin: 16px auto;
  padding: 16px;
}
.s-popup--card_body {
  overflow-y: auto;
  height: calc(100% - 112px);
}