*,
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
label,
fieldset,
input,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0
}

h4 {
    margin: 2px;
    padding: 0
}

img {
    border: 0;
}

ul,
li {
    list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

strong {
    font-weight: bold
}

div {
    position: relative
}

html {
    -webkit-font-smoothing: antialiased;
}

body {
    background: #f5f5f5 ;
    font-size: 11px;
    color: #888888;
    overflow-y:scroll;
}

a {
    color: #4682b4;
    text-decoration: none;
}

a:hover {
    color: #4682b4;
    text-decoration: underline;
}

#searchbar h2 a {
    color: #666666;
}

#searchbox {
    width: 190px;
    padding: 3px 10px;
    margin: 4px 2px;
    border: 2px solid #CCD6E4;
    border-radius: 6px;
    line-height: 2em;
    position: absolute;
    right: 25px;
    top: 20px;
}

.wrapper {
    margin: 20px auto 0 auto;
    padding: 0px;
    width: 1080px;
}

.filter {
    margin-bottom: 30px;
    margin-left: 20px;
}

.filter li {
    display: inline;
    margin-right: 10px;
    font-size: 13px;
}

li.item {
    float: left;
    margin: 0 12px 20px 0;
    overflow: hidden;
    width: 193px;
    height:238px;
    padding: 5px;
}

.item-image {
    display: block;
    position: relative;
    border-bottom-style: solid;
    border-bottom-width: 5px;
    border-bottom-color: #4682b4;
}
.item-image img {
    border: 1px solid #d5d5d5;
    border-radius: 4px 4px 0 0;
    background: #FFFFFF;
    padding: 10px;
    width: 170px;
    height: 130px;
}

.item-image img:hover {
    border: 1px solid #4682b4;
    box-shadow: 0 0 5px #4682b4;
}

.item-text {
    margin-top: 10px;
}

#noticebar {
    z-index: 999999;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    position: fixed;
    background: #edf0f2;
    color: #111111;
    line-height: 24px;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    appearance: none;
}

#noticebar p {
    margin: 0;
    padding: 0;
}

#noticebar .ok {
    background: #660000;
    color: #ffffff;
    display: inline-block;
    border-radius: 2px;
    text-decoration: none;
    padding: 0 6px;
    margin-left: 8px;
    margin-top: 8px;
    font-size: 15px;
    border-radius: 2px;
    border: none;
}

.column-clear {
    clear: both;
}

#noticebar .ok:hover {
    background: #990000;
}

.modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 20% auto;
    padding: 20px;
    border-radius: 25px;
    max-width: 60%;
    font-size: 14px;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: #222222;
}

.modal-content a {
    color: #4682b4;
    text-decoration: none;
}

.modal-header {
    margin: 20px 0;
}

.modal-body {
}

.modal-footer {
    margin: 10px 0 2px 0;
}

.modal-footer hr {
    margin: 10px 0;
}

.modal-close {
    width: 75px;
    height: 22px;
    background: url("../images/buttons.png") -1px -1px no-repeat;
    line-height: 22px;
    float: right;
    cursor: pointer;
}

.modal-close:hover {
    cursor: pointer;
}

.github-link {
    position: absolute;
    right: 0;
    top: 0;
}

.pagination {
    clear: left;
    float: left;
    margin-top: 3px;
}

.pagination > .pagination-text {
    float: left;
    margin: 2px 4px;
    font-size: 11px;
    color: #666666;
}

.pagination > .arrow {
    float: left;
    width: 15px;
    height: 14px;
    margin-top: 3px;
    overflow: hidden;
}

.pagination > .arrow.left {
    background: url('../images/buttons.png') 0 -71px no-repeat;
    cursor: pointer;
}

.pagination > .arrow.left.disabled {
    background-position: 0 -87px;
    cursor: default;
}

.pagination > .arrow.right {
    background: url('../images/buttons.png') -22px -71px no-repeat;
    cursor: pointer;
}

.pagination > .arrow.right.disabled {
    background-position: -22px -87px;
    cursor: default;
}

a.disabled:hover {
    border: none;
}

.modal-expand {
    background: url('../images/buttons.png') -31px -26px no-repeat;
    cursor: pointer;
    height: 20px;
    position: absolute;
    right: 30px;
    text-indent: -10000px;
    top: 10px;
    width: 20px;
    z-index: 20000;
}

.modal-expand:hover {
    background: url('../images/buttons.png') -31px -47px no-repeat;
}

.modal-content .depend-kaos {
    color: #007aa4;
    font-weight: bold,
}

.modal-content .depend-kcp, .modal-content a.depend-kcp {
    color: #337429;
    font-weight: bold;
}

.depend-broken {
    color: #a51612;
}

.how-to {
    margin: 20px 0;
}

.package-install {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.package-instruction {
    width: 80%;
}

.package-get {
    width: 15%;
}

button.package-button, a.package-button {
    font-size: 14px;
    position: relative;
    overflow: visible;
    display: inline-block;
    padding: 0.5em 1em;
    border: 1px solid #d4d4d4;
    margin: 0;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    font: 11px/normal sans-serif;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    background-color: #ececec;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
    background-image: -moz-linear-gradient(#f4f4f4, #ececec);
    background-image: -ms-linear-gradient(#f4f4f4, #ececec);
    background-image: -o-linear-gradient(#f4f4f4, #ececec);
    background-image: linear-gradient(#f4f4f4, #ececec);
    -moz-background-clip: padding;
    background-clip: padding-box;
    border-radius: 0.2em;
    zoom: 1;
    *display: inline;
}

button.package-button:hover, a.package-button:hover {
    border-color: #3072b3;
    border-bottom-color: #2a65a0;
    text-decoration: none;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    color: #fff;
    background-color: #3c8dde;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
    background-image: -moz-linear-gradient(#599bdc, #3072b3);
    background-image: -o-linear-gradient(#599bdc, #3072b3);
    background-image: linear-gradient(#599bdc, #3072b3);
}
