:root {
  --header-height: 50px;
  --header-width: 1615px;
}

#zert-languages {
  display: none;
}

#version-history {
  display: none;
}

#change-log {
  display: none;
}

#metadata {
  display: none;
}

.zert {
  height: 100%;
  line-height: 1;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  vertical-align: baseline;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

.zert-loader-container {
  display: flex;
  height: calc(100% - var(--header-height));
  width: 100%;
  align-items: center;
  justify-content: center;
}

.zert-loader {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
  vertical-align: middle;
  justify-content: center;
  &::after {
    content: "";
    position: absolute;
    top: -6px;
    right: -6px;
    bottom: -6px;
    left: -6px;
    border-radius: 50px;
    border: 6px solid transparent;
    border-top-color: #188ec7;
    animation: spin 1.5s linear infinite;
  }
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}

.zert-container {
  height: 100%;
  background-color: #272727;
  color: #FFFFFF;
}

.zert-header {
  height: var(--header-height);
  max-height: var(--header-height);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: var(--header-width);
  margin: 0 auto;
}

.zert-header > * {
  padding: 0 1em;
  margin: 0 0.5em;
}

.zert-selector-wrapper,
.zert-download-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.zert-selector-label,
.zert-download-label {
  flex: 0 0 auto;
  margin-right: 1em;
}

.zert-selector {
  position: relative;
}

.zert-version-select {
  text-transform: none;
}

select {
  flex: 0 0 auto;
  padding: 5px 25px 5px 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 15px;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  height: 30px;
  text-transform: capitalize;
}

.zert-selector:after {
  content: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="%23000000"%3E%3Cpath d="M0 0h24v24H0z" fill="none"/%3E%3Cpath d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/%3E%3C/svg%3E');
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  width: 24px;
  height: 24px;
}

.zert-download {
  display: flex;
  align-items: center;
}

.zert-button:after {
  content: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="%23000000"%3E%3Cg%3E%3Crect fill="none" height="24" width="24"/%3E%3C/g%3E%3Cg%3E%3Cpath d="M5,20h14v-2H5V20z M19,9h-4V3H9v6H5l7,7L19,9z"/%3E%3C/g%3E%3C/svg%3E');
  width: 24px;
  height: 24px;
  border: none;
  outline: none;
}

.zert-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background-color: #fff;
  color: #272727;
  border: none;
  border-radius: 15px;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  text-decoration: none;
  text-transform: uppercase;
  height: 20px;
}

.zert-button:hover {
  background-color: #8e8e8e;
}

.zert-iframe {
  height: calc(100% - var(--header-height));
  width: 100%;
  border: none;
  outline: none;
}

@media only screen and (max-width: 400px) {
  .zert-selector-label,
  .zert-download-label {
    display: none;
  }
}