/* **************************************
 *THEME OVERRIDE
 ****************************************/
.wrap {	width: 1020px;}
#slideshow_container { padding: 0 10px;}


/* **************************************
 * GENERAL 
 ****************************************/
#main_widget .wp_module{ width: 33.3%;}
.widget, .wp_module{ float:left;  height:200px;  margin-bottom: 20px;}
.widget_inner {  padding: 0 10px; height: 100%;}
.widget.small { width: 33.3%;}
.widget.medium { width: 66.6%;}
.widget.large {  width: 100%;}
.modules { border: 1px solid #ddd; padding-bottom: 20px;box-sizing: border-box;}
.modules ul { clear: both;}

.hgroup a.more { float: right; display: block; width: 35px; height: 16px; text-indent: -9999px; background: url(images/btn_more.png) no-repeat right center;}
.hgroup { padding: 10px 0 4px 0; border-bottom:1px solid #ddd; float: left; width: 100%;}


/* **************************************
 * IMAGE WIDGET
 ****************************************/
.pibs_widget_ads{ display:block; text-align:center; clear:both; height:100%}
.pibs_widget_ads_img{ max-width:100%;max-width:inherit\9; clear:both; margin-bottom:15px;border: 1px solid #E4E4E4;}
.pibs_widget_ads_img{ height:100%; width: 100%;}


/* **************************************
 * LAST PHOTO WIDGET
 ****************************************/
.widget .last_photos_list { padding: 0 1%; margin-top: 0; width: 98%;}
.widget .last_photos_list ul {margin-top: 5px;}
.widget .no_title .last_photos_list ul {margin-top: 25px;}
.widget .last_photos_list li {width: 100%; float: left; display: inline-block;text-align: center;}
.widget .last_photos_list li > div {width: 25%;float: left; height: 140px;}
.widget .last_photos_list {float: left; padding: 2px 7px 0px 7px; border: 1px solid #ddd;/* margin-top: 20px; */height: 196px; clear: both;overflow: hidden;}
.widget .last_photos_list a.photo_thumb { border: none;}
.widget .last_photos_list a.photo_thumb img {width: 96%;height: auto;border: 1px solid #CCC;height: 110px;}
.widget .last_photos_list .photo_link {text-align: center; display: block; font-family: Nanumgothic;margin-top: 3px;}

.widget .last_photos_list h2 { margin-right: 50px; position:relative}
.widget .last_photos_list h2 a:first-child{ display:block; color: #444;font-size: 14px;padding-top: 8px;padding-left: 5px; font-weight:bold;width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.widget .last_photos_list h2 a.more{ position:absolute; right:-40px; top:10px; color:#2B7EBE}

.small.widget .last_photos_list li > div{ width: 50%;}
.medium.widget .last_photos_list li > div { width: 25%;}
.large.widget .last_photos_list li > div { width: 16.6%;}

.widget .last_photos_list > a { display: block; text-indent: -9999px; overflow: hidden; width: 20px; height: 20px; background: transparent no-repeat center center;}
.widget .last_photos_list > a.prev {float: left; margin-left: 5px; background-image: url('../images/widgets/prev.png');}
.widget .last_photos_list > a.next {float: right;  margin-right: 5px; background-image: url('../images/widgets/next.png');}


/* **************************************
 * BOARD
 ****************************************/
.tabs_menu li{ float:left; position:relative; z-index:99; width: 50%;}
.tabs_num_2 .tabs_menu li{ width: 50%;}
.tabs_num_3 .tabs_menu li{ width: 33.3333333333%;}
.tabs_num_4 .tabs_menu li{ width: 25%;}
.tabs_num_5 .tabs_menu li{ width: 20%;}
.tabs_num_6 .tabs_menu li{ width: 16.6666666667%;}
.tabs_num_7 .tabs_menu li{ width: 14.2857142857%;}
.tabs_num_8 .tabs_menu li{ width: 12.5%;}
.tabs_num_9 .tabs_menu li{ width: 11.1111111111%;}
.tabs_num_10 .tabs_menu li{ width: 10%;}
.tabs_num_11 .tabs_menu li{ width: 9.09090909091%;}
.tabs_num_12 .tabs_menu li{ width: 8.33333333333%;}

.tabs_menu li a { display:block; float:left; font-size: 13px; font-weight: normal; color: #FFF; color: rgba(255,255,255,0.7); padding: 0; line-height: 29px; letter-spacing:-1px; width: 100%; text-align: center; /* background: #eee; */position: relative; bottom: -1px; left:0; /* border-bottom: 1px solid #C70303; */ font-family: NanumGothic;}
.tabs_menu li.active a{ z-index:22; color: #C70303; border: 1px solid #C70303; border-bottom: 1px solid #fff; bottom: -1px;box-sizing: border-box; background: #fff; font-weight: bold; border: 3px solid #2B7EBE;  border-bottom: 1px solid #2B7EBE;  background-color: #2B7EBE; color: #fff;}
.tabs_menu {width: 100%; margin: 0 auto;background-color: #4299C5;border-right: 2px solid #4299C5;float: left;}
.tabs_panels{ clear:both; border: 1px solid #fff; padding: 10px 0; top:-1px; position:relative; margin-bottom: 0;  padding-bottom: 0; float: left; width: 100%; border: 1px solid #ddd; border-top-width: 0;}
.tabs_panels > div{ display:none}
.tabs_panels > div:first-child{ display:block}
.tabs_panels li, .widget_pibs_minilist ul li, .widget_pibs_flash li{ padding: 0px 0px 0px 13px;background: white url('images/main/board_list_item.jpg') no-repeat left center;}
.tabs_panels li a{ display:inline-block; width:200px; color:#333 ; padding: 2px 0 2px 3px;}
.tabs_panels li a:hover{color:#4299C5;}
.tabs_panels li span{ color:#747474; font-size: 11px;}

.tabs_panels p.more { position: absolute; bottom: 0; right: 0;}
.tabs_panels p.more a{ background-color:#4FA1B6; display:block; padding: 5px 10px; color: #fff;}

.tabs_panels ul li a{ display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0px;}
.pibs_board .tabs_panels ul { height: 136px; overflow: auto; overflow-x: hidden; padding: 0 15px 20px 15px;}
.pibs_board .tabs_panels ul li { position: relative; display: block; width: 100%;}
.pibs_board .tabs_panels ul li a { display: block; width: initial; padding: 6px 80px 6px 0;}
.tabs_panels li span { position: absolute; top: 5px; right: 20px;}
.pibs_board .tabs_panels ul li:before { content:""; background: #2B7EBE; display: block; width: 2px; height: 2px; position: absolute; z-index: 1; top: 12px; left: 0;}


/* **************************************
 * LOGIN
 ****************************************/
#home_login { border: 1px solid #2BB4BE; width: 100%;float: left; height: 198px; box-sizing: border-box;}
#home_login h2 {font-weight: bold; font-size: 14px; padding-bottom: 10px; margin: 10px 20px 0 20px; border-bottom: 1px dotted #CCC; font-family: NanumGothic; color: #2BB4BE;}


/* **************************************
 * VIDEO SINGLE
 ****************************************/
.widget video { background: #000;}
.widget .mejs-container{ margin:0}


/* **************************************
 * RSS WP WIDGET
 ****************************************/
.widget_rss ul { height: 150px;  overflow: auto; border-bottom: 1px solid #DDD;margin: 0 20px;}
.widget_rss .widget_inner { border: 1px solid #ddd;padding: 0;margin: 0 10px;}
.widget_rss .rsswidget img { display: none;}
.widget_title a { font-weight: bold;  font-size: 14px;  padding-bottom: 10px;  margin: 10px 20px 0 20px;  border-bottom: 1px dotted #CCC;  font-family: NanumGothic;  color: #2BB4BE; display: block;}
.widget_title a:first-child { display: none;}
.widget_rss ul li a {
    font-size: 12px;  display: block; color: #333;  padding-left: 15px; background-position: 5px center; background-repeat: no-repeat; padding: 4px 0 4px 12px; text-overflow: ellipsis; overflow: hidden;  white-space: nowrap;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUeNpiDAgIYGBgYGIAA4AAAwALagD0Y3cx5QAAAABJRU5ErkJggg==');
}
.widget_rss ul li:first-child a { margin-top: 10px;}
.widget_rss ul li a:hover { color: #4299C5; /*background-color: #f5f5f5;*/ }


/* **************************************
 * CALENDAR WP WIDGET
 * src: http://www.wpexplorer.com/wordpres-calendar-style/ (custom version)
 ****************************************/
#wp-calendar {width: 100%; }
#wp-calendar caption { text-align: right; color: #919191; font-size: 12px; margin-top: 4px; margin-bottom: 8px; font-weight: bold; border-bottom: 1px dotted #ddd; padding-bottom: 4px;}
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 5px; text-align: center; color: #666; font-weight: bold;}
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { background: #f5f5f5; border: 1px solid #fff; text-align: center; padding:5px 6px;}
#wp-calendar tbody td a{ color: #C70303}
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { font-size: 10px; text-transform: uppercase; text-align: right; }
#wp-calendar tfoot #prev { font-size: 10px; text-transform: uppercase; padding-top: 10px; }

.widget_calendar .hgroup { position: absolute; left: 0; top: 0; width: 90%; margin: 0 5%; border-bottom: 0;font-weight: bold;}
.widget_calendar {position: relative;}











