/* ----------------------------------------------------------------------
 layout
---------------------------------------------------------------------- */
body { min-width:100%; border:none; }

#outer_wrap { position:relative; overflow:hidden; width:100%; background:#f2f2f2; }
.inner_wrap { position:relative; width:100%; right:0; }

.open .inner_wrap { right:80%; border-right:1px solid #ccc; }

.open .inner_wrap:after { height:100%; content:''; width:12px; display:block; position:absolute; right:-12px; top:-5px;  background:url(img/side/nav_background.png) repeat-y -5px top; }

#contents { width:auto; margin:0 15px; }
#main_col { width:100%; float:none; padding:20px 0 0; }
#side_col { width:100%; float:none; padding:20px 0 0; }

.page-template-page-noside-php #main_col, .page-template-page-noside-nocomment-php #main_col
 { width:auto; float:none; padding:20px 0 30px; }



/* ----------------------------------------------------------------------
 header
---------------------------------------------------------------------- */
/* header */
#header_wrap { width:100%; min-width:100%; background:none; }
#header {
  width:100%; height:50px; position:relative; 
  -moz-box-sizing:border-box; -webkit-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; border-bottom:1px solid #ccc; box-shadow:0px 0px 0px 1px #fff inset, 0 0 5px rgba(0, 0, 0, 0.2);
  background:#f2f2f2; background: -webkit-linear-gradient(top, #ffffff, #f2f2f2); background: -moz-linear-gradient(top, #ffffff, #f2f2f2); background: -ms-linear-gradient(top, #ffffff, #f2f2f2); background: -o-linear-gradient(top, #ffffff, #f2f2f2); background: linear-gradient(to bottom, #ffffff, #f2f2f2); filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr='#ffffff', EndColorStr='#f2f2f2');
}

/* logo */
#logo_text, #logo_image { position:absolute; top:15px; left:15px; margin:0; line-height:120%; float:none; font-size:16px; width:50%; font-weight:normal; }
#logo_text a, #logo_image a { color:#333; text-decoration:none; display:block; }
#logo_text a:hover, #logo_image a:hover { text-decoration:underline; }

#logo_image img { display:none; }
#logo_image a:before { content:attr(title); }


/* description */
#site_description { display:none; }


/* global menu */
#global_menu { height:100%; position:absolute; right:-80%; bottom:0px; top:-5px; width:80%; }
#global_menu li a, #global_menu .menu_home a { color:#333; display:block; padding:21px; font-size:11px; text-decoration:none; border-bottom:1px solid #ccc; }
#global_menu li a:hover, #global_menu .menu_home a:hover { background:#e2e2e2; color:#333; }


/* global menu */
#menu_button { display:block; position:absolute; right:10px; top:14px; margin:0; display:block; width:24px; height:20px; background:url(img/header/menu_button.png) no-repeat left top; text-decoration:none; text-indent:100%; white-space:nowrap; overflow:hidden; }
#menu_button:hover { opacity:0.5; }
.open #menu_button { background-position:left bottom; }


/* header_menu */
#header_menu { display:none; }


/* social link */
#social_link { margin:14px 45px 0 0; }


/* breadcrumb */
#bread_crumb { width:100%; height:auto; }
#bread_crumb ul { margin:10px 15px; }
#bread_crumb li { line-height:170%; }




/* ----------------------------------------------------------------------
 index
---------------------------------------------------------------------- */
/* contents slider */
#content_slider { width:100%; height:auto; }
#content_slider .image img { width:100%; height:auto; display:block; float:none; }
#content_slider .post_data { float:none; padding:0; width:100%; height:auto; }
#content_slider .post_title { max-height:100%; }
#content_slider .post_meta_top { max-height:100%; }
#content_slider .post_excerpt { max-height:100%; }
#content_slider a.link { float:none; position:relative; margin:0 0 15px 0; }
.flex-control-paging { position:relative; left:0; bottom:0; z-index:9; margin:0 auto; text-align:center; }
.flex-control-paging li { float:none; display:inline; margin:0 5px; }
.flex-control-paging li a { display:inline-block; }

/* header image */
#header_image { padding:20px 0 0 0; width:100%; margin:0 auto; }
#header_image img { width:100%; height:auto; }



/* ----------------------------------------------------------------------
 post list
---------------------------------------------------------------------- */

/* post list1 */
.post_list1 { height:auto; }
.post_list1 .post1 { float:none; width:100%; border-bottom:1px solid #ccc; }
.post_list1 .post1 .image { width:auto; height:auto; margin:15px; }
.post_list1 .post1 .image img { display:block; width:100%; height:auto; margin:0 auto; }
.post_list1 .post1 .excerpt { margin:0 15px 15px; }
.post_list1 .post2 { float:none; width:100%; border-left:none; }
.post_list1 .post2 li { height:auto; padding:15px 0; }
.post_list1 .post2 li:last-child { border:none; }
.post_list1 .post2 .image { margin:0 10px 0 15px; }
.post_list1 .post2 .info { float:none; width:auto; margin:0 15px 0 0; }
.post_list1 .post2 .title { height:100%; }

.no_thumbnail .post_list1 .post1 { padding:15px 0 0 0; }
.no_thumbnail .post_list1 { height:auto; }
.no_thumbnail .post_list1 .post2 li { height:auto; }
.no_thumbnail .post_list1 .post2 .info { float:none; width:auto; margin:0 15px; }


/* post list2 */
.post_list2 li { width:100%; height:auto; float:none; border-bottom:1px solid #ccc; padding:15px 0; }
.post_list2 li.odd { border-right:none; width:100%; }
.post_list2 .image { margin:0 15px; }
.post_list2 .info { float:none; width:auto; margin:0; }
.post_list2 .title { height:auto; }

.no_thumbnail .post_list2 li { height:auto; }
.no_thumbnail .post_list2 .info { float:none; width:auto; margin:0 15px; }


/* post list3 */
.post_list3 li { line-height:150%; }
.post_list3 a { background:url(img/common/arrow1.gif) no-repeat left 7px; }



/* ----------------------------------------------------------------------
 archive
---------------------------------------------------------------------- */
#category_desc:before { left:50%; }
#category_desc:after { left:50%; }

/* sort */
@media screen and (max-width:480px) {
 #sort_form label { display:none; }
}

/* post list1 */
#archive_post_list1 .image { float:none; width:240px; height:auto; margin:15px auto 15px; }
#archive_post_list1 .info { float:none; width:auto; margin:15px 15px 15px; }



/* ----------------------------------------------------------------------
 single post page
---------------------------------------------------------------------- */
/* to fix the bug on Android default browser */
.post_content pre { overflow:none; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -webkit-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; }

/* others */
.post_content iframe, .post_content embed { max-width:100%; }

/* related post*/
#related_post ol { margin:0 15px; position:relative; }
#related_post li { display:block; vertical-align:top; margin:0 0 15px 0; width:100%; }

/* next prev post link */
.prev_post, .next_post { width:100%; }
.prev_post { float:none; margin:0; border-right:none; border-bottom:1px solid #ccc; }
.next_post { float:none; margin:0; border-left:none; text-align:right; }
.prev_post a { background:url(img/common/arrow4.gif) no-repeat 15px 27px; padding:20px 20px 20px 28px; }
.next_post a { background:url(img/common/arrow3.gif) no-repeat right 15px top 27px; padding:20px 28px 20px 20px; }

/* comment */
#comment_header li a, #comment_header li p { font-size:10px; }



/* ----------------------------------------------------------------------
 side
---------------------------------------------------------------------- */
/* free space */
.fixed_ad { position:relative; top:0px; height:auto; width:auto; }
.fixed_ad2 { position:relative; bottom:0px; height:auto; width:auto; }
.three_column .free_widget { padding:0; }
.three_column .fixed_ad { width:auto; }
.three_column .fixed_ad2 { width:auto; }



/* ----------------------------------------------------------------------
 footer
---------------------------------------------------------------------- */
/* recommend post */
#recommend_wrap { min-width:100%; }
#recommend { width:auto; margin:0 15px; }
#recommend_post { width:100%; text-align:center; }
#recommend_post a.image { width:100%; height:auto; }
#recommend_post a.image img { width:100%; height:auto; }
#recommend_post a.title { width:100%; }
#recommend_post .owl-wrapper-outer { width:100%; overflow:hidden; }
.owl-next { display:none; }
.owl-prev { display:none; }
.owl-theme .owl-controls{ margin-top:10px; text-align:center; }
.owl-theme .owl-controls .owl-page { display:inline-block; zoom:1; *display: inline;/*IE7 life-saver */ }
.owl-theme .owl-controls .owl-page span { display:block; width:12px; height:12px; margin:5px 7px; filter: Alpha(Opacity=50);/*IE7 fix*/ opacity: 0.5; -webkit-border-radius:20px; -moz-border-radius:20px; border-radius:20px; background:#869791; }
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span { filter: Alpha(Opacity=100);/*IE7 fix*/ opacity: 1; }


/* footer */
#footer_wrap { min-width:100%; }
#footer { width:auto; }

/* footer widget */
#footer_widget_area { font-size:10px; padding-top:30px; }
.footer_widget, .footer_widget.right_widget { float:none; margin:0 15px 30px; width:auto; }

/* footer menu */
#footer_menu { text-align:left; }
#footer_menu ul { margin:0 0 20px 0; font-size:11px; }
#footer_menu li { display:block; }
#footer_menu li a { display:block; color:#333; border-right:none; padding:20px 15px; margin:0; border-bottom:1px dotted #ccc; text-decoration:none; }
#footer_menu li:last-child a { border-bottom:1px dotted #ccc; padding:20px 15px; margin:0; }
#footer_menu li a:hover { background:#eee; color:#333; }

/* copyright */
#copyright { border-top:1px solid #ccc; text-align:center; padding:0 0 20px; font-size:11px; }


