@import url("basic_css.css");

body {
  margin: 0;
  background: #f6f8fc;
  color: #111827;
  font-family: 'Noto Sans KR', 'Nanum Gothic', sans-serif;
}

.contents {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/*
*
* ==========================================
*  데스크탑
* ==========================================
*
*/
@media screen and (min-width:911px) {

  /* ============================================================================================================================= */
  /* 메인화면1 - 소개 */

  .content1 {
    position: relative;
    margin-top: 75px;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(-45deg, #1d2c41, #B7C9D9, #4FA3F0, #22131a);
    background-size: 400% 400%;
    animation: AnimationName 20s ease infinite;
    -webkit-animation: AnimationName 20s ease infinite;
    -moz-animation: AnimationName 20s ease infinite;
    -o-animation: AnimationName 20s ease infinite;
  }

  @-webkit-keyframes AnimationName {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
  }

  @-moz-keyframes AnimationName {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
  }

  @-o-keyframes AnimationName {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
  }

  @keyframes AnimationName {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
  }

  .content1 .where {
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 12px;
    width: 251px;
    height: 20px;
    color: rgba(255, 255, 255, 0.85);
  }

  .content1_text_wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    color: #fff;
  }

  .content1 span:nth-child(1) {
    display: block;
    width: 100%;
    height: 50px;
    font-size: 24px;
    float: left;
    margin-top: 30px;
    line-height: 70px;
    letter-spacing: -2px;
  }

  .content1_text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc(50% - 100px);
    text-align: center;
  }

  .content1 .underline_wrap {
    width: 100%;
    height: 30px;
    position: relative;
    float: left;
  }

  .content1 .underline1 {
    position: absolute;
    left: calc(50% - 10px);
    width: 20px;
    height: 1px;
    background-color: #fbd784;
    float: left;
    top: 15px;
  }

  .content1 span:nth-child(2) {
    display: block;
    width: 100%;
    height: 30px;
    font-size: 14px;
    float: left;
    line-height: 25px;
    margin-top: 30px;
    letter-spacing: -1px;
  }

  /* ============================================================================================================================= */
  /* 메인화면2 */

  .content2 {
    position: relative;
    width: 100%;
    height: 50px;
    z-index: 13;
    background: white;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    color: #4a5160;
  }

  .content2_active {
    position: fixed;
    top: 0px;
    z-index: 7900;
  }

  .content2 img {
    position: absolute;
    display: block;
    width: 180px;
    height: 40px;
    margin: 5px 0px;
    left: -220px;
    transition: all 0.5s;
  }

  .menu_plus2 {
    transition: all 0.5s;
    position: absolute;
    width: 50px;
    float: right;
    height: 50px;
    right: -60px;
    text-align: center;
    z-index: 11;
    cursor: pointer;
  }

  .menu_plus2 .i {
    position: absolute;
    color: white;
    left: 0px;
    width: 21px;
    height: 21px;
    margin: 14.5px 14.5px;
    background-repeat: no-repeat;
    background-image: cover;
  }

  .x_img {
    background-image: url(../image/icon/x_black.png);
  }

  .list_img {
    background-image: url(../image/icon/list_black.png);
  }

  .menu_plus2_active {
    width: 200px;
  }

  .content2 .text_wrap {
    width: 1000px;
    min-width: 1000px;
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
  }

  .content2 .text1 {
    width: 100%;
    height: 100%;
  }

  .content2 .text1 ul {
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }

  .content2 .text1 li {
    display: block;
    width: calc(100% / 7);
    float: left;
    box-sizing: border-box;
    height: 50px;
    text-align: center;
  }

  .content2 .text1 a {
    display: block;
    color: #4a5160;
    font-size: 14px;
    position: relative;
    margin-top: 16px;
    height: 18px;
    border-right: 1px solid #4a516056;
  }

  .content2 .text1 li:last-child a {
    border-right: none;
  }

  .content2 .text1 a:hover {
    color: #0070c9;
  }

  .content2 li:nth-child(1) a {
    color: #0070c9;
  }

  .content2 li:nth-child(1) a:after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    z-index: 8000;
    width: 100%;
    height: 1px;
    background: #0070c9;
  }

  /* ============================================================================================================================= */
  /* 메인화면3 - 게시글 보기 */

  .content3 {
    position: relative;
    width: 100%;
    overflow: visible;
    padding-bottom: 100px;
    z-index: 12;
    margin-top: 56px;
    margin-bottom: 100px;
  }

  .container {
    width: 1000px;
    margin: 0 auto;
    height: 100%;
  }

  .content3 .table_wrap {
    width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
    overflow: hidden;
  }

  /* 제목 헤더 */
  .content3 .table_wrap .title_container {
    width: 100%;
    padding: 26px 28px 18px;
    border-bottom: 1px solid #e8edf3;
    background: linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
    overflow: hidden;
    box-sizing: border-box;
  }

  .content3 .table_wrap .title_container .content_title {
    display: block;
    width: 100%;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -1px;
    margin-bottom: 12px;
  }

  .content3 .table_wrap .title_container .content_name,
  .content3 .table_wrap .title_container .content_time {
    display: inline-block;
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
    float: none;
    margin-right: 14px;
  }

  /* 첨부파일 */
  .content3 .table_wrap .doc_container {
    width: 100%;
    padding: 16px 28px;
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
  }

  .content3 .table_wrap .doc_container .doc_title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 30px;
    padding: 0 12px;
    margin-right: 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    float: left;
  }

  .content3 .table_wrap .doc_container > span:not(.doc_title) {
    float: left !important;
    display: inline-flex !important;
    align-items: center;
    min-height: 30px;
    margin-right: 16px !important;
    margin-bottom: 8px;
    padding: 0;
    font-size: 13px;
    color: #334155;
  }

  .content3 .table_wrap .doc_container .fa-solid {
    margin-right: 8px !important;
    color: #64748b;
  }

  .content3 .table_wrap .doc_container a {
    color: #334155 !important;
    text-decoration: none;
    line-height: 1.5 !important;
    word-break: break-all;
  }

  .content3 .table_wrap .doc_container a:hover {
    color: #2563eb !important;
    text-decoration: underline;
  }

  /* 본문 */
  .content3 .table_wrap .text_content_container {
    width: 100%;
    padding: 30px 28px 34px;
    overflow: hidden;
    font-size: 15px;
    min-height: 420px;
    line-height: 1.9;
    color: #1f2937;
    background: #fff;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }

  .content3 .table_wrap .text_content_container p:first-child,
  .content3 .table_wrap .text_content_container > *:first-child {
    margin-top: 0;
  }

  .content3 .table_wrap .text_content_container p:last-child,
  .content3 .table_wrap .text_content_container > *:last-child {
    margin-bottom: 0;
  }

  .content3 .table_wrap .text_content_container img {
    max-width: 100%;
    height: auto;
  }

  .content3 .table_wrap .text_content_container table {
    max-width: 100%;
    border-collapse: collapse;
  }

  .content3 .table_wrap .text_content_container iframe,
  .content3 .table_wrap .text_content_container video {
    max-width: 100%;
  }

  /* 이전글/다음글 */
  .content3 .table_wrap .prev_container,
  .content3 .table_wrap .next_container {
    width: 100%;
    padding: 0 28px;
    border-top: 1px solid #eef2f6;
    font-size: 14px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    background: #fff;
  }

  .content3 .table_wrap .next_container {
    border-bottom: 1px solid #eef2f6;
  }

  .content3 .table_wrap .prev_container .prev,
  .content3 .table_wrap .next_container .next {
    flex: 0 0 72px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #334155;
    line-height: 1.4;
  }

  .content3 .table_wrap .prev_container .prev .fa-solid,
  .content3 .table_wrap .next_container .next .fa-solid {
    margin-left: 6px;
    color: #64748b;
  }

  .content3 .table_wrap .prev_title_pc,
  .content3 .table_wrap .next_title_pc {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .content3 .table_wrap .prev_title_pc a,
  .content3 .table_wrap .next_title_pc a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1f2937;
    text-decoration: none;
  }

  .content3 .table_wrap .prev_title_pc a:hover,
  .content3 .table_wrap .next_title_pc a:hover {
    color: #2563eb;
  }

  .content3 .table_wrap .prev_title360,
  .content3 .table_wrap .prev_title280,
  .content3 .table_wrap .next_title360,
  .content3 .table_wrap .next_title280 {
    display: none;
  }

  .content3 .table_wrap .prev_meta,
  .content3 .table_wrap .next_meta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    white-space: nowrap;
    font-size: 13px;
    color: #64748b;
  }

  .content3 .table_wrap .prev_doc,
  .content3 .table_wrap .next_doc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
  }

  /* 버튼 */
  .content3 .table_wrap .btn_back_container {
    width: 100%;
    padding: 22px 28px 28px;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    background: #fff;
    box-sizing: border-box;
  }

  .content3 .table_wrap .btn_back_container button {
    border: 1px solid #cfd8e3;
    outline: none;
    height: 40px;
    cursor: pointer;
    min-width: 78px;
    padding: 0 16px;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-weight: 700;
    transition: all 0.15s ease;
  }

  .content3 .table_wrap .btn_back_container button:hover {
    background: #f8fafc;
    border-color: #b8c4d3;
  }
}

/*
*
* ==========================================
*  모바일
* ==========================================
*
*/
@media screen and (min-width:0px) and (max-width:910px){

  /* ============================================================================================================================= */
  /* 메인화면1 - 소개 */

  .content1 {
    position: relative;
    width: 100%;
    height: 210px;
    background-image: url(../image/background/sejong.jpg);
    background-size: 100% auto;
    background-image: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: center center;
  }

  .content1 .where {
    display: none;
  }

  .content1_text_wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  }

  .content1 span:nth-child(1) {
    display: block;
    width: 100%;
    height: 25px;
    font-size: 18px;
    float: left;
    margin-top: 70px;
    letter-spacing: -2px;
  }

  .content1_text {
    position: absolute;
    width: calc(100% - 50px);
    padding: 0px 25px;
    height: 100%;
    top: calc(50% - 100px);
    text-align: center;
  }

  .content1 .underline_wrap {
    width: 100%;
    height: 15px;
    position: relative;
    float: left;
  }

  .content1 .underline1 {
    position: absolute;
    left: calc(50% - 5px);
    width: 10px;
    height: 1px;
    background-color: #fbd784;
    float: left;
    top: 7.5px;
  }

  .content1 span:nth-child(2) {
    display: block;
    width: 100%;
    height: 40px;
    font-size: 11px;
    float: left;
    line-height: 20px;
    margin-top: 20px;
    letter-spacing: -1px;
  }

  /* ============================================================================================================================= */
  /* 메인화면2 */

  .content2{
    position: relative;
    width: 100%;
    height: 50px;
    z-index: 13;
    background: white;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    color: #4a5160;
    -ms-overflow-style: none;
    overflow-y: hidden;
  }

  .content2::-webkit-scrollbar{
    display:none;
  }

  .content2_active{
    display: none;
  }

  .content2 img{
    display: none;
  }

  .menu_plus2{
    display: none;
  }

  .menu_plus2 .i{
    display: none;
  }

  .x_img{
    display: none;
  }

  .list_img{
    display: none;
  }

  .menu_plus2_active{
    display: none;
  }

  .content2 .text_wrap{
    width: 600px;
    min-width: 600px;
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
  }

  .content2 .text1{
    width: 100%;
    height: 100%;
  }

  .content2 .text1 ul{
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }

  .content2 .text1 li{
    display: block;
    width: calc(100% / 7);
    float: left;
    box-sizing: border-box;
    height: 50px;
    text-align: center;
  }

  .content2 .text1 a{
    display: block;
    color: #4a5160;
    font-size: 14px;
    position: relative;
    margin-top: 16px;
    height: 18px;
    border-right: 1px solid #4a516056;
  }

  .content2 .text1 li:last-child a{
    border-right: none;
  }

  .content2 .text1 a:hover{
    color: #0070c9;
  }

  .content2 li:nth-child(1) a{
    color: #0070c9;
  }

  .content2 li:nth-child(1) a:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    z-index: 9000;
    width: 100%;
    height: 1px;
    background: #0070c9;
  }

  /* ============================================================================================================================= */
  /* 메인화면3 - 게시글 보기 */

  .container {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .content3 {
    width: calc(100% - 28px);
    overflow: visible;
    padding: 0 14px;
    position: relative;
    z-index: 11;
    margin-top: 36px;
    margin-bottom: 70px;
  }

  .content3 .table_wrap{
    width: 100%;
    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
  }

  .content3 .table_wrap .title_container{
    width: 100%;
    padding: 18px 16px 14px;
    border-bottom: 1px solid #e8edf3;
    background: linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
    overflow: hidden;
    box-sizing: border-box;
  }

  .content3 .table_wrap .title_container .content_title{
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .content3 .table_wrap .title_container .content_name,
  .content3 .table_wrap .title_container .content_time{
    display: inline-block;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
    float: none;
    margin-right: 10px;
  }

  .content3 .table_wrap .doc_container{
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
  }

  .content3 .table_wrap .doc_container .doc_title{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 28px;
    padding: 0 10px;
    margin-right: 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    float: left;
  }

  .content3 .table_wrap .doc_container > span:not(.doc_title){
    float: left !important;
    display: inline-flex !important;
    align-items: center;
    min-height: 28px;
    margin-right: 12px !important;
    margin-bottom: 8px;
    font-size: 12px;
    color: #334155;
  }

  .content3 .table_wrap .doc_container .fa-solid{
    margin-right: 6px !important;
    color: #64748b;
  }

  .content3 .table_wrap .doc_container a{
    color: #334155 !important;
    text-decoration: none;
    line-height: 1.4 !important;
    word-break: break-all;
  }

  .content3 .table_wrap .text_content_container{
    width: 100%;
    padding: 22px 16px 26px;
    overflow: hidden;
    font-size: 14px;
    min-height: 300px;
    line-height: 1.85;
    color: #1f2937;
    background: #fff;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }

  .content3 .table_wrap .text_content_container img {
    max-width: 100%;
    height: auto;
  }

  .content3 .table_wrap .text_content_container table {
    max-width: 100%;
    border-collapse: collapse;
  }

  .content3 .table_wrap .text_content_container iframe,
  .content3 .table_wrap .text_content_container video {
    max-width: 100%;
  }

  .content3 .table_wrap .prev_container,
  .content3 .table_wrap .next_container{
    width: 100%;
    padding: 12px 16px;
    border-top: 1px solid #eef2f6;
    font-size: 13px;
    min-height: auto;
    display: block;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
  }

  .content3 .table_wrap .next_container{
    border-bottom: 1px solid #eef2f6;
  }

  .content3 .table_wrap .prev_container .prev,
  .content3 .table_wrap .next_container .next{
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
  }

  .content3 .table_wrap .prev_container .prev .fa-solid,
  .content3 .table_wrap .next_container .next .fa-solid{
    margin-left: 5px;
    color: #64748b;
  }

  .content3 .table_wrap .prev_title_pc,
  .content3 .table_wrap .next_title_pc{
    display: none;
  }

  .content3 .table_wrap .prev_title360,
  .content3 .table_wrap .next_title360{
    display: block;
    width: 100%;
    margin-bottom: 8px;
  }

  .content3 .table_wrap .prev_title360 a,
  .content3 .table_wrap .next_title360 a{
    display: block;
    color: #1f2937 !important;
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
  }

  .content3 .table_wrap .prev_title280,
  .content3 .table_wrap .next_title280{
    display: none;
  }

  .content3 .table_wrap .prev_meta,
  .content3 .table_wrap .next_meta{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #64748b;
    flex-wrap: wrap;
  }

  .content3 .table_wrap .btn_back_container{
    width: 100%;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    box-sizing: border-box;
  }

  .content3 .table_wrap .btn_back_container button{
    border: 1px solid #cfd8e3;
    outline: none;
    height: 38px;
    cursor: pointer;
    min-width: 70px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-weight: 700;
  }
}