/**
 * 11. Welcome Page
 */
.cgps-welcome-wrap{
  position: relative;
  margin: 25px 40px 0 20px;
  font-size: 15px;
  max-width: 1200px;

  p{
    font-size: 14px;
    line-height: 1.5;
  }

  h1{
    margin: 0.2em 200px 0 0;
    padding: 0;
    color: #32373c;
    line-height: 1.2em;
    font-size: 2.8em;
    font-weight: 400;
  }

  .cgps-logo{
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    height: 160px;
    width: 140px;
    background-image: linear-gradient( 45deg, #2d67cb, #ad19f3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25), inset 0 0 0 4px rgba(0,0,0,0.25);

    .cgps--effects i{
      position: absolute;
      width: 200px;
      height: 100px;
      background-color: rgba(0,0,0,0.15);
      transform: rotate(-45deg);
    }

    .cgps--effects i:nth-child(1){
      bottom: -20px;
      right: -70px;
    }

    .cgps--effects i:nth-child(2){
      bottom: -35px;
      right: -80px;
    }

    .cgps--effects i:nth-child(3){
      bottom: -50px;
      right: -90px;
    }

    .cgps--effects i:nth-child(4){
      bottom: -65px;
      right: -100px;
    }

    .cgps--wp-logos{
      position: relative;
      padding-top: 25px;
      text-align: center;
    }

    .cgps--wp-logo{
      position: absolute;
      left: 20px;
      width: 20px;
      height: 20px;
      background-repeat: no-repeat;
      background-position: center center;
      background-image: url(../images/wp-logo.svg);
    }

    .cgps--wp-plugin-logo{
      display: inline-block;
      width: 50px;
      height: 50px;
      border: 3px solid #fff;
      background-size: 40px;
      background-repeat: no-repeat;
      background-position: center center;
      background-image: url(../images/wp-plugin-logo.svg);
      border-radius: 100%;
      vertical-align: middle;
    }

    .cgps--text{
      position: absolute;
      left: 0;
      right: 0;
      top: 90px;
      color: #fff;
      font-size: 13px;
      line-height: 1.2em;
      font-weight: 600;
      text-align: center;
      text-transform: uppercase;
      text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
    }

    .cgps--version{
      top: auto;
      left: auto;
      right: 8px;
      bottom: 4px;
      font-size: 11px;
      text-transform: lowercase;
    }
  }

  .cgps-about-text{
    font-weight: 400;
    line-height: 1.6em;
    font-size: 19px;
    margin: 1em 200px 1em 0;
    color: #555d66;
  }

  .cgps-demo-button{
    margin: 1em 200px 2em 0;
  }

  .nav-tab-wrapper{
    margin-bottom: 20px;
  }

  ul{
    list-style-type: disc;
    padding-left: 15px;
  }

  .cgps--col{
    float: left;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .cgps--col-2{
    width: 50%;
  }

  .cgps--col-3{
    width: 33.333%;
  }

  .cgps--col-4{
    width: 25%;
  }

  .cgps--col-5{
    width: 20%;
  }

  .cgps--col-last{
    padding-right: 0;
  }

  .cgps--col-upgrade{
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
  }
}

.cgps--table-compare{

  thead,
  tfoot{
    td{
      text-align: center;
    }
  }

  td{
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
  }

  td:first-child{
    text-align: left;
  }

  tfoot{
    td{
      padding: 15px 0;
    }
  }

  .fa{
    font-size: 18px;
  }

  .fa-check-circle{
    color: #46b450;
  }

  .fa-times-circle{
    color: #dc3232;
  }
}

.cgps-welcome-cols{
  clear: both;
  margin: 20px 0;
  background-color: #fff;
  padding: 0 0;
  border-radius: 2px;
  border: 1px solid #e5e5e5;

  .cgps--col{
    width: 33.333%;
    float: left;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    min-height: 200px;
    border-right: 1px solid #e5e5e5;
  }

  .cgps--left,
  .cgps--block{
    float: left;
    width: 20%;
    padding: 0 30px;
    text-align: center;
    box-sizing: border-box;
  }

  .cgps--block{
    width: 80%;
  }

  .cgps--col-first{
    border-bottom: 1px solid #e5e5e5;
  }

  .cgps--last{
    border-right: none;
  }

  .cgps--space{
    height: 20px;
  }

  .cgps--icon{
    display: inline-block;
    font-size: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
    background-color: #555;
    border-radius: 30px;
  }

  .cgps--active{
    background-color: #5cb85c;
  }

  .cgps--deactive{
    background-color: #e14d43;
  }

  .cgps--title{
    font-weight: bold;
    display: block;
  }

  p:last-child{
    margin-bottom: 0;
  }
}

.cgps-features-cols{

  .cgps--key-features{
    width: 30%;
  }
  .cgps--available-fields{
    width: 70%;
  }
}

.cgps-code-block{
  margin: 20px 0;
  padding: 5px 20px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.15);

  pre{
    font-size: 13px;
    color: #0073aa;

    span{
      color: #999;
    }
  }
}

.cgps--table-fields{
  td{
    font-size: 14px;
  }
}

.cgps--upgrade a{
  color: #5cb85c;
  font-weight: bold;

  &:focus,
  &:hover{
    color: #4aa14a;
    outline: none;
    box-shadow: none;
  }
}

@media only screen and (max-width:782px){

  .cgps-welcome-cols{
    .cgps--col{
      width: 100%;
      min-height: auto;
      border-right: none;
      border-bottom: 1px solid #e5e5e5;
    }
  }

  .cgps-features-cols{
    .cgps--key-features{
      width: 100%;
    }
    .cgps--available-fields{
      width: 100%;
    }
  }
}
