/*

Theme Name: Sandex
Author: Andrzej Pilatowicz | www.pilatowicz.pl
Version: 1.0

*/

body {
	margin:0 auto;padding:0;
	font-family:'Trebuchet MS', Helvetica, Arial, sens-serif;
	font-size:12px;
	background: url('images/bg.png') repeat #fff;
}

h1, h2, h3, h4, h5 {
	
}
/* a {color: #095f8f;} */
.clear {
	clear: both;
}

form {
	margin: 0;
}

/*******************************/

#header-links {
	margin:0 auto;padding:0;height:40px;border-bottom:solid 2px #dc963a;background:url('images/top-bg.png') repeat #313131;color:#e8e7e7;font-size:11px;font-weight:bold;text-shadow:1px 1px 2px #000000;
}
#header-links a {
	color:#e8e7e7;text-decoration:none;
}
#header-links a:hover {
	text-decoration:underline;	
}
#header-text-line {
	margin:0 auto;padding:15px 0 0 0;width:960px;text-align:right;
}
#header-text-line span {
	margin:0;padding:0 0 0 15px;
}

#wrapper {
	margin:0 auto;padding:0;background:url('images/container-bg.jpg') repeat-x top left #fff;
}

#container {
	margin:0 auto;padding:0;width:960px;
}

#header {
	height: 118px;position:relative;
}
#header img {border:0 none;}
#header #logo {
	width: 125px;height: 90px;position: absolute;top: 12px;left: 0;
}

#search-box {
	margin: 50px 5px 0 0;float: right;position: relative;
}
#search-box #search-input {
	width: 203px;height: 15px;padding: 5px;
	color: #aeaead;font-size: 11px;
	background: url('images/search-bg.png') no-repeat top left;border: 0 none;
}
#search-box #search-input:focus {
	color: #b20f24;font-weight: bold;
}
#search-box #s {
	width: 20px;height: 20px;
	position: absolute;top: 3px;right: 8px;
	color: #f4f0e7;font-size: 1px;text-indent: -9999px;cursor: pointer;
	border: 0 none;background: url('images/icon-search.png') no-repeat top left;
}



#main-menu {
	margin:0 auto;padding:0;width:960px;height:30px;clear:both;background: url('images/menu-bg-1.png') repeat-x top left;
}
#main-menu ul {
	margin: 0 auto;padding: 0;list-style: none;height: 30px;background: url('images/menu-bg-2.png') no-repeat top right;
}
#main-menu li {
	margin:0;padding:0;height:30px;float:left;display:inline;position: relative;
}
#main-menu .menu-left-corner {
	width: 6px;height: 30px;background: url('images/menu-bg-left.png') no-repeat right top;float: left;
}
#main-menu .menu-right-corner {
	width: 5px;height: 30px;background: url('images/menu-bg-right.png') no-repeat left top;float: right;
}

#main-menu a {
	padding:7px 10px 0 10px;display:block;height:23px;color:#fff;font-weight:bold;font-size:12px;text-decoration:none;text-shadow:1px 1px 2px #000000;
}
#main-menu a:hover {
	background: url('images/menu-bg-3.png') repeat-x top left;color: #e9831a;cursor: pointer;
}
#main-menu a:active {
	background: #000;color: #ff8100;cursor: pointer;text-shadow:0 0 3px #e9831a;
}
#main-menu li:hover ul {
	display: block;
}
#main-menu li:hover li {
	float: none !important;display: block !important;
}
#main-menu .children {
	display:block;
}

/* hot item */
#hot-item {
	margin: 0 auto;padding: 10px 0 10px 0;
}

#hot-item a {
	color: #095f8f;text-decoration: none;
}
#hot-item a:hover {

}
#hot-item a img {
	border: 0 none !important;
}

/* promo box */
#bottom-items {
	margin: 0 auto;padding:0 0 10px 0;width: 960px;
}
#bottom-items .box {
	padding: 0;margin: 0 9px 0 9px;position: relative;
	width: 220px;height: 160px;
	float: left;display: inline;overflow: hidden;
	border-right: solid 1px #d1d1d1;border-bottom: solid 1px #d1d1d1;background: #fff;
}
#bottom-items .box a.link {
	position: absolute;bottom: 0; left: 0;width: 205px;
	padding: 5px 5px 5px 10px;display: block;
	font-size: 14px;color: #6a6a69;font-weight: bold;text-decoration: none;
	background: url('images/bg-80p.png') repeat;
}
#bottom-items .box a.link:hover {
	color: #095f8f;
}

/* footer */
#footer-text {
	margin: 0 10px 0 10px;padding: 10px 0 10px 0;clear: both;
	font-size: 10px;color: #4f4f4f;
	border-top: solid 1px #d1d1d1;border-bottom: solid 1px #d1d1d1;
}
#footer-text {margin: 0;padding: 0;}

#bottom-menu {
	margin: 0;padding: 10px 0 10px 0;font-size: 11px;
}
#bottom-menu ul {
	margin: 0;padding: 0;list-style: none;
}
#bottom-menu li {
	margin: 0;padding: 0 10px 0 0;float: left;display: inline;
}
#bottom-menu a {
	font-weight: bold;color: #000;text-decoration: none;cursor: pointer;
}
#bottom-menu a:hover {
	text-decoration: underline;color: #e9831a;text-shadow:1px 1px 1px #dadada;
}
#bottom-menu a:active {
	color: #ff8100;text-shadow:1px 1px 2px #e9831a;
}
#copyright {
	clear: both;margin: 0;padding: 10px 0 10px 0;font-size: 10px;
}
#copyright p {margin: 0;padding: 0;}


/* other pages, cats, etc... */

#breadcrumb {
	padding: 10px 0 10px 5px;
}
#breadcrumb a {
	color: #095f8f;text-decoration: none;
}
#breadcrumb a:hover {
	color: #095f8f;text-decoration:underline;
}

#content {
	margin: 0 auto;padding: 0;width: 960px;
}
#category {
	margin: 0 auto;padding: 0;width: 950px;border-top: solid 1px #f4f0e5;
}
#category #aside {
	margin: 0;padding: 0;width: 180px;
	float: left;display: inline;
	background: #fff;
}
#aside ul {
	margin: 0;padding: 0;list-style: none;
}
#aside li {
	margin: 0;padding: 0;
}
#aside a {
	padding: 8px 5px 8px 5px;display: block;
	color: #095f8f;font-weight: bold;text-decoration: none;
	border-bottom: solid 1px #f4f0e5;
}
#aside a:hover {
	color: #084a6f;
	background:url('images/arrow-1.png') no-repeat 165px center;
}
#aside .current-cat {
	background:url('images/arrow-1.png') no-repeat 165px center; /*  #fbfaf7 */
}
#aside h3 {
	margin: 0;padding: 6px 0 6px 5px;
	font-size: 14px;font-weight: bold;color: #095f8f;
	background:#f4f0e5; /*  url('images/cat-h3-bg.png') no-repeat top right  */
}

#main-view {
	margin: 0 0 5px 0;padding: 10px 5px 10px 5px;width: 759px;
	float: right;display: inline;
	border-left: solid 1px #f4f0e5;
	 background:#fbf9f5; /* url('images/main-view-bg.png') no-repeat top left  */
}
#main-view-2 {
	margin: 0 0 5px 0;padding: 10px 5px 10px 5px;background:#fbf9f5;
}
#main-view a, #main-view-2 a {
	color: #095f8f;text-decoration: none;
}
#main-view a:hover, #main-view-2 a:hover {
	border-bottom: solid 1px #095f8f !important;
}
#main-view a:active, #main-view-2 a:active {
	background: #eff6fa;
}

#main-view h2, #main-view-2 h2 {
	margin: 0;padding: 0 0 10px 0;
	font-size: 16px;font-weight: bold;line-height: 115%;
}
.article{
	margin: 0 5px 5px 0;padding: 6px 10px 5px 5px;
	width: 355px;height: 109px !important;
	float: left;display: inline;
	border: solid 1px #f4f0e5;background: #fff;
}
.article-2 {
	margin: 0 5px 5px 0;padding: 6px 10px 5px 5px;
	width: 355px;height: 209px !important;
	float: left;display: inline;
	border: solid 1px #f4f0e5;background: #fff;
}
.article-3 {
	margin: 0 5px 5px 0;padding: 6px 10px 5px 5px;
	border-bottom: solid 1px #f4f0e5;background: #fff;
}
.article-3 h2 {
	margin: 0 0 5px 0;padding: 0;
}
.article img, .article-2 img, .article-3 img {
	margin: 0 5px 0 0;float: left;
	line-height: 0;
	border: solid 1px #f4f0e5;
}

.entry {
	padding: 0 0 5px 0;
	font-size: 11px;color: #777776;line-height: 115%;
}
.entry p {margin:0;padding:0;}

.more {
	text-decoration: underline;font-size: 11px;
	border-bottom: solid 1px #fafafa;
}
.more:hover {
	text-decoration: none !important;
	border-bottom: solid 1px #095f8f !important;
}

#single-page {
	margin: 0 0 5px 0;padding: 10px;width: 749px;min-height: 300px;
	float: right;display: inline;position: relative;
	 background: #fff; /* url('images/main-view-bg.png') no-repeat top left */
	border-left: solid 1px #f4f0e5;
}

#single-page h1 {
	margin: 0;padding:0 0 15px 0;
	font-size: 24px;font-weight: normal;
}
#single-page p {
	margin:0;padding: 5px 0 5px 0;line-height: 160%;
}
#single-page .desc {
	margin: 5px 0 10px 10px;padding: 0 0 10px 0;width: 400px;min-height: 300px;
}
#single-page .desc img {
	border: 0;
}
/* items img */
.wp-caption {
	margin: 0 !important;padding:0 !important;
	float: right;display: inline; /* position: absolute;top: 5px;right: 5px; */
	text-align: center;
	background: #fff;border: solid 1px #f4f0e5;text-align: right;
}
.wp-caption p {
	display: none;
}
.size-medium {
	float: right;
	position: absolute;top: 20px;right: 10px;border: solid 2px #f4f0e5 !important;
}
.size-thumbnail {
	margin: 0 0 5px 5px;padding: 5px;
	width: 60px !important;height: 39px !important;
	border: solid 1px #f4f0e5;
	background: #fff;
	float: right;display: block;
}

/* page-view */

#page-view {
	margin: 5px;padding: 5px 0 5px 0;border-top: solid 1px #f4f0e5;
}
#page-view h1 {
	margin: 0;padding:0 0 15px 0;
	font-size: 24px;font-weight: normal;
	float: left;display: inline;width: 180px;
	
}
#page-view p {
	margin: 0;padding: 5px 0;
}
#page-view-content {
	width:750px;float: right;display: inline;
}
/* galeria */

.gallery {
	/*position: absolute;top: 230px;right: 10px;width: 265px;
	 -moz-border-radius: 5px; */
	display: block;
	margin: 15px 0 !important;padding: 0;
	/*background: #fafafa;*/
}
.gallery .gallery-item {
	width: 70px !important;height: 50px !important;
	margin: 0 !important;padding: 0 !important;
	float: left
}
.gallery img {
	border: solid 2px #f4f0e5 !important;
	margin: 5px 3px 5px 0 !important;
	width: 60px !important;height: 40px !important;
}
.gallery-icon {
	margin: 0;padding: 0;
}
.gallery  br {
	display: none;
}
.gallery  .gallery-caption {
	display: none;
}


/* podobne-wpisy */
#podobne-wpisy {
	margin: 0;padding: 0 0 10px 0;
	border-top: solid 1px #f4f0e5;
}
#podobne-wpisy h4 {
	margin: 0 0 5px 0;padding: 10px 0 10px 5px;
	font-size: 14px;font-weight: bold;
	color: #4f4f4f;border-bottom: solid 1px #f8f6f1;
	
}
#podobne-wpisy ul {
	margin: 0;padding: 0;list-style: none;
}
#podobne-wpisy li {
	width: 100px;margin: 0;padding: 0 10px 0 10px;min-height: 120px;
	border-right: solid 1px #f8f6f1;
	float: left;display: inline;
}
#podobne-wpisy img {
	margin: 0 0 5px 0;width: 95px !important;height: 63px !important;border: solid 1px #f4f0e5;
}
#podobne-wpisy a {
	color: #095f8f;text-decoration: none;
	font-size: 11px;
}

#podobne-wpisy a:hover {
	text-decoration: underline;
}
#podobne-wpisy a:active {
	background: #eff6fa;
}

/* a:visited */

#main-view a:visited, .more:visited {
	color: #858684 !important;border-bottom: solid 1px #aeaead;
}


/* form */
form {
	margin: 0;padding: 0;
}
input, textarea {
	margin: 2px 0 2px 0;
	padding: 5px;
	border: solid 1px #f4f0e5;
}
input:focus, textarea:focus {
	color: #b20f24;font-weight: bold;
	border: solid 1px #e6e1d4;
	background: #f8eff0;
}
input:hover, textarea:hover {
	color: #b20f24;background: #f5f8fa;
}
