/*

Theme Name: Mini Portfolio Responsive Theme

Theme URI: http://www.dessign.net/miniportfoliotheme/

Description: Mini Portfolio Responsive Theme for WordPress with is stylish, customizable, simple, and readable. Perfect for any illustrator, designer and blogger. 

Version: 2.0

Author: Marios Lublinski

Author URI: http://www.dessign.net

Tags: 3 column theme, clean, portfolio, designer

*/

/* =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: 'Raleway', sans-serif; color: #333; line-height: 22px; }

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: #333; text-decoration: none; }

a:hover { color: #666; }

::selection {



	background: #c9dee3; 



	}



::-moz-selection {



	background: #c9dee3; 



}



#main_container { width: 980px; margin: 20px 0 0 10px; }



/* Sidebar */

.logo { margin: 1px 0 0 1px; }

#sidebar { float: left; width: 240px; }

#sidebar ul { list-style-type: none; margin: 25px 0 0px; padding: 0; }

#sidebar ul li { margin-bottom: 2px; font-size: 12px; font-family: 'Raleway', sans-serif;  text-transform: uppercase;}

#sidebar ul li a { display: block; padding: 5px 20px; color: #333; text-decoration: none; background-color: #fff; border-left: 2px solid #eee; }

#sidebar ul li a:hover { border-left: 2px solid #000; }

#sidebar ul li.current-menu-item a, #sidebar ul li.current_page_item a { border-left: 2px solid #000; }

.side_text_cont { padding: 15px 0; font-size: 12px; line-height: 19px; }

.side_social { padding: 0px 0 15px; }

.side_social img { float: left; margin-right: 10px; }

#sidebar_right { float: right; width: 200px; margin-top: 25px; }

.side_box { margin-bottom: 30px; }

.side_box h3.side_title { margin: 0 0 10px; font-size: 13px; font-weight: bold; }

.side_box ul { list-style-type: none; margin: 0; padding: 0; }

.side_box ul li { margin-bottom: 10px; }

/* Content */

#content_cont { width: 740px; float: left; }

#slideshow_cont { width: 980px; position: relative; }

#slideshow { width: 1011px; height: 310px; overflow: hidden; position: relative; }

#slideshow img { width: 1011px; height: 310px; display: none; position: absolute; top: 0; left: 0; z-index: 5; }

#slideshow img.first_img { display: block; }

.slide_prev { position: absolute; left: 35px; top: 140px; z-index: 10; cursor: pointer; display: none; }

.slide_next { position: absolute; right: 35px; top: 140px; z-index: 10; cursor: pointer; display: none; }

.home_post_box { float: left; width: 225px; height: 200px; position: relative; cursor: pointer; margin: 10px; }

.home_post_box img { width: 225px; height: 200px; border-radius: 4px 4px 4px 4px; }

.home_post_box_hover { position: absolute; left: 25px; top: 118px; width: 250px; height: 25px; background-color: #000; display: none; color: #fff; font-size: 11px; text-align: center;  }

.home_post_box_hover p {   display: table-cell;  vertical-align: middle;  margin: 0; padding: 0; text-align: center; }

.archive_nav_cont { padding: 30px 0 10px; }

.archive_nav_cont .left a { display: block; width: 110px; height: 25px; background: url('images/archive-prev.jpg') no-repeat; }

.archive_nav_cont .right a { display: block; width: 110px; height: 25px; background: url('images/archive-next.jpg') no-repeat; }

#single_cont { float: left; width: 700px; padding-top: 15px; border-left: 1px solid #EEEEEE; padding-left: 20px;}

.blog_box { margin-bottom: 25px; cursor: pointer; }

.blog_box h3 { margin: 0 0 10px; font-size: 18px; font-weight: normal; }

.blog_box_img { width: 550px; height: 250px; position: relative; }

.blog_box_img img { width: 550px; height: 250px; border-radius: 5px 5px 5px 5px; }

.blog_box_img_hover { position: absolute; top: 10px; left: 10px; width: 480px; height: 230px; background-color: #fff; color: #333; display: none; font-size: 12px; padding: 0 25px; }

.blog_box_img_hover p { display: table-cell; vertical-align: middle; margin: 0; padding: 0; text-align: left; }

h1.single_title { font-size: 18px; margin: 0 0 15px; font-weight: normal; }

.single_inside_content p { margin: 10px 0 15px; }

#commentform input[type=submit] { background-color: #161616; color: #fff; border: 1px solid #6E6E6E; padding: 3px 5px; }

.t1_search_cont { position: relative; width: 160px; }

.t1_search_cont input[type=text] { width: 160px; height: 17px; border: 1px solid #E5E5E5; padding: 3px 5px 3px 5px;  }

.t1_search_icon { position: absolute; top: 6px; right: 3px; }

.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; }

/* Footer */

#footer { padding: 30px 0; text-align: right; font-size: 11px; }

#footer a { text-decoration: none; }

#footer a:hover { color: #666;}

/* for tablet */

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

	

	#main_container { width: 708px; margin: 0 auto; }

	#sidebar { float: none; width: 100%; }

	.side_social { display: none; }

	.logo { margin: 10px 0 0 10px; float: left; max-width: 300px; height: inherit; }

	#sidebar ul { float: left; margin: 0px 0px 0px 25px; width: 170px; }

	.side_text_cont { display: none; }

	

	#content_cont { width: 100%; float: none; }

	#slideshow_cont { width: 708px; }

	#slideshow { width: 708px; height: 217px; }

	#slideshow img { width: 708px; height: 217px; }	

	

	.slide_prev { left: 25px; top: 90px; }

	.slide_next { right: 25px; top: 90px; }	

	

	.home_post_box { width: 215px; height: 180px;  }

	.home_post_box img { width: 215px; height: 180px; }	

	.home_post_box_hover { left: 10px; top: 10px; width: 200px; height: 159px; }

	

	#single_cont { float: left; width: 700px; padding-top: 15px; }

	.single_inside_content img { max-width: 700px; height: inherit; }

	.blog_box_img { width: 620px; height: 330px; position: relative; }

	.blog_box_img img { width: 620px; height: 330px; }	

	.blog_box_img_hover { top: 15px; left: 15px; width: 560px; height: 300px; padding: 0 15px; }

	

	#sidebar_right {  width: 150px; margin-top: 25px; }

	.t1_search_cont { position: relative; width: 150px; }

	.t1_search_cont input[type=text] { width: 130px;  }	

	

}

/* for mobile */

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

	#main_container { width: 320px; margin: 0 auto; }

	#sidebar { float: none; width: 100%; }

	ul#menu { float: left; width: 140px; }

	ul#cat_menu { float: right; width: 140px; }

	#sidebar ul li a { padding: 5px 10px; }

	.side_text_cont { display: none; }

	.side_social { display: none; }

	.logo { margin: 5px 0 0 45px;  max-width: 320px; height: inherit; }

	#sidebar_right { display: none; }

	

	#slideshow_cont { display: none; }

	

	#content_cont {  float: none; max-width: 280px;}

	

	.home_post_box { float: none; width: 300px; height: 270px; }

	.home_post_box img { width: 300px; height: 270px; }		

	.home_post_box_hover { left: 15px; top: 15px; width: 270px; height: 198px;   }

	.single_inside_content img { max-width: 280px; height: inherit; }

	

	#single_cont { float: none; width: 100%; padding-top: 15px; }

	#commentform textarea { max-width: 260px; }

	

	.blog_box_img { width: 280px; height: 150px; position: relative; }



	.blog_box_img img { width: 280px; height: 150px; }	



	.blog_box_img_hover { top: 10px; left: 10px; width: 240px; height: 130px; padding: 0 10px; }



	.blog_box_img_hover p { font-size: 11px; line-height: 18px; }

	#footer { padding: 30px 10px 10px 10px; text-align: left; margin-left: 10px; font-size: 11px; font-family: Georgia, "Times New Roman", Times, serif; color: #a09ea4;}

	

}









/* CUSTOM */

#sidebar_right { float: left; width: 240px; margin-top: 5px; }
.side_box { margin-bottom: 8px; }
.side_box h3.side_title { margin: 10px 8px 10px 0px; padding: 2px; font-size: 13px; font-weight: bold; border-bottom: 1px dotted #ccc; border-top: 1px solid #999;  }
.side_box ul { list-style-type: none; margin: 0; padding: 0; }
.side_box ul li { margin-bottom: 10px; }

.logo {
	display: block;
	margin: 0 auto;
}