/**
 * IPS katalog sajamskih izdanja, osnovni stilovi
 * Author: Nikola Topalovic <nikola.topalovic@gmail.com>
 *         prema dizajnu Ivane Nedic <office@ivananedic.com>
 * $Date: 05/11/2009 20:14:06$
 */

/* =Reset */

html, body, form, fieldset {
	margin: 0;
	padding: 0;
	background: transparent;
	color: #000;
	font: 100%/100% "Trebuchet MS", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, p, pre,
blockquote, ul, ol, dl, address, table {
	margin: 1em 0;
	padding: 0;
}

ol, ul, li, dd, blockquote { margin-left: 1em; padding-left: 0; }

blockquote { font-style: italic; }

address { font-style: normal; }

input, select, textarea {
	font: 100%/100% "Courier New", monospace;
	line-height: 1em;
}


/* =Struktura strane */

body {
	font-size: 85%;
	line-height: 1.3em;
	color: #444;
}

#site {
	width: 950px;
	margin: 0 auto;
}

#search,
#content,
#footer {
	padding: 0 25px;
}


/* =Linkovi */

a { text-decoration: none; color: #369; }
a:link, a:visited {  }
a:focus, a:hover { text-decoration: underline !important; }
a:active { text-decoration: underline !important; }
a img, a:link img, a:visited img { border: none; }


/* =Naslovi */

h1, h2, h3, h4 {
	color: #777;
	font-weight: bold;
	font-family: "Courier New", monospace;
}

h1 { font-size: 2.5em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.3em; }

h1 {
	height: 77px;
	line-height: 77px;
	margin: 0 0 15px;
}


/* =Zaglavlje */

#header {
	position: relative;
	height: 225px;
	margin: 0 0 25px;
	background: url(/images/header.jpg) no-repeat;
}

#header #logo {
	position: absolute;
	top: 60px;
	left: 45px;
}


/* =Pretraga */

#search {
	height: 55px;
	margin: 0 -25px;
	padding: 35px 25px 0;
	background: url(/images/content-top.png) no-repeat;
}

#search p {
	margin: 0;
	overflow: hidden;
}

* #search p {
	height: auto !important;
}

#search #q {
	float: left;
	width: 140px;
	height: 23px;
	line-height: 23px;
}

#searchButton {
	float: left;
	width: 29px;
	height: 29px;
	margin: 0 0 0 10px;
	padding: 0;
	background: url(/images/search-button.png) no-repeat;
	text-indent: -5000em;
	border: none !important;
	overflow: hidden;
	cursor: pointer;
}


/* =Navigacija */

#nav {
	width: 225px;
	float: left;
	margin: 0 0 25px;
	padding: 15px 0 0;
}

#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav li {
	margin: .5em 0;
	padding: 0;
	list-style: none;
}

#nav a {
	display: block;
	padding: .6em 1.5em;
	border: 1px solid #FFF;
	color: #242424;
	text-decoration: none !important;
}

#nav a:focus,
#nav a:hover,
#nav a:active {
	border: 1px solid #DDD;
	background: url(/images/nav-item.png) no-repeat bottom right;
}

#nav .aux {
	margin-top: 3em;
	background: url(/images/nav-aux.jpg) repeat-y;
}

#nav .aux a {
	border: none;
	background: transparent;
}

#nav .aux a:focus,
#nav .aux a:hover,
#nav .aux a:active {
	border: none;
	background: transparent;
	text-decoration: underline !important;
}

/* Trenutna stavka navigacije */
.beletristika                #nav .beletristika,
.arhitektura-i-dizajn        #nav .arhitektura-i-dizajn,
.opsta-interesovanja         #nav .opsta-interesovanja,
.biznis                      #nav .biznis,
.decija-beletristika         #nav .decija-beletristika,
.skolski-uzrast              #nav .skolski-uzrast,
.predskolski-uzrast          #nav .predskolski-uzrast,
.edukativne-knjige-i-bojanke #nav .edukativne-knjige-i-bojanke,
.kuvari                      #nav .kuvari
{
	border: 1px solid #DDD;
	background: url(/images/nav-item.png) no-repeat bottom right;
}


/* =Sadrzaj */

#content {
	overflow: hidden;
	background: url(/images/content.png) repeat-y;
	margin: 0 0 -280px;
}

#main {
	width: 650px;
	float: right;
	margin: -77px 0 25px;
}

#books {
	overflow: hidden;
}

.book {
	width: 148px;
	min-height: 210px;
	float: left;
	margin: 0 12px 10px 0;
	text-align: center;
}

.book * {
	display: none !important;
}

.book img {
	display: inline !important;
	padding: 6px;
	border: 1px solid #CCC;
	cursor: pointer;
}


/* Paginacija */

#pagination {
	padding: 1.5em 0;
	font-weight: bold;
	text-align: center;
}

#pagination a {
	margin: 0 .25em;
	padding: .25em .5em;
	border: 1px solid #CCC;
	background: #FFF;
}

#pagination a:hover,
#pagination a:active,
#pagination a:focus {
	border: 1px solid #999;
	text-decoration: none !important;
}


/* Kontakt */

#departments {
	overflow: hidden;
}

#departments address {
	float: left;
	width: 30%;
}

#questionnaire {
	margin: 0 1em;
	background: #FFF;
}

#questionnaire p {
	margin: 1.5em 0;
	color: #555;
}

#questionnaire fieldset {
	padding: 1em 2em;
	border: 1px solid #CCC;
}

#questionnaire legend {
	display: none;
}

#questionnaire label {
	float: left;
	width: 25%;
}

#questionnaire input,
#questionnaire textarea {
	float: left;
	width: 70%;
}

#questionnaire #submit {
	width: auto;
	margin-left: 25%;
	border: 1px solid #999;
	background: #FFF;
	font-weight: bold;
}


/* =Podnozhje */

#footer {
	padding: 290px 0 25px;
	background: url(/images/content-bottom.png) no-repeat top;
	color: #777;
	font-size: 90%;
	text-align: center;
}


/* =Upitnici */

input, textarea {
	padding: 2px 5px;
	border: 1px solid #CCC;
	background: url(/images/input-generic.png) no-repeat top left;
	color: #666;
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 90%;
}

form p {
	overflow: hidden;
}


/* =Dijalozi */

.ui-dialog {
	position: relative;
	background: #FFF;
	padding: 8px;
	border: 1px solid #CCC;
}

.ui-dialog-titlebar {
	padding: 6px 15px;
	background: #717171;
	color: #FFF;
	min-height: 18px;
}

.ui-dialog-title-dialog {
	border: 2px dashed lime;
}

.ui-dialog-titlebar-close {
	position: absolute;
	top: 11px;
	right: 11px;
	width: 24px;
	height: 24px;
	background: url(/images/dialog-close.png) no-repeat;
	text-indent: -5000em;
}

.ui-dialog-content {
	padding: 0 10px 10px;
}

.ui-dialog-content ul {
	float: left;
	width: 300px;
}

.ui-dialog-content img {
	float: left;
	margin: 0 10px 10px 0;
}

.ui-dialog-content .desc {
	clear: both;
	padding-top: 15px;
}


/* =Ostalo */

acronym {
	cursor: help; border: none;
}

.hide, hr {
	display: none;
}

.highlight {
	background: yellow;
}

.clear {
	clear: both;
}