/*  
Theme Name: Bento Graphics
Theme URI: http://bentographics.com/
Description: The Bento Graphics Default Theme
Version: 1.0
Author: Benjamin Thomas
Author URI: http://bentographics.com/
*/


@import url("reset.css");
@import url("typography.css");

* {
	margin:0;
	padding:0;
}

html {
	height: 100%;
	margin: 0 0 1px 0;
	overflow-y: scroll;
}

body {
	background:#efefef;
	font: 100%/140% "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #333;
	padding:0px;
	font-weight: 300;
	text-align:center;
	height: 100%;
}

#wrapper {
	margin:0 auto;
	text-align:left;
	width:960px;
	padding: 0 0 0 20px;
	min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -2.5em;
    *margin: 0 auto;
    _margin: 0 auto -2.5em;
}

#header {
	float:left;
	height:50px;
	width:940px;
	position: relative;
}

#logo a{
	background: url(images/bento-graphics-logo.png) no-repeat 0px 0px;
	behavior: url(http://bentographics.com/iepngfix.htc);
	margin: 10px 0 0 0;
	display: block;
	width: 95px;
	height: 29px;
	float: left;
}

#logo a:hover{
	background: url(images/bento-graphics-logo.png) no-repeat 0px -46px;
	behavior: url(http://bentographics.com/iepngfix.htc);
}

#japanese_language {
	float: right;
	margin: 23px 10px 0 0;
}

.search_form{
	float: right;
	margin: 1.3em 0 0 0;
}

.search_form input{
	background-color: #ddd;
	border:none;
	height: 17px;
	width: 150px;
	color: black;
	line-height: 30px;
	padding: 3px 0 0 3px;
}

#main_nav{
	position: absolute;
	bottom: 0;
	left: 105px;
}

#main_nav ul li{
	float:left;
}

#main_nav ul li#twitter{
	margin: 0 0 0 120px;
}

#main_nav ul li a{
	float:left;
	display: inline;
	text-align:center;
	text-transform: capitalize;
	display:block;
	height: 2.1em;
	line-height: 2em;
	padding: 0 .5em;
}

#main_nav ul li a:hover{
	background: url(images/indicator.gif) no-repeat center bottom;
}

#main_nav li.current-cat, 
#main_nav li.current-cat-parent, 
.current_page_item,
#wrapper #header #main_nav ul .current-cat a{
	background: url(images/indicator.gif) no-repeat center bottom;
	color: black;
}

#sub_nav .current-cat, 
#sub_nav .current-cat-parent,
#wrapper #sub_nav ul .current-cat a {
	background: url(images/indicator_gray.gif) no-repeat center bottom;
	color: black;
}

.active_category {
	background: url(images/indicator_gray.gif) no-repeat center bottom;
	color: black;
}

#wrapper #header #main_nav ul .current_page_item a {
	background: url(images/indicator.gif) no-repeat center bottom;
	color: black;
}

#sub_nav{
	float: left;
	width: 940px;
	min-height: 5px;
    height: auto !important;
    height: 0px;
	background: #ddd;
	margin: 0;
	padding: 0;
	position: relative;
}

#sub_nav ul{
	margin: 0 0 0 105px;
}

#sub_nav ul li{
	float:left;
}

#sub_nav ul li a{
	text-align:center;
	float:left;
	display:block;
	height: 2.5em;
	line-height: 2.5em;
	padding: 0 .5em;
}

#sub_nav ul li a:hover{
	background: url(images/indicator_gray.gif) no-repeat center bottom;
}

#content_main{
	float:left;
	margin: 0;
	padding: 0;
	width: 582px;
	position: relative;
	overflow: hidden;
}

#content_main img{
	border: 1px solid #ccc;
	background: #ccc url(images/loader.gif) no-repeat center center;
}

/*
#wrapper #content_main .post .entry ul li{
	color: black;
	list-style: circle !important;
	list-style-type: circle !important;
	list-style-type: circle
	background: #efefef;
}
*/

#sidebar{
	float:right;
	width: 360px;
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#sidebar_category{
	float:right;
	width: 360px;
	position: relative;
	margin: 20px 0 0 0;
	padding: 0;
	overflow: hidden;
}

#sidebar .excerpt{
	width: 340px;
	border-bottom: 5px solid #ddd;
}

#sidebar .about_bento_graphics{
	background:#ddd; 
	padding:2px 5px 0 15px; 
	width:320px;
	margin: 15px 0 0 0;
}

#sidebar .about_bento_graphics h2{
	margin: 10px 0 0 0; 
}

#sidebar .about_bento_graphics .bold{
	font-size: 1.2em;
	line-height: 1.2em;
}

#info-box{
	width: 340px;
}

#info-box ul li{
	padding: .6em 0;
	border-bottom: 5px solid #ddd;
}

#comment {
	width: 340px;
	font-size: 12px;
}

.commentlist {
	margin: 10px 0 0 0;
}

.commentlist p {
	font-size: 1em;
}


#content_full_width {
	width: 960px;
	float: left;
}

#content_full_width_portfolio {
	width: 960px;
	float: left;
	margin: 20px 0;
}

.blog-post {
	border-bottom: 5px solid #ddd;
	margin: 0 0 1em 0;
	padding: 0 0 .5em 0;
}

/*
.blog-post img {
	float: left;
	margin: 5px 10px 10px 0;
}
*/

.entry {
	margin: .3em 0;
}

.navigation {
	float: right;
	padding: 0px;
	margin: 10px 0px 0px 0px;
	width: 4em;
	display: block;
	font-size: 120%;
	text-align: right;
}

.navigation a,
.navigation a{
	background: #ddd;
	padding: 3px 9px 5px 9px;
	margin: 0 0 0 5px;
	line-height: 1em;
	color: black;
	float: right;
}

.navigation a:hover,
.navigation a:hover{
	background: #000;
	color: #efefef;
}

.thumbs {
	float: left;
	margin: 0px 20px 20px 0px;
	padding: 0;
	width: 98px;
	height: 68px;
	overflow: hidden;
	border: 1px solid #ccc;
	position: relative;
	font-size: 80%;
	letter-spacing: .05em;
	background: #ccc url(images/loader.gif) no-repeat center center;
}

.thumbs img {
	margin: 0;
	padding: 0;
	cursor: pointer;
}


#footer, .push {
    height: 2.5em;
    clear: both;
}

#footer {
	color: #666;
	float: left;
	font-size: 80%;
	line-height: 1em;
	width:100%;
	height:2.5em;
}

#footer p {
	margin: 0 auto;
	text-align: left;
	padding: .5em 1em;
	width:915px;
	background: #ddd;
}

/* Hover Test */


div.thumbs a em {
	background: #efefef;
	width: 78px;
	height: 58px;
	padding: 10px;
	position: absolute;
	top: -10px;
	left: 0;
	color: black;
	line-height: 1.2em;
	text-align: center;
	font-style: normal;
	z-index: 2;
	display: none;
}


.car-toggler {
	position: absolute;
	top: 5px;
	right: 20px;
	font-size: .8em;
}

img#wpstats{
	width:0px;
	height:0px;
	padding:0px;
	border:none;
	overflow:hidden;
}

.photos {
	float: left;
	width: 550px;
	padding: 20px;
	border-bottom: 5px solid #ddd;
}

/* Slideshow */

#slideshow {
	position: relative;
	width: 580px;
	left: 0px;
	top: 0;
	border: 1px solid #ccc;
}

#slideshow img {
	border: none;
	padding: 0 !important;
	margin: 0 !important;
}

#slideshow ul#controls { 
	z-index: 1000;
	position: absolute;
	bottom: 0px;
	left: 0;
	background-color: #333;
	/*
    opacity:0.8;
	filter:alpha(opacity=80);
*/
    margin: 0;
    padding: 5px; 
    width: 578px;
    height: 20px;
    
}

#slideshow ul#controls li {	
	float:left !important;
	margin: 0 10px 0 0;
}

#slideshow ul#controls li a {	
	color: #efefef;
	cursor: pointer;
}

#slideshow ul#controls li a:hover {	
	color: white;
}

#slideshow .pics {
	width: 580px;
	padding:0;
	margin:0;
	overflow: hidden 
}

#flutterscape #slideshow .pics {
	height: 730px;
}

.elastic-video {
	position: relative;
	padding-bottom: 55%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
	margin: 20px 0;
}
.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media screen and (max-width : 768px) {

	body {
		width: 90%;
		margin: 0 auto;
	}
	
	div {
		display: block !important;
		width: 100% !important;
		margin: 10px auto !important;
		padding: 0 !important;
		float: none !important;
		position: inherit !important;
	}
	
	html body div.elastic-video {
	position: relative !important;
	padding-bottom: 55% !important;
	padding-top: 15px !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 20px 0 !important;
}
	html body div.elastic-video iframe {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
}
	
	.about_bento_graphics h2 {
		padding: 15px 20px 0 20px !important;
	}
	
	.about_bento_graphics p {
		padding: 5px 20px 0px 20px !important;
	}
	
	#main_nav {
		float: left !important;
		margin: 0 !important;
	}

	
	#content_main {
	    clear: both;
	    width: 100%;
	}
	
	#main_nav li a {
		float: left !important;
	}
	
	#info-box ul li:last-child{
		display: none !important;
	}	
		
	.post img {
		width: 100% !important;
	}
	
	#content_main img {
		width: 99% !important;
	}
	
	#footer {
		width: 100% !important;
	}
	
	#footer p {
		width: 92% !important;
		/* margin: 10px !important; */
	}
	
	.off_screen {
		position: absolute !important;
		left: -10000px !important;
	}
	
	#sub_nav,
	.search_form,
	.car-collapse,
	#comment,
	.excerpt.news,
	.home{
		display: none !important;
	}
	
	#main_nav li a,
	.current-cat a,
	.current-cat a:hover,
	li.current-cat,
	li.current_page_item {
		background: none !important;
		background-image: none !important;
	}
	
	#main_nav ul li#facebook, 
	#main_nav ul li#twitter,
	#main_nav ul li#google-plus {
		margin: 0;
	}
	
	.thumbs {
	    float: left !important;
	    margin: 33px !important;
	    padding: 0 !important;
	    width: 98px !important;
	    height: 68px !important;
	    overflow: hidden !important;
	    /* border: 1px solid #ccc !important; */
	    position: relative !important;
	    font-size: 80% !important;
	    letter-spacing: .05em !important;
	    background: #ccc url(images/loader.gif) no-repeat center center !important;
	}

}

@media screen and (max-width : 480px) {

	#main_nav ul li a {
		padding: 0 1.3em 0 0;
	}
	
	html body .thumbs {
	    margin: 20px !important;
	}

}

@media screen and (max-width : 320px) {
	
	/*
body #main_nav ul li#twitter {
	     clear: both !important;
	}
*/
	
	#main_nav ul li#twitter {
		margin: -100px 0 0 175px !important;
	}
	
	#main_nav ul li#google-plus {
		margin: -100px 0 0 230px !important;
	}
	
	#main_nav ul li#facebook {
		margin: -100px 0 0 260px !important;
	}
	
	
	#main_nav ul li a {
		padding: 0 .87em 0 0;
	}
	
	.page-item-67 {
		display: none !important;
	}

}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  
	HTML body #wrapper #header #logo a{
		background: url(images/bento-graphics-logo_retina.png) no-repeat 0px 0px !important;
		behavior: none;
		background-size: 100%;
	}
  
}


