/*

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.0.5

Author: Marios Lublinski

Author URI: http://www.dessign.net

Tags: 4 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: 13px; font-family: 'Raleway', sans-serif; color: #333333; line-height: 17px;}

#main_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: #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: 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; }

#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; }

.header_social_icons_cont { float: right; margin-right: 5px; }

.header_social_icons_cont img { float: left; margin-right: 7px; }

/* Content */

.home_post_cont { float: left; margin-right: 34px; width: 228px; min-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: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }

.home_post_cont h3 { font-size: 14px; }

.home_post_cont h3 a { color: #000; text-decoration: none; }

.home_post_cont h3 a:hover {  text-decoration: none; color: #666; }

/*.home_post_content { color: #A0A0A0; font-size: 13px; padding-right: 30px; font-weight: normal; height: 270px; }*/

.home_post_content { color: #A0A0A0; font-size: 13px; padding: 10px 10px; 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: 14px; 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 { color: #A0A0A0; font-size: 10px; font-weight: normal; padding: 0px 10px; }

.home_post_cat a { color: #A0A0A0 !important; text-decoration: none; }

.home_post_cat a:hover {  text-decoration: none; color: #666; }

.single_left { float: left; width: 665px; }

.single_left li{ list-style-position: inside; margin-left:32px;}

.single_left h1 { font-size: 33px; margin-top: 0; margin-bottom: 25;}

.single_content { width: 665px; 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; 

    }

/*.home_post_cont.post_box div:first-child { width: 228px !important; height: 331px !important; }*/

/*html body .hover_caption { width: 228px !important; height: 331px !important; }	*/

.hover_box { width: 228px; height: 331px; }

  

#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; border-top: 1px solid #CBCBCB; border-bottom: 1px solid #CBCBCB; color: #8C8889; text-align: center; }

#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 { display: none;}

.header_social_icons_cont img { display: none;}

#menu_container input[type=text] { display: none; }

  

.home_post_cont { float: left; margin-right: 20px; width: 162px; min-height: 231px; margin-bottom: 35px; position: relative; }

.home_post_cont_last { margin-right: 0; }

.home_post_cont img { width: 162px; height: 231px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }

.home_post_cont h3 { font-size: 14px; }

.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: 162px; height: 231px; }

.home_post_content { height: 180px; overflow: hidden; }

.home_post_cat {  }

	

.single_left { float: left; width: 500px; }

.single_left h1 { font-size: 13px; margin-top: 0; }

#sidebar { display: none; }

.side_box { margin-bottom: 25px; }

.single_inside_content img { max-width: 500px; height: inherit; }

}

@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 { display: block;}

.header_social_icons_cont img { display: block;}

#menu_container input[type=text] { display: none; }

.home_post_cont { margin-right: auto; margin-left: auto; float: none; clear: both; }

.home_post_cont img { width: 228px; height: 331px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }

.home_post_cont h3 { font-size: 14px; }

.home_post_cont h3 a { color: #000; text-decoration: none; }

.home_post_cont h3 a:hover {  text-decoration: none; color: #666; }

.hover_caption { width: 228px; height: 331px;}

#footer { display: block; }

#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; }

/*Para hacer el formulario Contact Form responsive 7*/

div.wpcf7 .wpcf7-form-control { max-width: 100%; }


}