.library-header{
  padding: 12px 25px;
}

.library-header-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}

.library-header-title__text{
  font-size: 16px;
  font-weight: 700;
  color: var(--mainGreen);
}

.library-header-title-icon__arrow,
.library-header-title-icon__search{
  border: none;
  background: none;
  padding: 0;
  font-size: 0;
  width: 27px;
  cursor: pointer;
}

.library-header-title-icon__arrow{
  display: none;
}

.library-header-title-icon__arrow > svg{
  transform: rotateZ(180deg);
}

.library-header-icon__search{
  width: 27px;
  cursor: pointer;
}

.library-header-search{
  display: none;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #BBBBBB;
}

.library-header-search__wrapper{
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.library-header-search__select-wrapper{
  position: relative;
}

.library-header-search__select{
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  padding: 12px 40px 12px 0;
  font-size: 14px;
  cursor: pointer;
}

.library-header-search-icon__arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding-right: 5px;
  right: 0;
  top: 0;
  width: 46px;
  height: 46px;
  cursor: pointer;
  pointer-events: none;
}

.library-header-search-icon__arrow > svg{
  width: 15px;
}

.library-header-search__input{
  border: none;
  flex: 1 1 auto;
  padding: 12px;
  font-size: 14px;
}

.library-header-search__line{
  content: '';
  flex: 0 0 auto;
  height: 20px;
  width: 1px;
  background-color: #707070;
}

.library-header-search__button{
  flex: 0 0 auto;
  border: none;
  background: none;
  padding: 0;
  font-size: 0;
}

.library-header-category{
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-direction: row;
  margin: 0 -25px;
  padding: 12px 25px 0;
  overflow-x: scroll;
  font-size: 0;
}

.library-header-category__link{
  padding: 6px 10px;
  border-radius: 30px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--fontThickColor);;
  cursor: pointer;
}

.library-header-category__link--active{
  border: 1px solid #fff;
  background: var(--mainGreen);
  color: #FFFFFF;
}


.library-header-category__link + .library-header-category__link{
  margin-left: 10px;
}

.library-contents{
  height: 100%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.library-controller{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 20px;
}

.library-order{
  position: relative;
}

.order-justify > .library-order:last-child{
  margin-left: 10px;
}

.library-order__select{
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  border: 1px solid #BBBBBB;
  padding: 10px 40px 10px 10px;
  font-size: 14px;
  background-color: transparent;
  cursor: pointer;
}

.library-order__arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding-right: 5px;
  right: 0;
  top: 0;
  width: 38px;
  height: 38px;
  cursor: pointer;
  pointer-events: none;
}

.library-order__arrow > svg{
  width: 15px;
}

.library-view__link{
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.library-view__link > svg{
  width: 30px;
}

.library-view__link--active > svg .svg-library-view__link {
  fill: var(--mainGreen);
}

.library-list {
}

.library-list--gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  justify-items: center;
}

.library-list--gallery .library-company,
.library-list--gallery .library-name,
.library-list--gallery .library-year{
  display: none;
}

.library-list--gallery .library-item{
  width: 100%;
}

.library-list--board .library-item{
  padding: 20px 0;
}
.library-list--board .library-item:hover{
  background-color: #fff;

}

.library-list--board .library-item a{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.library-list--board .library-item + .library-item{
  border-top: 1px solid #707070;
}

.library-list--gallery > .library-item > a:hover > .library-image{
  box-shadow: 0 30px 30px #6b6b6b50;
  position: relative;
  top: -20px;
}

.library-image{
  background-color: #cccccc;
  box-shadow: 0 10px 10px #aaa5;
  position: relative;
  top: 0;
}

.library-list--gallery .library-image {
  max-width: 120px;
  height: 160px;
  background-color: #BBBBBB;
  margin: 0 auto;
  font-size: 0;
}

.library-list--board .library-image {
  flex: 0 0 auto;
  width: 90px;
  height: 120px;
}

.library-text{
  font-size: 15px;
}

.library-list--gallery .library-text{
  padding-top: 20px;
  text-align: center;
}

.library-list--board .library-text{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-left: 30px;
}

.library-list--board .library-title{
  flex: 1 1 auto;
  font-size: 20px;
}

.library-list--board .library-company,
.library-list--board .library-name,
.library-list--board .library-year{
  flex: 0 0 auto;
  padding-top: 5px;
}

.library-pagination{
  padding-top: 30px;
  padding-bottom: 20px;
}

.library-pagination-list{
  display: flex;
  justify-content: center;
}

.library-pagination-item + .library-pagination-item{
  margin-left: 20px;
}

.library-pagination__link{
  border: none;
  background: none;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
}

.library-pagination__link--active{
  text-decoration: underline;
  color: var(--mainGreen);
}

.library-pagination__link svg {
  width: 20px;
}

.library-pagination__link--after svg {
  transform: rotate(90deg);
}

.library-pagination__link--before svg {
  transform: rotate(270deg);
}
.community-pagination{
  padding-top: 30px;
}

.community-pagination-list{
  display: flex;
  justify-content: center;
}

.community-pagination-item + .community-pagination-item{
  margin-left: 20px;
}

.community-pagination__link{
  border: none;
  background: none;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
}

.community-pagination__link--active{
  text-decoration: underline;
  color: #8DB858;
}

.community-pagination__link svg {
  width: 20px;
}

.community-pagination__link--after svg {
  transform: rotate(90deg);
}

.community-pagination__link--before svg {
  transform: rotate(270deg);
}

.pageNation .pageSelect {
  color: var(--mainGreen);
  font-weight: 700;
  text-decoration-line: underline; 
}

.pageWrap {
  width: 100vw;
  text-align: center;
  font-size: 0;
}
.order-justify{
  display: flex;
}

.library-view-active {
	filter: invert(78%) sepia(10%) saturate(2172%) hue-rotate(43deg) brightness(90%) contrast(74%);
}
@media (min-width: 1330px) {
  .side{
    height: 140px;
  }
  .library-contents{
    padding: 0;
  }
  .library-header{
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding: 0;
  }
  .library-header-title{
    display: none;
  }
  .library-header-search{
    width: 100%;
    height: 70px;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
  }
  .library-header-search__wrapper{
    justify-content: flex-end;
  }
  .library-header-search__select{
    width: 160px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #cccccc;
    margin-right: 20px;
  }
  .library-header-search-icon__arrow{
    margin-right: 20px;
  }
  .library-header-search__line{
    display: none;
  }
  .library-header-search__input{
    width: 350px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    flex: none;
    box-sizing: border-box;
  }
  .library-header-icon__search{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    padding-right: 5px;
    margin: 4px;
    right: 0;
    top: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  .library-header-category{
    height: 70px;
    width: 100%;
    padding: 0;
    overflow: auto;
  }
  .library-header-category__link{
    padding: 7px 30px;
    font-size: 16px;
  }

  .library-list--gallery{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .library-list--gallery .library-image{
    max-width: 180px;
    height: 240px;
    background-color: #BBBBBB;
  }

  .library-text{
    font-size: 20px;
  }

  .library-list--board .library-item{
    padding: 25px 0;
  }

  .library-list--board .library-image{
    display: none;
  }

  .library-list--board .library-text{
    display: flex;
    flex-direction: row;
    padding: 0 10px;
  }

  .library-text > p + p ~ p::before{
    content: '|';
    padding: 0 10px;
  }

  .library-pagination{
    padding-top: 50px;
  }
  .order-justify{
    display: flex;
  }
  .order-justify > .library-order:last-child{
    margin-left: 10px;
  }
}

.count{margin:20px 0; border-bottom:1px solid #ccc; padding-bottom:15px}
.count > span {color:#D01717; font-weight:bold}; 
