/* Reset */

html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, code, img, 
small, strong, dl, dt, dd, ol, ul, li,
fieldset, form, label {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1.5;
        font-family: helvetica, arial, sans-serif;
}
ol, ul {
	list-style: none;
}

/* End Reset */

h2 {
 font-size: 27px;
}

p {
 font-size: 14px;
}

a {
	text-decoration: none;
	color: #4e4e4e;
	font-size: 14px;
}

a:hover {
 text-decoration: underline;
}

input {
 background: #696969;
 border: 1px solid #c3c3c3;
 color: #cbcbcb;
 padding: 3px;
}

input:focus, input:hover {
 background: #ededed;
 color: #4e4e4e;
}


/* Main Styles */

body {
	background-color: #161628;
	background-image: url(img/bg.jpg);
	background-repeat: repeat-x;
}

#wrap {
	width: 943px;
	margin: auto;
}

#header h1 {
	width: 169px;
	height: 71px;
	text-indent: -9999px;
	float: left;
	background-image: url(img/logo.png);
	background-repeat: no-repeat;
	background-position: 0px -10px;
}

#header h1 a {
 width: 169px;
 height: 71px;
 display: block;
}

/* Navigation */

#header ul {
 overflow: hidden;
 padding-left: 221px;
}

#header ul li {
	float: left;
	margin-right: 10px;
	margin-top: 20px;
	color: #6c71a0;
}

#header ul li a {
	color: #6c71a0;
	font-size: 12px;
	position: relative;
	top: -1px;
}

#header ul li a:hover {
 text-decoration: none;
 color: white;
}

/* Search Box */

#header li#search {
 margin-top: 13px;
 margin-left: 60px;
 margin-right: 0;
}

#header li#search img {
 margin-right: 10px;
 margin-left: 10px;
}

#header li#search input {
 position: relative;
 top: -32px;
}

#header li#rss {
 float: right;
 margin: 0; padding: 0;
}

li#rss img {
 width: 30px;
 padding-right: 1px;
 margin-top: 13px;
}

#header p#slogan {
 font-size: 2em;
 margin: 21px 0 31px 0;
 float: right;
 background: url(img/slogan.png) no-repeat;
 width: 544px;
 height: 38px;
 text-indent: -9999px;
 border-right: 1px solid white;
 padding-right: 50px;
}

/* Intro Content */

#intro {
	background-image: url(img/intro_bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	width: 943px;
	height: 579px;
}

#intro h1 {
	width: 943px;
	height: 312px;
	text-indent: -9999px;
	background-image: url(img/klapa-kastav-logo.png);
	background-repeat: no-repeat;
	background-position: center center;
}

#intro #primary {
	float: left;
	width: 434px;
	text-align: right;
	padding-right: 37px;
}

#intro #secondary {
	float: right;
	width: 410px;
	text-align: left;
	padding-left: 62px;
}

/* Main Content */

#main {
 clear: both;
 overflow: hidden;
}

#main #primary {
 float: left;
 width: 630px;
}

#main #secondary {
 float: right;
 width: 300px;
}

#main #primary .post-item {
 background: #ededed;
 margin-bottom: 28px;
 border: 1px solid white;
 overflow: hidden;
 padding-right: 40px;
}

.post-item img {
 float: left;
 padding: 30px 20px 30px 30px;
}

.post-item h2 {
 padding-top: 30px;
}

.post-item p.meta {
 background: #9c2323;
 color: white;
 font-size: 11px;
 font-style: normal;
 padding: 4px;
 margin-left: 250px;
 margin-bottom: 14px;
 width: 100px;
 min-width: 100px;
 text-align: center;
 border-bottom: 1px solid white;
}

.post-item p {
 color: #7e7e7e;
 font-style: italic;
}

/* Next and Previous Buttons */

.more {
 background: url(img/nextPrevButton.jpg) no-repeat;
 padding: 8px;
 color: white;
 font-size: 12px;
 font-style: italic;
 float: right;
 border: 1px solid white;
 border-right: none;
 border-left: none;
}


/* Secondary/Sidebar */

.secondaryBox {
 background: #ededed;
 border: 1px solid white;
 margin-bottom: 28px;
 padding: 0 4%;
 overflow: hidden;
}

.secondaryBox h3 {
 background: #9c2323;
 color: white;
 margin: 4% 0;
 font-size: 12px;
 font-weight: normal;
 padding: 3px 0 2px 8px;
}

#photos img {
 border: none;
}

#photos img.featuredImage {
 border: 1px solid white;
 margin: 0; padding: 0;
 width: 100%;
}

#photos p {
 float: left;
 color: #737373;
}

#photos .prevNext {
 float: right;
}

#recentEntries ul li,
ul#popPosts li {
 padding: 3px 0 3px 0;
 border-bottom: 1px solid #bbbbbb;
 border-top: 1px solid white;
}

#recentEntries ul li:first-child,
#popPosts li:first-child {
 border-top: none;
}

#recentEntries ul li:last-child,
#popPosts li:last-child {
 border-bottom: none;
}

#recentEntries ul li a {
 font-size: 12px;
}
