/* *, ::after, ::before {
  box-sizing: inherit;
} */
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

.tbl_header {
    background-color: #327a81;
    color: white;
    font-size: 1.8rem;
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
  }
  
  .img_Radius {
    border-radius: 50%;
    height: 60px;
    width: 60px;
  }
  
  .table-users {
    border: 1px solid #327a81;
    /* border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1); */
    max-width: calc(100% - 2rem);
    /* margin: 1em auto; */
    overflow: hidden;
    /* width: 800px; */
  }
  
  table {
    width: 100%;
  }
  table td, table th {
    color: #2b686e;
    padding: 10px;
    position: relative;
  }
  table td.th:first-child {
    text-align: left;
    vertical-align: middle;
    width:calc(100% - 80px);
  }
  table td,th {
    text-align: left;
    vertical-align: middle;
    /* width: 80px; */
  }


  .columnCol6{width:100%;}
  .columnCol5{width:85%;}
  .column1{width:15%;}
  .column2{width:18%;}
  .column3{width:15%;}
  .column4{width:18%;}
  .column5{width:15%;}
  .column6{width:18%;}

  /* table td:last-child {
    font-size: 0.95em;
    line-height: 1.4;
    text-align: left;
  } */
  /* table th {
    background-color: #daeff1;
    font-weight: 300;
  }
  table tr:nth-child(2n) {
    background-color: white;
  }
  table tr:nth-child(2n+1) {
    background-color: #edf7f8;
  } */

  /* tr:first-child {
    display: none;
  } */
  
  /* tr:first-child th:nth-child(n+3):nth-child(-n+4){
    display :none;
  }
  td:nth-child(n+3):nth-child(-n+4){
      display :none;
  } */

  /* 2021.07.30 주석 생각중.... */
  /* .contentArea{
    overflow-x:auto;
    overflow-y:hidden;
  }

  .contentAreaSub{
    max-width:1100px;
    width:780px;
    position: relative;
  } */
  /* //2021.07.30 주석 */

  @media (max-width: 1240px){
    /* tr:first-child th:nth-child(n+3):nth-child(-n+4){
        display :none;
    }
    td:nth-child(n+3):nth-child(-n+4){
        display :none;
    } */
    
    
  }

  @media (max-width: 1024px){
    /* tr:first-child th:nth-child(1){
        display :none;
    }
    td:nth-child(1){
        display :none;
    } */
    
    /* tr:first-child  th:nth-child(3) {
      display: none;
    } 
    
    tr:first-child  th:nth-child(5) {
      display: none;
    } 

    td:nth-child(3){
      display :none;
    } 
    td:nth-child(5){
      display :none;
    }  */
    
    .table th {
        font-size: 14px;
        color: #777;
        /* border-right: 1px solid #e9e9e9; */
        /* padding: 14px 10px; */
    }
  }

  @media screen and (max-width: 768px) {
    /* .columnCol6{width:100%;}
    .columnCol5{width:100%;}
    .column1{width:0%;}
    .column2{width:100%;}
    .column3{width:0%;}
    .column4{width:100%;}
    .column5{width:0%;}
    .column6{width:100%;} */

    tr:nth-child(1) td:nth-child(2){
      padding: 18px 15px;
      color: #666;
      font-weight: bold;
    }
    tr:nth-child(1) td:nth-child(2) p {
      color: #666;
    }
    tr:nth-child(2) {
      padding: 18px 0px;
    }
    tr:nth-child(3) td:nth-child(2){
      padding: 18px 0px;
    }
    tr:nth-child(5) td:nth-child(2){
      padding: 18px 0px;
    }
    tr:nth-child(6) td:nth-child(2){
      padding: 18px 0px;
    }
    
    .column1, .column2, .column3, .column4, .column5, .column6, .columnCol5, .columnCol6 {
      width: 100% !important;
    }

    /* tr:first-child th:nth-child(n+3):nth-child(-n+4){
      display :inline-block;
    }
    td:nth-child(n+3):nth-child(-n+4){
        display :inline-block;
    }
    tr:first-child th:nth-child(1){
        display :inline-block;
    }
    td:nth-child(1){
        display :inline-block;
    } */

    /* tr:first-child {
      display: none;
    } */
    /* table, tr, td {
      display: block;
    }
    .table tr {
       border-bottom: none;
    } */
    
    table>*, table tr, table td, table th {
      display: block;
    }
  
    /* td:first-child {
      position: absolute;
      top: 50%;
      -webkit-transform: translateY(-50%);
              transform: translateY(-50%);
      width: 100px;
    }
    td:not(:first-child) {
      clear: both;
      margin-left: 100px;
      padding: 4px 20px 4px 90px;
      position: relative;
      text-align: left;
    }
    td:not(:first-child):before {
      color: #91ced4;
      content: '';
      display: block;
      left: 0;
      position: absolute;
    } */    
    /* td:first-child {
      background-color: #c8e7ea;
      border-bottom: 1px solid #91ced4;
      /* border-radius: 10px 10px 0 0; *
      position: relative;
      top: 0;
      -webkit-transform: translateY(0);
              transform: translateY(0);
      width: 100%;
    }
    td:not(:first-child) {
      margin: 0;
      padding: 5px 1em;      
    }
    td:nth-child(1):before {
      content: '제목:';
    }
    td:nth-child(2):before {
      content: '날짜:';
    } */
    /* td:nth-child(4):before {
      content: 'Phone:';
    }
    td:nth-child(5):before {
      content: 'Comments:';
    } */
    /* td:nth-child(1):before {
      content: '번호:';
    } */ 

    /* tr:first-child {
      display: none;
    } */


    
    tr:nth-child(1) th{
      display :none;
    } 
    
    tr:nth-child(2) th:nth-child(1){
      display :none;
    } 
    
    tr:nth-child(2) th:nth-child(3){
      display :none;
    } 
    
    tr:nth-child(2) th:nth-child(5){
      display :none;
    } 
    
    tr:nth-child(3) th:nth-child(1){
      display :none;
    } 
    
    tr:nth-child(5) th:nth-child(1){
      display :none;
    } 
    
    tr:nth-child(6) th:nth-child(1){
      display :none;
    } 
    


    tr:nth-child(1) td:nth-child(1){
      display :block;
    } 
    
    tr:nth-child(2) td:nth-child(1){
      display :block;
    } 
    
    tr:nth-child(2) td:nth-child(3){
      display :block;
    } 
    
    tr:nth-child(2) td:nth-child(5){
      display :block;
    } 
    
    tr:nth-child(3) td:nth-child(1){
      display :block;
    } 
    
    tr:nth-child(3){
      display :block;
      border-bottom: 1px solid #e5e5e5;
    } 
    
    tr:nth-child(4){
      display :block;
      border-bottom: 1px solid #e5e5e5;
    } 

    tr:nth-child(5){
      display :block;
    } 

    tr:nth-child(6){
      display :block;
    } 
    


    tr:nth-child(1) td:nth-child(1):before {
      content: '제목 : ';
    }
    tr:nth-child(2) td:nth-child(2):before {
      content: '작성자 : ';
      position: absolute;
      width:64px;
      left:15px;
    }
    tr:nth-child(2) td:nth-child(2) {
      padding-left:70px !important;
    }
    tr:nth-child(2) td:nth-child(4):before {
      content: '조회수 : ';
      position: absolute;
      width:64px;
      left:15px;
    }
    tr:nth-child(2) td:nth-child(4) {
      padding-left:70px !important;
    }
    tr:nth-child(2) td:nth-child(6):before {
      content: '작성일 : ';
      position: absolute;
      width:64px;
      left:15px;
    }
    tr:nth-child(2) td:nth-child(6) {
      padding-left:70px !important;
    }
    tr:nth-child(3) td:nth-child(2):before {
      content: '첨부파일 : ';
      position: absolute;
      width:77px;
      left:15px;
    }
    tr:nth-child(3) td:nth-child(2) {
      display: inline-block;
      padding-left:85px !important;
      min-height: 50px;
    }

    tr:nth-child(5) td:nth-child(2):before {
        /*content: '이전글 ▲ ';
        position: absolute;
        width:80px;
        left:10px;*/
    }

    tr:nth-child(5) td:nth-child(2) {
        padding-left:15px !important;
    }

    tr:nth-child(6) td:nth-child(2):before {
        /*content: '다음글 ▼ ';
        position: absolute;
        width:80px;
        left:10px;*/
    }

    tr:nth-child(6) td:nth-child(2) {
        padding-left:15px !important;
    }
  
    tr {
      padding: 10px 0;
      position: relative;
      padding : 0;
    }

    .table td.viewText {
        line-height: 28px;
        min-height: 200px;
        white-space: normal;
        vertical-align: top;
        padding: 15px 15px;
        word-break: keep-all;
        /* width:385px !important; */
        width: calc(100% - 30px);
    }
    
    .txt_line { 
      width:calc(100% - 100px); 
      padding:0px 5px 0px 0px; 
      overflow:hidden; 
      text-overflow:ellipsis; 
      white-space:nowrap; 
    }
    
    .table td {
      font-size: 14px;
      overflow: hidden;
      padding: 8px 15px;
      min-height: 30px;
    }
    td:last-child {
    }

    
    /* .contentArea{
      overflow-x:auto;
      overflow-y:hidden;
    }

    .contentAreaSub{
      max-width:1100px;
      min-width:calc(100% + 100px);
    } */
  }
  @media screen and (max-width: 480px) {
    .tbl_header {
      background-color: transparent;
      color: white;
      font-size: 2em;
      font-weight: 700;
      padding: 0;
      /* text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1); */
    }
  
    /* img {
      border: 3px solid;
      border-color: #daeff1;
      height: 100px;
      margin: 0.5rem 0;
      width: 100px;
    } */
    
    .table td {
      overflow: hidden;
    }
  
    tr:nth-child(1) td:nth-child(2) {

    }

    /* .table td.viewText {
        width:385px !important;
    } */
    
    .txt_line { 
      width:calc(100% - 80px); 
      padding:0px 5px 0px 0px; 
      overflow:hidden; 
      text-overflow:ellipsis; 
      white-space:nowrap; 
    }
    
    .txt_line80 { 
      width:calc(100% - 80px); 
      padding:0px 5px 0px 0px; 
      overflow:hidden; 
      text-overflow:ellipsis; 
      white-space:nowrap; 
    }
    
    .txt_line90 { 
      width:calc(100% - 90px); 
      padding:0px 5px 0px 0px; 
      text-overflow:ellipsis; 
      white-space:nowrap; 
    }
    
    .txt_line100 { 
      width:calc(100% - 100px); 
      padding:0px 5px 0px 0px; 
      text-overflow:ellipsis; 
      white-space:nowrap; 
    }
    
    .txt_line140 { 
      width:calc(100% - 140px); 
      padding:0px 5px 0px 0px; 
      overflow:hidden; 
      text-overflow:ellipsis; 
      white-space:nowrap; 
    }

    td:not(:nth-child(2)) {
      margin: 0;
      /* padding: 10px; */
      /* width: 100%; */
    }
    td:not(:nth-child(2)):before {
      position: relative;
    } 
  
    tr {
      background-color: white !important;
      /* border: 1px solid #6cbec6; */
      /* border-radius: 10px; */
      /* box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1); */
      /* margin: 0.5rem 0; */
      margin: 0 0;
      padding: 0;      
    }
  
    .table-users {
      border: none;
      box-shadow: none;
      overflow: visible;
    }

    .contentArea{
      overflow-x:auto;
      overflow-y:hidden;
      width:400px;
    }

    .contentAreaSub{
      /* max-width:1100px;
      min-width:calc(100% + 100px); */
      width:780px;
      padding:5px 5px;
      min-height:300px;
    }
} 
  
  
@media screen and (max-width: 380px) {

  .contentArea{
    overflow-x:auto;
    overflow-y:hidden;
    width:380px;
  }

  .contentAreaSub{
    /* max-width:1100px;
    min-width:calc(100% + 100px); */
    width:780px;
    padding:5px 5px;
    min-height:300px;
  }
}


