/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}
body{line-height:1}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
table{border-collapse:collapse;border-spacing:0}

/*
Theme Name:		afk
Version:		1.0
Theme URI:		http://www.afk-waidhofen.at/
Author:			Andi Mandl
Author URI:		http://generationx.at
*/

/* general settings */
html,body{height:100%}
clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}
.clearfix{display:inline-block}
html[xmlns] .clearfix{display:block}
* html .clearfix{height:1%}
.clear{clear:both}
.alignleft{float:left}
.alignright{float:right}
.aligncenter{display:block;margin:0 auto}
body{font-size:62.5%;font-family:sans-serif}
a,a:active,a:visited,a:focus,a:hover{text-decoration:none}
p a:active{position:relative;top:1px}
strong, b {font-weight:bold}
i, em {font-style:italic}

/* sticky footer */
.sticky{min-height:100%;height:auto!important;height:100%;margin:0 auto -75px}
#footer,.push{clear:both;height:75px}

/* header */
#header{width:100%;height:150px;background:url(images/bg-header.png) 0 0 repeat-x}
.logo a{display:block;width:100%;height:150px;background:url(images/korps-logo.png) 50% 50% no-repeat}
#header h1 a{display:block;width:100%;height:150px;background:url(images/headline-logo.png) 0 0 no-repeat;text-indent:-9999px}
.ad a img{display:block;margin:17px 0}

/* menu */
#menu{width:100%;height:50px;background:#A10303}
#menu a{display:block;height:50px;line-height:50px;font-size:13px;text-transform:uppercase;text-align:center;color:#fff;background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(200,20,20)),color-stop(1, rgb(161,3,3)));background-image: -moz-linear-gradient(center bottom,rgb(200,20,20) 0%,rgb(161,3,3) 100%);-webkit-border-top-left-radius:10px;-webkit-border-top-right-radius:10px;-moz-border-radius-topleft:10px;-moz-border-radius-topright:10px;border-top-left-radius:10px;border-top-right-radius:10px}
#menu a:focus,#menu a:hover{background:#C81414}

/* breadcrumb navi */
#breadcrumb{width:100%;height:50px;background:#fff url(images/bg-breadcrumb.png) 0 0 repeat-x;line-height:50px;font-size:12px;color:#999}
#breadcrumb a{color:#444}
#breadcrumb a:focus,#breadcrumb a:hover{color:#666}



.content {
	margin-bottom: 40px;
    }

.content h2,
.content h3,
.content h4 {
	display: block;
	clear: both;
    }

.content h2.first {
	margin-top: 0!important;
	}
.content h2 {
	margin: 30px 0 30px 0;
	font-size: 22px;
    }

.content h2,
.content h2 a,
.content h3 a,
.content p a {
	color: #A10303;
    }

.content h2 a:focus,
.content h2 a:hover,
.content h3 a:focus,
.content h3 a:hover,
.content p a:focus,
.content p a:hover {
	color: #C81414;
    }

.content h3 {
	margin: 30px 0 20px 0;
	color: #A10303;
	font-size: 18px;
    }

.content h4 {
	font-size: 14px;
    font-weight: bold;
    color: #000;
    margin: 0 0 5px 0;
    }
    
.post-thumbnail /* excerpt index loop */ {
	width: 300px; 
	height: 150px;
	float: left; 
	margin: 0 10px 0 0;
	}

.post {
margin: 0 0 50px 0;
}

.content hr {
	clear: both;
    width: 590px;
    height: 70px;
    margin: 0 auto;
    background: url('images/hr.png') no-repeat 0 0;
    border: 0;
	}

.content p,
.content li {
	font-size: 13px;
    line-height: 21px;
    padding: 0 0 10px 0;
    }

.content ul {
	margin: 0 0 15px 20px;
	}
	
.content li  {
	line-height: 100%!important;
	padding: 0 0 3px 0!important;
	list-style-type: circle;
	}
	
.content a span {
	display: block;
	font-size: 12px;
    color: #444;
    line-height: 21px;
    padding: 0 0 20px 0;
    }

.content img.alignleft {
	margin: 0 10px 0 0;
    }
.content img.alignright {
	margin: 0 0 0 10px;
}

.content img.aligncenter {
	margin: 10px auto;
    }

.content a img {
	opacity: 1;
    }

.content a:focus img,
.content a:hover img {
	opacity: .85;
    }

#middle a[href$=".pdf"] {
	padding: 0 16px 0 0!important;
    background: url('images/link-pdf.gif') 100% 2px no-repeat!important;
	}

#middle  a[href^="http:"] {
	padding: 0 16px 0 0;
    background: url('images/link-extern.png') 100% 4px no-repeat;
	}

#middle a[href^="http://www.feuerwehr-waidhofen.at/afk"],
#middle a[href^="http://feuerwehr-waidhofen.at/afk/"],
#middle a[href^="http://www.afk-waidhofen.at/"],
#middle a[href^="http://afk-waidhofen.at/"] {
	padding: 0;
    background: transparent;
	}


.gallery {
    margin: 10px auto 5px auto;
	overflow: hidden;
   	}

.gallery-item {
	width: 30%;
    text-align: center;
    float: left;
    margin-bottom: 10px;
    margin-right: 5%;
    }

.gallery-item:nth-child(3n){
	margin-right: 0!important;
	}
	/*
.gallery img {
	width: 100%;
	height: auto;
	}
*/
.gallery a {
	opacity: .7;
	}

.gallery a:focus,
.gallery a:hover  {
	opacity: 1;
    }

.gallery-caption {
	margin-bottom: -20px;
	padding: 3px 0  6px 0;
	font-size: 11px;
    text-transform: uppercase;
	color: #999;
	}



/* PageNavi */

.pagination{text-align:center;position:relative;overflow:hidden;margin:0 0 30px 0}
.pagination span,.pagination a{display:inline-block;width:30px;height:30px;text-align:center;font-size:12px;line-height:30px;background:#333!important;color:#fff!important;margin:20px 10px 20px 0}
.pagination a:focus,
.pagination a:hover,
.pagination .current{background:#c00!important;color:#fff!important}



/* sidebar */
.widget{margin:0 0 20px}
.sidebar h2{color:#A10303;font-size:18px;margin:0 0 10px}
.sidebar li{display:block;font-size:13px;margin:0 0 8px}
.sidebar a{color:#444;border-bottom:1px solid #ccc}
.sidebar a:focus,.sidebar a:hover{color:#000;border-bottom:1px solid #999}

/* footer */
#footer {background:#222 url(images/bg-footer.png);color:#fff}
#footer p{line-height:65px;font-size:10px;text-transform:uppercase}
#footer a{color:#ccc;border-bottom:1px solid #666}
#footer a:focus,#footer a:hover{color:#fff;border-bottom:1px solid #999}