.pinTop {
  position: fixed;
  top: 16px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  transition: all 0.5s;
  line-height: 1;
  transform: translateX(-50%);
  z-index: var(--z-index-normal);
}

#model-title {
  position: relative;
  padding: 0 10px;
  min-width: 180px;
  height: 38px;
  font-weight: 100;
  transition: all 0.3s;
  pointer-events: all;
  border-radius: 10px;
  word-wrap: break-word;
  background: rgba(0, 0, 0, 0.2);

  &:hover,
  &.expand {
    background: rgba(0, 0, 0, 0.5);
  }
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  white-space: nowrap;
}

#title-toggle {
  display: none;
}

#title-container-wrapper {
  width: 100%;
  overflow: hidden;
}

.title-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  right: 0;
  margin-left: 1px;
  height: 38px;
  width: 100%;
  white-space: nowrap;
  transition: all 0.4s ease-in-out;

  &.expand {
    #more-hint {
      display: none;
    }
  }
  &.meta-toggle {
    cursor: pointer;
  }
  #more-hint,
  &.expand #less-hint {
    display: flex;
    align-items: center;
    padding-left: 12px;
    height: 100%;
    font-weight: 400;
    font-size: 10px;
  }
  #less-hint {
    display: none;
  }
  .icon-dpad-down {
    position: relative;
    display: block;
    width: 0;
    height: 0;
    border-width: 8px 6px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
    margin: 40px 0;
    transition: all 0.2s;
  }
  .icon-dpad-up {
    display: block;
    width: 0;
    height: 0;
    border-width: 0px 6px 8px;
    border-style: solid;
    border-color: transparent transparent #fff;
    margin: 40px 0;
    transition: all 0.2s;
    position: relative;
  }
}

#title-logo {
  margin-right: 6px;

  i {
    display: block;
    width: 18px;
    height: 18px;
    background: url('/images/4dage-logo.png') left top no-repeat;
    background-size: 100%;
  }
}

#gui-name {
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 100%;
  line-height: 18px;
  font-size: 18px;
}

#meta-info-wrapper {
  position: relative;
  top: 14px;
  width: 360px;
  overflow: hidden;

  &.expand {
    pointer-events: auto;
  }
}

#meta-info {
  position: relative;
  bottom: 100%;
  width: 100%;
  padding: 10px;
  white-space: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  color: #fff;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;

  * {
    user-select: text;
  }
  &.expand {
    bottom: 0;
  }
  #meta-description {
    margin-bottom: 10px;
    word-wrap: break-word;
    text-align: justify;
  }
  .contact-info {
    margin-bottom: 12px;
  }
  .address {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
  .menu-toggles {
    font-size: 14px;
    padding-top: 10px;
  }
}

@media only screen and (max-width: 370px) {
  #gui-name {
    font-size: 16px;
  }
  #meta-info-wrapper {
    width: 100vw;
  }
  #meta-info {
    font-size: 12px;
  }
}

@media only screen and (max-width: 330px) {
  #gui-name {
    font-size: 14px;
  }
}
