/***************************************************************************
	Project Name: Motoveterani
	Description: contains styles for www.motoveterani.sk
	Date: 25 October, 2011 
	Author: Petra Gregorova (www.petragregorova.com)
***************************************************************************/

/******************************************************************************
                           C S S   R E S E T S
******************************************************************************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,  th, td {
	margin: 0;	padding: 0;
	border: 0;
	line-height: 1;
	text-align: left;
	vertical-align: baseline;
}

body {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Helvetica, Arial, sans-serif;font-size:62.5%;line-height: 1;}

a img, :link img, :visited img {border: 0; outline:none;}

ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

small {font-size:1.1em;}

/* remember to define focus styles! */
:focus {outline: 0;}

/* remember to highlight inserts! */
ins {text-decoration: none;}
del {text-decoration: line-through;}

/* tables still need 'cellspacing="0"' */
table {
border-collapse: collapse;
border-spacing: 0;
clear:both;
margin-bottom:15px;
width:100%;
}

/******************************************************************************
                       P A G E  F O R M A T T I N G
******************************************************************************/
html {
	background:#000034;
	color:#fff;
	font:normal 100%/140% "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Helvetica, Arial, sans-serif;
}

p {font-size:1.2em; margin:0 0 9px; line-height:1.6;}

ul {font-size:1.2em; margin-bottom:1em;}

a:link, a:active, a:visited, a:focus {display:block;text-indent:-9999em;}
#wrapper a:link, #wrapper a:active, #wrapper a:visited, #wrapper a:focus {
	color:#9F6F58; 
	display:inline;
	outline:none;
	text-indent:0;
}
#wrapper a:hover { color:#000034;  text-decoration:none;}

#wrapper a.button, #wrapper a:visited.button {
	float:left; 
	padding:7px 10px; 
	background:/*#265EA9*/#686868; 
	color:/*#fff*/#D1D888; 
	font-weight:bold;
	text-decoration:none; 
	border:1px solid #C2DFAE;
}
a:hover.button {background:/*#FFC60A*/#D1D888; color:#265EA9;}
a:active.button {background:/*#D0240F*/#FBDD6F;}

.float-right {float:right; margin-left:15px;}

/******************************************************************************
                       H E A D I N G S
******************************************************************************/
h1, h2 {
	color:#000034; 
	font: normal 2em/120% Georgia, serif;
	margin:20px 0 9px 15px; 
	text-transform:uppercase;
}

h2 {font-size: 1.8em; text-transform: capitalize;}

h3 {margin:12px 0 7px 15px; line-height:140%;}

/******************************************************************************
                       P A G E  S T R U C T U R E 
******************************************************************************/
#wrapper, #content, #footer {width:960px;}

#wrapper {margin: 10px auto;}

#headername {
font-size:22px;
font-weight:normal;
color:#719e35;
width: 275px;
}

#headername h1 {margin-left:0;}
* html #headername h1 {margin-top:0;}
*+html #headername h1 {margin-top:0;}

#headerlogo {
clear: both;
width: 960px;
background: url(images/css/logo.gif) no-repeat;
height: 135px; 
position:relative;
}
    #headerlogo span.border {border-bottom:11px solid #EAB780;bottom:0;left:185px;position:absolute;width:563px;}

#content {
	background:#fff url(images/css/bg-body.gif) no-repeat 0 0;  
	border-bottom: 3px solid #9F6F58; 
	float:left; 
	overflow:auto; 
	padding-bottom:15px;
}

#primary {
	background:#EFD9C2;
	float:left;
	width:555px; 
	min-height:280px;
	margin-left:186px; padding-bottom:15px;  
	color:#666;
	border:4px solid #FFF;
}
* html #primary {margin-left:85px; width:569px;}


#secondary {float:left;width:186px; margin-left:-745px;}
* html #secondary {/*margin-left:-700px; */width:180px; }

#tertiary {float:right; width:205px;}
* html #tertiary {width:210px;}

#footer {
	clear:both; 
	color:#6F6F7F;
	margin:0 auto; 
	background:url(images/css/bg-footer.gif) no-repeat 0 0; 
	padding-top:11px; 
	font-size:.9em;
}

/******************************************************************************
                       H E A D E R N A M E 
******************************************************************************/
#headername h1 {overflow:hidden;}
#headername h1 a {float:left;width:960px; height:135px;background:url(images/css/logo.gif) repeat-x 0 0; }
#headername h1 a:hover {background-position: 0 -135px; cursor:pointer;}
#headername h1 span {display:block;text-indent:-9999em;width:960px; height:135px;}

/******************************************************************************
                       P R I M A R Y 
******************************************************************************/
#primary h1 {
	border-bottom:1px dotted;
        clear:both; 
	margin-right:15px;
	padding:0 100px 5px 0;
	position:relative;
	
}
#wrapper #primary h1 a {color:#000034;text-decoration:none;}
#wrapper #primary h1 a:hover {color:#9F6F58;}
h1 .date {color:#2F2F2F;font-size:14px; position:absolute; right:0; top:0;}
* html h1 .date {right:15px;}

#primary h2 {margin:20px 0 9px 15px;}
#primary h2 a, #primary h2 a:active, #primary h2 a:visited {color:#991415;}
#primary h2 a:hover {text-decoration:none;}
#primary h3 {color:#666; font-size:1.2em; text-transform:uppercase;}

#primary a {text-indent:0;}

#primary .entry {margin:20px 14px 20px 15px; overflow:hidden;}
#primary .entry h2 {margin-left:0;}
#primary .entry h3 {margin:12px 0 0;}
#primary p {clear:both; margin:7px 15px;}
#primary .entry p {font-size:1.2em; margin:0 0 7px;} 
#primary ul {float:left; margin:0 15px 9px;}
#primary ul li {line-height:1.6; list-style:disc; margin-left:15px;}

#primary .post {margin-bottom:25px;}

/******************************************************************************
                       S E C O N D A R Y 
******************************************************************************/
#secondary h3 {
	background:url(images/css/nav-primary-bullet.gif) no-repeat 0 -13px; 
	color:#9F6F58;  
	font-size:1.2em;
	margin:55px 0 0 7px; 
	padding-left:20px; 
}
* html #secondary h3 {font-size:1.2em; margin-left:15px;}
*+html #secondary h3 {font-size:1.2em;}

/* PRIMARY-NAV */
.primary-nav {margin:15px 7px;height:125px;}
* html .primary-nav {margin-left:15px;}
.primary-nav li {font-size:1em;line-height:1.6; margin-bottom:7px; }
* html .primary-nav li {line-height:.8; margin-bottom: 0;}
*+html .primary-nav li {line-height:.8;}
#wrapper .primary-nav a, #wrapper .primary-nav a:active, #wrapper .primary-nav a:visited {
	background:url(images/css/nav-primary-bullet.gif) no-repeat 0 0; 
	color:#000034;
	display:block;
	padding-left:25px; 
	text-decoration:none; 
}
	
#wrapper .primary-nav a:hover {background-position:0 -13px; color:#9F6F58;}

/* SECONDARY-NAV */
.secondary-nav {margin:10px 0 0;}
* html .secondary-nav {margin-left:10px;}
.secondary-nav li {line-height:1.6; padding-left:27px;}
.secondary-nav li:hover {background:#EFD9C2;}
.secondary-nav li a,.secondary-nav li a:link, .secondary-nav li a:visited {color:#9F6F58; text-decoration:none;}
* html .secondary-nav li a:hover {text-decoration:underline;}

/******************************************************************************
                       T E R T I A R Y 
******************************************************************************/
#tertiary h3 { 
	border-bottom:1px solid #ECD5D5; 
	clear:both; 
	color:#9F6F58; 
	font-size:1.2em; 
	margin:12px 15px 7px 0;
	padding-bottom:4px;
}
#tertiary img {margin:25px 0 60px;}
* html #tertiary img {margin-left:7px; }

#tertiary .secondary-nav {margin:0 0 30px;}
#tertiary .secondary-nav li {padding-left:0;}
#wrapper #tertiary .secondary-nav li a {text-indent:0;}


/******************************************************************************
                       F O O T E R
******************************************************************************/
#footer p {text-align:right; }
#wrapper #footer a, #wrapper #footer a:link, #wrapper #footer a:active, #wrapper #footer a:visited {
	color:#6F6F7F; 
	display:inline; 
	font-weight:bold;
	text-decoration:none; 
}
#wrapper #footer a:hover {text-decoration:underline;}

.menu * {margin: 0;}

.navlist {
width: 100%;
padding-top: 0px;
margin-top: -20px;}

.navlist ul {
margin: 0;
position: relative; 
list-style-type: none;}

.navlist ul li {
display: inline;
margin: 2px 4px 0px 4px;
background-color:#719e35;
list-style: none;}

#wrapper .navlist li a {
display: inline;
font: bold 10pt verdana, arial, helvetica, sans-serif;
text-align: center;
text-decoration: none;
padding-left: 4px;
padding-right: 4px;
color: #ffffff;}

.navlist .home {background: #719e35;}
#wrapper .navlist li a:hover {color: #278898;}


a.mainlink {
text-decoration: none;
color: #DCE7C7;}

a.mainlink:hover {
text-decoration: none;
color: #DCE7C7;}

#description-wrapper {
padding-top: 8px;
padding-left:48px;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:normal;
color:#719e35;
width: 290px;
}

#searchemb{
float:right;
margin-top:13px;
padding-right:67px;
}
#searchemb input{
float: left;
border: 0;
font-size: 14px;
color:#fff;
}
#searchemb input#s{
width:124px;
background: transparent;
display: inline;
}



.reply {
clear: both;
margin: 20px 0 14px 15px;
font: bold 1.4em "Lucida Sans", arial;
text-align: left;}

blockquote {
padding-left: 7px;
padding-right: 5px;
font-size: 10pt;
border-left: 2px solid #d99fcf;
color: #6B7175;}

.clear {clear: both;}

.postauthor {
display: block;
font-size:1.1em; 
margin: 0 15px;
padding: 0 0 7px 0;
border-bottom:1px dotted #9F6F58;
font-weight: bold;
color: #60666A;}

.date {
	display: block;
	font-size:1.12em; 
	padding: 5px 0 0 0; 
	color: #60666A;
}

.entries {
clear: both;
height: 25px;
padding: 0;
margin: 35px 15px 0;
}

.entries a {
font-weight: bold;
text-decoration: none;
font-size: 12px;}

.entries a:hover {text-decoration: underline;}

.left {float: left;}
.right {float: right;}

.com {
	clear: both;
	font-size:1.2em;
	height: 0.8em;
	margin: 0 15px;
	text-align: right;
}

.com a {
background: url(images/comment.gif) left no-repeat;
padding-left: 18px;
padding-bottom: 1px;
text-decoration: none;
/*color: #4A7700;*/}

.com a:hover {text-decoration: underline;/*color: #95989B;*/}

.edit {float: left;}

.edit a {
padding: 0;
background: none;}

.author, a.url {padding: 7px 0 0 15px;}
.author {font:bold 1.4em Georgia, serif;color: #757B80;}
.author a {color: #000034;}
a.url {padding-left:0;}

.alt {background: #fff;}

.comment {margin:0 15px; padding: 0;}

#primary .comment p {margin-left:0;}

.userinfo {
padding: 0 10px 10px 0;
text-align: right;}


#primary img {
	background:#9F6F58;
	border: 0;
	float: left;
	margin:4px 5px 9px 0;
	padding: 5px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
#primary img.wp-smiley {background:none; border:0; float:none; margin:0 3px; padding:0; }

#primary a:hover img {background:#000034;}

.ngg-description {float:left;}
.ngg-thumbnail img {margin:4px 5px 4px 0; !important}
.ngg-albumtitle {text-transform:capitalize;}


.wp-smiley {float: none;}


#calendar_wrap {
border: 1px solid #497601;
width: 170px;}

.widget_calendar td {
padding: 2px 0px;}

.widget_calendar caption {
font-weight: bold;
font-size: 10pt;
padding: 6px 0;
color: #44484B;}

.widget_calendar th {
color: #497601;}

.widget_recent_comments li {
display: block;
padding: 5px 0;
width: 220px;
background: url(images/nav.gif) 3px 10px no-repeat;
font: 10pt verdana, arial, helvetica, sans-serif;
border-bottom: 1px dashed #C4C6C7;
text-decoration: none;
text-indent: 17px;
text-transform: capitalize;
color: #23292C;}

.widget_recent_comments li a {border: none;background: none;}
.widget_recent_comments li a:hover {background: none;}
.widget_search {padding-top: 26px;}

.widget_search input#s {
background-color: #F4F6F5;
border: 1px solid #6F767B;
padding-left: 6px;
color: #44484B;}

.widget_search input {
background-color: #749D39;
border: 1px solid #6F767B;
color: #ffffff;}

.widget_text {
line-height: 16px;
font: 10pt verdana, arial, helvetica, sans-serif;}

/******************************************************************************
                       F O R M   E L E M E N T S 
******************************************************************************/
#tertiary .searchform {width:120px;}
.button {
	background:#000034; 
	border:1px solid #fff; 
	color:#fff; 
	padding:3px; 
	text-transform:uppercase;
}
* html .button {padding:2px 1px 0;}

.button:hover {background:#9F6F58;}

#wraps {display:none;}

/******************************************************************************
                       NGG GALLERY 
******************************************************************************/
html > body .ngg-album {border:0 !important;}
.ngg-album {border:0 !important;}

/* facebook iLike button */
iframe {margin: 0 15px;}
