/* ----------------------------------------------------------------------
 layout
---------------------------------------------------------------------- */
#header { width:100%; height:auto; min-height:47px; position:relative; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); background:#3b464a; }
#main_content { width:auto; margin:0; padding:30px 10px 0; position:relative; }
#main_col { background:none; width:auto; float:none; margin:0; padding:0; -moz-border-radius:0px; -khtml-border-radius:0px; -webkit-border-radius:0px; border-radius:0px; }
#side_col { background:#3b464a; width:auto; float:none; margin:0 -20px; -moz-border-radius:0px; -khtml-border-radius:0px; -webkit-border-radius:0px; border-radius:0px; }
#content { background:none; width:auto; float:none; -moz-border-radius:0; -khtml-border-radius:0; -webkit-border-radius:0; border-radius:0; }
#side_content { width:auto; float:none; margin:0; padding:30px; }
@media screen and (max-width:480px) {
  #side_content { padding:30px 20px; }
}

body { position:relative; overflow:hidden; width:100%; }

#container {
  position:relative; width:100%; right:0;
  -webkit-transition:right 300ms cubic-bezier(0.190, 1.000, 0.220, 1.000); -moz-transition:right 300ms cubic-bezier(0.190, 1.000, 0.220, 1.000); -o-transition:right 300ms cubic-bezier(0.190, 1.000, 0.220, 1.000); transition:right 300ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
  -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -o-backface-visibility: hidden; backface-visibility: hidden;
}
.open #container { right:70%; }

@media screen and (max-width:480px) {
  .open #container { right:85%; }
}

#container:before { content:''; display:block; background:url(../images/menu_shadow.png) repeat-y left top; position:absolute; top:0px; right:-17px; width:17px; height:100%; z-index:20; }


/* page layout for no sidebar */
.page-template-page-noside-php #main_col, .page-template-page-noside-php #content, .page-template-page-noside-php #side_col
 { width:auto; }
.page-template-page-noside-php #side_col { display:none; }



/* ----------------------------------------------------------------------
 header
---------------------------------------------------------------------- */
/* logo */
#logo_text { position:relative; top:0px; left:0px; }
#logo_text #logo { font-size:22px; line-height:47px; margin:0 0 0 10px; padding:0; font-weight:normal; float:left; }
#logo a { color:#eee; text-decoration:none; display:block; }
#logo a:hover { }
#tagline { display:none; }


/* global menu */
#global_menu { right:-70%; top:0px; width:70%; height:100%; background:#2a3134; padding:0; z-index:1; overflow:auto; }
@media screen and (max-width:480px) {
  #global_menu { right:-85%; width:85%; }
}

#global_menu ul { display:block; margin:0; }
#global_menu ul ul { display:block; position:relative; top:0px; left:0px; margin:0; padding:0; }
#global_menu ul ul ul { left:0px; top:0; margin:0; }
#global_menu ul li { float:none; margin:0; line-height:160%; }

#global_menu > ul { border-bottom:1px solid #444; border-top:1px solid #111; }

#global_menu ul li a, #global_menu ul ul li a, 
 #global_menu > ul > li:first-child a, #global_menu ul li.first a
  { font-size:12px; display:block; width:auto; height:auto; line-height:180%; padding:13px 2em 13px; margin:0; background:#2a3134; color:#9da2a5; border-left:none; border-top:1px solid #444; border-bottom:1px solid #111; text-align:left; text-decoration:none; }

#global_menu > ul > li:first-child a, #global_menu ul li.first a, #global_menu > ul > li:last-child a, #global_menu ul li.last a
 { -moz-border-radius:0; -khtml-border-radius:0; -webkit-border-radius:0; border-radius:0; }

#global_menu ul li a:hover { background:#171b1d; color:#dbe1e5; }
#global_menu ul li li a { padding-left:3em; }
#global_menu ul li li li a { padding-left:4em; }
#global_menu ul li li li li a { padding-left:5em; }

#global_menu ul li.current-menu-item > a { background:url(../images/stripe1.png) left top; position:relative; color:#fff; }
#global_menu > ul > li.current-menu-item > a:after { display:none; }


/* menu button */
#menu_button { display:block; position:absolute; right:0; top:0; margin:0; width:50px; height:100%; text-decoration:none; color:#ccc; border-left:1px solid #222; }
#menu_button .title { display:none; }
#menu_button .icon:before { font-family:'icomoon-ml'; content:"\e618"; font-size:34px; top:6px; right:-7px; position:relative; font-style:normal; }
#menu_button:hover { background:#000; color:#fff; }
.open #menu_button { color:#555; }


/* search form */
#search_area_mobile { display:block; background:#2a3134; width:100%; height:47px; margin:0; -webkit-border-radius:0; -khtml-border-radius:0; -moz-border-radius:0; border-radius:0; }
#search_area_mobile .search_input input { font-size:12px; background:#2a3134; color:#9da2a5; width:75%; height:47px; padding:0 1.7em; margin:0; border:none; border-right:1px solid #444; box-sizing:border-box; }
#search_area_mobile .search_input input:hover, #search_area_mobile .search_input input:focus { background:#171b1d; color:#fff; }
#search_area_mobile .search_button input {
  text-indent:200%; white-space:nowrap; overflow:hidden; display:block;
  position:absolute; top:0px; right:0px; height:47px; width:25%; line-height:47px; border:none; border-left:1px solid #111;
  -webkit-border-radius:0; -khtml-border-radius:0; -moz-border-radius:0; box-shadow:none; border-radius:0; box-sizing:border-box;
  background:#2a3134 url(../images/search.png) no-repeat center; -moz-background-size:15px; -webkit-background-size:15px; -o-background-size:15px; -ms-background-size:15px; background-size:15px;
}
#search_area_mobile .search_button input:hover { cursor:pointer; background-color:#171b1d; }


/* breadcrumb */
#bread_crumb { margin:-22px 0 6px 0; left:0px; bottom:0; overflow:none; height:auto; width:auto; }
#bread_crumb ol { margin:0; position:relative; padding:0 10px; }
#bread_crumb ol li { display:inline; margin:0 0 10px 0; padding:0; font-size:10px; color:#666; line-height:0; }
#bread_crumb ol li a, #bread_crumb ol li span.last { background:none; margin:0 20px 0 0; height:20px; line-height:180%; color:#666; text-decoration:none; position:relative; padding:0; }
#bread_crumb ol li a:hover { color:#000; }
#bread_crumb ol li a:after { font-family:'icomoon-ml'; color:#888; font-size:6px; display:inline-block; position:absolute; content:"\e612"; top:-1px; right:-15px; background:none; width:auto; height:auto; transform:none; }
#bread_crumb ol li a:before { display:none; }

.page-template-page-noside-php #bread_crumb { left:0px; width:auto; }




/* ----------------------------------------------------------------------
 post list
---------------------------------------------------------------------- */
#post_list { background:#fff; -moz-border-radius:7px; -khtml-border-radius:7px; -webkit-border-radius:7px; border-radius:7px; }
#post_list .article { margin:0; }
#post_list .post_right { width:78%; padding:60px 0 40px; float:right; }
#post_list .post_left { background:#3b464a; width:22%; float:left; border-bottom:1px solid #3b464a; }
.search-no-results #post_list .post_right { border:none; width:100%; text-align:center; padding-bottom:60px; }
.search-no-results #post_list .post_left { display:none; }
#post_list .post_content { margin:0 20px; }

@media screen and (min-width:480px) {
  #post_list .article.first .post_left { -moz-border-radius:7px 0 0 0; -khtml-border-radius:7px 0 0 0; -webkit-border-radius:7px 0 0 0; border-radius:7px 0 0 0; }
  #post_list .article.last .post_left { -moz-border-radius:0 0 0 7px; -khtml-border-radius:0 0 0 7px; -webkit-border-radius:0 0 0 7px; border-radius:0 0 0 7px; }
  #post_list .article.only .post_left { -moz-border-radius:7px 0 0 7px; -khtml-border-radius:7px 0 0 7px; -webkit-border-radius:7px 0 0 7px; border-radius:7px 0 0 7px; }
}
@media screen and (max-width:480px) {
  #post_list { margin:0 0 -20px 0; padding:0; background:none; -moz-border-radius:0px; -khtml-border-radius:0px; -webkit-border-radius:0px; border-radius:0px; }
  #post_list .article { padding:0; margin:0 0 20px 0; }
  #post_list .post_right { float:none; width:auto; border:none; background:#fff; padding:20px 0 0 0; -moz-border-radius:5px 5px 0 0; -khtml-border-radius:5px 5px 0 0; -webkit-border-radius:5px 5px 0 0; border-radius:5px 5px 0 0; }
  #post_list .post_left { float:none; width:auto; border:none; padding:15px 20px 5px; background:#3b464a; -moz-border-radius:0 0 5px 5px; -khtml-border-radius:0 0 5px 5px; -webkit-border-radius:0 0 5px 5px; border-radius:0 0 5px 5px; }
  #post_list .post_content { margin:0 20px; }
  .search-no-results #post_list .post_right { border:none; width:100%; text-align:center; padding:60px 0; -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
}


/* tilte */
#post_list .title { margin:3px 20px 25px; padding:0; }
@media screen and (max-width:480px) {
  #post_list .title { margin:0 20px 18px; padding:3px 0 0 0; line-height:160%; font-size:21px; border-bottom:1px dotted #ccc; padding:0 0 15px 0; }
}


/* date */
.post_date { margin:2px 20px 30px; }
.post_date .date { font-size:72px; margin:0 0 0 2px; }
@media screen and (max-width:665px) {
  .post_date { margin-top:4px; }
  .post_date .date { font-size:60px; }
  .post_date .month { font-size:20px; }
}
@media screen and (max-width:480px) {
  .post_date { margin:0 -110px 6px 0; padding:0; line-height:1; float:left; height:auto; width:110px; text-align:left; }
  .post_date .date { font-size:40px; margin:0 0 0 5px; }
  .post_date .month { text-transform:uppercase; font-size:40px; color:#b9b9b9; }
}


/* meta */
@media screen and (max-width:480px) {
  .post_meta { float:left; text-align:left; margin:1px 0 5px 110px; padding:0; }
  .post_meta li { float:left; position:relative; padding:1px 0 1px 22px; margin:0 15px 2px 0; }
  .post_meta li:after { left:0px; margin:0; }
  .post_meta li a { display:inline-block; position:relative; }
  .post_meta li a:after { content:","; }
  .post_meta li a:last-child:after { display:none; }
  .no-date .post_meta { float:none; margin:0 0 5px 0; }
}


/* thumbnail */
#post_list .post_list_thumbnail { float:none; margin:0 0 25px 0; text-align:center; }
#post_list .post_list_thumbnail img { height:auto; width:auto; max-width:100%; display:inline; }
@media screen and (max-width:480px) {
  #post_list .post_list_thumbnail { padding-top:10px; }
  #post_list .post_list_thumbnail a { display:inline; }
  #post_list .post_list_thumbnail a:after { display:none; }
}


/* archive page */
#archive_headline { text-align:center; margin:0 0 30px 0; -moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; }
#archive_headline:after { display:none; }

/* page navi */
.page_navi { padding:20px 0 30px; }
.page_navi a, .page_navi span { background:rgba(255,255,255,0.3); color:#333; }
.page_navi p.back { margin-bottom:-15px; }



/* ----------------------------------------------------------------------
 article
---------------------------------------------------------------------- */
#article { background:#fff; -moz-border-radius:7px; -khtml-border-radius:7px; -webkit-border-radius:7px; border-radius:7px; padding:20px 0; margin:0; }
.page #article { margin-bottom:30px; }


/* title */
#article #post_title { margin:0 20px 18px; padding:3px 0 0 0; line-height:160%; font-size:21px; border-bottom:1px dotted #ccc; padding:0 0 15px 0; }
.error404 #article #post_title { border:none; margin-bottom:0; padding-top:15px; }


/* content */
#article .post_content { padding:0 20px; margin-bottom:40px; }
.page #article .post_content { margin-bottom:-20px; }


/* meta */
#article .post_left { margin:0 20px 25px; width:auto; position:relative; left:0px; top:0px; }
#article .post_date { float:left; margin:2px -100px 0 0; height:auto; font-family:Arial,sans-serif; color:#333; width:100px; text-align:left; }
#article .post_date .date { display:none; }
#article .post_date .month { display:none; }
#article .post_date:before { content:attr(data-label); color:#888; font-size:13px; }

#article .post_meta { margin:0 0 0 100px; padding:0; float:right; }
#article .post_meta li { float:left; text-align:left; position:relative; padding:1px 0 1px 20px; margin:0 15px 2px 0; }
#article .post_meta li:after { color:#aaa; left:0px; margin:0; }
#article .post_meta li a { display:inline-block; position:relative; }
#article .post_meta li a:after { content:","; }
#article .post_meta li a:last-child:after { display:none; }
.no-date #article .post_meta { float:none; margin:0; }


/* author profile */
#author_avatar { width:10%; margin:0 5% 0 0; }
#author_avatar img { width:100%; height:auto; }
#author_info { width:85%; }
@media screen and (max-width:480px) {
  #author_profile { padding:10px; }
  #author_avatar { float:none; margin:0 auto; }
  #author_avatar img { width:70px; height:auto; margin:0 auto 10px; display:block; }
  #author_info { float:none; width:100%; font-size:12px; }
  #author_name { margin:0 0 8px 0; font-size:16px; text-align:center; }
}


/* related post*/
#related_post li.odd { margin-right:3%; }
@media screen and (max-width:480px) {
  #related_post li { display:block; width:100%; padding-right:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; }
  #related_post li.odd { margint:0%; }
}


/* next prev post link */
#next_prev_post { margin:0; padding:0 20px; clear:both; width:100%; -webkit-box-sizing:border-box;
-moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; }
#next_prev_post a { line-height:160%; font-size:11px; background:#f2f2f2; text-decoration:none; width:50%;  padding:10px 20px; position:relative; -webkit-box-sizing:border-box;
-moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; }
#next_prev_post a.prev_post { border-right:1px solid #fff; }
#next_prev_post a.next_post { border-left:1px solid #fff; }
@media screen and (max-width:480px) {
  #next_prev_post a { float:none; width:100%; }
  #next_prev_post a.prev_post { border-right:none; border-bottom:1px solid #fff; -moz-border-radius:4px 4px 0 0; -khtml-border-radius:4px 4px 0 0; -webkit-border-radius:4px 4px 0 0; border-radius:4px 4px 0 0; }
  #next_prev_post a.next_post { border-left:none; border-top:1px solid #fff; -moz-border-radius:0 0 4px 4px; -khtml-border-radius:0 0 4px 4px; -webkit-border-radius:0 0 4px 4px; border-radius:0 0 4px 4px; }
}


/* 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%; }



/* ----------------------------------------------------------------------
 side content
---------------------------------------------------------------------- */
.side_widget { margin:0 0 30px 0; float:left; width:46%; }
.side_widget.odd { clear:left; margin-right:8%; }

@media screen and (max-width:665px) {
 .side_widget { width:auto; padding:0 0 40px 0; margin:0 0 40px 0; border-bottom:1px dotted #777; float:none; }
 .side_widget:last-child { border:none; margin:0; padding:0; }
 .side_widget.odd { margin-right:0; }
}


/* calendar widget */
#wp-calendar td a { -webkit-border-radius:4px; -khtml-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }
#wp-calendar td#today { -webkit-border-radius:4px; -khtml-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }



/* ----------------------------------------------------------------------
 footer
---------------------------------------------------------------------- */
#footer { width:auto; height:auto; min-height:60px; margin:0; padding:0; color:#aaa; background:#30393c; position:relative; }
#footer a { color:#aaa; }
#footer a:hover { color:#fff; }
.theme_author a { border-color:#666; }
#copyright { padding-top:25px; }
@media screen and (max-width:480px) {
  #copyright { float:left; text-align:left; margin-left:15px; }
  .copyright { display:block; }
  .theme_author { display:none; }
}


/* return top */
#return_top { position:absolute; right:0px; top:0px; border-left:1px solid #000; width:60px; min-height:60px; background:url(../images/return_top2.gif) no-repeat center center; -moz-border-radius:0; -khtml-border-radius:0; -webkit-border-radius:0; border-radius:0; }
#return_top:hover { border-color:#000; }
@media screen and (max-width:480px) {
  #return_top { width:40px; }
}



/* ----------------------------------------------------------------------
 comment
---------------------------------------------------------------------- */
#comment_header #comment_tab li a { padding:10px 30px 12px; }

#comments .post_content { padding:0; margin:0; }

@media screen and (max-width:480px) {
  #comment_header { border-bottom:none; margin:0 0px; position:relative; height:auto; }
  #comment_header .headline { position:relative; left:0px; bottom:0; margin:0 -20px 20px; padding:0 20px 8px; display:block; border-bottom:1px solid #ccc; }
  #comment_header #comment_tab { margin:0 0 30px 0; padding:0; position:relative; right:0px; bottom:0px; }
  #comment_header #comment_tab li { width:50%; font-size:10px; }
  #comment_header #comment_tab li a { padding:15px 0px 12px; text-align:center; }
  .commentlist .children { margin:0 0 0 0px; }
  .commentlist .avatar { width:35px; height:35px; }
  #has_avatar .main_comment { margin:0 0 10px 45px; }
  .comment_name_date span.comment-date { display:block; margin:7px 0 0 0; }
  .comment_meta a { padding:3px 15px; }
}

#submit_comment { width:100%; }



