$scheme:#0073aa;

#gws-plugin-page {
  padding: 0 20px;

  .gws-plughead {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;

    img {
      max-width: 150px;
    }

    .gws-plugsupport {
      width: 100px;
      text-align: center;
      font-size: 22px;
      margin-left: auto;
      line-height: 26px;
      padding: 10px 20px;

      &:hover {
        color: $scheme;
      }

      a {
        text-decoration: none;
        color: #444;

        &:hover {
          color: $scheme;
        }
      }

      strong {
        display: block;
      }

      span {
        font-size: 36px;
        display: inline;
        vertical-align: middle;
      }
    }

    .gws-plugpremium {
      padding: 20px 5px 20px 20px;

      a {
        padding: 15px 20px;
        background: $scheme;
        color: #fff;
        text-decoration: none;
        font-size: 19px;
        box-shadow: 0px 1px 5px #aaa;
      }
    }
  }

  #gws-plugsettings {
    background: #fff;
    display: flex;

    .gws-plugbar {
      width: 260px;
      background: #222;
      color: #fff;
    }

    .tgl {
      position: absolute;
      width: 50px;
      height: 25px;
      margin-top: 0px;
      z-index: 10;
      opacity: 0;

      // add default box-sizing for this scope
      &,
      &:after,
      &:before,
      & *,
      & *:after,
      & *:before,
      &+.tgl-btn {
        box-sizing: border-box;

        &::selection {
          background: none;
        }
      }

      +.tgl-btn {
        outline: 0;
        display: block;
        width: 4em;
        height: 2em;
        position: relative;
        cursor: pointer;
        user-select: none;

        &:after,
        &:before {
          position: relative;
          display: block;
          content: "";
          width: 50%;
          height: 100%;
        }

        &:after {
          left: 0;
        }

        &:before {
          display: none;
        }
      }

      &:checked+.tgl-btn:after {
        left: 50%;
      }
    }

    .tgl-ios {
      +.tgl-btn {
        background: #fbfbfb;
        border-radius: 2em;
        padding: 2px;
        transition: all .4s ease;
        border: 1px solid #e8eae9;

        &:after {
          border-radius: 2em;
          background: #fbfbfb;
          transition:
            left .3s cubic-bezier(0.175, 0.885, 0.320, 1.275),
            padding .3s ease, margin .3s ease;
          box-shadow:
            0 0 0 1px rgba(0, 0, 0, .1),
            0 4px 0 rgba(0, 0, 0, .08);
        }

        &:hover:after {
          will-change: padding;
        }

        &:active {
          box-shadow: inset 0 0 0 2em #e8eae9;

          &:after {
            padding-right: .8em;
          }
        }
      }

      &:checked+.tgl-btn {
        background: $scheme;

        &:active {
          box-shadow: none;

          &:after {
            margin-left: -.8em;
          }
        }
      }
    }

    .gws-plugsections {
      width: calc(100% - 260px);
      padding: 20px 30px 60px;
      position: relative;

      h3 {
        font-size: 24px;
        margin-bottom: 0;
      }

      h4 {
        font-size: 16px;
        color: #666;
        margin-top: 15px;
      }

      & form>div {
        display: none;
      }

      .active {
        display: block;
      }

      button {
        background: $scheme;
        color: #fff;
        border: none;
        padding: 13px 15px;
        cursor: pointer;
        box-shadow: 0px 0px 5px #aaa;
        font-size: 16px;
      }

      .gwssection-inner {
        margin: 30px 0;
      }

      .gwssection-inner .gws-optrow {
        display: flex;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.05);

        &:last-child {
          border: none;
        }

        .gws-optlabel {
          width: 50%;
          align-items: center;
          padding: 20px 0;

          label {
            display: block;
            font-size: 18px;
            line-height: 24px;
            margin-bottom: 10px;
            color: #000;
            cursor: auto;
          }

          small {
            font-size: 14px;
            color: #555;
          }
        }

        .gws-optinput {
          width: 50%;
          align-items: center;
          padding: 20px 0 20px 40px;

          label,
          input {
            line-height: 25px;
            font-size: 16px;
          }

          .gws-rangecurrent {
            text-align: center;
            width: 80%;
            font-size: 20px;
            font-weight: 500;
          }

          span {
            font-size: 16px;
          }

          .gws-rangeinput input {
            width: 80px;
          }

          input[type=number] {
            max-width: 80px;
          }

        }

        .gws-repeator {
          width: 100%;
          background: #fff;
          border: 1px solid #ddd;
          margin: 20px 0;
          border-radius: 5px;

          h4 {
            padding: 20px;
            margin: 0 !important;
            background: #ddd;
            color: #444 !important;
            border-radius: 5px 5px 0 0;
            font-size: 18px;
          }

          .repeator-inner {
            padding: 20px;

            .repeator-item {
              display: flex;
              flex-flow: wrap;
              border-bottom: 1px solid #ddd;
              padding: 20px 0;

              .repeator-label,
              .repeator-input {
                width: 50%;
                padding: 10px 0;
                font-size: 17px;
              }

              input {
                line-height: 25px;
                font-size: 16px;
              }

              textarea {
                height: 100px;
                width: 300px;
                font-size: 16px;
              }

              small {
                display: block;
                margin-top: 5px;
                font-size: 13px;
              }
            }
          }
        }

      }

      .gws-copyright {
        bottom: 5px;
        position: absolute;
        right: 20px;
        font-weight: 500;
        color: #666;
      }
    }

    .gws-plugbar ul {
      margin: 0;
      display: flex;
      flex-direction: column;

      li:last-child {
        border: none;
      }

      li {
        padding: 20px 15px;
        display: inline-flex;
        align-items: center;
        flex-flow: wrap;
        font-size: 17px;
        word-break: break-word;
        border-bottom: 1px solid #333;
        cursor: pointer;
        color: #fff;
        margin-bottom: 0;

        &:hover {
          background: #333;
        }

        &.active {
          background: $scheme;
        }

        span {
          font-size: 24px;
          margin: 0px 15px 4px 0px;
        }

        small {
          display: block;
          width: 100%;
          margin-top: 7px;
          color: #bbb;
        }
      }
    }
  }

  .gwssection-faqs.active+input+input+button {
    display: none;
  }

  .govr-premium-opt {
    display: flex;
    width: 100%;
    position: relative;

    a {
      position: absolute;
      display: flex;
      left: 0;
      right: 0;
      justify-content: center;
      bottom: 0;
      align-items: center;
      top: 0;
      z-index: 999;
      text-decoration: none;
      font-size: 21px;
      line-height: 24px;
      text-align: center;
      background: rgba(255, 255, 255, 0.6);

      span {
        border-radius: 5px;
        background: #0073aa;
        color: #fff;
        padding: 7px 20px;

        &:hover {
          background: #016594;
        }

        small {
          display: block;
        }
      }
    }

    small {
      font-size: 14px;
    }
  }

  .govr-premium-section {
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;

    &:before {
      content: '';
      background: rgba(255, 255, 255, 0.7);
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
    }

    span {
      position: absolute !important;
      display: inline-block;
      text-align: center;
      background: #0073aa;
      color: #fff;
      padding: 10px 20px;
      font-size: 21px;
      line-height: 26px;
      cursor: pointer;

      small {
        display: block;
        font-size: 15px;
      }
    }

    img {
      min-height: 10px !important;
      height: auto !important;
      width: auto !important;
    }
  }

}

.govr-review-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 10px;

  p {
    font-size: 16px;
    margin-top: 0;
    padding: 2px 0;
  }

  strong {
    font-size: 17px;
    margin: 7px 0 5px;
    display: block;
  }

  // img {
  //   border-radius: 50%;
  // }
  img {
    float: left;
    width: 90px;
    height: 35px;
    margin-top: 10px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
  }
}

.govr-admin-review {
  padding: 10px 15px 15px;
}

a.govrrevbtn {
  background: #eee;
  text-decoration: none;
  padding: 7px 13px;
  margin-right: 7px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
}

a.govr-lets-review.govrrevbtn {
  background: #0073aa;
  color: #fff;
}