/*
Theme Name: Double Grid Responsive Theme
Theme URI: http://dessign.net/doublegrid theme
Description: Double Grid Theme Responsive for WordPress is stylish, customizable, simple, and readable. Perfect for any illustrator or graphic designer. 
Version: 2.0.1
Author: Marios Lublinski
Author URI: http://www.dessign.net
Tags: 2 column theme, white, clean
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    margin: 0;
    padding: 0 4px 5px;
}
/* Global */
* { margin: 0; padding: 0; }
body { font-size: 15px; font-family: 'Lato', sans-serif; font-weight: 400;  color: #333333; line-height: 140%; letter-spacing: 1px;}
#main_container { width: 940px; 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: #666; text-decoration: none; }
a:hover { color:#333; transition: background 0.3s ease 0s, color 0.3s ease 0s;  }
::selection {
	background: #c9dee3; 
	}
::-moz-selection {
	background: #c9dee3; 
}
#infscr-loading { DISPLAY: NONE !important; visibility: hidden !important; } /* hide infinite scroll loading image */
/* Header */
#header { padding: 10px 0 30px; }
#menu_container { padding-bottom: 25px; }
#menu_container ul { list-style-type: none; margin-right: 25px; float: left; }
#menu_container ul li { float: left; position: relative; }
#menu_container ul li a { color: #fff; text-decoration: none; background-color: #000; padding: 4px 15px 4px 15px; margin-right: 8px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; display: block; }
#menu_container ul li a:hover { background-color: #858585; }
#menu_container ul li.current-menu-item a, #menu_container ul li.current_page_item a { background-color: #858585; }
#menu_container input[type=text] { width: 172px; height: 25px; background-color: #000; color: #fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; float: right; border: none; padding: 0 5px; }
#menu_container ul li ul { position: absolute; top: 28px; left: 0; display: none; z-index: 500; }
#menu_container ul li ul li { width: 140px; float: none; padding-top: 5px; }
#menu_container ul li ul li a { margin: 0; }
#menu_container ul li ul li ul { position: absolute; top: 0px; left: 140px; display: none; z-index: 500; width: 140px; float: none; }
.header_social_icons_cont { float: right; margin-right: 0px; }
.header_social_icons_cont img { float: left; margin-right: 7px; }
/* Content */
.home_post_cont { float: left; margin-right: 34px; width: 450px; min-height: 620px; margin-bottom: 35px; position: relative; }
.home_post_cont_last { margin-right: 0; }
.home_post_cont img { width: 450px; height: 620px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }
.hover_box { width: 450px; height: 620px; }
.home_post_content { color: #A0A0A0; font-size: 15px; padding: 40px 40px; font-weight: 400; height: 600px; }
.home_post_cont h3 { font-size: 26px; font-weight: 300; letter-spacing: 1px; text-align: center;  line-height: 140%;}
.home_post_cont h3 a { color: #000; text-decoration: none; }
.home_post_cont h3 a:hover {  text-decoration: none; color: #666; }
.home_post_content .in_title { color: #fff; font-size: 26px; margin: 0; font-weight: 300; letter-spacing: 2px; line-height: 140%; text-align: center;}
.home_post_content h4 a { color: #fff; font-size: 18px; margin: 0; font-weight: 400; letter-spacing: 1.5px; line-height: 130%; text-align: center; }
.home_post_cat { color: #A0A0A0; font-size: 12px; font-weight: 400; padding: 0px 20px;  margin-top: -100px;}
.home_post_cat a { color: #A0A0A0 !important; text-decoration: none; }
.home_post_cat a:hover {  text-decoration: none; color: #666; }
.single_left img { max-width: 100%; height: auto; }
.single_left { float: left; width: 940px; }
.single_left li{ list-style-position: inside; margin-left:32px;}
.single_left h1 {  margin-top: 0; font-size: 26px; font-family: 'Lato', sans-serif; font-weight: 500; letter-spacing: 1px; line-height: 140%;}
.single_content { width: 940px; float: left; }
    .hover_caption {
      /* If you can count of CSS3 support: */
      background-color: /*rgba(0, 0, 0, 0.7)*/ #000; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  
      /* Or use a transparent image if you need to support bad browsers: */
      /*background-image: url(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. */
	  transition: background 0.3s ease 0s, color 0.3s ease 0s; 
    }
  
#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; }
.next_prev_cont { padding: 25px 0; }
.next_prev_cont .left { float: left; width: 45%; }
.next_prev_cont .left a { display: block; background: url('images/post_prev.png') no-repeat; background-position: top left; padding-left: 25px; min-height: 30px; }
.next_prev_cont .right { float: right; width: 45%; text-align: right; }
.next_prev_cont .right a { display: block; background: url('images/post_next.png') no-repeat; background-position: top right; padding-right: 25px;  min-height: 30px; }
/* Sidebar */
#sidebar { float: right; width: 270px; }
.side_box { margin-bottom: 25px; }
.side_box h3 { padding: 5px 5px; background-color: #000; margin-top: 0; color: #fff; border-radius: 5px;}
.side_box p { padding: 0px 5px; }
.side_box ul { list-style-type: none; margin-left: 5px; }
.side_box ul li { margin-bottom: 3px; }
.textwidget { padding: 5px; }
/* Footer */
#footer { margin: 25px 0; padding: 12px 0;  color: #8C8889; text-align: right;   font-size: 12px; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: 1px;}
#footer a { color: #8C8889; text-decoration: none; }
#footer a:hover { text-decoration: underline; }
#infscr-loading { text-align: center; }
/* for tablet */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    #main_container { width: 708px; }
    .logo { max-width: 500px; height: inherit; }
.header_social_icons_cont { float: right; margin-left: 1px;}
.header_social_icons_cont img { float: right; margin-left: 1px;}
#menu_container input[type=text] { display: none; }
  
.home_post_cont { float: left; margin-right: 33px; width: 337px; min-height: 470px; margin-bottom: 35px; position: relative; }
.home_post_cont_last { margin-right: 0; }
.home_post_cont img { width: 337px; height: 470px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }
.home_post_cont h3 { font-size: 25px; font-weight: 700; letter-spacing: 1px; }
.home_post_cont h3 a { color: #000; text-decoration: none; }
.home_post_cont h3 a:hover {  text-decoration: none; color: #666; width: }
/*.home_post_cont.post_box div:first-child { width: 162px !important; height: 231px !important; }*/
/*html body .hover_caption { width: 162px !important; height: 231px !important; }*/
.hover_box { width: 337px; height: 470px; }
.home_post_content { height: 300px; overflow: hidden; font-size: 13px; }
.home_post_cat { color: #A0A0A0; font-size: 11px; font-weight: 400; padding: 0px 20px;  margin-top: 30px;}
.home_post_content .in_title { color: #fff; font-size: 24px; margin: 0; font-weight: 500; letter-spacing: 1px; line-height: 120%; text-align: center;}
.home_post_content h4 a { color: #fff; font-size: 12px; margin: 0; text-align: center; }	
.single_left { float: left; width: 700px; }
.single_left h1 { font-size: 25px; margin-top: 0; }
.side_box { margin-bottom: 25px; }
.single_inside_content img { max-width: 700px; height: inherit; }

.single_left iframe { width: 700px; height: 400px;}
}


/* for mobile */
@media screen and (max-width: 766px) {
 .logo { max-width: 320px; height: inherit; }
 
#main_container { width: 320px; }
#menu_container { padding-bottom: 25px;  }
#menu_container ul { list-style-type: none; margin-right: 25px; float: left; padding: 10px 10px  10px 10px;}
#menu_container ul li { float: left; padding: 2px 2px  2px 2px; }
#menu_container ul li a { color: #fff; text-decoration: none; background-color: #000; padding: 6px 6px; margin-right: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; display: block; }
#menu_container ul li a:hover { background-color: #858585; }
#menu_container ul li.current-menu-item a, #menu_container ul li.current_page_item a { background-color: #858585; }
.header_social_icons_cont { float: left; margin-left: 5px;}
.header_social_icons_cont img { float: left; margin-left: 5px;}
#menu_container input[type=text] { display: none; }
.home_post_cont { margin-right: auto; margin-left: auto; float: none; clear: both;  min-height: 440px;  position: relative;
    width: 310px; margin-bottom: 30px;}
.home_post_cont img { width: 310px; height: 440px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }
.home_post_cont h3 { font-size: 25px; font-weight: 700; letter-spacing: 1px; }
.home_post_cont h3 a { color: #000; text-decoration: none; }
.home_post_cont h3 a:hover {  text-decoration: none; color: #666; }
.hover_caption { width: 310px; height: 440px;}
.hover_box { width: 310px; height: 440px; }
.home_post_content { color: #A0A0A0; font-size: 13px; padding: 20px 20px; font-weight: 400; height: 400px; width: 260px; }
.home_post_content .in_title { color: #fff; font-size: 22px; margin: 0; font-weight: 500; letter-spacing: 1px; line-height: 140%; text-align: center;}
.home_post_content h4 a { color: #fff; font-size: 14px; margin: 0; font-weight: 400; letter-spacing: 1.5px; line-height: 130%; text-align: center; }
.home_post_cat { color: #A0A0A0; font-size: 11px; font-weight: 400; padding: 0px 20px;  margin-top: -50px;}
.home_post_cat a { color: #A0A0A0 !important; text-decoration: none; }
.home_post_cat a:hover {  text-decoration: none; color: #666; }
#footer { margin: 5px 0; padding: 12px 0;  color: #8C8889; text-align: right;   font-size: 12px; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: 1px;}
#commentform textarea { width: 220px; }
#sidebar { display: none; }
.single_left { float: none; width: 310px; margin-left: auto; margin-right: auto; }
.single_left img { width: 310px; height:inherit; }
.single_left iframe { width: 300px; height: 169px; }
}