/*
Theme Name: AB Accountancy Theme
Theme URI: http://abaccountancy.ie
Description: Accountancy office theme template -- WordPress v3.2.1
Author: Wojciech Guzowski
Author URI: http://wguzowski.pl
Version: 1.2
*/
@font-face {
    font-family: 'CaviarDreamsRegular';
    src: url('fonts/caviardreamspl-webfont.eot');
    src: url('fonts/caviardreamspl-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/caviardreamspl-webfont.woff') format('woff'),
         url('fonts/caviardreamspl-webfont.ttf') format('truetype'),
         url('fonts/caviardreamspl-webfont.svg#CaviarDreamsRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@media screen {

* {
	margin:0; padding:0;
}

article, aside, figure, footer, header, nav, section { display: block; }

.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.group { display: inline-block; clear: both; }
/* start commented backslash hack \*/ * html .group { height: 1%; } .group { display: block; } /* close commented backslash hack */

body {
	font:normal 14px/1.2 Arial, serif;
	color:#525252;
	background:#F3F3F3 url("images/blue-bg.jpg") repeat-x;
}

h2{
	color:#1582CE;
	font:normal 24px CaviarDreamsRegular, sans-serif;
	/*Sprawdzic to!!*/
	margin-bottom:20px;
}
#slider h2 a{
	color:#FFF;
}
h4{
/*	font:normal 18pt CaviarDreamsRegular, sans-serif;*/
}
a{
	text-decoration:none;
	color:#1582CE;
}
p{
	font-size:14px;
	line-height:18px;
}
#masthead{
	margin-top:11px;
	padding-bottom:30px;
	background:url("images/bg-header.jpg") no-repeat bottom right;

}
#masthead h1 a{
	width:255px;
	height:0;
	padding-top:141px;
	overflow:hidden;
	display:block;
	background:url("images/logo3.png") no-repeat;
}
#masthead h1{
	float:left;
	margin:30px 0 0 70px;
}
#masthead blockquote{
	float:right;
	width:545px;
	height:0;
	padding-top:23px;
	margin:90px 40px 0 0;
	overflow:hidden;
	background: url("images/main-quote2.png") no-repeat;
}
.wrapper{
	max-width:960px;
	margin:0 auto;
}
.wrapper.main{
	background:url("images/poswiata.jpg") no-repeat top center;
}
/*NAV*/
nav{
	height:88px;
	margin:0 0 10px 0;
	background:#3E3E3E url("images/menu-bg.jpg") repeat-x;
}
#menu-main-nav, #menu-main-naven, #services-slider ul, #latest-news ol, #footer-nav ul{
	list-style:none;
}
#menu-main-nav li{
	float:left;
	height:88px;
	/*width:157px;*/
	border-right:1px solid #2d2d2d;
	border-left:1px solid #4f4f4f;
}
#menu-main-nav li:first-child{
	border-left:none;
}
#menu-main-nav li:last-child{
	border-right:none;
}
#menu-main-nav a{
	display:block;
	height:46px;
	padding:22px 15px 0;
	text-align:center;
	margin:10px;
	font-size:14pt;
	font-family:"CaviarDreamsRegular", sans-serif;
	color:white;
}
#menu-main-nav li a:hover{
	background-color:#272727;
}

/*end of NAV*/
/*SERVICES SLIDER*/
#services-slider{
	position:relative;
	margin-bottom: 30px;
}
#slider-wrap{
	width:960px;
	height:549px;
	overflow:hidden;
}
#slider{
	position:relative;
	top:0;
	left:0;
}
#slider p a{
	display:block;
	text-align:center;
	margin-top:10px;
	color:yellow;
	font-weight:bold;
}
#services-slider article{
	padding:30px 0 0 0;
	width:320px;
	height:250px;
	text-align: center;
}
#services-slider p{
	padding:20px;
	font-size:9pt;
	line-height: 1.6;
	text-align: justify;
}
#services-slider h2{
	color:#FFF;
}
#slider li{
	float:left;
	color:#FFF;
}
#slider h2{
	height:56px;
}
#services-slider li div{
	width:320px;
	height:253px;
	overflow:hidden;
}
#slider li:nth-child(3n+1) article{/*1,4,7...*/
	background-color:#1582ce;
	border-top:8px solid #0b71b8; border-bottom:8px solid #0b71b8;
}
#slider li:nth-child(3n+2) article{/*2,5,8...*/
	background-color:#208fdc;
	border-top:8px solid #157ec7; border-bottom:8px solid #157ec7;
}
#slider li:nth-child(3n+3) article{ /*3,6,9...*/
	background-color:#2aa2f6;
	border-top:8px solid #1990e4; border-bottom:8px solid #1990e4;
}

#prev-btn{
	left:7px;
	background:url("images/arrows.png") no-repeat left;
}
#next-btn{
	right:7px;
	background:url("images/arrows.png") no-repeat right;
}
.slider-btn{
	position:absolute;
	top:275px;
	width:30px;
	height:30px;
	cursor:pointer;
}
/*End of SERVICES SLIDER*/
/*ASIDE*/
aside{
	float:left;
	width:300px;
	min-height:200px;
}
#latest-news{
	background:#CAE6FA;
}
#latest-news h3{
	float:right;
	width:230px;
}
#latest-news h3 a{
	font-size:14px;
	color:#686868;
}
#latest-news h3 a:visited{
	color:#858484;
}
#latest-news p{
	float:right;
	width:215px;
	font-size:12px;
	color:#878686;
	padding:0 0 0 20px;
}
#latest-news ol{
	margin: 20px 0 10px 0;
	padding:0 10px 10px;
}
#latest-news ol li{
	padding:10px 0 10px 0;
	border-bottom:1px dashed #88CCFC;
}
#latest-news time{
	float:left;
	height:42px;
	width:42px;
	-webkit-border-radius:8px;
	-moz-border-radius: 8px;
	border-radius:8px;
	background:url("images/data-bg.jpg") repeat-x;
	text-align:center;
	color:#FFF;
}
#latest-news time span{
	display:block;
}
#latest-news time .d{/*day*/
	font-size:16pt;
	line-height: 19px;
}
#latest-news time .m{/*month*/
	font-size:11pt;
	line-height: 15px;
	margin-top:-2px;
}
#latest-news time .y{/*year*/
	font-size:8pt;
	margin-top:-2px;
}
/*End of ASIDE*/

/*Main content*/
#main-content{
	/*float:right;
	width:640px;*/
	margin:0 0 20px 10px;
}
#main-content p{
	text-align:justify;
	margin:10px 0;
}
.tags, .tags a{
	color:#a7a7a7;
}
section.col-2 img{
	border:4px solid #393939;
}
section.col-2{
	float:left;
	/*width:313px;*/
  width:31%;
  margin-left:1%;
  margin-right:1%;
}
section.col-2.first{
	margin-right:14px;
}
.btn-more{
	background:url("images/btn-more.jpg");
	padding:3px 7px 5px 7px;
	font-size:14px;
	font-family:"CaviarDreamsRegular", sans-serif;
	float:right;
	color:white;
	border:1px solid white;
	box-shadow:0 0 3px #727272;
	-moz-box-shadow:0 0 3px #727272;
	display:block;
}
.btn-more:hover{
	background:url("images/btn-more-hover.jpg");
}
/*strony*/
#main-content article{
	border-bottom:10px solid #ccc;
	padding-bottom:20px;
	margin-bottom:15px;
}
img.article-img{
	float:left;
	margin:0 15px 20px 0;
	border:4px solid #393939;
  max-width:100%;
}
#mapka{
	float:none;
	display:block;
	margin: 20px auto;
}
#main-content article header{
	border-bottom:1px dashed #ccc;
	position:relative;
}
#main-content article header h2{
	float:left;
}
#main-content article .meta{
	text-transform: uppercase;
	font-size:8pt;
	color:#727272;
	float:right;
	padding-bottom:3px;
	position:absolute;
	right:0;
	bottom:0;
}
#main-content #price-list li{
	list-style:none;
	padding-left:15px;

	margin-bottom:10px;
		background:url("images/square.jpg") no-repeat left;
}
#main-content #price-list span{
	width:280px;
	display:block;
	float:left;
}
#main-content article .price{
	font-weight:bold;

}
#main-content article p{
	line-height:20px;
}
#main-content article ul{
	list-style: square;
	margin-left:30px;
}
#main-content article ul li{
	margin-bottom:10px;
	line-height:18px;
}
#main-content article h4 {
	/*color:#1582CE;*/
	font-size:16px;
	font-weight:bold;
	margin-bottom:10px;
}
#main-content h3{
	color:#1582CE;
	font:normal 20px CaviarDreamsRegular, sans-serif;
	margin:10px 0 10px;
}
h3.clear-left{
	clear:left;
}
span.znizka{
	font-size:24px;
	color:red;
}
span.imp{
	color:#FF0000;
	text-decoration:underline;
	font-weight: bold;
}
p.rules{
	font-size:12px;
}
.scroll{
	padding-left:17px;
	background:url("images/scroll.png") no-repeat 4px;
	float:right;
}
.back{
	padding-left:22px;
	background:url("images/back.png") no-repeat 4px;
}
.scroll, .post-edit-link, .back, .next-posts, .prev-posts {
	font-size:12px;
	text-transform: uppercase;
	margin-top:-5px;
}

/*End of MAIN CONTENT*/
/*Footer*/
footer{
	margin:60px 0 0 0;
	height:130px;
	background-color:#393939;
	border-top:1px solid #111111;
	color:#aeaead;
	/*font-size:12px;*/
	clear:both;
}
footer strong{
	color:#FFF;
}
footer a{
	color:#AEAEAD;
	text-decoration:underline;
}
footer a:hover{
	color:white;
}
footer a:visited{
	color:#89716c;
}
#copyright, #footer-nav, #footer-address{
	float:left;
	margin-top:15px;
}
#copyright{
	width:300px;
}
#footer-nav{
	width:200px;
}
#footer-nav li{
	float:left;
	margin-right:10px;
}
#footer-address{
	float:right;
	width:450px;
	position:relative;
}
#footer-address img{
	position:absolute;
	left:250px;
	top:0;
}
/*End of FOOTER*/
}
@media(max-width:960px){
  nav{
    height:auto;
    background-repeat: repeat;
  }
  #menu-main-nav{
    text-align:center;

  }
  #menu-main-nav li{
    float:none;
    display:inline-block;
    border:none;
  }
  #masthead{
    background:none;
  }
  #masthead blockquote{
    float:none;
    margin:0 auto;

  }
  #masthead h1 a{
    margin:0 auto 20px;
  }
  #masthead h1{
    float:none;
    margin:auto;
    padding-top:10px;
  }
  #main-content{
    width:96%;
    margin:2%;
  }
  #services-slider li{
    width:33%;
  }
  #services-slider article, #services-slider li div{
    width:100%;
  }
  /*#services-slider li div.thumb{
    background:none !important;
  }*/
  /*#services-slider li div{
    width:100%;
  }*/
  #services-slider img{
    max-width:100%;
    height:200%;
  }
  section.col-2{
    width:46%;
  }
  section.col-2:first-child{
    /*margin-right:6%;*/
  }
  .home img.article-img{
    float:none;
    width:98%;
  }
  #copyright{
    width:30%;
  }
  #footer-nav{
    width:20%;
  }
  #footer-address{
    width:40%;
  }
  #footer-address img{
    display:none;
  }
  #copyright, #footer-nav, #footer-address{
    margin-left:1%;
    margin-right:1%;
  }
  #slider-wrap{
    width:99%;
    margin:1%;
  }
  #main-content article p img{
    max-width:98%;
  }
  .cform{
    width:100% !important;
  }
  .linklove{
    width:100% !important;
  }
}
@media(max-width:560px){
  section.col-2{
    width:100%;
    float:none;
    clear:both;
  }
  #masthead blockquote{
    background:none;
    height:auto;
    color:#f6ff00;
    font-family:"CaviarDreamsRegular", sans-serif;
    text-align:center;
    font-size:18px;
    width:100%;
  }
  #copyright, #footer-nav, #footer-address{
    float:none;
    width:100%;
    clear:both;
  }
  #footer-address{
    margin-top:7%;
  }
  footer{
    height:auto;
    padding:2%;
  }
  #slider li{
    float:none;
  }
  #services-slider li{
    width:100%;
  }
  #services-slider li div{
    height:auto;
  }
  #services-slider li div.thumb{
    display:none;
  }
  #slider-wrap,#services-slider article{
    height:auto;
  }
  #slider h2{
    height:auto;
    margin-bottom:0;
  }
  #slider-wrap{
    width:100%;
    margin:0;
  }
  .home img.article-img{
    margin-right:0;
    width:97%;
  }
  .wrapper.main{
    background:none;
  }
}
