/* 큰 화면 우선 적용 : PC > Tablet > Mobile */
/* 전체 적용 - Desktop, Laptop 기준 */
body {
  overflow: hidden auto;
}

header {
  position: fixed;
  width: 100%;
  background-color: #ffffff;
  z-index: 1;
}

.header-area {
  max-width: 1280px;
  height: 130px;
  margin: auto;
}

.header-title p {
  font-family: 'SBAggro';
  font-weight: bold;
  font-size: 32px;
  color: #5254cc;
}

.header-download,
.footer-download {
  width: 150px;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid #5254cc;
  border-radius: 29px;
  cursor: pointer;
}

.header-download:hover {
  background-color: #5254cc;
  border: 1px solid #5254cc;
}

.header-download p {
  font-family: 'Pretendard';
  font-weight: bold;
  font-size: 20px;
  color: #5254cc;
}

.header-download:hover p {
  color: #ffffff;
}

#pnlDownload {
  display: none;
  position: absolute;
  width: 450px;
  height: 270px;
  border: 5px solid #9e9e9e;
  border-radius: 20px;
  background-color:rgba(255, 255, 255, 0.8);
  padding: 45px 38px;
  z-index: 99;
}

.header-sns a {
  margin-left: 20px;
}

.header-sns .header-contact {
  font-family: 'Pretendard';
  font-weight: 600;
  font-size: 20px;
  color: #525252;
  padding: 1px;
  margin-right: 20px;
}

.header-sns .header-contact:hover {
  color: #5254cc;
}

footer {
  position: relative;
  width: 100%;
  min-height: 1080px;
  background-color: #13133f;
  z-index: 2;
}

footer .footer-wrap {
  position: absolute;
  top: 120px;
  bottom: 120px;
  width: 100%;
}

.footer-wrap .footer-content {
  position: relative;
  max-width: 1280px;
  height: 100%;
  margin: auto;
}

.footer-wrap .footer-top p {
  font-family: 'Pretendard';
  color: #ffffff;
}

.footer-top-left p {
  font-weight: 600;
  font-size: 24px;
}

.footer-top-left div:last-child a {
  margin-top: 36px;
  margin-right: 20px; 
  margin-bottom: 0;
}

.footer-top .footer-slogan {
  font-weight: 700;
  font-size: 24px;
}

.footer-top .footer-system-name {
  font-weight: 900;
  font-size: 42px;
}

.footer-top .footer-download {
  background-color: #ffffff;
  margin-top: 20px;
}

.footer-top .footer-download p {
  font-family: 'Pretendard';
  font-weight: bold;
  font-size: 20px;
  color: #1f1f1f
}

.footer-wrap .footer-bottom {
  position: absolute;
  bottom: 0;
}

.footer-bottom p {
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 16px;
  color: #dedede;
  margin-top: 25px;
}

.footer-bottom .footer-p-margin {
  margin-top: 70px;
}

main {
  width: 100%;
  margin-top: 130px;
}

section.search {
  width: 100%;
  height: 300px;
  background-color: #5254cc;
}

section.list,
section.result {
  width: 100%;
  min-height: 1000px;
  background-color: #ffffff;
}

section.result {
  display: none;
}

section.search .search-wrap,
section.list .list-wrap,
section.result .result-wrap {
  position: relative;
  max-width: 1280px;
  height: 100%;
  margin: auto;
}

section.list .list-wrap,
section.result .result-wrap {
  padding: 40px 110px;
}

.search-wrap .title {
  width: 100%;
  padding-top: 100px;
  text-align: center;
}

.search-wrap .title p {
  font-family: 'Pretendard';
  font-weight: bold;
  font-size: 45px;
  color: #fdfdfd;
}

.search-wrap .desc {
  width: 100%;
  padding-top: 20px;
  text-align: center;
}

.search-wrap .desc input {
  width: 100%;
  height: 48px;
  max-width: 534px;
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 18px;
  color: #383838;
  background: url('../images/search.png') no-repeat 12px #eeeeee;
  padding-left: 46px;
  border-radius: 10px;
}

.search-wrap .desc input::-webkit-search-cancel-button {
  position:relative;
  right: 0;  
  -webkit-appearance: none;
  width: 36px;
  height: 24px;
  background: url('../images/reset.png') no-repeat 12px #eeeeee;
  cursor: pointer;
}

.search-wrap .desc div {
  width: 86px;
  height: 48px;
  border: 3px solid #bcbcbc;
  background-color: #ffffff;
  border-radius: 10px;
  margin-left: 8px;
  cursor: pointer;
}

#btnSearch p {
  font-family: 'Pretendard';
  font-weight: 600;
  font-size: 16px;
  color: #5254cc;
}

#divGroup .col {
  height: 68px;
  border: 1px solid #b8b8b8;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

#divGroup .col p {
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 20px;
  color: #858585;
}

#divGroup .col.active,
#divGroup .col:hover {
  border: 1px solid #5254cc;
}

#divGroup .col.active p,
#divGroup .col:hover p {
  font-family: 'Pretendard';
  font-weight: bold;
  font-size: 20px;
  color: #5254cc;
}

.list-wrap .list {
  width: 100%;
  margin-top: 40px;
}

#grpList p.item-count,
#rsltList p.item-count {
  font-family: 'Pretendard';
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  margin: 40px 0 20px;
}

#grpList .item,
#rsltList .item {
  margin-bottom: 32px;
}

#grpList .item-title,
#rsltList .item-title {
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  padding: 0 26px;
  cursor: pointer;
  margin: 0px;
  border-radius: 8px;
}

#grpList .item-title.active,
#grpList .item-title:hover,
#rsltList .item-title.active,
#rsltList .item-title:hover {
  background-color: #efeffa;
}

#grpList .item-title p,
#rsltList .item-title p {
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 20px;
}

#grpList .item-title p:first-child,
#rsltList .item-title p:first-child {
  color: #5154d1;
}

#grpList .item-title p:last-child,
#rsltList .item-title p:last-child {
  color: #181818;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

#grpList .item-title.active p,
#grpList .item-title:hover p,
#rsltList .item-title.active p,
#rsltList .item-title:hover p {
  font-weight: bold;
}

#grpList .item-content,
#rsltList .item-content {
  display: none;
  padding: 24px 26px;
}

#grpList .item-content p,
#rsltList .item-content p {
  font-family: 'Pretendard';
  font-weight: 400;
  font-size: 20px;
  color: #181818;
}

.result-wrap .no-content {
  display: none;
}

.no-content img {
  width: 175px;
}

.no-content .no-result {
  font-family: 'Pretendard';
  font-weight: bold;
  font-size: 32px;
  color: #525252;
}

/* 1200px보다 작은 경우 - Tablet Landscape 기준 */
@media screen and (max-width:1200px) {
  .header-area {
    height: 120px;
    margin: 0 48px;
  }
  
  .header-sns {
    display: none !important;
  }
}

/* 768px보다 작은 경우 - Tablet Portrait 기준 */
@media screen and (max-width:768px) {
  .header-area {
    height: 90px;
    margin: 0 16px;
  }
  
  .header-title p {
    font-size: 24px;
  }

  .header-download {
    width: 120px;
    height: 40px;
  }

  .header-download p {
    font-size: 16px;
  }

  footer {
    min-height: 740px;
  }  

  footer .footer-wrap {
    top: 40px;
    bottom: 40px;
    padding: 0 16px;
  }

  .footer-top-left p {
    font-size: 16px;
  }
  
  .footer-top-left div:last-child a {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .footer-top .footer-slogan {
    font-size: 20px;
  }
  
  .footer-top .footer-system-name {
    font-size: 36px;
  }
  
  .footer-bottom p {
    font-size: 12px;
    margin-top: 18px;
  }
  
  .footer-bottom .footer-p-margin {
    margin-top: 18px;
  }

  main {
    min-height: auto;
    margin-top: 90px;
  }

  section.search {
    height: 198px;
  }
  
  section.list,
  section.result {
    min-height: 480px;
  }
  
  section.list .list-wrap,
  section.result .result-wrap {
    padding: 12px 16px;
  }
  
  .search-wrap .title {
    padding-top: 50px;
  }
  
  .search-wrap .title p {
    font-size: 32px;
  }
  
  .search-wrap .desc {
    padding: 16px;
  }
  
  .search-wrap .desc input {
    height: 44px;
    font-size: 14px;
  }
  
  .search-wrap .desc div {
    width: 84px;
    height: 44px;
    border: 2px solid #bcbcbc;
  }
  
  #btnSearch p {
    font-size: 12px;
  }
  
  #divGroup .col {
    height: 42px;
  }
  
  #divGroup .col p {
    font-size: 12px;
  }
  
  #divGroup .col.active p,
  #divGroup .col:hover p {
    font-size: 12px;
  }
  
  .list-wrap .list {
    margin-top: 12px;
  }
  
  #grpList p.item-count,
  #rsltList p.item-count {
    font-size: 14px;
    margin: 32px 0 8px;
  }
  
  #grpList .item,
  #rsltList .item {
    margin-bottom: 20px;
  }
  
  #grpList .item-title,
  #rsltList .item-title {
    height: 44px;
    padding: 0 14px;
  }
  
  #grpList .item-title p,
  #rsltList .item-title p {
    font-size: 14px;
  }

  #grpList .item-title p:last-child,
  #rsltList .item-title p:last-child {
    max-width: 200px;
  }
  
  #grpList .item-content,
  #rsltList .item-content {
    padding: 20px 14px;
  }
  
  #grpList .item-content p,
  #rsltList .item-content p {
    font-size: 14px;
  }
  
  .no-content img {
    width: 120px;
  }
  
  .no-content .no-result {
    font-size: 24px;
  }
}

/* 480px보다 작은 경우 - Mobile 기준 */
@media screen and (max-width:480px) {
  .header-title p {
    font-size: 20px;
  }

  .header-download {
    width: 100px;
    height: 36px;
  }

  .no-content .no-result {
    font-size: 20px;
  }
}

/* 480px보다 작은 경우 - Mobile 기준 */
@media screen and (max-width:350px) {
  #grpList .item-title p:last-child,
  #rsltList .item-title p:last-child {
    max-width: 120px;
  }
}