/*
Theme Name: DesignPile
Author: Site5.com
Modified by: Vladimir Bystriansky
Author URI: http://www.vlabys.com/
Description: Tému modifikoval Vladimír Bystrianský. Ak máte záujem dozvedieť sa viac, navštívte <a href="http://vlabys.com">vlabys.com</a>.
*/

/* -------------------------------
BODY STYLES
----------------------------------*/

* {
  margin: 0;
  padding: 0;
}

body {
  color: #333;
  background:url(images/bk_body.jpg);
  font-family:Arial, Helvetica, sans-serif;
  font-size:13px;
  line-height:135%;
}

/*----------------------------------------------------
BASIC HTML ELEMENTS STYLES
------------------------------------------------------*/



a:hover {
  text-decoration: none;
}

a:focus {
	outline:none;
}

h1 {
	font-size:26px;
	letter-spacing:-1px;
	font-weight:normal;
	padding:10px 0 12px;
	font-style:italic;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:100%;
}

h1 a {
	text-decoration:none;
	border-bottom:1px dotted #fe23a8;
}

h1 a:hover {
	border:none;
}

h2{
	font-size:20px;
	font-weight:normal;
	font-style:italic;
	font-family:Georgia, "Times New Roman", Times, serif;
	letter-spacing:-1px;
	padding:10px 0;
} 


ul {
	list-style:none;
}

p {
	margin:0.7em 0;
}


/* -------------------------------
LAYOUT STRUCTURE
----------------------------------*/

#mainWrapper {
	background:url(images/bk_wrapper.png) 0 0 repeat-x;
	margin:0;
	padding:0;
}

#wrapper {
	width:100%;
	max-width:960px;
	margin:0 auto;
}

#header {
	background:url(images/bk_header.png) 90% 0 no-repeat;
	height:171px;
	position:relative;
}

#content {
	
}

#colLeft {
	float:left;
}

#colLeftInner {
	width:632px;
	background:#fff;
	padding:25px 24px 35px;
	min-height:500px;
}

#colRight {
	float:left;
	width:280px;
	border-top:1px solid #1d1d1d;
}

#footer {
	background:url(images/bk_footer.png) 0 0 repeat-x;
	padding-top:40px;
	padding-bottom:25px;
	margin-top:15px;
}

#footerInner {
	width: 100%;
	max-width:960px;
	margin:0 auto;
	color:#797979;
}

#copyright {
	border-top:1px solid #1D1D1D;
	background:#000;
}

#copyrightInner {
	width:100%;
	max-width:960px;
	margin:0 auto;
	font-size:11px;
	color:#515151;
	padding:20px 0;
	position:relative;
}

/* -------------------------------
HEADER ELEMENTS
----------------------------------*/

#logo {
	position:absolute;
	left:0;
	top:45px;
}

#logo img {
	border:none;
}

/* Top menu */

#topMenuCont {
	background:url(images/bk_top_left.png) 0 0 no-repeat;
	height:68px;
	padding:0 0 0 25px;
	position:absolute;
	right:0;
	top:50px;
	display:block;
}

#topMenuCont ul{
	padding:13px 25px 13px 0;
	background:transparent url(images/bk_top_right.png) 100% 5px no-repeat;
}
#topMenuCont ul a{ white-space:nowrap;}
#topMenuCont ul li{
	float:left;
	padding:11px 15px 15px;
	background:url(images/bk_top_list.png) 0 0 repeat-x;
	position:relative;
}

#topMenuCont ul li a {
	color:#888;
	font-size:12px;
	text-transform:uppercase;
	text-decoration:none;
	font-weight:normal;
	display:block;
}

#topMenuCont ul li a:hover{
	color:#eee;
}

.icon-css{
	font-weight: 700;
}

li.icon-css a img { 
	display:none;
	}
/* ==== drop down mwenu ======= */

ul#menu-top li:hover { position: relative; z-index: 599; cursor: default; } 
ul#menu-top ul { 
	visibility: hidden; 
	position: absolute; 
	top: 100%; 
	left: 0; 
	z-index: 598; 
	max-width:180px;
	/*width: 100%;*/
	background:none; 
	padding:0; 
	margin-top:-5px;
	
}
ul#menu-top ul li { 
	float: none; 
	padding-bottom:10px;
	background-color:black; 
	background-image:none; 
	border-bottom:1px solid #434343; 
	max-height:40px;
}
ul#menu-top ul li a{ text-overflow: ellipsis; overflow: hidden;
    text-overflow: ellipsis;}
ul#menu-top ul li ul {display:none;}
ul#menu-top li:hover > ul { visibility: visible; }


#socialLinks {
	margin:10px 5px;
}

#socialLinks li{
	float:left;
	padding-left:10px;
}

#socialLinks li img {
	border:none;
	max-width:28px;
	max-height:28px;	
}

#socialLinks li a:hover img {
	margin-top:-2px;
}

#getSocial {
	display:none;
	width:114px;
	height:41px;
	background:url(images/get_social.png) 0 0 no-repeat;
	float:right;
	margin-right:-114px;
	margin-top:100px;
}

/*--------------------------------
CONTENT ELEMENTS
----------------------------------*/
#archive-title, .searchQuery {
	font-size:10px;
	color:#b2b2b2;
	display:block;
	background:url(images/bullet_star_featured.png) 0 50% no-repeat;
	padding-left:16px;
	line-height:100%;
	text-transform:uppercase;
	margin-bottom:10px;
}

.alignleft {
	float:left;
	margin:5px 10px 5px 0;
}

.alignright {
	float:right;
	margin:5px 0 5px 10px;
}

#colLeft img {
	border:none;	
}

span.author, span.author a {
	color:#333;	
}

.navigation {
	/*width:675px;*/
	clear:both;
}

.gallery-caption {
	margin:0 auto !important;
	font-size:10px;
	max-width:100px;
	text-align:left;
	line-height:110%;
}

/* HOMEPAGE FEATURED POST */

#featuredPost {
	margin-bottom:20px;
}

#featuredPost .label {
	font-size:10px;
	color:#b2b2b2;
	display:block;
	padding-left:16px;
	line-height:100%;
}

#featuredPost .meta {
	font-size:11px;
	color:#999;
	background:url(images/bk_featured.jpg) 0 100% repeat-x;
	padding-bottom:12px;
}

#featuredPost a.author {
	color:#333;
} 

#featuredPost .featuredDetails {
	background:url(images/bk_featured.jpg) 0 100% repeat-x;
	padding:20px 0;
	font-size:14px;
}

#featuredPost .featuredDetails p {
	margin:0 0 15px;
}

#featuredPost .featuredDetails a img {
	border:none;
}

/* HOMEPAGE POSTS LIST */

.off_mobil { display:block; }
.on_mobil { display:none; }

.homePost {
	float:left;
	width:300px;
	padding:0 10px 0 0;
	border-bottom:1px dashed #b2b2b2;
	border-right:1px dashed #b2b2b2;
	margin-top:10px;
	min-height:290px;
}

.homePost .date {
	background:url(images/bk_date.jpg) 0 0 no-repeat;
	width:54px;
	text-align:center;
	font-family:Georgia, "Times New Roman", Times, serif;
	padding-top:18px;
	line-height:120%;
	float:left;
	margin-right:10px;
	margin-bottom:40px;
}

.homePost div {
	margin:0.5em 0;
}

.homePost h2{
	padding-top:0;
	padding-bottom:5px;
	line-height:110%;
	height:45px;
}

.homePost h2 a {
	text-decoration:none;
}

.homePost .date span {
	font-size:20px;
	font-weight:bold;
}

.homePost .meta {
	font-size:11px;
	color:#999;
	padding-bottom:6px;
	padding-top:6px;
}

.homePost a.author {
	color:#333;
} 

#colLeftInner .even {
	border-right:none;
	padding-right:0;
	padding-left:20px;
}

.homePost div img {	
	background:transparent url(images/bk_thumb.png) 0 0 no-repeat ;
	float:left;
	margin:0 10px 30px 0;
	padding:2px 4px 4px;
	border:none;
}

/* GENERAL POSTS LIST AND SINGLE POST */

.blogPost {
	margin-bottom:20px;
	border-bottom:1px solid #D7D7D7;
}

.blogPost .meta {
	font-size:11px;
	color:#999;
	background:url(images/bk_featured.jpg) 0 100% repeat-x;
	padding-bottom:15px;
	margin-bottom:20px;
}

.blogPost a.author {
	color:#333;
} 

.blogPost .date {
	background:url(images/bk_date.jpg) 0 0 no-repeat;
	width:54px;
	text-align:center;
	font-family:Georgia, "Times New Roman", Times, serif;
	padding-top:18px;
	line-height:120%;
	float:left;
	margin-right:10px;
	margin-bottom:40px;
}

.blogPost .date span {
	font-size:20px;
	font-weight:bold;
}

.blogPost p, #colLeftInner .page p {
	font-size:14px;	
	line-height:1.5em;
	margin:1em 0;
}

#colLeftInner .page {
	font-size:14px;		
}

.blogPost .postTags {
	font-size:13px;	
	background:url(images/ico_tag.png) 0 50% no-repeat;
	padding-left:24px;
	margin:25px 0 20px;
}

.blogPost img {max-width:95%; height:auto}

a.more-link {
	display:block;
	width:91px;
	height:28px;
	text-indent:-9999px;
	clear:both;
	border:none;
	margin:-5px 0 15px;
}

.postauthor {
	background:#F4F4F4;
	border:1px dashed #D2D2D2;
	padding:15px 18px;
	-moz-border-radius-bottomleft:6px;
	-moz-border-radius-bottomright:6px;
	-moz-border-radius-topright:6px;
	-moz-border-radius-topleft:6px;
	margin-bottom:20px;
	margin-top:20px;
}

.postauthor img {
	float:left;
	margin-right:10px;
	padding:4px;
	background:#fff;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
}

/* POST SOCIAL SHARE */

.social {
	margin:20px 0 15px;
	padding: 0 0 15px;
	border-bottom:1px solid #D7D7D7;
}

.social a:hover img {
	margin-top:-4px;	
}

.social img {
	border:none;
	vertical-align:middle;
}

.social strong {
	padding-right:20px;	
}

.navigation .alignleft a{
	display:block;
	width:150px;
	height:32px;
	background:url(images/but_prev.png) 0 0 no-repeat;
	margin-top:15px;
	text-indent:-9999px;
}

.navigation .alignright a{
	display:block;
	width:122px;
	height:32px;
	background:url(images/but_next.png) 0 0 no-repeat;
	margin-top:15px;
	text-indent:-9999px;
}

#colLeftInner ul{
	list-style-type:disc;
	list-style-position:inside;
}

#colLeftInner ol {
	list-style-position:inside;
}

blockquote {
	border-left:1px dashed #aaa;
	padding-left:20px;
	margin:15px 0 15px 20px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	background:url(images/bk_blockquote.jpg) 90% 0 no-repeat;
}

/*--------------------------------
COL RIGHT
----------------------------------*/

.boxRight {
	border:1px solid #434343;
	border-left:none;
	background:url(images/bk_rightbox.jpg) 0 0 repeat-y;
	margin:15px 0 15px 15px;
	padding-top:8px;
}

.boxRightInner {
	padding:0 10px 15px;
	color:#888;
}

.boxRight h2 {
	display:block;
	margin-right:-5px;
	height:38px;
	line-height:30px;
	padding:0 0 0 15px;
	text-transform:uppercase;
	font-size:15px;
	font-style:normal;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	letter-spacing:normal;
}


.boxRight ul li {
	padding:8px 6px 8px 18px;
	border-bottom:1px solid #434343;
}

.boxRight ul li a {
	text-decoration:none;
	display:block;
}


/* ADS */

#ads {
	padding:15px 0 0;
}

#ads div div {
	margin:8px 0 0 10px;
	float:left;
}

#ads div div a img {
	border:1px solid #414141;	
}

/*--------------------------------
FOOTER
----------------------------------*/

#footerInner .boxFooter {
	float:left;
	width:295px;
	padding-right:25px;
}

#footerInner h2 {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:20px;
	border-bottom:1px solid #363636;
	padding:7px 0 7px 16px;
	margin-bottom:7px;
}

#footerInner .boxFooter ul li {
	padding:5px 6px 5px 18px;
	border-bottom:1px solid #292929;
}

#footerInner .boxFooter ul li a {
	text-decoration:none;
	display:block;
}

#site5bottom {
	position:absolute;
	right:5px;
	top:13px;
}

#site5bottom img {
	border:none;
}

/* COMMENTS
------------------------------------------*/

h2#comments {
	display:block;
	background:url(images/ico_h2_comments.png) 0 50% no-repeat;
	padding:15px 0 15px 40px;
}

h2#commentsForm {
	display:block;
	background:url(images/ico_h2_form.png) 0 50% no-repeat;
	padding:10px 0 10px 40px;
}

#colLeft ul.commentlist {
	list-style:none;
	list-style-position:outside;
	display:block;
	margin:20px 0 0;
}

#colLeft ul.commentlist ul {
	list-style-type:none;
	list-style-position:outside;
}

#colLeft ul.commentlist li {
	padding:12px 20px;
	position:relative;
	border:1px dashed #ccc;
	margin-left:15px;
	margin-bottom:20px;
}

#colLeft ul.commentlist li .comment-meta, #colLeft ul.commentlist li .text  {
	margin-left:20px;	
}

#colLeft ul.commentlist li .comment-meta span {
	font-size:11px;
	color:#999;
}


#colLeft ul.commentlist li .avatar {
	background:#fff;
	padding:3px;
	border:1px solid #ccc;
	position:absolute;
	left:-15px;
	top:-7px;
}

#colLeft ul.commentlist .reply {;
	margin-left:20px;
	margin-top:-5px;
}

#colLeft ul.commentlist .reply a {
	font-size:11px;
	/*position:absolute;
	bottom:10px;
	left:34px;*/
	color:#3293C2;
	
}

#colLeft ul.commentlist li .children li {
	background:#fff;
	margin-left:20px;
	margin-top:15px;
	
}

/* FORMS
-------------------------------------------*/
#searchBox {
	background:url(images/bk_shadow.png) 0 100% repeat-x;
	padding:20px 0;
	padding-left:10px;
	margin:0;
}

#searchBox label {
	display:block;
	float:left;
	width:50px;
	background:url(images/search_label.png) 0 0 no-repeat;
	height: 24px;
	margin-top: 8px;
}

#searchform input {
	border:none;
	background:url(images/search_input.png) 0 0 no-repeat;
	padding:13px 3px 7px 12px;
	color:#666;
	width:158px;
	float:left;
	margin-left:10px;
}

#searchform input#searchsubmit {
	width:21px;
	height:30px;
	border:none;
	cursor:pointer;
	padding:0;
}

/* Post comment */

#commentform p {
	margin:0;
}

#commentform label {
	display:block;
	padding:5px 0;
}

#commentform input, #commentform textarea {
	border:1px dashed #ccc;
	padding:8px;
	width:300px;
	margin-bottom:10px;
	background:url(images/bk_input.jpg) 0 0 repeat-x;
}


#commentform textarea {
	width:80%;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}

#commentform input#submit{
	border:none;
	width:116px;
	height:30px;
	margin-top:10px;
	cursor:pointer;
}

/* Contact Form */

#contact label {
	display:block;
	padding:5px 0;
}

#contact input, #contact textarea {
	border:1px dashed #ccc;
	padding:8px;
	width:300px;
	margin-bottom:10px;
	background:url(images/bk_input.jpg) 0 0 repeat-x;
}


#contact textarea {
	width:500px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}

#contact input.submit{
	border:none;
	width:122px;
	height:34px;
	margin-top:10px;
	cursor:pointer;
	text-indent:-9999px;
}
.errormsg, .successmsg{
	background:#FEF4F1;
	border:1px dashed #F7A68A;
	color:#DA4310;
	padding:10px;
}

.successmsg {
	background:#F5FAF1;
	border:1px dashed #C2E1AA;
	color:#8FA943;
}

/* -------------------------------
CLEARING
----------------------------------*/

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
  float: none;
}

.clearfix { 
  display: block;  
}


/* Hide from IE-mac \*/
* html .clearfix { float: left; height: 1%; }
/* End hide from IE-mac */


@media only screen and (max-width: 980px) {
#wrapper {max-width:680px}
   #colLeftInner {width: 330px; }
   #colRight {width:39%;}
   #topMenuCont {position:relative; float:left; display:block;}
   #header { height:auto; overflow:hidden; padding-bottom:100px; background: url("http://images.ai/wp-content/themes/designpile/images/bk_header.png") 100% 100% no-repeat transparent;}
   #footerInner {max-width:680px}
   #footerInner .boxFooter {width: 29%;}
   #logo { position:relative}
   .homePost { border-right:none; }
	#socialLinks li img {
	border:none;
	max-width:24px;
	max-height:24px;	
	}
.off_mobil { display:none; }
.on_mobil { display:block; }
}
@media only screen and (max-width: 639px) {
   #wrapper, #topMenuCont, #topMenuCont ul li {width:100%}
   #logo a {display:block}
   #logo img{ max-width:80%; margin:5px 0; float:left} 
   #logo {top:0;}
   #header { background:none; padding-bottom:0px; }
  .homePost {width:90%; border-right:none; min-height:auto;}
  .homePost h2 {overflow: hidden;}
   #colLeftInner {width:98%; padding:20px 10px}
   #colLeftInner .even {padding:0;}
   #featuredPost .featuredDetails {padding:15px 0;}
   #footer, .boxRight.widget_archive {display:none;}
   #copyright {clear:both}
	li.icon-css a { 
	border: 1px solid #333333;
	display: block;
	float: right;
	height: 32px;
	margin: 4% 4% 0 0;
	padding: 0px 3px;
	width: 32px;
	}

	li.icon-css a img { 
	display:block;
	}
   #getSocial {display:none;}
   /* TOP MENTU */
   #topMenuCont, #topMenuCont ul {background-image:none; padding:0; float:none; top:auto;}
   #topMenuCont {padding:0; height:100%; display:none;overflow: hidden;}
   #topMenuCont ul li {padding:0;}
	
   ul#menu-top ul { 
	visibility: visible; 
	position:relative; 
	width: 100%;
	padding:0; 
	margin-top:0px;
	max-width:none;
   }
   ul#menu-top ul li { 
	float: none; 
	padding:0;
	background-color:transparent;
	border-bottom:none;
	background: url("http://images.ai/wp-content/themes/designpile/images/bk_top_list.png") 0px 0px repeat-x transparent;
   }
   #topMenuCont ul li a {
   padding: 11px 15px 11px;
   }
   #topMenuCont ul li ul li {
   padding-left:10px;
   }
	/* RIGHT MENU */
	#colRight {width:100%}
	.boxRight { 
	background: url("http://images.ai/wp-content/themes/designpile/images/bk_rightbox.jpg") 0px 0px repeat;
	}
	.boxRight h2 { 
	background: url("http://images.ai/wp-content/themes/designpile/images/pink/bk_h2_right.png") 0px 0px repeat !important;
	}

	/* CONTENT */
	.blogPost img {max-width:205px; display:block; clear:both; float:none;}
	.wp-caption {max-width:205px;}
	.wp-caption-text {display:none}
	.gallery-item { float:none !important; }
   .homePost div img { float:none; }
   .off_mobil { display:none; }
   .on_mobil { display:block; }
}