/*

Theme Name: PhotoGrid Free Responsive Theme

Theme URI: http://www.dessign.net/photogridtheme/

Description: Responsive Free PhotoGrid Theme for WordPress is stylish, customizable, simple, and readable. Perfect for any illustrator or graphic designer. 

Version: 2.0

Author: Marios Lublinski

Author URI: http://www.dessign.net

Tags: 3 column theme, clean, portfolio

*/







/* =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 */



body, div { margin: 0; padding: 0; }



body { font-size: 13px; font-family: 'Muli', sans-serif; color: #333; line-height: 24px;  }




h1,h2,h3,h4,h5,p { margin: 10px 0; }



img { border: none; }



p { line-height: 22px; }



.left { float: left; }



.right { float: right; }



.clear { clear: both; }



a {color: #ffc0cb; text-decoration: none; }


a:hover { color: #a78da0; }



#main_container { width: 1000px; margin: 0 auto; }







/* Header */



#header { padding: 4px 0 35px 0; }







.head_social_cont { margin: 0 auto 0 auto; width: 500px; display: flex;
    justify-content: space-around;}



.head_social_cont img { float: right; margin-left: 3px; }



.logo { float: center; margin-top: 10px; }






.head_menu_cont { width: 800px; margin-top: 20px; margin-left: auto; margin-right: auto; display: flex;
    justify-content: center; }



.head_menu_cont ul { list-style-type: NONE; margin: 0 auto 0 auto; padding: 0; }



.head_menu_cont ul li { float: left; margin-left: 10px; font-size: 14px; position: relative; }


.head_menu_cont ul li a { display: inline; padding: 2px 25px; color: #000; text-decoration: none; }



.head_menu_cont ul li a:hover, .head_menu_cont ul li.current_page_item a, .head_menu_cont ul li.current-menu-item a { background-color: #fff; color: #666; }







.head_menu_cont ul li ul { display: none; position: absolute; top: 25px; left: 0; z-index: 100; border-top: 1px solid #ccc; background-color: #fff; }



.head_menu_cont ul li ul li { width: 165px; float: none; margin: 0; }







/* Content */




.home_post_box { width: 300px; height: 300px; float: left; margin-right: 40px; margin-bottom: 40px; position: relative; overflow: hidden; }



.home_post_box a { color: #fff; }



.home_post_box a:hover { text-decoration: none; }



.home_post_box img { width: 100%; height: auto; }



.home_post_box_last { margin-right: 0; }



.home_post_text_back { position: absolute; top: 0; left: 0; width: 300px; height: 300px; background-color: rgba(0,0,0,0.7); z-index: 5; display: none;  }



.home_post_text { width: 235px; position: absolute; bottom: 0; left: 0; padding: 5px 30px; color: #fff; z-index: 10; display: block; visibility: hidden; text-decoration: none; }



.home_post_text h3 { text-transform: uppercase; font-size: 18px; font-weight: normal; text-align: center; padding-bottom: 100px;  }



.home_post_text p { margin-top: 5px; }



.home_post_text a:hover { text-decoration: none; }







.load_more_cont { padding-bottom: 20px; }



.load_more_cont a { display: block; width: 151px; height: 30px; background: url('images/load-more.png') no-repeat; }



/*B&W*/
.bw {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
}
 
.bw:hover {
  -webkit-filter: drop-shadow(2px 2px 10px black) grayscale(100%);
}

/*glow*/
.glow {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
}
 
.glow:hover {
  -webkit-filter: drop-shadow(1px 1px 1px black) grayscale(100%);
}

h3.top_title, h1.top_title { padding: 5px 10px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 20px 0 35px; font-size: 16px; font-weight: normal; }




.img-wrap{
height:180px;
overflow:hidden;
position:relative;
width:180px;
padding: 5px;
}
.img-overlay{
background-color:#fff;
bottom:0;
color:#000;
opacity:0;
filter: alpha(opacity = 0);
position:absolute;
width:180px;
height:180px;
padding:0px;
z-index:1000;

}
.img-overlay h4, .img-overlay p{
padding:0 10px; text-align: center; margin-top: 40px;
}
.img-wrap:hover .img-overlay{
opacity:0.75;
filter: alpha(opacity = 75);
transition:opacity 0.25s;
-moz-transition:opacity 0.25s;
-webkit-transition:opacity 0.25s;
}

.boxed {
  width:150px;
height:50px;
text-align:center;
padding:0px;
border:0px ;
margin:0px;
}



#single_cont { padding: 0 0 25px 0; }


.single_content { width: 700px; float: left; }


.single_inside_content img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}



.blog_box { margin-bottom: 25px;  }







.blog_box_left { float: left; width: 140px; }



.blog_date { font-size: 22px; }



.blog_cat_comm { background-color: #000; padding: 2px 3px; color: #fff; margin-top: 5px; }



.blog_cat_comm a { color: #fff; text-decoration: none; }






.blog_box_right { float: left; width: 637px; font-size: 13px; }



.blog_box_right img { width: auto; height: 300px; }



.blog_box_right h3 { margin-top: 0px; font-size: 21px; font-weight: normal;}







.blog_nav { padding: 15px 0; }



.blog_nav .left a { display: block; width: 24px; height: 39px; background: url('images/blog-prev.jpg') no-repeat; }



.blog_nav .right a { display: block; width: 24px; height: 39px; background: url('images/blog-next.jpg') no-repeat; }







h1.single_title { margin-top: 0; margin-bottom: 20px; font-weight: normal; font-size: 22px; }



#commentform input[type=submit] { background-color: #161616; color: #fff; border: 1px solid #6E6E6E; padding: 3px 5px; }







/* Sidebar */



#sidebar { width: 250px; float: right; }







.side_box { margin-bottom: 25px; }



.side_box h3.side_title { margin-top: 0; text-align: center; font-size: 16px; font-weight: bold; }


.side_box ul, .footer_box ul { list-style-type: none; margin: 0; padding: 0; }



.side_box ul li, .footer_box ul li { margin-bottom: 8px; }







.t1_search_cont { position: relative; width: 200px; }



.t1_search_cont input[type=text] { width: 190px; height: 17px; border: 1px solid #E5E5E5; padding: 3px 15px 3px 5px;  }



.t1_search_icon { position: absolute; top: 6px; right: 3px; }







/* Footer */



#footer { padding-top: 25px; }







.footer_box_cont { float: left; width: 300px; margin-right: 40px; }







.footer_box_cont_last { margin-right: 0; }







.footer_box { margin-bottom: 25px; }



.footer_box h3.footer_box_title { text-transform: uppercase; font-size: 15px; font-weight: normal; margin-top: 0; padding-bottom: 8px; background: url('images/footer-title-line.jpg') no-repeat; background-position: bottom left;  }







.footer_text { margin-top: 10px; padding: 30px 0; background: url('images/footer-text-line.jpg') repeat-x; background-position: top left; text-align: right; }



.footer_text a { text-decoration: none; }











/* for tablet */







@media only screen and (min-width: 768px) and (max-width: 959px) {







    #main_container { width: 708px; }



    .logo { max-width: 200px; height: inherit; }



  



    .head_menu_cont ul li { font-size: 13px; }



    .head_menu_cont ul li a { padding: 5px 15px; }  



  



    #slideshow_cont { width: 708px; height: 290px; }



    .slide_left { width: 354px; }



    .slide_right { width: 354px; }



  



    #slideshow img { width: 708px; height: 290px; display: none; }



  



    .home_post_box { width: 230px; height: 230px; margin-right: 5px; margin-bottom: 24px; }



    .home_post_box img { width: 230px; height: 230px; }  



    .home_post_text_back { width: 230px; height: 230px; }  



    .home_post_box_last { margin-right: 0; }



  



    .home_post_text { width: 200px; padding: 5px 10px; }







    .single_content { width: 500px;  }
	
	



    .single_inside_content img { max-width: 500px; height: inherit; }



    .blog_box_left { float: left; width: 120px; }



    .blog_cat_comm { font-size: 11px; }



  



    .blog_box_right { float: left; width: 360px; font-size: 15px; }



    .blog_box_right img { width: 360px; height: 223px; }



  


   #sidebar { width: 200px; }
 



  



    .t1_search_cont { width: 160px; }



    .t1_search_cont input[type=text] { width: 140px; }  



  



    .footer_box_cont { float: left; width: 220px; margin-right: 24px; }  



    .footer_box_cont_last { margin-right: 0; }







}











@media screen and (max-width: 480px) {







    #main_container { width: 300px; }



  



    .head_social_cont { display: none; }



    .logo { float: none; max-width: 300px; height: inherit; }



  



    .head_menu_cont ul li a { padding: 5px 10px; }



  



    #slideshow_cont { display: none; }



  



    .home_post_box { width: 300px; height: 300px; margin: 0 auto 25px; }



    .home_post_box img { width: 300px; height: 300px; }  


    .home_post_text_back { width: 300px; height: 300px; }  



    .home_post_text { width: 280px; padding: 5px 10px; }



  



    .single_content { width: 300px; float: none; }



    .single_inside_content img { max-width: 300px; height: inherit; }



    .blog_box_left { float: none; width: 180px; margin-bottom: 20px; }



    .blog_cat_comm { font-size: 12px; }



  



    .blog_box_right { float: right; width: 300px; font-size: 15px; }



    .blog_box_right img { width: 300px; height: 186px; }  



  



    #commentform textarea { max-width: 280px; }



    #sidebar { display: none; }



  



    .footer_box_cont { width: 300px; margin-right: 0px; margin-bottom: 10px; }







}