/*
Theme Name: Grid Theme Responsive
Theme URI: http://www.dessign.net/gridthemeresponsive
Description: Grid Theme Responsive for WordPress is stylish, customizable, simple, and readable. Perfect for any illustrator or graphic designer. 
Version: 2.5
Author: Marios Lublinski
Author URI: http://www.dessign.net
Tags: 4 column theme, white, clean
*/

/* Global */
* { margin: 0; padding: 0; }
body { font-size: 12px; line-height: 18px; font-family: 'Helvetica Neue','Helvetica'; color: #333333; }
#main_container { width: 1024px; margin: 0 auto; }
#inner_container { width: 1015px; margin: 0 auto; }
h1,h2,h3,h4,h5,p { margin: 10px 0; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
img { border: none; }
a { color: #AAA; text-decoration: none; }
a:hover { color:#333; }

/* Header */
#header { padding: 10px 0 30px; }
#menu_container { position:relative; z-index:1; padding-bottom: 25px; padding-left:262px; }
#menu_container ul { list-style-type: none; margin-right: 0; float: left; }
#menu_container ul li { float: left; }

#menu_container ul li a {
color: #fff;
text-decoration: none;
background-color: #000;
padding: 5px 10px;
margin-right: 8px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-khtml-border-radius: 2px;
border-radius: 2px;
display: block;
}

#menu_container ul li a:hover { background-color: #AAA; }
#menu_container ul li.current-menu-item a, #menu_container ul li.current_page_item a { background-color: #AAA; }

#menu_container input[type=text] {
width: 128px; height: 30px;
float: right;
background-color: #000;
color: #fff;
font-family: 'Helvetica Neue','Helvetica';
text-transform: uppercase;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-khtml-border-radius: 2px;
border-radius: 2px;
border: none;
padding: 0 10px;
margin: 0 11px 0 0;
}

.header_menu { padding-left:-50px; }

.header_social_icons_cont { float: right; margin-right: 5px; }
.header_social_icons_cont img { float: left; margin-right: 7px; }

.logo { float:center; z-index:2; margin-left:-12px; margin-bottom:-30px; }



/* Content */
.home_post_cont { float: left; margin-right: 34px; width: 228px; height: 331px; margin-bottom: 35px; position: relative; }
.home_post_cont_last { margin-right: 0; }
.home_post_cont img { width: 228px; height: 331px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; }
.home_post_cont h3 { font-size: 18px; }
.home_post_cont h3 a { color: #000; text-decoration: none; }
.home_post_cont h3 a:hover {  text-decoration: none; color: #AAA; }

.home_post_content { color: #A0A0A0; font-size: 12px; padding-right: 30px; font-weight: normal; height: 270px; }
.home_post_content .in_title { color: #fff; font-size: 14px; margin: 0; font-weight: bold; }
.home_post_content h4 a { color: #fff; font-size: 20px; margin: 0; }
/*.home_post_cat { position: absolute; bottom: -20px; left: 10px; color: #A0A0A0; font-size: 10px; font-weight: normal; padding-right: 40px; }*/
.home_post_cat { color: #A0A0A0; font-size: 10px; font-weight: normal; padding-right: 40px; }
.home_post_cat a { color: #A0A0A0 !important; text-decoration: none; }
.home_post_cat a:hover {  text-decoration: none; color: #AAA; }

.single_left { float: left; width: 665px; }
.single_left h1 { font-size: 18px; margin-top: 0; }

    .hover_caption {
      /* If you can count of CSS3 support: */
      background-color: /*rgba(0, 0, 0, 0.7)*/ #000; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px;
  
      /* Or use a transparent image if you need to support bad browsers: */
      /*background-image: url(http://www.borschtcorp.com/eight/wp-content/themes/gridthemeresponsive/images/hover_caption_bg.png);*/
  
      /* NOTE: If you're img elements have paddings or margins you'll need to
      match them here to get things lined up properly. */
    }
  
#commentform input[type=submit] { background-color: #000; border: none; color: #fff; padding: 8px 10px; }
#commentform a { color: #000; }

.commentlist a { color: #000; }    
.iphone-home-image { width: 300px !important; }

/* Sidebar */
#sidebar { float:right; width:238px; }
.side_box { margin-right:10px; }

.side_box h3 {
padding: 5px 7px;
background-color: #000;
margin-top: 0;
font-size: 12px;
font-weight: regular;
color: #fff;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-khtml-border-radius: 2px;
border-radius: 2px;
}

.side_box p { padding: 0; }
.side_box ul { list-style-type: inherit; }
.side_box ul li { margin-bottom: 3px; }
.textwidget { 
padding-top: 0;
padding-left: -22px;
margin-right:5px;
}


/* Footer */
#footer {
margin: auto 0;
width: 1014px;
padding: 10px 0 25px 0;
border-top: 7px solid #111;
font-size: 10px;
color: #AAA;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-khtml-border-radius: 2px;
border-radius: 2px;
}

#footer a { color: #AAA; text-decoration: none; }
#footer a:hover { text-decoration: underline; }


#infscr-loading { text-align: center; }


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

#main_container { width: 320px; }
#menu_container { display: none; }
.home_post_cont { margin-right: auto; margin-left: auto; float: none; clear: both; }
#footer { display: none; }
#commentform textarea { width: 220px; }
#sidebar { display: none; }
.single_left { float: none; width: 228px; margin-left: auto; margin-right: auto; }
.single_left img { width: 228px; height:inherit; }