/*공통*/
input,
textarea {
  font-size: 16px;
  padding: 4px 10px 5px;
  height: auto;
  border: 1px solid #ccc;
}

.width200 {
  width: 200px;
}
.width400 {
  width: 400px;
}

.input-basic {
  font-size: 16px;
  background: #fff;
  color: #333;
  padding: 3px 10px 4px;
  border-radius: 0;
  border: 1px solid #ccc;
}

/*버튼유형*/
.btn-file {
  font-size: 14px;
  background: #ff9800;
  color: #fff;
  padding: 3px 10px 4px;
  border-radius: 3px;
  border: 1px solid #ff9800;
}

.btn-basic {
  font-size: 14px;
  background: #fff;
  color: #333;
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid #999;
  display: inline-block;
}

.btn-write {
  font-size: 14px;
  background: #01a783;
  color: #fff;
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid #01a783;
  display: inline-block;
}

.btn-write:hover {
  color: #ffeb3b;
}

/*세로형 테이블*/
.table-wrap {
  position: relative;
  margin: 0;
  padding: 15px;
}

#title {
  /*width: 82%;*/
  display: inline-block;
}

.title_check {
  display: inline-block;
}

.etc {
  width: 100%;
}

.etc4 {
  width: 100px;
}

.reply tr td {
  border-bottom: 1px solid #bcbcbc;
  line-height: 200%;
}

/*게시판 목록형 테이블*/

.table-board {
  width: 100%;
  margin: 0;
  border-top: 1px solid #ddd;
}
.table-board tr {
}
.table-board tr th,
.table-board tr td {
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  padding: 12px 0;
  color: #333;
}
.table-board tr th {
  text-align: center;
  font-weight: 400;
  border-bottom: 3px solid #aaa;
}
.table-board tr td {
  text-align: center;
}
.table-board tr .board-title {
  border-bottom: 3px solid #666;
}
.table-board tr .table-header-title {
  border-bottom: 3px solid #666;
}

/*게시판 작성형 테이블*/

.table-vertical {
  width: 100%;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  display: inline-block;
}

.table-vertical tr th {
  font-weight: 400;
  text-align: center;
  line-height: 24px;
  color: #333;
  font-size: 16px;
}

.table-vertical tr td {
  padding: 5px;
}

.table-vertical .btn-sm {
  padding: 5px 15px !important;
}

.table-vertical tr td label {
  font-weight: 400;
}

.table-vertical .btn-default {
  padding: 5px 10px !important;
}

@media screen and (max-width: 640px) {
  .table-vertical tr th {
    display: block;
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    text-align: left;
  }

  .table-vertical tr td {
    display: block;
    padding: 0 !important;
  }
}

/*게시판 보기*/
.sermon-wrapper {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: inline-block;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 10px;
}

.comment {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
}

.comment_table th {
  padding: 20px 0px;
  border-bottom: 1px solid #ddd;
}

.comment_table td {
  padding: 2px 0px;
  border-bottom: 1px solid #ddd;
}

#contentIr {
  height: 350px;
}

.input-sm {
  height: 25px;
}

.th {
  width: 80px;
}

@media (max-width: 768px) {
  .th {
    width: 50px;
  }
}

/* 비디오 상세 출력 */
#video_info_box {
  width: 240px;
  height: 60px;
  float: right;
}

#video_title {
  text-align: left;
  font-size: 14px;
  margin: 0px;
  margin-top: 2px;
  margin-bottom: 4px;
}

#video_detail {
}

#video_contents {
  width: 180px;
  height: 60px;
  float: left;
  text-align: left;
  padding-left: 5px;
}

#video_preview_section {
  display: none;
}

#loading_spinner {
  display: none;
  height: 40px;
}

.btn-default {
  border: 1px solid #ccc;
}

.btn-default:hover {
  background-color: #999;
}

/*파일목록*/

#file_list {
  display: inline-block;
}

#file_list .file-wrapper {
  border: 1px solid #ddd;
  padding: 2px 1px 4px;
  margin-right: 3px;
  line-height: 20px;
  display: inline-block;
  border-radius: 3px;
}

#file_list .file-wrapper span {
  font-size: 14px;
  color: red;
  margin: 0 10px;
  padding: 0;
  cursor: pointer;
}

#ui-datepicker-div {
  z-index: 9999 !important;
  font-family: "Noto Sans KR";
}

#fileSelector .progress {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
  margin-top: 20px;
  border: 1px solid #ddd;
  padding: 1px;
  border-radius: 3px;
}

#fileSelector .bar {
  background-color: #b4f5b4;
  width: 0%;
  height: 20px;
  border-radius: 3px;
}

#fileSelector .percent {
  position: absolute;
  display: inline-block;
  top: 3px;
  left: 48%;
  font-size: 10px;
}

/*글보기*/

.table-wrapper {
  display: inline-block;
  width: 100%;
  margin: 10px 0;
}
.table-list {
  border-top: 1px solid #ddd;
  width: 100%;
}
.table-list tr td,
.table-list tr th {
  border-bottom: 1px solid #ddd;
  text-align: center;
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 5px 0 6px;
}
.table-list tr th:last-child {
  border-right: 0;
}
.table-list tr th {
  border-bottom: 3px solid #bbb;
  text-align: center;
  font-weight: 500;
}
.table-list tr th.table-header-title {
  border-bottom: 3px solid #666;
}
.table-list tr th.board-title {
  border-bottom: 3px solid #666;
}
.table-list tr td:last-child {
  border-right: 0;
}
.table-list tr td a {
  color: #01a783;
}
.table-list tr td a .titleTxt {
  line-height: 18px;
  display: inline-block;
}
.table-title {
  font-weight: 500;
  height: 40px;
  border-right: 0;
  font-size: 34px;
  text-align: center;
  letter-spacing: -1px;
  color: #333;
  border-right: 0 !important;
}

.reply tr td {
  border-bottom: 1px solid #bcbcbc;
  line-height: 200%;
}
.next {
  width: 780px;
  background: #fff;
}
#commentFrames {
  width: 100%;
}
#videoFrame {
  width: 100%;
  max-width: 640px;
  margin: auto;
}

@media (max-width: 768px) {
  .table-list {
    display: inline-block;
  }
  .table-list tbody {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .table-list tr {
    display: inline-block;
    width: 100%;
    position: relative;
  }
  .table-list tr td.checkCol {
    position: absolute;
    right: 0;
    top: 7px;
    border: 0;
    width: 20px;
  }
  .table-list tr td.titleCol {
    width: 100%;
  }
  .table-wrapper {
    border-right: 0 !important;
    padding: 0 !important;
    margin: 10px 0 !important;
  }
}
#contents_box {
  width: 100%;
}
#contents_box img {
  max-width: 90%;
}

.btns-list {
  padding: 15px;
  display: inline-block;
}

@media only screen and (max-width: 768px) {
  .board_con {
    padding: 0 15px;
  }

  iframe {
    width: 100% !important;
  }

  .table-wrapper {
    padding: 0 15px;
    margin: 0;
    width: 100%;
  }

  .btn-group2 {
    width: 100%;
    padding: 0;
  }

  .btn-group-right {
    width: 100%;
    text-align: left !important;
    padding: 0;
  }

  .table-list th,
  .table-list td {
    font-size: 14px;
  }

  .play-mp3 {
    bottom: 508px !important;
    width: 100%;
  }
}

#attachFileList li {
  height: 20px;
  line-height: 20px;
  padding-left: 10px;
}

#attachFileList li a:hover {
  color: #4081b9;
}

.btn-group2 a {
  border: 1px solid #610e8c;
  font-size: 14px;
  padding: 3px 9px 4px;
  border-radius: 3px;
  font-weight: 400;
  background-color: #fff;
  color: #610e8c;
}

.btn-group2 a:hover {
  background-color: #610e8c;
  color: #fff !important;
}

.btn-group-right {
  float: right;
  text-align: right;
}

.btn-group-right .search {
  width: 140px;
  padding: 3px;
  margin: 0;
  line-height: 21px;
  font-size: 14px;
  display: inline-block;
}

.video-wrapper {
  margin-bottom: 10px;
  position: relative;
}

.board_con h3 {
  margin-bottom: 10px;
  font-size: 30px;
  color: #333;
  margin: 6px 0 10px 0;
  font-family: "Noto Serif KR", serif;
  letter-spacing: -3px;
}

.board_con .go_bible {
  font-size: 12px;
  color: #fff;
  background: #01a783;
  display: inline-block;
  padding: 1px 6px 2px;
  border-radius: 3px;
}

#contents_box {
  min-height: 500px;
  display: inline-block;
}

.past-jubo {
  background: #f0ad4e;
  padding: 10px 20px 12px;
  display: inline-block;
  border-radius: 3px;
  color: #fff;
}

.no-video {
  width: 100%;
  height: 375px;
  background-color: #eee;
  display: table;
  text-align: center;
}

.no-video span {
  display: table-cell;
  vertical-align: middle;
}

.btngroup-left {
  padding: 0;
}

.btngroup-right {
  text-align: right;
  padding: 0;
}

.play-mp3 {
  position: absolute;
  bottom: -3px;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  z-index: 999;
}

.play-mp3 .file-desc {
  display: block;
}

/*accordion*/
.ui-accordion .ui-accordion-header {
  font-size: 16px !important;
}
.ui-accordion .ui-accordion-content {
  padding: 20px !important;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
}

.ui-accordion .table-list {
  margin-bottom: 0;
}

.latest-sermon {
  position: relative;
  text-align: left;
}

.latest-sermon .sermon-date {
  display: inline-block;
  font-size: 16px;
  padding: 18px 0;
  text-align: center;
  margin-bottom: 5px;
  border-radius: 35px;
  height: 70px;
  width: 70px;
  margin-left: 5px;
  background-color: #eee;
  font-weight: 400;
}

.latest-sermon .sermon-content {
  position: absolute;
  top: 11px;
  line-height: 24px;
  width: 400px;
  padding: 0 0 0 80px;
}

.latest-sermon .sermon-content .sermon-title {
  font-weight: 500;
  font-size: 18px;
}

.latest-sermon .sermon-content .sermon-subtitle {
  color: #666;
  font-size: 14px;
}

.my-menu {
  display: none;
}

.table-think {
  width: 100%;
}

.table-think td {
  border-bottom: 1px #ccc;
}

.p-none {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*sub.css에 있던 것 가져옴*/

.input {
  border: 1px solid #aaa; /*height:17px; line-height:17px; */
}

.board {
  width: 100%;
  border-top: 1px solid #ddd;
  margin-top: 20px;
}
.board thead tr td {
  border-bottom: 3px solid #b0b0b0;
  height: 40px;
  text-align: center;
  font-weight: 400;
  color: #000;
  font-size: 16px;
}
.board tbody tr td {
  border-bottom: 1px solid #ddd;
  height: 40px;
  text-align: center;
  font-size: 16px;
  line-height: 18px;
}
.search {
  width: 100%;
  height: 45px;
  text-align: center;
  line-height: 45px;
}
.pagination {
  width: 100%;
  text-align: center;
  font-family: tahoma;
  font-size: 11px;
  letter-spacing: 2px;
  padding-top: 20px;
}
.worship_video {
  padding-bottom: 20px;
}
.worship_detail {
  float: left;
  padding-left: 20px;
  padding-top: 30px;
}

.comment_count {
  font-size: 9px;
  font-family: tahoma;
  color: #ff0000;
}

/*list-header에 있던 것*/

.board_table {
  width: 100%;
  border-top: 1px solid #ddd;
}
.board_table thead tr td {
  border-bottom: 3px solid #b0b0b0;
  height: 40px;
  text-align: center;
  font-weight: bold;
  color: #000;
}
.board_table tbody tr td {
  height: 35px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.board_table tbody tr td a {
}
.board_table tbody tr td a:hover {
  text-decoration: underline;
}

/*페이지네이션*/
.btn-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: inline-block;
  width: 100%;
}
.btn-list li {
  display: inline-block;
  margin: 0;
  padding: 0;
}
.btn-list li a {
  display: inline-block;
  background: #eee;
  margin: 0 1px;
  padding: 4px 10px 3px;
}
.btn-list li i {
  font-size: 16px;
  top: 2px;
  position: relative;
}
.btn-list li.current {
  background: #01a783;
  color: #fff;
  display: inline-block;
  margin: 0 1px;
  padding: 4px 10px 3px;
}
.btn-list li a:hover {
  background: #f0ad4e;
}

.comment_count {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 9px;
  color: #ff0000;
}

.notice td {
  background: #f6f6f6;
  border-bottom: 1px solid #85b2ce !important;
}
.noRead {
  color: #aaa;
}
#postForm {
  margin-bottom: 30px !important;
}

/*list-footer 에 있던 것*/

.page .btn {
  margin: 0 2px 0;
}
.page .btn-default {
  background-color: #eee;
  border: 0;
}
.btn-default {
  border: 1px solid #ccc;
}
.btn-default:hover {
  background-color: #999;
}
.btn {
  padding: 5px 10px 7px !important;
  height: auto;
}
.btn-primary:hover {
  background-color: #fff;
  color: #610e8c;
}
#searchInputGroup {
  width: 300px;
  display: inline-table;
}
@media (max-width: 768px) {
  #searchInputGroup {
    width: 100%;
  }
}

#postForm {
  text-align: center;
}

/*기본 보드에서 나옴*/
#_core_content_wrapper_ {
  padding: 0 0 30px;
  position: relative;
}

.top-btns {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 100%;
}
.bottom-btns {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 100%;
}
.table-wrappper {
  display: inline-block;
  padding: 10px 0;
}

.table {
  border-top: 1px solid #ddd;
  width: 100%;
  table-layout: fixed;
}
.table tr th {
  text-align: center;
}
.table tr td,
.table tr th {
  height: 35px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  background: white;
}
.table tr td {
}
.table tr th {
  font-weight: 500;
  background: #eee;
}

/*read_post*/
.table-wrappper {
  display: inline-block;
  padding: 10px 0;
}

.table-read {
  border-top: 1px solid #ddd;
  width: 100%;
  table-layout: fixed;
}
.table-read tr th {
  text-align: center;
}
.table-read tr td,
.table-read tr th {
  height: 35px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  background: white;
}
.table-read tr td h3 {
  font-size: 30px;
  display: inline-block;
  margin: 6px 0 10px;
}
.table-read tr td select {
  padding: 3px 10px 4px;
  width: 140px;
  font-size: 16px;
}

.table-read tr th {
  font-weight: 500;
  background: #eee;
}

.sub-table {
  width: 100%;
}
.sub-table tr td,
.sub-table tr th {
  border: 0;
  padding: 10px;
}

.reply tr td {
  border-bottom: 1px solid #bcbcbc;
  line-height: 200%;
}

.btn2 {
  padding: 10px 0;
}
.btn2 img {
  padding-left: 10px;
}

.next {
  width: 780px;
  background: #fff;
}
#commentFrames {
  width: 100%;
}

#videoFrame {
  width: 100%;
  max-width: 640px;
  margin: auto;
}

@media (max-width: 768px) {
  .video-wrapper iframe {
    height: 180px !important;
  }
  .th {
    font-size: 14px;
    display: block;
  }
  .table tr th {
    width: 60px;
    padding: 8px 0px !important;
    text-align: center;
  }
  .table tr td,
  .table tr th {
    font-size: 16px;
  }
  .table tr th span,
  .table tr td span {
    padding: 0px;
  }

  .table iframe {
    width: 100%;
    height: 300px;
  }
  #attachFileList li {
    width: 49.7% !important;
    margin: 0.3% 0.3% 0 0 !important;
  }
  .sub-table tr td,
  .sub-table tr th {
  }
}

.popup-gallery {
}
.popup-gallery a {
  width: 200px;
  display: inline-block;
  height: 155px;
  overflow: hidden;
  margin: 0;
  -webkit-writing-mode: vertical-lr;
  padding: 5px;
  border: 1px solid #ccc;
  text-align-last: center;
}
.popup-gallery a img {
  width: 100%;
}

.btn-default {
  border: 1px solid #ccc;
}
.btn-default:hover {
  background-color: #999;
}
.sns-link img {
  height: 30px;
  margin: 0 0 4px 0;
  padding: 0;
  border-radius: 5px;
}

#attachFileList {
  list-style: none;
  margin: 0;
  padding: 0;
  margin: 20px 0;
}
#attachFileList li {
  line-height: 27px;
  background-color: #0aa5df;
  display: inline-block;
  padding: 5px 10px 6px;
  width: 24.9%;
  margin: 0.1% 0.1% 0 0;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}
#attachFileList li a {
  font-size: 16px;
}

@media (max-width: 480px) {
  .swiper-slide img {
    width: 100% !important;
  }
  .table iframe {
    width: 100%;
    height: 180px;
  }
}

/*새벽묵상형 게시판*/
.dawn-wrapper {
}
.dawn-wrapper h3 {
  text-align: center;
  color: #01a783;
}
.dawn-wrapper h3 .left {
  color: #666;
  font-size: 22px;
  display: inline-block;
  margin-right: 10px;
}
.dawn-wrapper h3 .right {
  color: #666;
  font-size: 22px;
  display: inline-block;
  margin-left: 10px;
}
.dawn-wrapper .nav {
  margin-top: 30px;
}
.dawn-wrapper .nav li {
  cursor: pointer;
}
.dawn-wrapper .tab-content {
  font-size: 18px;
}
.dawn-wrapper .tab-content li {
  display: none;
  min-height: 500px;
  padding: 20px 0;
}
.dawn-wrapper .tab-content .tabcontent-1 {
  display: block;
}
.btn-bible {
  background: #5bc0de;
  color: #fff;
  display: inline-block;
  width: 300px;
  text-align: center;
  padding: 5px 0 6px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.btn-download {
  background: #0aa5df;
  color: #fff;
  font-size: 16px;
  border-radius: 3px;
  padding: 5px 10px 6px;
  margin-bottom: 30px;
  display: inline-block;
}

.mobile-bottom-bar {
  display: none;
}
@media screen and (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
    position: fixed;
    left: 0;
    z-index: 100;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: white;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px 2px rgba(0, 0, 0, 0.2);
  }
  .board_wrap {
    display: inline-block;
  }
}

/*묵상형 게시판*/
.other-article-item-list {
  font-size: 0;
}
.other-article-item-list dd {
  font-size: 14px;
  width: 25%;
  display: inline-block;
  padding: 5px;
}
.other-article-item-list dd a {
  border: 1px solid #ccc;
  display: table;
  width: 100%;
  vertical-align: top;
  padding: 10px;
  min-height: 100px;
}
.other-article-item-list dd a .other-item-title {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
