/* container */
.kb-container{
  background-color: #fff;
  padding: 0 0;
  position: relative;
  /*overflow-x: hidden;*/
}


/* logo */
.kb-logo{
  position: absolute;
  left: auto; right: 15px; top: 15px;
  /*font-size: 0.8rem;*/
  text-align: right;
  z-index: 2;
}


/* header */
.kb-header{
  width: 100%;
  height: /*100px;*/ 60px;
  position: relative;
  text-align: left;
  border-color: #aaa;
  border-style: solid;
  border-width: 0 0 1px 0;
  z-index: 11;
}
.kb-header img{
  opacity: 1;
  /*padding: 20px 20px 0;
  height: 90px;*/
  padding: 7px 5px 0 7px;
  height: 52px;
}


/* main */
.main{
  position: relative;
}


/* global menu */
.kb-menu {
  /*position: absolute;
  right: 15px; top: 5px;
  width: 100%;*/
}
.kb-menu li{
  border: 0.5px solid #999;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  display:inline-block;
  /*padding: 0.5rem 0;*/
}
.kb-menu li a{
  color: #800 !important;
}


/* list title */
h3 {
  clear: both;
  background-color: #eee;
  border-style: none;
  padding-bottom: 0;
}


/* grid */
.kb-grid{

}
.kb-grid li{
  display: inline-block;
  float: left;
  width: 240px;
  padding: 5px;
  text-align: center;
}
.kb-grid img{
  display: inline-block;
  pointer-events: none;
}
.kb-grid li p{
  margin-bottom: 0;
}
.kb-grid li p span{
  display: /*inline-block;*/ none;
  width: 4.5em;
  text-align: right;
  margin-right: 0.5em;
  color: #666;
  font-size: 0.8rem;
}


/* grid wide */
.kb-grid-wide{
  margin: 0 auto;
  padding-left: 0;
  text-align: left;
  width: auto;
}
.kb-grid-wide li{
  display: inline-grid;
  /*float: left;*/
  width: 300px;
  min-height: 240px;
  margin: 10px;
  padding: 5px;
  text-align: left;
  /*border: 1px solid #ccc;
  border-top: 0;
  border-left: 0;*/
}
.kb-grid-wide li>div{
  display: block;
  width: 100%;
}
.kb-grid-wide li>div:first-child{
  background-color: #eee;
  text-align: center;
}
.kb-grid-wide li>div:last-child{
  text-align: left;
  margin-left: 5px;
}
.kb-grid-wide a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.kb-grid-wide a>img{
  max-width: 160px;
  max-height: 120px;
  /*display: inline-block;*/
  pointer-events: none;
}
.kb-grid-wide li dl{
  margin: 0.25rem 0 0;
  line-height: 1rem;
}
.kb-grid-wide li dt{
  display: inline-block;
  width: 4.5em;
  text-align: justify;
  color: #666;
  font-size: 0.9rem;
}
.kb-grid-wide li dd{
  margin-top: -1.1em;
  margin-left: 5em;
  word-break: normal;
  font-size: 0.9rem;
}

/* width pattern */
.kb-grid-wide-center{
  width: 1650px;
}


@media only screen and (max-width: 1650px){
  .kb-grid-wide-center{
    width: 1320px;
  }
}
@media only screen and (max-width: 1320px){
  .kb-grid-wide-center{
    width: 990px;
  }
}
@media only screen and (max-width: 990px){
  .kb-grid-wide-center{
    width: 660px;
  }
}
@media only screen and (max-width: 660px){
  .kb-grid-wide-center{
    width: 330px;
  }
}


/* responsive */
@media only screen and (max-width: 767px){

}
@media only screen and (max-width: 599px){
  .header{
    width: 100%;
    height: 60px;
    position: relative;
    text-align: left;
    background-position: 0 -100px;
  }
  .header_title {
    height: 60px;
  }
  .header_title img{
    opacity: 0.6;
    height: 100%;
  }
}
@media only screen and (max-width: 575px) { /* xs */
  .kb-logo{
    right: 15px; top: 5px;
  }
  .kb-logo img{
    height: 20px;
  }
}
@media only screen and (max-width: 440px) {

}
