@charset "utf-8";

body {
  background-color: #f5f6fa;
  font: 400 14px/1.6 'Lato', sans-serif;
  color: #423f5a;
}

input {
  font: 400 14px/1.6 'Lato', sans-serif;
}

table {
  width: 100%;
  border-collapse: collapse;
}

  thead {
    color: #a0a8bd;
    text-transform: uppercase;
    font-size: 12px;
  }

    th {
      padding: 30px 8px;
      text-align: left;
    }

  tbody {
    font-weight: 900;
    font-size: 13px;
  }

    td {
      background-color: #fff;
      border-bottom: 1px solid #f4f3f8;
      padding: 23px 8px;
    }

  th.center, td.center {text-align:center;}

.initials-holder {
  background-color: #eff3ff;
  color: #6487ff;
  text-align: center;
  text-transform: uppercase;
  padding-top: 6px;
  margin-right: 14px;
  border-radius: 3px;
  width: 32px;
  display: inline-block;
  height: 32px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 10px;
}

header {
  background-color: #2860ff;
  color: #fff;
  font-weight: 900;
  padding: 20px 0;
}

  header a {
    color: #fff;
    text-decoration: none;
  }

  header .container {
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header .logo {
    text-transform: uppercase;
  }

  header .user {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

    header .user a {
      position: relative;
      margin: 0 20px;
    }

      header .user a:first-child {margin-left:0;}
      header .user a:last-child {margin-right:0;}

    header .user .new {
      display: block;
      height: 10px;
      width: 10px;
      border-radius: 50%;
      background-color: #ffae14;
      position: absolute;
      top: -4px;
      right: -4px;
    }

    header .search {
      border: none;
      padding: 12px 42px 14px 26px;
      background: rgba(255,255,255,.15) url('../img/magni-glass.png') no-repeat calc(100% - 20px) center;
      border-radius: 22px;
      color: #fff;
      font-size: 14px;
      width: 250px;
      height: 40px;
      margin-right: 20px;
    }

    header .user-portal {
      display: flex;
      align-items: center;
    }

      header .user-pic {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        border: 3px solid #fff;
        margin-right: 15px;
      }

      header .user-name img {
        margin-left: 15px;
      }

nav {
  background-color: #fff;
  clear: both;
  margin-bottom: 40px;
}

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  nav a {
    padding: 24px 0;
    display: inline-block;
    float: left;
    color: #7e7c8a;
    text-decoration: none;
    margin: 0 17px;
    position: relative;
  }

    nav a:first-child {margin-left:0;}
    nav a:last-child  {margin-right:0;}

    nav a.active {
      color: #25242c;
    }

      nav a.active:after {
        display: block;
        content: "";
        width: 100%;
        height: 3px;
        background-color: #febf34;
        border-radius: 1px;
        position: absolute;
        bottom: 0;
      }

  nav .nav-cta a {
    color: #5c84fe;
    border: 2px solid #5c84fe;
    border-radius: 24px;
    padding: 7px 24px;
    margin: 0 10px;
    transition: all .2s ease-in-out;
  }

    nav .nav-cta a:first-child {margin-left:0;}
    nav .nav-cta a:last-child  {margin-right:0;}

    nav .nav-cta a:hover {
      background-color: #5c84fe;
      color: #fff;
    }

section h1 {
  font-size: 18px;
  margin-bottom: 30px;
}

.overview-tiles {
  display: flex;
  border-radius: 2px;
}

  .overview-tiles .tile {
    background-color: #fff;
    padding: 50px;
    overflow: hidden;
    position: relative;
    width: 24%;
  }

    .overview-tiles .tile:nth-child(1):after,
    .overview-tiles .tile:nth-child(2):after {
      display: block;
      content: "";
      height: 70%;
      width: 1px;
      background-color: #f4f3f8;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }

    .overview-tiles .tile.details {
      width: 34%;
      margin-left: 10px;
    }

    .overview-tiles .tile .tile-header {
      display: flex;
      justify-content: space-between;
    }

      .overview-tiles .tile .big-number {
        font-size: 48px;
        line-height: .75;
        display: inline-block;
      }

      .overview-tiles .tile img.icon {
        height: 22px;
      }

      .overview-tiles .tile .price {
        width: 50%;
        margin-right: 12px;
      }

        .overview-tiles .tile .price .currency {
          color: #82858e;
          font-size: 22px;
          font-weight: 900;
        }

        .overview-tiles .tile .price .cost {
          color: #25242c;
          font-size: 34px;
          font-weight: 900;
        }

        .overview-tiles .tile.details .price .tile-name {
          margin-top: 0px;
        }

      .overview-tiles .tile.details a.cta {
        display: block;
        width: 100%;
        text-align: center;
        position: absolute;
        left: 0;
        margin-top: 10px;
        padding: 17px 0;
        color: #6487ff;
        text-decoration: none;
        border-top: 1px solid #f4f3f8;
      }

    .overview-tiles .tile .tile-name {
      display: block;
      color: #a1a1a1;
      font-weight: 900;
      font-size: 12px;
      margin-top: 25px;
    }

    .overview-tiles .tile .progress {
      margin-top: 8px;
      background-color: #eaeaf2;
      width: 100%;
      height: 5px;
      border-radius: 5px;
    }

      .overview-tiles .tile .progress .progress-current {
        height: 5px;
        border-radius: 5px;
      }

        .overview-tiles .tile.tile-green .progress .progress-current  {background-color: #22bb9d;}
        .overview-tiles .tile.tile-yellow .progress .progress-current {background-color: #febf34;}
        .overview-tiles .tile.tile-blue .progress .progress-current   {background-color: #2961ff;}


@media only screen and (max-width: 768px) {
  header {
    text-align: center;
  }
  
  header .container {
    display: block;
  }
  
  header .logo {
    margin-bottom: 30px;
  }
  
  .overview-tiles {
    flex-flow: row wrap;
  }
  
  .overview-tiles .tile,
  .overview-tiles .tile.details {
    padding: 20px;
    width: 50%;
    margin: 0;
  }
  
  .overview-tiles .tile.details a.cta {
    display: none;
  }
  
  .overview-tiles .tile:nth-child(1):after,
  .overview-tiles .tile:nth-child(2):after {
    display: none;
  }
}



@media only screen and (max-width: 600px) {
  header .search,
  nav .nav-cta {
    display: none;
  }
  
  header .logo {margin-bottom: 20px;}
  
  nav {
    text-align: center;
  }
  
  nav .container {
    justify-content: center;
  }
  
  nav a {
    padding: 15px 0;
    margin: 0 10px;
  }
  
  .overview-tiles .tile,
  .overview-tiles .tile.details {
    width: 100%;
  }
  
  .initials-holder,
  .overview-tiles .tile img.icon {
    display: none;
  }
  
  .overview-tiles .tile:not(.details) .tile-header {
    display: inline-block;
  }
  
  .overview-tiles .tile:not(.details) .tile-name {
    margin-top: 0;
    display: inline-block;
    margin-left: 10px;
  }
}