/*
Theme Name: Kreatywny Cukier
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,figure,figcaption,footer,header,hgroup,video,canvas,nav,section,time { 
	display:block; 
	}
.wpcf7:after,
.clearfix:after { 
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; 
	}
a {
	text-decoration:none;
	color:#d20;
	}
#slider a {
	color:white;
	}
h1,h2,h3,h4,h5,h6,
#header, #categories,
.pagenav, .navigation {
	font-family: fertigo-pro;
	font-weight:normal;
	}
p, li, h2, table {
	margin-bottom:20px
	}
li li { 
	margin-bottom:0 
	}
ol, ul ul, ol ol,
ul ol, ol ul,
ul p, ol p, dl p {
	margin-bottom:0;
	margin-left:20px;
	}
ul {
	margin-left:13px;
	}
nav ul {
	margin:0
	}

ol li {
  list-style-position:outside;
  list-style:decimal;
  }
dt { 
	font-weight:bold 
	}	
	
table {
	width:100%;
	}
td {
	width:40%;
}
td + td { width:14% }
	
small {
  font-size: 12px;
	}
.alignleft { 
	float:left; 
	margin-right:20px; 
	}
.alignright { 
	float:right; 
	margin-left:20px; 
	}
.aligncenter {
	}
.vertical-positioner { 
	margin-left: auto;
	margin-right: auto;
	width:940px;
  position: relative;
	}
body {
	font: 14px/20px droid-serif, georgia, serif;
	}
#header {
	height:86px;
  padding-top: 29px;
	}
#logo {
  float: left;
}
#menu {
  padding-top: 13px;
}
#menu ul li{
  list-style-type: none;
  float: right;
  margin-left:10px;
}
#menu a {
  float: right;
  padding: 0 20px;
  height:30px;
  line-height:29px;
  font-size: 18px;
  color: #000;
}
#menu a:hover, #menu #redtab, #menu a.hover {
  background: #cba;
  color: #fff;
}
#menu #redtab {
  text-shadow:-1px -1px #900;
  padding:0;
  text-align:center;
  width:100px;
}

.sub-menu {
  position: absolute;
  width: 220px;
  background: #cba;
  z-index: 2;
  top: 43px;
  display: none;
}
#menu .sub-menu li {
  width: 220px;
}
#menu .sub-menu a {
  margin-right: 0;
  background-color: transparent;
  width: 195px;
  padding: 0 12px;
  border-bottom: none;
  text-align: left;
  font-size: 14px;
  color: #fff;
  text-shadow: none;
}

.tag .menu-galeria,
.single .menu-galeria,
.category-torty .menu-galeria,
.category-pierniki .menu-galeria,
.category-galeria .menu-galeria,
.category-aktualnosci .menu-aktualnosci,
.page-id-3624 .menu-cennik,
.page-id-3182 .menu-smaki,
.page-id-3186 .menu-adres {
	background:#F5F2ED;
	color:#000;
	}
.category-aktualnosci .menu-aktualnosci:hover,
.page-id-3624 .menu-cennik:hover,
.page-id-3182 .menu-smaki:hover,
.page-id-3186 .menu-adres:hover {
	background:#F5F2ED !important;
	color:#000 !important;
	cursor:default;
	}
#categories,
#footer,
#section-2 {	
	background-color:#f5f2ed;
	}
#categories,
#footer {
	height:31px;
	padding-top:8px;
	border-bottom:1px solid #fff;
	}

#categories li {
	display:block;
	float:left;
  position: relative;
  margin-right:10px;
	}
#categories li.last {
	margin-right:0;
}
#categories li.pointed a {
   background: none repeat scroll 0 0 #D5C3AF;
   color: white;
   text-shadow: none;
}
#categories li.pointed a.menu-home {
	background:#EEE6DE;
	}
#categories a {
	font-size:18px;
	background:#eee6de;
	text-align:center;
	display:block;
	line-height:31px;
	text-shadow:1px 1px #fff;
	color:#222;	
	}
#categories a  img {
  padding-top: 5px;
}
#categories a:hover, #categories a.hover, #categories li.pointed a:hover  {
	background:#d20;
	color:#fff;
	text-shadow:none;
	}
#categories a.active {
	background:url("images/background-pattern.png");	
	line-height:32px;
	cursor:default;
	} 
#categories a.active:hover {
	color:#000;
	text-shadow:1px 1px #fff;
	} 
.menu-home { width:45px; height:31px }
.menu-torty { width:85px }
.menu-pierniki { width:105px }
.menu-dietetyczne { width:140px }
.menu-weselne { width:120px }
.menu-dla-dzieci { width:120px }
.menu-dla-doroslych { width:155px }
.menu-dla-firm { width:100px }

.home .menu-home,
.page-id-3187 .menu-torty,
.page-id-2537 .menu-pierniki,
.page-id-57 .menu-dietetyczne,
.page-id-2648 .menu-dla-dzieci,
.page-id-2538 .menu-weselne,
.page-id-3187dozmianydozmianydozmianydozmianydozmianydozmiany .menu-dla-doroslych,
.page-id-4726 .menu-dla-firm {
	background:url("images/background-pattern.png") !important;
	height:32px;	
	color:#000;
	}
.home .menu-home:hover,
.page-id-3187 .menu-torty:hover,
.page-id-2537 .menu-pierniki:hover,
.page-id-57 .menu-dietetyczne:hover,
.page-id-2648 .menu-dla-dzieci:hover,
.page-id-2538 .menu-weselne:hover,
.page-id-3187dozmianydozmianydozmianydozmianydozmianydozmiany .menu-dla-doroslych:hover,
.page-id-4726 .menu-dla-firm:hover {
	background:url("images/background-pattern.png") !important;
	height:32px !important;	
	color:#000 !important;
	text-shadow:1px 1px #fff !important;
	cursor:default !important;
	}
#section-1 {
	background:url("images/background-pattern.png");
	border-bottom:1px solid #e9c7b0;	
	min-height:40px;	
	}
#section-1 .vertical-positioner {
	padding:20px 0;
	}
.home #section-1 {
	height:395px;
	}
#pointer {
  position: absolute;
  top: 0;
  left: 12.5px;
}
#slider {
	border:5px solid #fff;
	background:#fff;
	width:930px;
	height:345px;
  position:relative;
  z-index: 1;
	}
#slider img {
  position:absolute;
  top:0px;
  left:0px;
  display:none;
  z-index: 1;
}
#slider a {
    border:0;
    display:block;
}

#slider a.nivo-prevNav,
#slider a.nivo-nextNav {
  width: 30px;
  height: 30px;
  top: 155px;
}

#slider a.nivo-prevNav {
  background: url(images/arrow-l.png) no-repeat;
  left:15px !important; 
  font-size:0 !important;
  opacity:.7;
}

#slider .nivo-nextNav {
  background: url(images/arrow-r.png) no-repeat;
  right:15px !important; 
  font-size:0 !important;
  opacity:.7;
}

#slider a.nivo-prevNav:hover,
#slider a.nivo-nextNav:hover {
	opacity:1;
}

#slider a.nivo-prevNav { display:none }

.slide {
	background:#a20;
	height:345px;
	}
#slider h1 {
	font-size:40px;
	line-height:40px;
	color:#fff;
	}

/* content */

#content {
	float:left;
	width:580px;
	}
#content h1 {
	line-height:40px;
	font-size:32px;
	text-shadow:1px 1px #fff;
  padding-bottom: 22px;
	}
#content h2 {
	font-size:20px;
	text-shadow:1px 1px #fff;
	}
.entry-time {
	height:36px;
	line-height:20px;
	font-size:12px;
	color:#ac8d6f;
	float:left;
	}
.entry-content p {
	text-align:justify;
	}

.entry-content img {
	padding:5px;
	background:#D5C3AF;
	max-width:570px;
	height:auto;
	margin-bottom:10px;
	}

/* archive & search */
	
.listview .pagenav {
	line-height:50px;
	}
.listview .minipic {
	margin: 0 20px 20px 0
	}
.listview #content {
	width:600px
	}
.listview .alignright {
	margin-right:20px	
	}		
#sidebar .minipic + .minipic + .minipic + .minipic,
#sidebar .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic,	
#sidebar .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic {
	margin-right:10px;
	}	
		
#sidebar .minipic + .minipic + .minipic,
#sidebar .minipic + .minipic + .minipic + .minipic + .minipic + .minipic,	
#sidebar .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic + .minipic {
	margin-right:0;
	}	
	
/* sidebar */

#sidebar {
	float:right;
	width:320px;
	}	
#searchbox {
	background:url("images/szukaj.png");
	width:320px;
	height:44px;
	}
.home #searchbox {
	background:url("images/szukaj-home.png");
	width:293px;
	height:45px;
	}
#sidebar h2 {
	height:50px;
	line-height:48px;
	font-size:16px;
	color:#594d45;
	text-shadow:1px 1px #fff;
	text-transform:uppercase;
	letter-spacing:1px;
	margin-bottom:0;
	}
#sidebar .widget {
	}
	
/* section-2 */
  
#section-2 {
  	overflow: auto;
	}
#section-2 section {
  	padding-top: 10px;
  	float: left;
	}  
#section-2 section h2, #section-2 section h2 a {
  height: 30px;
  line-height: 30px;
  color: #968c86;
  margin-bottom: 10px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:16px;
	}
#section-2 .wrapper {
  float: right;
	} 
#section-2 #news {
  width: 287px;
	}  
.news {
  margin-bottom: 20px;
	}
#section-2 #news h3 {
  font-size: 18px;
	}
#section-2 #works {
  width: 330px;
  padding-right:10px;
	} 
.minipic {
  background: #D5C3AF;
  float: left;
  height: 90px;
  margin: 0 10px 10px 0;
  overflow: hidden;
  padding: 5px;
  width: 90px;
	} 
.minipic img {
	width:90px;
	height:90px
	} 
#section-2 #social {
  float: right;
  width: 293px;
	} 
#section-2 h2,
#section-2 h3,
#footer {
	text-shadow:1px 1px #fff;
	} 
	
/* facebook */

#facebook { 
	background: #EEE6DE;
	width:292px;
	height:257px;
	overflow:hidden;
	display:block;
	border-color: #D8D3CD #FCFCFB #FDFDFC #DDD9D3;
  border-style: solid;
  border-width: 1px;
  padding:13px;
	}
.home #facebook {
	margin-bottom:11px;
	padding:0;
	height:253px
	}
.facelike-top {
	width:180px;
	float:right;
	line-height:20px;
	height:36px;
	}
.facelike-bottom {
	line-height:50px;
	height:50px;
	}  
  
/* searchform */

.home #searchform {
  padding: 10px 0px 12px 10px;
	}
#searchform {
  padding: 10px 0px 11px 10px;
	}
#searchform input.text {
  background: #f8f5ef;
  border-top: 1px solid #e9dad0;
  border-left: 1px solid #e9dad0;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  width: 190px;
  height: 23px;
  vertical-align: middle;
  padding: 0 3px;
	}	
#searchform input.image{
  vertical-align: middle;
  padding-left: 7px;
	}
body.home #searchform {
  background: #ece7e0;
  border-top: 1px solid #d8d3cd;
  border-left: 1px solid #ddd9d3;
  border-bottom: 1px solid #fdfdfc;
  border-right: 1px solid #fcfcfb;
  /*width: 276px;*/
	}
body.home #searchform input.text {
  background: #f8f5ef;
  border-top: 1px solid #e9dad0;
  border-left: 1px solid #e9dad0;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  /*width: 168px;*/
	}
/* pagination */

#section-1 .navigation {
  padding: 0 10px 22px 0;
  text-transform: uppercase;
  letter-spacing:1px;
  clear: both;
  text-shadow: 1px 1px #fff;
  font-size:16px;
  line-height:14px;
  height:14px;
	}
#section-1 .wp-paginate {
  text-align: center;
  position: relative;
	}
#section-1 .wp-paginate a, #section-1 .wp-paginate a:active, #section-1 .wp-paginate a:hover {
  background: none;
  border: none;
  color: #DD2200;
	}
#section-1 .wp-paginate .current {
  background: none;
  border: none;
  color: #000;
	}
#section-1 .wp-paginate .next {
  position: absolute;
  right: 0;
}

#section-1 .wp-paginate .prev {
  position: absolute;
  left: 0;
  }

/* footer */  
  
#footer {
	line-height:40px;
	color: #968c86;
  	background: #f5f2ed;
  	height: 40px;
  	clear: both;
  	padding: 0;
  	margin-bottom:100px;
  	letter-spacing:.03em;	
	}
#footer .copy {
	float:left;
	}
#footer .logographos {
	float:right;
	}

/* contact form 7 */

div.wpcf7 { background:#D5C3AF; padding: 15px 20px 1px !important; margin-bottom:24px !important }
.wpcf7 p { display:block; width:260px; float:left;}
.wpcf7 p.button {width:300px}
.wpcf7 p.first { margin-right:20px }
.wpcf7 input { width:250px; border:0; height:30px; line-height:30px; padding: 0 5px }
.wpcf7 #z-data { width:160px; margin-right:15px }
.wpcf7 .z-godzina { width	:70px }

.wpcf7 textarea,
.wpcf7 .textarea { width:540px; border:0 }

.wpcf7-not-valid-tip-no-ajax,
.wpcf7-validation-errors { color:red; display:block;  }
.wpcf7-response-output { padding:10px; background:yellow; margin-bottom:20px;float:left }

.z-akceptacja { width:540px !important; line-height:18px }
.z-akceptacja small { color:#655 }
#z-akceptacja {  float:left; margin: 0 10px 50px 0; width:auto; height:18px }

.entry-content .wpcf7 p { text-align:left }

.wpcf7-display-none { display:none }

.wpcf7 .wpcf7-submit { background:#d00; color:white; }
.wpcf7 .wpcf7-submit:hover { background:#f00 }

/* css3 */

#searchform {
  background: rgb(236, 231, 224);
  background: rgba(103, 64, 25, 0.2);
  border-top: 1px solid rgb(187, 161, 132);
  border-top: 1px solid rgba(187, 161, 132, 0.9);
  border-left: 1px solid rgb(187, 161, 132);
  border-left: 1px solid rgba(187, 161, 132, 0.9);
  border-bottom: 1px solid rgb(246, 243, 240);
  border-bottom: 1px solid rgba(246, 243, 240, .9);
  border-right: 1px solid rgb(246, 243, 240);
  border-right: 1px solid rgba(246, 243, 240, .9);
	}
#facebook, #searchform, #searchform  input.text {
	-webkit-border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 2px 2px 2px 2px;
	-o-border-radius: 2px 2px 2px 2px;
	border-radius: 2px 2px 2px 2px;
	}

#menu a, .wpcf7, .wpcf7 textarea, .wpcf7 input {
	-webkit-border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px 3px 3px 3px;
	-o-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
	} 
#menu a.hover {
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius: 3px 3px 0 0;
	-o-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	}
#menu #redtab {
	background-image: -webkit-gradient(
	    linear,
	    left top,
	    left bottom,
	    color-stop(0, rgb(230,0,31)),
	    color-stop(1, rgb(168,0,22))
		);
	background-image: -moz-linear-gradient(
	    center top,
	    rgb(230,0,31) 0%,
	    rgb(168,0,22) 100%
		);
	}
#menu #redtab:hover {
	background-image: -webkit-gradient(
	    linear,
	    left top,
	    left bottom,
	    color-stop(0, rgb(255,0,38)),
    	color-stop(1, rgb(214,0,29))
		);
	background-image: -moz-linear-gradient(
	    center top,
    		rgb(255,0,38) 0%,
    		rgb(214,0,29) 100%
		);
	}
#categories a {
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius: 3px 3px 0 0;
	-o-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	}
#menu .sub-menu {
	-webkit-border-radius: 0 3px 3px 3px;
	-moz-border-radius: 0 3px 3px 3px;
	-o-border-radius: 0 3px 3px 3px;
	border-radius: 0 3px 3px 3px;
	}
#pointer {
  	border-color: transparent transparent #fff transparent;
  	border-style:solid;
  	border-width:10px;
  	width:0;
  	height:0;
	}
#section-2 .minipic {
	-webkit-box-shadow: 1px 1px #fff;
	-moz-box-shadow: 1px 1px #fff;
	-o-box-shadow: 1px 1px #fff;
	box-shadows: 1px 1px #fff
	}
a {
	-webkit-transition: all 150ms cubic-bezier(0,0,.6,1);
	-moz-transition: all 150ms cubic-bezier(0,0,.6,1);
	-o-transition: all 150ms cubic-bezier(0,0,.6,1);
	transition: all 150ms cubic-bezier(0,0,.6,1);
	}
