@charset "utf-8";
@import url("base.css");

/* ------------------------------------ *
 * --      Często używane klasy      -- *
 * ------------------------------------ */

.invisible {
	visibility: hidden;
}

.disp-n {
	display: none;
}

.fl-l {
	float: left !important;
}

img.fl-l {
	margin: 0 15px 12px 0;
}

.fl-r {
	float: right !important;
}

img.fl-r {
	margin: 0 0 12px 15px;
}

.clear {
	clear: both;
}

.uppercase {
	text-transform: uppercase;
}

.debug { 
	border: 1px solid red;
}

.section {
	border-bottom: 1px dotted #666;
	margin-bottom: 12px;
}

.inner, .section, .cols-3, .cols-2, .cols-4 {
	overflow: hidden;
	position: relative;
}

.cir, .showcase li a, .logoHeading a {
	display: block;
	line-height: 1;
	overflow: hidden;
	text-align: left;
	text-indent: -9999px;
}

.innerBlock {
	display: block;
	margin: 6px 0 0;
}

.grey {
	color: #999;
}

.grey02 {
	color: #666;
}

/* ------------------------------------ *
 * --             LAYOUT             -- *
 * ------------------------------------ */

/* wspólne ustawienia kilku bloków */
#masthead, #mainNav, #pageHeading, #content, #footer {
	margin: 0 auto;
	overflow: hidden;
}

/* nagłówek */
#masthead {
	border-bottom: 1px solid #000;
	margin: 0 auto 1px;
	padding: 21px 15px 28px;
	position: relative;
		z-index: 1;
	width: 930px;
}

/* logo */
#branding, #branding img {
	display: block;
	float: left;
	height: 40px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	width: 259px;
}

/* główna nawigacja */
#mainNav {
	float: right;
	font: 18px/36px Arial, Helvetica, sans-serif;
}

#mainNav li {
	float: left;
	padding: 0 5px;
}

#mainNav a {
	color: #666;
	display: block;
	float: left;
	margin: 4px 0 0;
	padding: 0 5px;
}

#mainNav a:hover {
	border-top: 4px solid #fa0029;
	color: #666;
	margin: 0;
	text-decoration: none;
}

#mainNav a.active {
	border-top: 4px solid #fa0029;
	color: #fa0029;
	cursor: default;
	margin: 0;
}

/* nagłówki podstron jako grafika lub slideshow w wypadku głównej */
#pageHeading {
	position: relative;
		z-index: 2;
	width: 960px;
}

/* slideshow na home
 * DZIAŁANIE:
 * obrazek musi mieć zawsze 960x352 px
 * muszą na nim być bordery, w wypadku, gdy nic by nie wystawało poza nie
 * poza nimi na obrazku białe tło
 * puknty z obrazkami są tak ustawione, że chociaż ich nie widać, 
 * ustawiają się w poziomie jeden za drugim, praktycznie gotowe do oprogramowania 
 */

.slideShow {
	height: 352px;
	top: -23px;
}

.slideShow .flipBar {
	position: absolute;
		right: 9px;
		top: 32px;
		z-index: 2;
}

.slideShow .flipBar a {
	float: left;
	height: 20px;
	margin-right: 6px; 
	width: 20px;
}

.slideShow .prev {
	background: url(../img/common/prev-01.png) no-repeat 0 0;
}

.slideShow .next {
	background: url(../img/common/next-01.png) no-repeat 0 0;
}

.slideShow a:hover {
	background-position: 0 -20px !important;
}

.slideShow ul {
	position: relative;
		z-index: 1;
	white-space: nowrap;
	margin: 0;
}

.slideShow li {
	display: inline; /* stare IE */
	display: inline-block;
}

/* na kontakt */
#contact #pageHeading, #portfolio #pageHeading, #services #pageHeading {
	background: url(../img/common/ph-contact.gif) no-repeat 0 24px;
	height: 162px;
	padding: 24px 0;
}

#portfolio #pageHeading {
	background: url(../img/common/ph-portfolio.gif) no-repeat 0 24px;
}

#services #pageHeading {
	background: url(../img/common/ph-uslugi.gif) no-repeat 50px 24px;
	height: 126px;
}

#work #pageHeading {
	background: url(../img/common/ph-praca.gif) no-repeat 26px 6px;
	border-bottom: 1px solid #858585;
	height: 268px;
	padding: 6px 0 4px;
}

#aDvertisement #pageHeading {
	background: url(../img/common/ph-reklama.gif) no-repeat 0 38px;
	border-bottom: 1px solid #858585;
	height: 57px;
	padding: 38px 0;
}

/* content */
#content {
	padding: 24px 0 12px;
	width: 960px;
}

#home #content { /* na home trochę inaczej ze wzgędu na slideshow */
	padding: 2px 0 12px;
	width: 960px;
}

#work #content {
	padding-top: 0;
}

#aDvertisement #content {
	padding-top: 12px;
}

/* stopka */
#footer {
	border-top: 2px solid #000;
	color: #666;
	font: 11px/18px Arial, Helvetica, sans-serif;
	padding: 3px 0;
	width: 960px;
}

/* *** układy kolumn *** */

.cols-3 > li, .cols-3 > div, .cols-2 > div, .cols-4 > div, .cols-4 > li {
	float: left;
	padding: 0 20px 0 0;
	width: 300px;
}

/* dwie */

.cols-2 {
	padding: 24px 0;	
}

#aDvertisement .cols-2 {
	padding-bottom: 0;
}

.cols-2 > div + div {
	padding-right: 0;
}

#aDvertisement .cols-2 > div + div {
	float: right;
}

.cols-2 > div:first-child {
	width: 620px;
}

/* trzy */
.cols-3 {
	border-bottom: 1px solid #858585;
	padding-bottom: 24px;
	margin-bottom: 24px;
}

/* cztery */
.cols-4 {
	border-bottom: 1px solid #858585;
	border-top: 1px solid #858585;
	padding: 36px 0;
	margin: 0 0 36px;
}

.cols-4 > div, .cols-4 > li {
	width: 220px;
}

/* serwisy */
.showcase {
	overflow: hidden;
	padding: 12px 0 24px;	
}

.showcase ul {
	overflow: hidden;
	border-bottom: 1px dashed #ccc;
	padding: 12px 2px;
	margin: 0;
}

.showcase ul:last-child {
	border: 0 none;
	padding-bottom: 0;
}

.showcase li {
	float: left;
	padding: 0 35px 0 0;
	/* odległość po prawej jest stała, ale można ją zwiększyć dodając margin dla logotypu o konkretnej klasie */
}

.showcase li a {
	float: left;
}

.showcase .stylistka {
	background: url(../img/common/logotypes/stylistka.gif) no-repeat 0 -31px;
	height: 31px;
	width: 91px;
}

.showcase .przepisy {
	background: url(../img/common/logotypes/przepisy.gif) no-repeat 0 -22px;
	height: 22px;
	width: 112px;
}

.showcase .fitness {
	background: url(../img/common/logotypes/fitnessonline.gif) no-repeat 0 -21px;
	height: 21px;
	width: 112px;
}

.showcase .fajnamama {
	background: url(../img/common/logotypes/fajnamama.gif) no-repeat 0 -23px;
	height: 23px;
	width: 102px;
}

.showcase .domowy {
	background: url(../img/common/logotypes/magazyndomowy.gif) no-repeat 0 -23px;
	height: 23px;
	width: 149px;
}

.showcase .mamzdrowie {
	background: url(../img/common/logotypes/mamzdrowie.gif) no-repeat 0 -21px;
	height: 21px;
	width: 132px;
}

.showcase .bikeforum {
	background: url(../img/common/logotypes/bikeforum.gif) no-repeat 0 -57px;
	height: 44px;
	width: 57px;
}

.showcase .skiforum {
	background: url(../img/common/logotypes/skiforum.gif) no-repeat 0 -61px;
	height: 61px;
	margin-right: 5px;
	width: 48px;
}

.showcase .freelancer {
	background: url(../img/common/logotypes/freelancer.gif) no-repeat 0 -41px;
	height: 41px;
	width: 108px;
}

.showcase .opentravel {
	background: url(../img/common/logotypes/opentravel.gif) no-repeat 0 -55px;
	height: 55px;
	width: 142px;
}

.showcase li a:hover {
	background-position: 0 0 !important;
}

.showcase li.more a {
	display: block;
	line-height: 18px;
	overflow: visible;
	text-align: left;
	text-indent: 0;
	margin: 24px 40px 0 0;
}

/* kontakt */
.contactFrm label {
	display: none;
}

.contactFrm li {
	margin-bottom: 18px;
}

.contactFrm .textInput {
	width: 230px;
}

.contactFrm textarea.textInput {
	width: 350px;
	height: 200px;
}

/* przyciski */
.but01 {
	background: #eb4c4c url(../img/common/but01.gif) repeat-x 0 0;
	border: 0 none;
	color: #fff;	
	cursor: pointer;
	display: block;
	font: bold 18px/33px Arial, Helvetica, sans-serif;	
	height: 33px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
	text-align: left;
	text-indent: -999px;
	width: 106px;
}

.but01:hover {
	background-position: 0 -33px;
}

/* portfolio */
.projects {
	background: url(../img/common/divider01.gif) no-repeat 0 100%;
	overflow: hidden;
	margin: 0 0 31px;
}

.projects.lastRow {
	background: none !important;
}

.projects ul {
	background: url(../img/common/divider02.gif) repeat-y 50% 0;
	overflow: hidden;	
	padding: 0;
	margin: 0 0 31px;
}

.projects li {
	float: left;
	text-align: center;
	width: 450px;
}

.projects li+li {
	float: right;
}

.projects .screen {
	background: #ccc;
	display: block;
	padding: 9px 0;
	margin: 0 auto 18px
}

.projects .screen:hover {
	background: #fa0029;
}

.projects .screen img {
	border: 1px solid #fff;
	display: block;
	margin: 0 auto;
}

.logoHeading {
	overflow: hidden;
}

.logoHeading a {
	margin: 0 auto
}

.projects .opentravel a {
	background: url(../img/common/opentravel-pf.gif) no-repeat 0 0;
	width: 296px;
	height: 87px;
}

.projects .opentravel a:hover {
	background-position: 0 -87px;
}

.projects .przepisy a {
	background: url(../img/common/przepisy-pf.gif) no-repeat 0 0;
	width: 277px;
	height: 52px;
	margin: 27px auto 8px;
}

.projects .przepisy a:hover {
	background-position: 0 -52px;
}

.projects .mamzdrowie a {
	background: url(../img/common/mamzdrowie-pf.gif) no-repeat 0 0;
	width: 222px;
	height: 51px;
}

.projects .mamzdrowie a:hover {
	background-position: 0 -51px;
}

.projects .innerBlock span {
	border-left: 1px solid #ccc;
	margin-left: 2px;
	padding-left: 5px;
}

/* usługi */
#servicesList > li, #servicesList > div {
	text-align: center;
}

/* praca */
.vacancies {
	margin-bottom: 18px;
}
.vacancies h3 {
	font: bold 12px/18px Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #999;
	margin-bottom: 6px;
}

.vacancies h3 a {
	color: #fa0029;
}	

.announcement {
	color: #666;
	padding: 6px 10px;
}

.announcement ul.bulleted01 {
	padding: 0px;
	margin: 0 0 12px;
}

/* reklama */
.reasons {
	padding: 0 0 0 15px;
	font-size: 14px;
	line-height: 20px;
}

.reasons li {
	color: #010101;
	min-height: 40px;
	padding: 12px 0 12px 55px;
}

.r01 {
	background: url(../img/common/r01.gif) no-repeat 0 50%;
}

.r02 {
	background: url(../img/common/r02.gif) no-repeat 0 50%;
}

.r03 {
	background: url(../img/common/r03.gif) no-repeat 0 50%;
}

#aDvertisement .cols-2 .main {
	border-bottom: 1px solid #ccc;
}

.box {
	padding: 13px;
	border: 4px solid #ddd;
	margin-bottom: 20px;
	font-family: Arial, Helvetica, sans-serif;
}

.phone, .email, .pdf, .xls {
	padding-left: 48px;
}

.email {
	background: url(../img/common/mail.gif) no-repeat 6px 50%;	
}

.phone {
	background: url(../img/common/phone.gif) no-repeat 8px 50%;	
	color: #bbb;
	margin-bottom: 0;
}

.phone b, .phone span {
	color: #555;
}

.phone span {
	display: block;
	font-size: 11px;
}

.pdf, .xls {
	line-height: 38px;
	
}

.xls {
	background: url(../img/common/xls.gif) no-repeat 0 50%;	
}

.pdf {
	background: url(../img/common/pdf.gif) no-repeat 0 50%;	
	margin-bottom: 0;
}

#aDvertisement .showcase {
	padding-bottom: 12px;
}

#aDvertisement .showcase ul {
	border-bottom: 0 none;
}

.categories {
	padding: 0 15px;
}
