@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 800px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  background: #ffffff;
}

ul,
li {
  list-style: none;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #000000;
}

.hidden {
  display: block;
  font-size: 0;
}

/**************
=====시작=====
***************/

#wrap {
  width: 100%;
  min-width: 1300px;
  min-width: 800px;
  height: 100%;
  margin: 0 auto;
  background-color: #ffffff;
}

header {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background-color: #ffffff;
}

header .header_fix {
  width: 1400px;
  /* width: 95%; */
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 2px solid #000000;
  box-sizing: border-box;
}

header .header_fix h2 {
  font-size: 3em;
  text-align: center;
  font-weight: 700;
}

header .header_fix h2 span {
  border-radius: 15px;
  padding: 11px;
}

/* 사회 */
.soc01 {
  background: #F6F3FE;
}

.soc02 {
  background: #E8F7FE;
}

/* 미술 */
.art03 {
  background: #FFE699;
}

.art04 {
  background: #FDD1D2;
}

/* 수학 */
.math01 {
  background: #DBE9AE;
}

.math02 {
  background: #BBDBF4;
}

/* 과학 */

.sci01 {
  background: #D4E6AE;
}

.sci02 {
  background: #ECA4C8;
}

.sci03 {
  background: #FFD583;
}

.sci04 {
  background: #9CDCF9;
}

header .header_fix .logo {}

header .header_fix .logo .ts_logo {
  width: 150px;
  height: auto;
  margin: 35px;
}

.main {
  width: 100%;
  padding: 0;
  height: auto;
  margin: 0 auto;
  padding-bottom: 300px;
}

.contents_container {
  width: 1400px;
  /* width: 95%; */
  height: auto;
  margin: 0 auto;
  background: #ffffff;
  margin-top: 40px;
}

@media screen and (max-width:1400px) {
  .contents_container {
    width: 95%;
  }

  header .header_fix {
    width: 95%;
  }
}

.contents_container .list {
  width: 100%;
  margin: 0 auto;
  padding: 15px 0;
}

#accordion .panel {
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 6px;
}

#accordion .panel-heading {
  padding: 0;
}

#accordion .panel-title a {
  display: block;
  border-radius: 20px;
  padding: 0px 40px;
  background: #cfcfcf;
  font-size: 1.5em;
  font-weight: bold;
  color: #000000;
  height: 90px;
  line-height: 90px;
  position: relative;
  transition: all 0.3s ease 0s;
}

#accordion .panel-title a.collapsed {
  color: #333;
  border-radius: 20px;
}

#accordion .panel-title a {
  border-radius: 20px 20px 0 0;
  /* 열렸을 때 위쪽만 둥글게 */
}

#accordion .panel-title a.collapsed {
  border-radius: 20px;
  /* 닫혔을 때 전체 둥글게 */
}

#accordion .panel-title a:before,
#accordion .panel-title a.collapsed:before {
  content: "\F235";
  font-family: "bootstrap-icons";
  font-weight: 900;
  font-size: 25px;
  color: #3a3a3a;
  line-height: 24px;
  position: absolute;
  top: 35px;
  right: 64px;
}

#accordion .panel-title a.collapsed:before {
  content: "\F229";
}

#accordion .panel-title a:hover,
#accordion .panel-title a.collapsed:hover,
#accordion .panel-title a:before,
#accordion .panel-title a:hover:before {
  color: #fbc02d;
  color: #000000;
}

#accordion .panel-title a span {
  background: #ffffff;
  color: #000000;
  border-radius: 100%;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
}

.panel>.panel-collapse {
  background: #f5f5f5;
  border-radius: 0 0 20px 20px;
}

#accordion .panel-body {
  /* padding: 15px 27px; */
  /* font-size: 14px; */
  /* color: #808080;
  border: 1px solid #eaeaea;
  border-top: none;
  border-left: 3px solid #eaeaea; */
  width: 93%;
  margin: 0 auto;
  padding: 10px 0;
}

#accordion .panel-body a {
  display: flex;
  /* width: 100%; */
  margin: 15px 15px;
  padding: 10px 0 20px;
  border-bottom: 1px dashed #cbcbcb;
  box-sizing: border-box;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
}

#accordion .panel-body a:hover {
  /* color: #9e9e9e; */
}

#accordion .panel-body a:last-child {
  border-bottom: none;
}

#accordion .panel-body a p {
  font-size: 19px;
  font-weight: 600;
}

#accordion .panel-body a .page {
  border: 2px solid #000000;
  padding: 5px 0;
  border-radius: 20px;
  margin-right: 10px;
  font-weight: 600;
  width: 77px;
  display: inline-block;
  text-align: center;
}

#accordion .panel-body a .sub {
  width: 340px;
  margin-right: 15px;
  padding: 2px 0;
  display: inline-block;
  font-weight: 600;
  border-right: 3px solid #9e9e9e;
}

#accordion .panel-body a .glass {
  width: 20px;
  /* margin-right: 10px; */
}


/* 과학 교과서 실험관찰 카테고리 추가 */
.category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0 0px 0;
  margin-left: 84px;
  gap: 37px;
}

.category span {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
}

.sci_only {
  display: flex;
  align-items: center;
}

.sci_only .page_wrap {
  width: 200px;
}