/******************************************************
  site base
******************************************************/

*{
  box-sizing: border-box;
}

body {
  background-color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body, input, button{
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img{
  max-width: 100%;
}

button{
  cursor: pointer;
  border: none;
}

a {
  text-decoration: none;
  color: #0175C2;
  cursor: pointer;
  font-weight: 500;
  opacity: 1;
}

a:hover {
  opacity: 0.8;
}

main, .site-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

code {
  background: #f8f8f8;
  border: 1px solid #eee;
  font-family: 'Source Code Pro', Menlo, monospace;
  font-size: 85%;
  padding: 2px;
}

pre > code {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
}

._flex-space{
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

._banner-bg{
  background-image: url(../img/background-pattern.png);
  background-size: cover;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

._visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

._visuallyhidden:active,
._visuallyhidden:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.overflow-x {
  overflow-x: auto;
}

/******************************************************
  site header
******************************************************/

.site-header{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px;
  background: #fff;
}

.site-header > .hamburger{
  display: none;
  background-color: transparent;
  width: 24px;
  height: 40px;
  background-position: center;
  margin-left: 10px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAKklEQVR4Ae3TMRUAAAhCQfuX1g4+BoY7AjD9qQOwmb0OHICSlQxCUzLAAUfPrmAyBxxOAAAAAElFTkSuQmCC);
  background-size: 100%;
  background-repeat: no-repeat;
}

.site-nav{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center

}

.site-nav{
  margin: 0 10px;
  font-size: 14px;
  text-transform: capitalize;
  vertical-align: middle;
  padding: 12px 10px;
}

.nav-header{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 40px
}

.nav-header > .logo.-hidden{
  display: none;
}

.nav-header > .logo img{
  height: 30px;
  margin-left: 16px;
  vertical-align: middle;
}

.nav-header > .close{
  display: none;
}

.sub-wrap{
  position: relative
}

.sub-wrap > .button{
  padding: 8px 10px;
  margin-left: 10px;
  font-size: 14px;
  text-transform: capitalize;
  vertical-align: middle;
  font-weight: 500;
  color: inherit;
  background-color: transparent;
}

.sub-wrap > .button:after{
  content: '';
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24' fill='%23757575'%3E %3Cpath d='M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z'/%3E %3Cpath d='M0-.75h24v24H0z' fill='none'/%3E %3C/svg%3E ");
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.sub-nav {
  display: none;
  position: absolute;
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  min-width: 200px;
  padding: 8px 12px;
  border-radius: 3px;
  top: 40px;
  cursor: auto;
  cursor: initial;
  font-size: 14px;
  z-index: 2;

  /* using 2 pesudo element to create a bordered triangle */
}

.sub-nav:before{
  content: '';
  position: absolute;
  top: -10px;
  width: 2px;
  height: 0;
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent #ddd;
}

.sub-nav:after{
  content: '';
  position: absolute;
  top: -8px;
  width: 2px;
  height: 0;
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent #fff;
}

.sub-nav > .link,
  .sub-nav > .command{
  display: block;
}

.sub-nav > .link{
  color: #000;
  padding: 3px 0;
  font-weight: 400;
  text-transform: none;
}

.sub-nav > .link:hover{
  color: #0175C2;
}

.sub-nav .command{
  display: inline-block;
  color: #000;
  text-transform: none;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 0 6px;
  margin: 3px 0;
  color: #de0e32;
}

.sub-nav > .title{
  color: #999;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0;
}

/* open sub nav */

.sub-wrap:hover .sub-nav,
.sub-wrap.hover .sub-nav {
  display: block;
}

.command-list{
  margin: 0;
  padding: 0;
  list-style: none;
}

/********************* mobile header ********************/

@media screen and (max-width: 640px){
  .site-header{
  }
  .site-header > .mask{
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
  }
  .site-header > .mask.-show{
    display: block;
  }
  .site-header > .hamburger{
    display: block;
  }

  .nav-wrap{
    position: fixed;
    top: 0;bottom: 0;left: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .7);
    background: #f5f5f5;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    min-width: 270px;
    z-index: 1;
  }

  .nav-wrap.-show{
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }

  .site-nav{
    position: absolute;
    top: 66px;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 50px;
    display: block;
    overflow: auto
  }

  .site-nav > .link{
    display: block;
    text-align: left;
  }

  .site-nav > .link:after{
    content: '>';
    margin-left: 6px;
  }

  .nav-header{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    height: 56px
  }

  .nav-header > .close{
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    float: right;
    background-color: transparent;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAW0lEQVR4Ae2WVwGAMBDF2DrO5LmoDIQgBYywl4LOS95/8gNtKwAAb6io+NXPx8Snfjt2JLzpnzm/+lHbovXo0f+B6dMvOlRV6F+LBAkSzvudnOerwvO7CADAAztZR8ZxiHezAQAAAABJRU5ErkJggg==);
  }

  .nav-header > .logo{
    display: block !important;
  }

  /* hide the down arrow */
  .sub-wrap{
  }
  .sub-wrap > .button{
    cursor: default;
    margin: 10px 10px 6px;
  }
  .sub-wrap > .button:after{
    display: none;
  }

  .sub-nav{
    position: static;
    display: block;
    background-color: transparent;
    border: none;
    padding: 0 36px

    /* hide the triangle */
  }

  .sub-nav:before, .sub-nav:after{
    display: none;
  }

  .sub-nav > .title{
    display: none;
  }

  .sub-nav > .link{
    margin: 6px 0;
  }

  .site-footer{
    padding: 0
  }

  .site-footer > .link{
    display: block;
  }
}

.center {
  text-align: center;
}

/******************************************************
  site footer
******************************************************/

.site-footer{
  padding: 16px;
  margin: 80px 0 30px;
  text-align: center;
  font-size: 14px
}

.site-footer > .link{
  margin: 0 12px;
  font-weight: 400;
}

.site-footer > .link > .inline-icon {
  display: inline-block;
  max-height: 16px;
  position: relative;
  top: 3px;
}

/******************************************************
  package list
******************************************************/

.package-list {
  clear: both;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-item{
  padding: 7px 8px;
}

.list-item:hover{
  background: #fafafa;
}

.list-item.-full {
  min-height: 7em;
}

.list-item > .title{
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.list-item > .description{
  font-size: 14px;
  line-height: 1.3;
  color: rgba(0, 0, 0, .87);
  margin: 0;
}

.list-item > .metadata {
  font-size: 12px;
  margin: 4px 0;
}

.list-item.-simple > .metadata > .package-tag:first-of-type{
  margin-left: 0;
}

.list-item > .api_pages {
  font-size: 12px;
}

.score-box {
  float: right;
  margin: 8px;
  position: relative;
  text-align: center;
  width: 36px;
}

.score-box > .number {
  display: block;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin: 0 auto;
  font-weight: 500;
}

.score-box > .number.-solid {
  background: #0175C2;
}

.score-box > .number.-good {
  background: #00c4b3;
}

.score-box > .number.-rotten {
  background: #bb2400;
}

.score-box > .number.-missing {
  background: #ccc;
}

.score-box > .number.-small {
  font-size: 12px;
}

.score-box > .new {
  position: absolute;
  top: -30%;
  right: -25%;
  background: #646464;
  border-radius: 3px;
  color: #ffeb3b;
  font-size: 10px;
  font-weight: bold;
  padding: 0px 2px;
  transition: background 0.2s ease-out;
}

.score-box > .new:hover {
  background: #424242;
}

.score-box > .text{
  font-size: 14px;
  color: #333;
}

.package-tag {
  background: #eef9fe;
  text-transform: uppercase;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  padding: 2px 8px;
  margin: 0px 0 4px 4px;
}

.package-tag.missing {
  background: #f0f0f0;
}

.package-tag.unidentified {
  background: #fff0f0;
}

.package-tag.legacy,
.package-tag.discontinued {
  background: #c0392b;
  color: #f8f8f8;
}

.feedback-critical {
  background: #fff0f0;
  padding: 0.5em;
}

/******************************************************
  home page
******************************************************/

.landing-page-title, .listing-page-title {
  color: gray;
  font-weight: 500;
}

.landing-page-title {
  margin-bottom: 0px;
}

.landing-page-title-block {
  text-align:center;
  margin-bottom: 1em;
}

.listing-sort-header {
  float: right;
  margin: 0 0.5em 0.5em 0.5em;
  max-width: 30%;
  text-align: right;
}

.home-banner{
  text-align: center;
  padding: 40px 20px 10px 20px;
}


.home-banner > .logo {
  width: 520px;
  height: 72px;
}

@media (max-width: 520px) {
  .home-banner > .logo {
    width: 455px;
    height: 63px;
  }
}

@media (max-width: 460px) {
  .home-banner > .logo {
    width: 390px;
    height: 54px;
  }
}

@media (max-width: 400px) {
  .home-banner > .logo {
    width: 325px;
    height: 45px;
  }
}


.home-banner > .text{
  margin: 1em auto;
  max-width: 500px
}


.home-banner > .link{
  text-transform: uppercase;
  display: inline-block;
  margin: 0 16px;
  font-weight: 500;
  font-size: 14px
}


.home-banner > .link:after{
  content: ' >'
}


.home-banner > .search-bar{
  margin: 0 auto;
}


@media screen and (max-width: 600px) {
  .home-banner > .link{
    display: block;
    margin: 4px;
  }
}


.home-lists-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
}

.home-lists-container .more {
  text-align: center;
  margin-top: 10px;
}

.home-lists-container .more > a {
  margin: 0 1em;
}

.home-lists-container .package-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.home-lists-container .package-list .list-item {
  width: 305px;
  margin: 0 5px 10px 5px;
  border: none;
}

.home-lists-container .package-list .list-item:last-child {
  border-bottom: inherit;
}

/******************************************************
  list page
******************************************************/


.list-header{
  padding: 20px 30px;
}


.promo-box{
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 32px 0;
  max-width: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}


.promo-box > .logo{
  width: 40px;
  margin-right: 30px;
  margin-top: 6px;
}


.promo-box > p{
  margin: 0;
}


.promo-box .get-started{
  display: inline-block;
  margin-top: 16px;
}


.promo-box .get-started:after{
  content: ' >';
}


.list-filters {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  flex-flow: row wrap;
  margin: 16px 0;
  border: 1px solid #eee;
  border-radius: 3px;
}


.list-filters > .filter{
  background: white;
  border-right: 1px solid #eee;
  color: #888;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 24px;
  cursor: pointer;
}


.list-filters > .filter.-active{
  color: #0175C2;
  background: #eef9fe;
}


.package-count{
  font-size: 16px;
  color: #333;
  margin: 24px 6px 10px;
}


.pagination{
  margin: 20px auto;
  padding: 0;
  list-style: none;
  text-align: center
}


.pagination > li{
  display: inline-block;
  text-transform: uppercase;
  color: #0175C2;
  background: #f3f3f3;
  font-size: 14px;
  border-radius: 3px;
  margin-top: 40px;
}


.pagination > li.-disabled{
  pointer-events: none;
  color: #aaa;
}


.pagination > li.-active{
  pointer-events: none;
  color: #fff;
  background: #0175C2;
}


.pagination > li > a{
  display: inline-block;
  padding: 10px 16px;
  color: inherit;
  font-weight: 600;
}

.email-icon,
.search-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  vertical-align: text-bottom;
}

.email-icon {
  background-image: url('../img/ic_email_black_18px.svg');
}

.search-icon {
  background-image: url('../img/ic_search_black_18px.svg');
}


/******************************************************
  package page
******************************************************/

.package-banner{
    padding: 10px;
}

.package-header{
    margin: 30px 0 10px
}

.package-header > .title{
    font-size: 32px;
    font-weight: 600;
    display: inline-block;
    margin: 0;
}

.package-header > .metadata{
    font-size: 14px;
    color: #555;
}

.package-header > .metadata > .tags{
    display: inline-block;
    margin-left: 20px;
}

.package-tabs{
    margin: 10px 0 20px;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    list-style: none
}

.package-tabs > .tab {
  color: #666666;
  display: inline-block;
  margin-right: 35px;
  padding: 10px 2px;
  border-bottom: 4px solid;
  border-bottom-color: transparent;
  cursor: pointer;
  vertical-align: bottom;
}

.package-tabs > .tab:hover {
  border-bottom-color: #dddddd;
}

.package-tabs > .tab:last-child{
    margin-right: 0;
}

.package-tabs > .tab.-active {
  color: black;
  border-bottom-color: black;
}

.package-tabs > .tab > .score-box{
    margin: 0;
}

.tabs-content{
}

.tabs-content > .content{
    display: none;
}

.tabs-content > .content.-active{
    display: block;
}

.package-container > .main{
    display: inline-block;
    width: calc(100% - 300px);
    vertical-align: top;
}

.package-container > .sidebar{
    display: inline-block;
    vertical-align: top;
    margin-top: 60px;
    margin-left: 20px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 270px;
            flex: 0 0 270px;
    width: 270px;
    padding: 20px;
    background: #F8F8F8;
    border: 1px solid #DDD;
    position: relative;
    top: -1px;
}

.sidebar-content{
    font-size: 14px
}

.sidebar-content > .title{
    font-size: 14px;
    margin: 0;
}

.sidebar-content > .title:not(:first-child){
    margin-top: 12px;
}

.sidebar-content > p{
    margin: 0;
}

.sidebar-content > .link{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
    line-height: 1.2em;
}

.sidebar-content > .share{
    background-color: transparent;
}

.mobile-os span{
    vertical-align: middle;
    margin-right: 16px
}

.mobile-os span > img{
    width: 22px;
    margin-right: 6px;
    vertical-align: middle;
}

@media screen and (max-width: 920px){
    .package-container{
    }
    .package-container > .main{
        display: block;
        width: 100%;
        vertical-align: top;
    }
    .package-container > .sidebar{
        display: block;
        width: 100%;
        margin: 60px 0 0;
    }
}

.version-table {
    width: 100%
}

.version-table td,
.version-table th {
    width: 25%;
    padding: 4px 10px;
    text-align: left;
}

.dependency-table {
    width: 100%
}

.dependency-table td,
.dependency-table th {
    width: 25%;
    padding: 4px 10px;
    text-align: left;
}

.dependency-table th.sub-header {
  font-weight: 500;
  font-style: italic;
}

/******************************************************
  Analysis tab
******************************************************/

.score-percent-row {
  margin: 0px 24px;
  height: 28px;
  position: relative;
}

.score-percent {
  background: #dddddd;
  color: black;
  display: inline-block;
  padding: 2px 4px;
  margin-left: -12px;
  position: absolute;
  top: -4px;
  font-size: 10pt;
  min-width: 24px;
  text-align: center;
}

.score-percent::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 12px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #dddddd transparent transparent transparent;
}

.score-progress-row {
  padding: 3px 0px;
  margin: 0px 24px;
}

.score-progress-frame {
  background: #f0f0f0;
}

.score-progress-frame > .score-progress {
  height: 4px;
}

#scores-table {
  margin-bottom: 1em;
}

#scores-table tr {
  vertical-align: baseline;
}

#scores-table .score-name {
  min-width: 100px;
  padding-right: 4px;
  text-align: right;
}

#scores-table .score-value {
  width: 100%;
}

.tooltip-base {
  position: relative;
  display: inline-block;
  padding: 4px;
}

.tooltip-dotted {
  border-bottom: 1px dotted #ddd;
}

.tooltip-content {
  visibility: hidden;
  background: #f8f8f8;
  color: black;
  opacity: 0.95;
  padding: 12px 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  text-align: left;

  position: absolute;
  width: 300px;
  top: 100%;
  left: -24px;
  z-index: 3;
}

.tooltip-content::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 48px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #ddd transparent;
}

.tooltip-bottom-left {
  left: inherit;
  right: -24px;
}

.tooltip-bottom-left.tooltip-content::after {
  left: inherit;
  right: 48px;
}

.tooltip-base:hover .tooltip-content,
.tooltip-base.hover .tooltip-content {
  visibility: visible;
}

.suggestion-row {
  padding: 2px;
}

.suggestion-row:hover {
  background-color: #f8f8f8;
}

.suggestion-title {
  font-weight: bold;
}

.suggestion-icon-info,
.suggestion-icon-warning,
.suggestion-icon-danger {
  float: left;
  margin: 2px 20px 0px 0px;
}

.suggestion-icon-info {
  display: inline-block;
  width: 0px;
  height: 0px;
  border: 10px solid lightblue;
  border-radius: 10px;
}

.suggestion-icon-warning {
  display: inline-block;
  width: 0px;
  height: 0px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid orange;
}

.suggestion-icon-danger {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: red;
}

.suggestion-description {
  margin-left: 40px;
}

/******************************************************
  searchbar
******************************************************/

.search-bar{
  border: 1px solid #E2E2E2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 3px;
  background: #f5f5f5;
  max-width: 650px;
  background: #fff
}

.search-bar > .input{
  font-size: 16px;
  padding: .8em 1em;
  border: none;
  width: 250px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  background: transparent
}

.search-bar > .icon{
  width: 45px;
  height: 45px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background-color: #0175C2;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABGdBTUEAALGPC/xhBQAAARdJREFUOBHNkz1uwkAQhTGkhCuELlQUiAtwilzHtU8BVLkHF4iokbJJkS41EiTS5nvL2FrQGMsdIz3N7ntvZn+8HgyyiDEuwBv4BifLmi8yW/sQ4xMowRl4Ib4Eo/YuKGYixT9QgSUYW9ZcvKJsbYSo42hFmVeeUbzp8vnHRNAdKCqvSc1JTy78NXeVEXWxiuWVcDORnlz4b6TLFFFfRzF2DUaiT5IrxqPnG0L+mDDzDBn3YuNDxjVDNdrZ7LVh/UGtv7sy2+3z1X7xz91GIhFLoOh6R+vWJtao62VrgW1aKsZP8rSrYf6vHSnYgw1IxyEHoAjgfrN7K6kYBKAI4DGbfbCzZ72j3lEUxRdFKxB6F3sF2okg7R/6f6gee6OuegAAAABJRU5ErkJggg==');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  -webkit-transform: scale(1.02);
          transform: scale(1.02)
}

.search-bar-details {
  position: relative;
  max-width: 650px;
}

.search-bar-options {
  font-size: 14px;
}

@media (min-width: 600px) {
  .search-bar-options {
    position: absolute;
    top: 16px;
    right: 0px;
  }
}

/******************************************************
  Markdown customization
******************************************************/

.markdown-body .hash-link {
  color: #ccc;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0.1s;
}

.markdown-body .hash-header:hover .hash-link {
  opacity: 1;
}

/*# sourceMappingURL=style.css.map */
