/* Admin settings page styles. */

// welcome settings page styles
.wrap.welcome .heading {
	line-height: 1.2;
	font-size: 2.8em;
	font-weight: 400;
}

.welcome-header {
	//border: 1px red solid;
	display: flex;
	justify-content: space-between;
}

.wrap.welcome .wpgo-settings-inner {
	p, ul {
		font-size: 15px;
	}

  .welcome-getting-started {

    line-height: 22px;

    li span {
      font-weight: bold;
      font-size: 16px;
    }
  }
  
}

.wrap.welcome .wpgo-settings-inner {
	h2 {
		font-size: 24px;
		margin-top: 12px;
	}
	h3 {
    font-size: 16px;
    margin-bottom: -5px;
	}
	a button {
		font-size: 14px;
	}
}

// new features settings page styles
ul.wpgo-settings-grid-container {
  @supports (display: grid) {
    display: grid;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
  list-style: none;
  margin: 40px 30px 30px 20px;
  //padding: 0;

  li {
    //align-items: center;
    display: flex;
    //@supports not (display: grid) {
    //  margin: 30px;
    //}
    //font-size: 18px;
    //justify-content: center;
    //padding: 60px 0;
    //background-color: #8be8cb;

    .wpgo-settings-card {
      position: relative;
      padding: 3px;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
      border-radius: 6px;

      .ribbon-wrapper {
        width: 85px;
        height: 88px;
        overflow: hidden;
        position: absolute;
        top: -2px;
        left: -2px;
        z-index: 99;

        .ribbon {
          font: bold 15px sans-serif;
          color: #333;
          text-align: center;
          transform: rotate(-45deg);
          position: relative;
          padding: 7px 0;
          top: 15px;
          left: -30px;
          width: 120px;
          
          color: #fff;

          &.new {
            background-color: #c34c4c;
          }
          &.fix {
            background-color: #b3b3b3;
          }
          &.update {
            background-color: #2bb427;
          }
        }
      }

      .image-wrapper {
        position: relative;

        .pro-only {
          position: absolute;
          top: 12px;
          right: 12px;
          background: #f5d53e;
          margin: 0 0 0 0;
          padding: 4px 7px;
          font-weight: bold;
          border-radius: 4px;
          font-size: 12px;
          color: #151515;
          border: 2px #cab035 solid;

          a {
            text-decoration: none;
            color: inherit;
          }
        }

        .free-only {
          position: absolute;
          top: 12px;
          right: 12px;
          background: #4ebf4e;
          margin: 0 0 0 0;
          padding: 4px 7px;
          font-weight: bold;
          border-radius: 4px;
          font-size: 12px;
          color: #fff;
          border: 2px #2e962e solid;
        }

        img {
          max-width: 100%;
          border-radius: 6px 6px 0 0;
          display: block;
        }
      }

      .details {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        color: #777;
        font-size: 12px;
        background: #eee;
      }

      .card-content {
        flex: 1;
        padding: 1.5rem;
        background: #ffffff;

        h2 {
          margin: 0 0 0.5rem 0;
          line-height: 1em;
        }

        p {
          margin: 0;
          line-height: 1.5;
        }
      }
      .permalink {
        display: flex;
        background: #eee;
        padding: 1.1rem;
        border-radius: 0 0 6px 6px;
        justify-content: space-between;

        .hide-button {
          visibility: hidden;
        }

        a {
          color: #ffffff;
          text-decoration: none;
          background: #b7b7b7;
          padding: 0.75em;
          border-radius: 4px;
          font-size: 1em;
          border: none;
          line-height: 1em;
        }

        .right {
          background: #2fa3f2;
          //background: #4ebf4e;
        }
      }
    }
  }
}

/* General unsorted styles */

.new-features-count {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  margin: 1px 0 -1px 2px;
  padding: 0 5px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background-color: #ca4a1f;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  z-index: 26;
}

// wrapper styles with/without tabs enabled
.fs-full-size-wrapper .wpgo-settings-inner {
  margin: 25px 30px 0 30px;
}
.wrap.no-tabs {
	margin: 25px 30px 0 20px;
}

.wpgo-settings-inner {

	// .heading {
	// 	margin-top: -15px;
	// }

  a, a:visited {
    color: #388d8c;
  }

	a:hover {
    color: #59afad;
  }

  .plugin-btn {
    display: inline-block;
    padding: 7px 7px;
    margin: 5px 0 0 0;
    font-size: 16px;
    background: #279a97bf;
    border: 2px #237976a1 solid;
    border-radius: 2px;
    color: #fff;
    text-decoration: none;
  }
	
	.plugin-btn:hover, .plugin-btn:visited {
    color: #fff;
  }

  .plugin-text-link {
    padding: 0;
    width: 144px;
  }

  .pro a {
    color: #151515;
    text-decoration: none;
  }
}

.pro {
  background: #f5d53e;
  margin: 0 0 0 0;
  padding: 1px 3px;
  font-weight: bold;
  border-radius: 2px;
  font-size: 10px;
  color: #151515;
}

.code-link {
  text-decoration: none;
}

.shortcode-attributes {
  list-style-type: disc;
}

.shortcode-attributes li {
  margin-left: 25px;
}

.wpgo-expand-box {
  background: #fff;
  border: 1px dashed #ccc;
  font-size: 13px;
  margin: 30px 0 10px 0;
	padding: 15px 15px 10px 20px;
	
	h4 {
		margin-top: 5px;
		display: inline-block;
		margin-bottom: 10px;
	}
}

.wp-core-ui button[id$="-btn"] {
  margin-left: 10px;
}
[id$="-wrap"] {
  display: none;
}

#plugin-usage-wrap,
#attributes-wrap {
  display: none;
  margin: 10px;
}

.social-link {
  display: inline-block;
  line-height: 0;
}

#attributes-btn,
#plugin-usage-btn {
  margin-left: 20px;
}

#plugin-usage-btn span {
  vertical-align: sub;
  width: 16px;
  height: 16px;
  font-size: 16px;
}

/* Other wpgoplugins.com styles */
// @TODO do we need these?

.other-plugins-tbl {
  display: inline-table;
}

.plugin-image-link {
  line-height: 0;
  display: block;
  width: 144px;
}

.plugin-text-link div {
  text-align: center;
  margin: 0;
}

.plugin-text-link h3 {
  margin: 0;
  font-size: 15px;
  margin-top: -5px;
}

.plugin-text-link a {
  text-decoration: none;
}

.other-plugins-tbl img {
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 140px;
  border-radius: 5px;
  border: 1px #fff solid;
}
