/*
Theme Name: KHMJ
Description: Clean Grid
Version: 2.0
Author: PAPERSKY inc.
Author URI: https://creative.papersky.jp
Tags: clean, grid
*/

/* MAIN STYLES */

body {margin: 0; padding: 0; font-family:"Helvetica Neue", Helvetica, Arial, YakuHanJPs_Narrow, "Yu Gothic", YuGothic, 游ゴシック体, 游ゴシック, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "MS ゴシック", "MS Gothic", sans-serif;
	font-size: 11px; line-height: 16px; letter-spacing: 0.02em;}
	
#wrapper {margin: 0; padding: 0;}

.float_left {float: left;}
.float_right {float: right;}
.clear {clear: both;}

#header {margin: 0 0 0 20px; padding: 10px 0 0 0; width: 780px; height: 165px; position: fixed; z-index: 3; background-color: white;}
	
#logo {width: 136px; float:left; margin: 0; padding: 0 10px; background-color: white;}
#logo img {width: 100%;}

#info {margin: 0 20px 0 5px; padding: 5px 20px; width: 140px; float: left;}

#content {margin: 20px 0px 30px 20px; padding: 180px 0 0 0; width: 1020px;}

.liquid { 
	margin: 20px 0px 30px 20px;
	padding:180px 0 0 0;
	min-width: 1020px!important;
	background-color: white;
	width: 95%;
	}

#brief {float: left; margin: 0 0 0 10px; padding: 0; width: 295px; text-align: justify;}
		


/* GALLERY */

#gallery_contain {width: 500px; float: left; margin: 0 0 0 20px; padding: 0; overflow: hidden;}

#gallery {height:400px;}
#gallery img {width:500px;}

.gallerycontrol {font-size: 13px; color: #29ABE2; margin: 10px 5px 0 0; float: right;}
#gallery_prev, #gallery_next {padding: 5px;}
	
.gallerycontrol a {color: #29ABE2; text-decoration: none;}
.gallerycontrol a:hover {color: #bbb; text-decoration: none;}



/* RELATED POST */

#relatedpost {float: left; margin: 0 0 0 20px; width: 155px; text-align: center;}
#relatedpost ul {margin: 0; padding: 0; list-style: none;}
#relatedpost ul a {margin: 0; padding: 0; font-size: 13px; color: #29ABE2; overflow: hidden; text-decoration: none;}
#relatedpost ul a:hover {color: #BBB; text-decoration: none;}
#relatedpost li {margin-bottom: 5px; position: relative; z-index: 1;}	


	
/* PAGE ELEMENTS*/

#media_col1 {
	display: inline;
	float: left;
	width: 280px;
	margin: 0;
	padding: 0 20px;
	text-align: justify;
	}
	
#media_col2 {
	display: inline;
	float: left;
	width: 280px;
	margin: 0 0 0 25px;
	padding: 0 20px;
	}
	
#media_col3 {
	display: inline;
	float: left;
	width: 280px;
	margin: 0 0 0 25px;
	padding: 0 20px;
	}

.links_col1 {
	display: inline;
	float: left;
	width: 280px;
	margin: 0;
	padding: 0 10px;
	text-align: justify;
	}
	
.links_col2 {
	display: inline;
	float: left;
	width: 280px;
	margin: 0 0 0 25px;
	padding: 0 10px;
	}

.links_col1 img, .links_col2 img {width: 280px; background-color: #f0f0f0;}
	
#newsletter {width: 480px; margin: 0; padding: 0 0 0 20px;}
#map {float: right; width: 650px; margin: 0 0 0 20px;}
#contact {width: 330px; margin: 0 20px;}
	
.error {margin: 20px 0px 30px 20px; padding: 0; text-align: center; color: #29ABE2;}
	
#medialinks {padding: 0; display: table; margin: 0 auto;}
#medialinks ul {display: inline; list-style: none;}
#medialinks ul li {display: inline; margin: 20px 10px 20px 10px; float: left;}
.links_col1 #medialinks ul li, .links_col2 #medialinks ul li {display: inline; margin: 0 10px 20px 10px; float: left;}

#medialinks a {font-size: 13px; color: #bbb; text-decoration: none; }
#medialinks a:hover { font-size: 13px; color: #29ABE2; text-decoration: none; }



/* PROJECT */

.project_thumb {
	float: left;
	height: 190px;
	width: 165px;
	margin: 0 5px 20px 0;
	text-align: center;
	position: relative;
	z-index: 1;
	}


.overlay {
	width: 165px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	}
	
.project_thumb img {border: 0;}
	
.heading {overflow: hidden; width: 140px; height: 14px; margin: 15px auto 0 auto; padding: 0 0 2px 0; font-size: 12px;}

p.relheading { 
	overflow: hidden;
	width: 165px;
	height: 14px;
	margin: 0; 
	padding: 5px 0;
	font-size: 12px;
	}
	
.date {font-size: 10px; margin: 0; padding: 0; color: #29ABE2;}
	
/* FOOTER */
	
#footer {width: 1020px; margin: 60px 25px; padding: 0 0 100px 0;}
#footer ul {margin: 0; padding: 0; float: left; list-style: none;}
#footer li {height: 15px; width: 140px; margin: 0 25px 0 0; padding: 10px 0; float: left; background-color: white; border: 1px solid #29ABE2; text-align: center;}

#footer img {height: 15px; border: 0;}
#footer img:hover {opacity: 0.4;}
.nobdrfoot {height: 15px; width: 280px; margin: 0 0 0 70px; padding: 22px 0 0 0; float: left; text-align: center;}
.nobdrfoot span {font-size: 6px !important; margin: -2px 20px 0 20px; padding: 0;}



/* TYPE */

p {height: 1%; /* For italics/IE6 bug */ overflow: visible; /* For italics/IE6 bug */}

#brief h2 {margin: 0 0 5px 0; font-size: 15px; line-height: 18px; font-style: italic; text-align: left;}
#info p {margin: 12px 0 0 0; font-size: 10px; line-height: 15px; font-style: italic;}
#content p {margin: 10px 0; font-size: 11px; line-height: 16px;}




/* NAVIGATION */

#cat_nav {height: 125px; margin: 0 0 0 5px; padding: 15px 0; float: left;}
.cat_col {width:210px; float:left; display:block; padding:0; margin:0 5px 0 0; overflow:hidden;}
.cat_col li {width:165px; clear:left; display:block; margin:1px 0 0 0;}

#main_nav {width: 120px; margin: 0; padding: 15px 0 0 20px; float: left;}
#main_nav ul {margin: 0; padding: 0; list-style: none;}

#main_nav a {font-size: 13px; line-height: 16px; color: #29ABE2; font-weight: bold;}
#cat_nav a {font-size: 13px;  line-height: 16px; color: #000; font-weight: bold;}
#cat_nav .current-cat {text-decoration: line-through;}	
	
#searchform  {margin: 0; font-size: 9px;}
#searchform input {width: 120px; text-align: right; color: #29ABE2; background: #eee; border: 1px solid #eee;}

.mc4wp-form-fields input {border-radius: none; vertical-align:top; display:inline;}
.mc4wp-form-fields input[type=email] {height: 20px; width:200px; margin:0; padding:0 5px; font-size: 9px; line-height:15px; background-color:#fff;
	border-top: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #000; border-right: none; color:#000;}
.mc4wp-form-fields input[type=submit] {display: inline-block; height: 22px; width:45px; margin:0; padding:0; font-size: 11px; line-height:15px; background-color:#000;
	border: 1px solid #000; color: #fff; cursor: pointer;}
.mc4wp-form-fields input[type=submit]:hover {background-color:#29ABE2; color: #fff;}


/* IMAGES */

img {border: 0;}



/* LINKS */

a {color: #000; text-decoration: none;}
a:hover {color: #bbb; text-decoration: none;}

#header a {color: black; text-decoration: none;}
#header a:hover {color: #bbb; text-decoration: none;}
	
#main_nav a { color: #29ABE2; text-decoration: none;}
#main_nav a:hover {color: #bbb; text-decoration: none;}
	
#brief a {color: #29ABE2; text-decoration: none;}
	
.project_meta {margin: 0; padding: 0; font-size: 11px; line-height: 15px; list-style: none;}
.grey {color: #bbb;}

	
