@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 400;
  src: url('//www.joara.com/default_assets/font_new/NotoSansKR-Regular-new.woff2')
      format('woff2'),
    url('//www.joara.com/default_assets/font_new/NotoSansKR-Regular-new.woff')
      format('woff'),
    url('//www.joara.com/default_assets/font_new/NotoSansKR-Regular-new.otf')
      format('opentype');
}

@font-face {
  font-family: 'Noto Sans KR';
  font-style: bold;
  font-weight: 500;
  src: url('//www.joara.com/default_assets/font_new/NotoSansKR-Medium-new.woff2')
      format('woff2'),
    url('//www.joara.com/default_assets/font_new/NotoSansKR-Medium-new.woff')
      format('woff'),
    url('//www.joara.com/default_assets/font_new/NotoSansKR-Medium-new.otf')
      format('opentype');
}

body {
  font-family: 'Noto Sans KR';
  font-weight: 400;
  text-align: center;
  /* overflow: hidden; */
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background-color: #2f3542;
}
::-webkit-scrollbar-track {
  background-color: grey;
}

a {
  text-decoration: none;
}

button {
  border-style: none;
}

.top_image_box {
  margin: 0;
}

.global_width {
  max-width: 1000px;
  width: 100vw;
}

.book_title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.scroll_buttons_wrap img {
  cursor: pointer;
  opacity: 0;
}

.loading {
  width: 100%;
  text-align: center;
  color: #FEFEFF;
}

#votePage, #notyPage, #resultPage {
  background: #111214 0% 0% no-repeat padding-box;
  overflow: hidden;
}

#noty_this_year_congrats {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

#noty_this_year_awards {
  margin-bottom: 24px;
}

.noty2021_award_wrap {
  display: flex;
  justify-content: center;
  text-align: left;
  width: 100vw;
  margin-bottom: 20px;
}

.noty2021_cover {
  width: 92px;
  height: 140px;
  margin-bottom: 24px;
  background-color: #e6e6e6;
}

.noty2021_detail {
  width: 60%;
  position: relative;
  margin-left: 20px;
  box-sizing: border-box;
}

.noty2021_detail .book_type {
  margin-top: 0;
}

.noty2021_title {
  margin: 0;
}

.noty2021_title .book_title {
  overflow: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* width: 290px; */
}

.noty2021_title .book_writer {
  color: #898989;
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

.noty2021_detail .book_context {
  font-size: 12px;
  /* color: #181818; */
  color: #ffffff;
  margin-top: 8px;
}

.noty2021_detail button {
  background-color: #7A57ED;
  color: #fff;
  width: 92px;
  height: 19px;
  margin-top: 8px;
}

/* Mobile */
@media screen and (max-width: 600px) {
  .global_width {
    margin: 0 auto;
    /* min-width: 360px; */
    width: 100vw;
  }

  .top_image {
    background-color: #030303;
    height: 280px;
    object-fit: cover;
    width: 100vw;
    /* min-width: 360px; */
  }

  .main_tabs {
    display: flex;
    height: 40px;
    width: 100vw;
  }

  .main_tabs button {
    background-color: #43434A;
    color: #8e8d8d;
    font-size: 12px;
    height: 40px;
    flex: 1;
  }

  .main_tabs .active {
    background-color: #7A57ED;
    color: #fefefe;
  }

  .award_header {
    width: 100vw;
    margin-bottom: 20px;
  }

  .awards_list {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-width: 320px;
    width: 100vw;
    padding: 0 3vw;
  }

  .award_title {
    background-color: #43434A;
    color: #EFEFEF;
    height: 19px;
    line-height: 20px;
    font-size: 0.8em;
    text-align: center;
    margin-bottom: 20px;
  }

  .book_list {
    display: flex;
    justify-content: space-between;
  }

  .award_wrap1 {
    box-sizing: border-box;
    width: fit-content;
  }

  .award_wrap2 {
    box-sizing: border-box;
    width: fit-content;
    min-width: 196px;
  }

  .award_wrap3 {
    box-sizing: border-box;
    width: 100%;
  }

  .history_book {
    width: 28vw;
    max-width: 140px;
  }

  .history_book a img {
    height: 42vw;
    max-height: 210px;
  }

  .margin_right_3vw {
    margin-right: 4vw;
  }

  .vote_book {
    margin-right: 3vw;
  }

  .book_wrap {
    box-sizing: border-box;
    text-align: left;
    min-width: 84px;
  }
  .book_wrap a {
    display: flex;
    flex-flow: column;
    text-decoration: none;
    text-align: start;
  }

  .book_wrap img {
    width: 100%;
    height: 36vw;
    min-height: 124.5px;
    max-height: 140px;
  }

  .loading {
    height: 175px;
    line-height: 175px;
  }

  .book_type {
    border-top: #60D5F6 1px solid;
    border-bottom: #60D5F6 1px solid;
    color: #60D5F6;
    font-size: 10px;
    padding: 2px;
    margin-top: 5px;
    width: fit-content;
  }

  .book_title {
    color: #FEFEFF;
    /* font-weight: 600; */
    font-size: 0.8em;
    line-height: 1.3em;
    margin-top: 6px;
    max-height: 2.4em;
    width: 100%;
  }

  .book_writer {
    color: #FEFEFF;
    /* font-size: 11px; */
    font-size: 0.68em;
    margin: 3px 0 10px 0;
    text-overflow: ellipsis;
  }

  .book_wrap button {
    background-color: #7A57ED;
    color: #ffffff;
    font-size: 11px;
    height: 19px;
    margin-top: 5px;
    margin-bottom: 40px;
  }
  
  .book_wrap button.is-favorite {
    background-color: #BCBCBC;
  }

  /* 투표현황 페이지 */

  .vote_page {
    display: flex;
    flex-flow: column;
    overflow: hidden;
  }

  .vote_title {
    height: 100vw;
    height: 15vw;
    margin-bottom: 20px;
  }

  .scroll_buttons_wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 55px;
  }

  .scroll_buttons_wrap img {
    height: 30px;
    width: 30px;
    z-index: 1;
  }

  .vote_list {
    display: flex;
    position: relative;
    top: -20px;
    margin-left: 9.5px;
  }

  .book_wrap .book_writer {
    margin-bottom: 0;
  }

  /* bottom */
  .award_innerbox {
    position: relative;
    width: min-content;
    max-width: 1000px;
  }

  /* .award_gift_wrap a {
    left: 5%;
    bottom: 5%;
    display: block;
    position: absolute;
  } */

  .award_gift_wrap img {
    display: block;
  }

  .award_click {
    width: 100%;
  }

  .bottom_wrap img {
    height: 40px;
    display: block;
  }

  .noty2021_title .book_title {
    overflow: hidden;
  }
}

@media screen and (max-width: 600px) {
  .noty2021_title .book_title {
    overflow: hidden;
  }
}

/* Tablet */
@media screen and (min-width: 600px) {
  .global_width {
    margin: 0 auto;
    max-width: 1000px;
  }
  #noty_this_year_awards {
    width: 500px;
    margin-bottom: 30px;
  }

  #noty_this_year_congrats {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 40px;
  }

  .noty2021_award_wrap {
    display: flex;
    text-align: left;
    width: 600px;
  }

  .noty2021_cover {
    width: 180px;
    height: 274px;
  }

  .noty2021_detail {
    margin-bottom: 20px;
  }

  .noty2021_title .book_title {
    font-weight: 600;
    font-size: 24px;
    line-height: 22px;
    margin-bottom: 0;
    width: 290px;
  }

  .noty2021_title .book_writer {
    color: #898989;
    font-size: 18px;
    font-weight: 400;
    line-height: 33px;
    margin-top: 8px;
  }

  .noty2021_detail {
    /* width: 306px; */
  }
  .noty2021_detail .book_context {
    font-size: 18px;
    /* color: #181818; */
  }
  .noty2021_detail button {
    background-color: #7A57ED;
    color: #fff;
    width: 180px;
    height: 35px;
    position: absolute;
    /* bottom: 10px; */
  }

  .top_image {
    background-color: #030303;
    /* height: 644px; */
    object-fit: cover;
    width: 100vw;
    /* min-width: 1000px; */
    max-width: 1000px;
    margin: 0 auto;
  }

  .main_tabs {
    display: flex;
  }

  .main_tabs button {
    background-color: #454545;
    color: #8e8d8d;
    font-size: 30px;
    height: 98px;
    width: 500px;
  }

  .main_tabs .active {
    background-color: #7A57ED;
    color: #fefefe;
  }

  .award_header {
    width: 100vw;
    margin-bottom: 44px;
    background-color: #111214;
  }

  .awards_list {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    box-sizing: border-box;
    padding: 0 16.6px;
    margin: 0 auto;
  }

  .award_wrap1 {
    box-sizing: border-box;
    width: 180px;
  }
  .award_wrap2 {
    width: 376.7px;
    box-sizing: border-box;
  }
  .award_wrap3 {
    width: 573.4px;
    box-sizing: border-box;
  }
  .award_wrap4 {
    width: 100%;
    box-sizing: border-box;
  }

  .award_title {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .book_list {
    display: flex;
    justify-content: space-between;
  }

  .award_margin_right_600 {
    margin-right: 16.7px;
  }

  .award_margin_right_1000 {
    margin-right: 16.7px;
  }

  .award_flex3 {
    flex: 1 0 auto;
  }

  .award_title {
    background-color: #43434A;
    color: #EFEFEF;
    width: 100%;
    /* height: 40px; */
    max-height: 1000px;
    line-height: 40px;
    font-size: 22px;
    text-align: center;
    margin-bottom: 21px;
  }

  .book_list {
    display: flex;
  }

  .book_wrap {
    margin: 0;
    text-align: left;
    width: 180px;
  }
  .book_wrap a {
    display: flex;
    flex-flow: column;
    text-decoration: none;
    text-align: start;
  }

  .book_wrap img {
    width: 180px;
    height: 274px;
  }

  .loading {
    height: 320px;
    line-height: 320px;
  }

  .book_type {
    border-top: #60D5F6 1px solid;
    border-bottom: #60D5F6 1px solid;
    color: #60D5F6;
    font-size: 15px;
    padding: 2px;
    margin: 14px 0 10px 0;
    width: fit-content;
  }

  .book_title {
    color: #FEFEFF;
    /* font-weight: 600; */
    font-size: 1em;
    margin-top: 1px;
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .book_writer {
    color: #FEFEFF;
    /* font-size: 16px; */
    font-size: 0.8em;
    margin: 3px 0 10px 0;
  }

  .book_wrap button {
    background-color: #7A57ED;
    color: #ffffff;
    font-size: 16px;
    height: 35px;
    margin-top: 5px;
    margin-bottom: 40px;
    width: 180px;
  }

  .book_wrap button.is-favorite {
    background-color: #BCBCBC;
  }

  /* 투표현황 페이지 */

  .vote_page {
    display: flex;
    flex-flow: column;
    overflow: hidden;
  }

  .vote_title {
    display: block;
    height: 160px;
    /* margin-bottom: 48px; */
    margin-bottom: 54px;
    width: 100vw;
  }

  .scroll_buttons_wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 116px;
  }

  .scroll_buttons_wrap img {
    height: 46px;
    width: 46px;
    z-index: 1;
  }

  .vote_list {
    display: flex;
    position: relative;
    top: -40px;
  }

  .book_wrap .book_writer {
    margin-bottom: 0;
  }

  /* bottom */

  .award_gift_wrap {
    background-color: #111214;
  }

  .award_innerbox {
    position: relative;
    width: min-content;
    max-width: 1000px;
    margin: 0 auto;
  }

  /* .award_gift_wrap a {
    left: 5%;
    bottom: 5%;
    display: block;
    position: absolute;
  } */

  .award_gift_wrap img {
    display: block;
    max-width: 1000px;
  }

  .bottom_wrap {
    background-color: #0f0f0f;
    height: 88px;
  }
  .award_click {
    /* width: 50vw; */
    width: 100%;
  }
  .bottom_wrap img {
    height: 88px;
    display: block;
    top: 0;
  }
}

@media screen and (min-width: 1000px) {
  /* #resultPage .award_header {
    background-color: #030303;
  } */


  .top_image {
    height: 644px;
  }

  #noty_this_year_congrats {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 40px;
  }

  #noty_this_year_awards {
    width: 600px;
    padding: 0;
  }

  .noty2021_award_wrap {
    margin: 0;
    margin-bottom: 50px;
  }

  .noty2021_cover {
    margin: 0;
  }

  .vote_title {
    /* background-color: #0f0a06; */
    display: block;
    height: 160px;
    /* margin-bottom: 48px; */
    margin-bottom: 54px;
    width: 100vw;
  }

  .award_header {
    /* background-color: #282b30; */
    /* height: 100px; */
    width: 100vw;
    margin-bottom: 44px;
  }
  .award_margin_right_600 {
    margin-right: 0;
  }
}

.top_image_box {
  background-color: #111214;
}
@media screen and (min-width: 1920px) {
  .top_image_box {
    background-color: #111214;
  }
  .top_image {
    width: auto;
    margin: 0 auto;
  }
}

header {
  background-color: #111214;
  height: 117px;
  line-height: 117px;
}

header .top-gnb {
  max-width: 1000px;
  margin: auto;
  background-image: url('./assets/ic_nav_back.svg');
  background-repeat: no-repeat;
  background-position: 10px 28px;
  background-size: 60px;
  touch-action: none;
}

header .top-gnb a {
  color: #FFFFFF;
  font-size: 42px;
  display: block;
}


/* Mobile */
@media screen and (max-width: 600px) {
  header {
    height: 44px;
    line-height: 44px;
  }

  header .top-gnb {
    background-position: 4px 10px;
    background-size: 22px;  
  }

  header .top-gnb a {
    font-size: 18px;
  }
}
