@charset "UTF-8";


/* ==================================================================
    board
===================================================================== */
.event_board {
  .event_list {
    >ul {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5rem;
    }
    /* 모바일 (해상도 768px 이하) */
    @media (max-width: 768px) {
      > ul{
        gap:2rem;
      }
      
    }

  }
}
/*counsel*/
colgroup .num {width: 10rem;}
colgroup .sort {width: 18rem;}
colgroup .review {width: 18rem;}
colgroup .photo {width: 15rem;}
colgroup .arrow {width: 6rem;}
colgroup .name {width: 10rem;}
colgroup .date {width: 14rem;}
colgroup .answer {width: 14rem;}

/*table*/
#sub table.line {border-top: 1px solid #c9c9c9;width: 100%;position: relative;z-index: 1;font-size: 1.8rem;margin-top: 5rem;}
#sub table.line th {color: #333;padding: 2rem 0;text-align: center;border-bottom: 1px solid #c9c9c9;vertical-align: middle;font-weight:  400;font-size: 2rem;}
#sub table.line th + td {border-bottom: 1px solid #c9c9c9;}
#sub table.line td {padding: 2rem;border-bottom: 1px solid #ddd;}
#sub table.line td img {height: auto !important;}
#sub table.line td i {margin-left:10px;color: #4c6aaa;}
#sub table.line td > span.box {padding: 4px 15px;font-size: .9em;background: #828386;color: #fff;width: 85px;display: inline-block;}
#sub table.line td > span.box.before {background: var(--color_sub2);border-radius: 10rem;}
#sub table.line th > p {float: right;font-size: 1em;padding: 0;line-height: normal;margin-bottom: 0;margin: 0;}
#sub table.line th > p > span {font-weight: 400;margin-left:20px;color: #444;font-size: .8em;}

#sub table.list td {text-align: center;vertical-align: middle;
                   &.left_align  a{
                     display:flex;
                     align-items: center;
                   }
                   }
#sub table.list td i {color: #614e31;margin-left: 5px;font-size: 20px;vertical-align: text-top;line-height: 23px;}
#sub table.list td b {font-size: 12px;color: #fff;font-weight: 400;margin-left: 10px;background: var(--color_sub2);padding: .2rem 1rem;border-radius: 1rem;}
#sub table.list td span.best {background:#7784bb;color:#fff;padding: 4px 10px;font-size: 12px;}
#sub table.list tr:hover td, #sub table.list tr.notice td {background: var(--color_sub3);}

#sub table.view th {padding: 2rem;text-align: left;}
#sub table.view td {padding: 80px 20px;line-height: 2em;}
#sub table.view .board_con {padding: 80px 100px;text-align: justify;
                           > h4{
                             font-size: 4rem;
                             color: var(--222);
                           
                           )
                           }
                           }

#sub table.view .board_con .bf_box img {border-radius:0}
#sub table.view .board_con .bf_box ul li:first-child:after{margin-top: -30px;}
/* btn */
.btn_wrap {text-align: center; }
.btn {padding: 8px 30px;cursor: pointer;display: inline-flex;line-height: 1.2em;}
.btn_green{background: var(--color_sub2);border: 1px solid var(--color_sub2);color: #fff;display: inline-flex;}
.btn_gray{background: #797979;border: 1px solid #797979;color: #fff;}
.btn_red{background: #f0a900;border: 1px solid #f0a900;color: #fff;}

.btn_green:hover, .btn_gray:hover,.btn_red:hover{color:#fff}


/*paging*/
.paging {
  text-align: center;
  font-family: 'Roboto';
  li {
    display: inline-block;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    line-height: 30px;
    vertical-align: top;
    a {
      display: block
    }
    &:hover,
    &.active {
      background: var(--color_sub2);
      color: #fff;
      border: 1px solid var(--color_sub2);
    }
  }
}



.paging li:hover a,
.paging li.active a {
  color: #fff;
}

.paging li a:before {
  font-family: 'icon_font';
  font-size: 11px;
  position: relative;
  display: inherit;
}

.paging li:first-child a:before {
  content: '\E878\E878';
}

.paging li:nth-child(2) a:before {
  content: '\E878';
}

.paging li:nth-last-child(2) a:before {
  content: '\E877';
}

.paging li:last-child a:before {
  content: '\E877\E877';
}



/*list_search*/
.list_search {
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.list_search label {
  margin-right: 5px;
}

.list_search>input[type="text"] {
  border-right: 0;
  height: 30px;
  padding: 5px 10px;
  max-width: 50%;
}

.list_search>input[type="submit"] {
  background: #a5a5a5;
  border: 1px solid #a5a5a5;
  color: #fff;
  padding: 5px 15px;
  height: 42px;
  margin-left: -6px;
  cursor: pointer;
  margin-top: 0;
}

.list_search button,
button.list_button{
  float: right;
  background: var(--color_sub2);
  border: 1px solid var(--color_sub2);
  color: #fff;
  padding: 0 2rem;
  font-weight: 500;
  cursor: pointer;
  position: absolute;
  right: 0;
  font-size: 18px;
  line-height: 4rem;
}


/* counsel */
#sub{
  &.counsel_write{
    .wrap{
      .inwrap{
        > ul {
          display: flex;
          align-items: center;
          
          li{
            flex:1;
            > img{
              display:block;
            }
            > div{
              background:var(--fff);
              padding: 5rem;
              form{
                dl{
                  display:flex;
                  flex-wrap: wrap;
                  border-top: 1px solid #e0e0e0;
                  > div{
                    display:flex;
                    width: 50%;
                  }
                  dt{
                    padding: 1.8rem 1rem 1.8rem 0;
                    font-weight: 600;
                    font-size: 1.6rem;
                    border-bottom: 1px solid #e0e0e0;
                    display: flex;
                    align-items: center;
                    background: #f9f9f9;
                    padding-left: 1.5rem;
                    flex-direction: column;
                    justify-content: center;
                    width: 14rem;
                    -moz-box-sizing: border-box;
                    -webkit-box-sizing: border-box;
                    box-sizing: border-box;
                  }
                  dd{
                    p{
                      display:flex;
                      margin: 0;
                    }
                    padding: 1.5rem;
                    border-bottom: 1px solid #e0e0e0;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 1rem;
                    width: calc(100% - 14rem);
                    -moz-box-sizing: border-box;
                    -webkit-box-sizing: border-box;
                    box-sizing: border-box;
                    div{
                      display:flex;
                      align-items: center;
                      gap: 1rem;
                    }
                    input[type="text"], 
                    input[type="password"],
                    input[type="tel"],
                    textarea{
                      padding: 1rem;
                      -moz-box-sizing: border-box;
                      -webkit-box-sizing: border-box;
                      box-sizing: border-box;
                      line-height: 3rem;
                      width: 100%;
                      border: 1px solid #e0e0e0;
                      border-radius: 1rem;
                      transition: border-color 0.3s;
                      font-size: 1.6rem;
                    }
                  }
                }
              }
            }
          }
        }
        @media (max-width: 768px) {
          > ul {
            flex-direction: column-reverse;
            > li{
              >img{
               display:block;
              }
              > div{
                padding: 3rem;
                form{
                  dl{
                     dt{
                        width:100%;
                        text-align:left;
                        align-items: baseline;
                        padding: 1rem 1rem;
                        font-size: 1.8rem;
                      }
                      dd{
                        width:100%;
                        display: flex;
                        flex-direction: column;
                        padding: 1rem 0;
                        input[type="text"], input[type="password"], input[type="tel"], textarea{
                     
                          font-size: 1.8rem;
                          border-radius:0;
                         
                        }
                         
                            .filebox.bs3-primary {
                              label{
                              font-size: 1.8rem;
                              padding: 1rem;
                              min-width: 6rem;
                              border-radius: 0;
                              }  
                              .upload-name{
                                width: 100%;
                                font-size: 1.8rem;
                                border-radius: 0;
                              }
                            }
                         
                        }
                    > div{
                      width:100%;
                      display: flex;
                      flex-direction: column;
                    }
                    
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
@media (max-width: 768px) {
colgroup .num {width: 50px;}
colgroup .sort {width: 21%;}
colgroup .review {width: 40%;}
colgroup .photo {width: 25%;}
colgroup .arrow {width: 3%;}
colgroup .name {width: 20%;}
colgroup .date {width: 16%;}
colgroup .answer {width: 26%;}


#sub table.line th {font-size: 1.8rem;}
#sub table.line {font-size:12px;margin-top: 25px;}
#sub table.line th {/* font-size:12px; */padding: 1rem;font-size: 1.8rem;}
#sub table.line td{padding: 10px 5px;font-size: 1.8rem;}
#sub table.list td b{/* font-size: 10px; */}
#sub table.list td i{font-size: 14px;line-height: 17px;}
#sub table.line th + td {border-bottom: 1px solid #c9c9c9;}
#sub table.view .board_con {padding: 3rem 1.5rem;
                             > h4 {
    font-size: 2.6rem;
    }
                           }

.btn {padding:5px 15px;font-size: 1.8rem;}

}  

#sub table.new_review{
  img{
    max-width: 70px;
  }
}