﻿/* 
	CSS 크로스브라우징 
*/
/* 
	텍스트 관련
*/
/* 
	삼각형 만들기 
*/
/* 
	CSS3 효과
	=====
	example)
		elem {
			.box_shadow(2px 2px 10px rgba(0,0,0,.2));
		}
*/
/* 
	CSS3 애니메이션 
	=====
	example)
	.keyframes(fade-in;{
		0% { opacity: 0; }
		100% { opacity: 1; }
	});
	.animation(fade-in 0.2s linear infinite alternate)
*/
/* 
	미디어쿼리
	-----
	example )
		elem {
			@media @mobile {
				attr : value;
	    }
		}
*/
#wrap {
  position: relative;
  overflow: hidden;
  min-width: 1024px !important;
}
#wrap ::selection {
  color: #fff;
  background: #155076;
}
#wrap ::-moz-selection {
  color: #fff;
  background: #155076;
}
@media only screen and (max-width: 1024px) {
  #wrap {
    min-width: 100%  !important;
  }
}
#wrap #contentArea {
  margin: 0 auto 30px;
  background: #ebebeb;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea {
    background: #fff;
  }
}
#wrap #contentArea .section {
  position: relative;
  margin: 0 auto;
  padding: 15px 0;
  width: 1024px;
  z-index: 1;
  background: #fff;
}
#wrap #contentArea .section h1.chapter {
  font-size: 33px;
  line-height: 34px;
  margin: 50px 0;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .section h1.chapter {
    font-size: 24px;
    margin: 30px 0;
    padding: 0 20px;
  }
}
#wrap #contentArea .section h2.chapter {
  font-size: 26px;
  line-height: 34px;
}
#wrap #contentArea .section h2.chapter span {
  font-size: 25px;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .section h2.chapter {
    font-size: 23px;
  }
  #wrap #contentArea .section h2.chapter span {
    font-size: 20px;
  }
}
#wrap #contentArea .section h3.chapter {
  font-size: 20px;
  font-weight: 100;
  padding: 3px 0;
  border-bottom: 1px solid #c6c6c6;
  display: inline-block !important;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .section h3.chapter {
    font-weight: normal;
    margin: 0 20px;
  }
}
#wrap #contentArea .section h3.chapter em {
  font-family: Avenir, 'Lato', "애플 SD 산돌고딕 Neo", "Apple SD Gothic Neo", "나눔바른고딕", NanumBarunGothic, "나눔고딕", NanumGothic, "맑은 고딕", "Malgun Gothic", "돋움", dotum, AppleGothic, sans-serif;
  font-size: 28px;
}
#wrap #contentArea .section .title_point {
  display: inline-block;
  color: #444;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}
@media only screen and (max-width: 1024px) {
  #wrap #contentArea .section .title_point {
    margin-left: 20px;
  }
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .section .title_point {
    margin-left: 0;
  }
}
#wrap #contentArea .section.svg {
  padding: 0;
  margin: 0 auto;
}
#wrap #contentArea .section.svg span {
  display: block;
  padding: 10px 20px;
  color: #9a9a9a;
  font-size: 12px;
  text-align: right;
}
@media only screen and (max-width: 1024px) {
  #wrap #contentArea .section {
    width: 100%;
  }
  #wrap #contentArea .section .center_wrap .inner_cont h2,
  #wrap #contentArea .section .center_wrap .inner_cont p {
    padding: 0 20px;
  }
}
#wrap #contentArea .section p {
  display: block;
  color: #3c3e40;
  font-size: 12pt;
  line-height: 30px;
  word-wrap: break-word;
  word-break: break-all;
  line-height: normal;
  margin: 1.2em auto;
  line-height: 1.75;
}
#wrap #contentArea .section p.italic {
  font-style: italic;
  color: #888;
  padding: 0px 0 5px 0px;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .section p {
    padding: 0 20px;
    font-size: 13pt;
    line-height: 22pt;
  }
}
#wrap #contentArea .page_0 {
  width: 100%;
  height: 490px;
}
#wrap #contentArea .page_0 .title_box {
  height: inherit;
  width: inherit;
  background: #000 url("https://digitalspecial.joongang.co.kr/_o/img/newsroom/2017/1111_bookstore/bg.jpg") no-repeat fixed;
  background-position: center top;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .page_0 .title_box {
    background: #2f2d31 url("https://digitalspecial.joongang.co.kr/_o/img/newsroom/2017/1111_bookstore/bg_m.jpg") center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
  }
}
#wrap #contentArea .page_1 {
  margin-top: -100px;
}
@media only screen and (max-width: 768px) {
  #wrap #contentArea .page_1 {
    margin-top: -40px;
  }
}
.stack {
  margin: 30px 0;
}
.stack.layout_right {
  margin: 5px 0 0 30px;
  float: right;
  width: 420px;
}
.stack figcaption {
  color: #888;
  font-size: 14px;
  padding: 6px 10px;
}
@media only screen and (max-width: 768px) {
  .stack {
    margin: 0;
    width: 100%;
  }
  .stack.layout_right {
    float: none;
    margin: 0;
    width: 100%;
  }
  .stack figcaption {
    padding: 6px 20px;
  }
}
.inner_cont {
  overflow: hidden;
  margin: 0 auto;
  max-width: 800px;
}
.inner_cont p,
.inner_cont h2,
.inner_cont h3 {
  max-width: 100%;
}
.inner_cont h2,
.inner_cont h3 {
  margin-top: 55px;
}
.chartWrap {
  margin: 50px 0;
}
@media only screen and (max-width: 768px) {
  .chartWrap {
    margin: 50px 20px;
  }
}
#chart1 {
  background: #f9f9f9;
  padding: 15px 0;
}
.mapViewBtn {
  position: relative;
  padding: 30px;
  font-size: 20px;
  display: none;
  background: url("https://digitalspecial.joongang.co.kr/_o/img/newsroom/2017/1111_bookstore/map_thumb.jpg") center top no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  width: 100%;
  max-width: 100%;
  height: 280px;
}
.mapViewBtn .btnTitle {
  position: absolute;
  padding: 5px;
  font-size: 1.1rem;
  color: #fff;
  top: 0;
  left: 0;
  margin: 10px;
}
.mapViewBtn .btnText {
  position: absolute;
  background: #33448E;
  padding: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  bottom: 0;
  left: 0;
  margin: 10px;
}
@media only screen and (max-width: 1024px) {
  .mapViewBtn {
    display: block;
    margin: 0 auto;
  }
}
.mapBtnArea {
  text-align: left;
  right: 0;
  margin: 10px 8px 0;
  position: absolute;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 14px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
.mapBtnArea label {
  cursor: pointer;
}
.mapBtnArea label:nth-child(2) {
  margin-right: 10px;
}
@media only screen and (max-width: 1024px) {
  .mapBtnArea {
    margin: 10px 60px 0;
    padding: 10px 5px;
  }
}
.caption {
  color: #777;
  text-align: right;
  padding: 8px;
  display: block;
}
.mapWrap {
  height: 500px;
  margin: 20px 0 80px;
}
@media only screen and (max-width: 1024px) {
  .mapWrap {
    margin: 0;
    display: none;
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 10000;
    background: #fff;
  }
  .mapWrap span {
    display: none;
  }
}
.mapWrap .title_point {
  margin-left: 110px;
}
@media only screen and (max-width: 1024px) {
  .mapWrap .title_point {
    display: none !important;
  }
}
#map {
  position: relative;
  height: calc(86%);
  background: #eee;
}
@media only screen and (max-width: 1024px) {
  #map {
    background: #333;
    height: calc(96%);
  }
}
.btn_close_popup {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  font-size: 0;
  color: transparent !important;
  overflow: hidden;
  transform: rotate(45deg);
  transition: all 0.2s ease;
  z-index: 5000;
  background: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
@media only screen and (max-width: 1024px) {
  .btn_close_popup {
    display: inline-block;
  }
}
.btn_close_popup::before,
.btn_close_popup::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 4px;
  width: 80%;
  height: 3px;
  background: #000;
  border-radius: 32px 32px 32px 32px;
  transform: translateY(-50%);
}
.btn_close_popup::after {
  width: 3px;
  height: 80%;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.popup {
  min-width: 200px;
  padding: 6px;
  background-color: #fff;
}
.popup .popup_title {
  display: block;
  font-weight: bold;
  font-size: 14pt;
  margin: 0px 0 10px !important;
  padding-bottom: 4px;
  border-bottom: 2px solid #555;
}
.popup th,
.popup td {
  padding: 5px 10px 5px 0px;
  text-align: left;
  color: #333;
}
.popup .strong td {
  font-weight: bold;
  color: red;
}
.legend {
  line-height: 20px;
  color: #555;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 10px;
  font-size: 12px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.legend p {
  padding-bottom: 6px;
}
.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
}
.byline_wrap {
  margin-top: 100px;
}
