/* Team Boxes */

span.icon {
  max-height: 24px;
  max-width: 24px;
  padding: 2px;
  &>img {
    margin: 0 !important;
  }
}

div.ranks {
  div.playerbox {
    transition: 300ms;
    img.playerimage {
      margin: 0;
    }
    &:hover {
      background-color: #e1eefc;
      transition: 300ms;
      cursor: pointer;
    }
  
    &>#description {
      p, img {
        margin: 0;
        text-align: left;
        display: inline-block;
      }
    }
  }
}

// News box
div#newsbox {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  transition: opacity 300ms;

  .content {
    overflow-y: scroll;
    height: calc(100% - 64px);
    padding: 32px 0;
    max-width: 1140px;
    width: calc(100vw - 40px);

    &>#content-box {
      &>h1,h2,h3,h4,h5,p {
        margin: 10px 0 6px;
        transition: opacity 300ms;
        padding: 0 8.333%;
      }
    }

    &>.inner {
      padding: 79px 0 65px;
      position: relative;
      background-color: #f2f7fc;
      border-radius: 3px;
      text-align: left;

      &>.close-btn {
        position: absolute;
        right: 39px;
        top: 39px;
        width: 40px;
        height: 40px;
        background-image: url(/img/close-btn.svg);
        cursor: pointer;
      }

      &>.title {
        font-size: 28px;
        line-height: 38px;
        font-weight: 600;
        margin: 8px 0 17px;
        padding: 0 8.333%;
      }

      &>.lead {
        font-size: 17px;
        line-height: 28px;
        margin: 10px 0 6px;
        transition: opacity 300ms;
        padding: 0 8.333%;
      }
    }
  }

  div.color-background {
    background-color: #3c4650;
    opacity: .9;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
  }
}

// Job apply form
form#apply-form {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  transition: opacity 300ms;

  &>.content {
    overflow-y: scroll;
    height: calc(100% - 64px);
    padding: 32px 0;
    max-width: 1140px;
    width: calc(100vw - 40px);
    &>.inner {
      padding: 79px 0 65px;
      position: relative;
      background-color: #f2f7fc;
      border-radius: 3px;
      text-align: left;

      &>.close-btn {
        position: absolute;
        right: 39px;
        top: 39px;
        width: 40px;
        height: 40px;
        background-image: url(/img/close-btn.svg);
        cursor: pointer;
      }

      &>.supertitle {
        font-size: 13px;
        line-height: 18px;
        font-weight: 600;
        margin-left: 8.333%;
      }

      &>.title {
        font-size: 28px;
        line-height: 38px;
        font-weight: 600;
        margin: 8px 0 17px;
        padding: 0 8.333%;
      }

      &>.lead {
        font-size: 17px;
        line-height: 28px;
        margin: 10px 0 6px;
        transition: opacity 300ms;
        padding: 0 8.333%;
      }

      &>.apply-row {
        display: flex;
        flex-direction: column;
        transition: opacity 300ms;
        max-width: 100%;
        padding: 0 8.333%;

        &>.apply-section {
          flex: 0 0 100%;
          max-width: none;
          
          &>.inner {
            display: flex;
            flex-direction: column;

            &>label {
              margin: 21px 0 0;
            }
          }
        }

        &>.-submit {
          &>.legal {
            font-size: 13px;
            line-height: 20px;
            margin: 21px 0 23px;
          }
        }
      }
    }
  }

  div.color-background {
    background-color: #3c4650;
    opacity: .9;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
  }
}
