/**
 * Parafia pw. św. Jadwigi Królowej w Lublinie
 *
 * @author Paweł Przybyś (pawel.przybys@gmail.com)
 */

/**
 * Reset
 */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
article, aside, dialog, figure, footer, header, hgroup, nav, section { display: block; }
body { line-height: 1.5; }
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }

/**
 * Typography
 */

html { font-size: 100.01%; }
body { font-size: 75%; color: #222; background: #fff; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #111; }
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; }
p { margin: 0 0 1.5em; }
a:focus, a:hover { color: #000; }
a { color: #009; text-decoration: underline; }
blockquote { margin: 1.5em; color: #666; font-style: italic; }
strong { font-weight: bold; }
em, dfn { font-style: italic; }
dfn { font-weight: bold; }
sup, sub { line-height: 0; }
abbr, acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
del { color: #666; }
pre { margin: 1.5em 0; white-space: pre; }
pre, code, tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
li ul, li ol { margin: 0; }
ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em; }
table { margin-bottom: 1.4em; width: 100%; }
th { font-weight: bold; }
thead th { background: #c3d9ff; }
th, td, caption { padding: 4px 10px 4px 5px; }
tfoot { font-style: italic; }
caption { background: #eee; }

/**
 * Clearfix
 */

.clearfix:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }
.clearfix { display: block; }

/**
 * Global
 */

body { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: "MS Serif", "New York", serif; }
a { color: #074C9C; text-decoration: none; }
a:focus, a:hover { color: #074C9C; text-decoration: underline; }
thead th { background: #E8EDF5; }

/**
 * Container
 */

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

/**
 * Header
 */

#header { padding: 20px 0; border-bottom: 1px solid #ccc; }
#header h1 { font-size: 4em; margin-bottom: 0; }
#header h1 a:hover, #header h1 a:focus { text-decoration: none; }

/**
 * Main Nav
 */

#nav { border-bottom: 1px solid #ccc; margin-bottom: 20px; }
#nav ul { margin: 0; padding: 0; list-style: none; }
#nav ul li,
#nav ul li a,
#nav ul li a span { float: left; }
#nav ul li { font-size: 1.2em; line-height: 1.25; }
#nav ul li a { color: #444; padding: 10px 0; }
#nav ul li a:hover,
#nav ul li a:focus { color: #000; text-decoration: none; }
#nav ul li a span { padding: 0 20px; border-right: 1px solid #ccc; }

#homepage #nav .homepage a,
#news #nav .news a,
#intentions #nav .intentions a,
#gallery #nav .gallery a,
#contact #nav .contact a { color: #000; }

/**
 * Main
 */

#main { padding-bottom: 20px; border-bottom: 1px solid #ccc; margin-bottom: 10px; }
#wrapper { float: left; width: 716px; }
#wrapper .gallery { border-bottom: 1px solid #ccc; margin-bottom: 20px; }
#wrapper .gallery h3 { margin-bottom: .5em; }
#wrapper .gallery .photo { float: left; border: 1px solid #eee; line-height: 0; padding: 5px; margin-bottom: 1.5em; margin-right: 15px; }
#wrapper .pagination { text-align: center; }
#wrapper .pagination a:hover, #wrapper .pagination a:focus { text-decoration: none; }
#wrapper .pagination a:hover span, #wrapper .pagination a:focus span { text-decoration: underline; }

/**
 * Content
 */

#content { float: left; width: 455px; }
#content .news { border-bottom: 1px solid #ccc; margin-bottom: 20px; }
#content .news h3 { margin-bottom: 0; }
#content .news .date { margin-bottom: 1.5em; color: #888; font-size: .916em; line-height: 1; }

#content form input[type="text"], #content form textarea { margin-bottom: 15px; }
#content form input[type="text"] { width: 65%; }
#content form textarea { width: 90%; }
#content form .errors { color: #f00; }

#gallery #content { float: none; width: auto; }

/**
 * Extra
 */

#extra { float: right; width: 225px; border-left: 1px solid #ccc; padding-left: 15px; }
#extra .gallery { border-bottom: 1px solid #ccc; margin-bottom: 20px; }
#extra .gallery h3 { margin-bottom: .5em; }
#extra .gallery .photo { border: 1px solid #eee; line-height: 0; padding: 5px; margin-bottom: 1em; }

/**
 * Sidebar
 */

#sidebar { float: right; width: 213px; border-left: 1px solid #ccc; padding-left: 15px; }
#sidebar ul { padding: 0; margin: 0 0 20px; list-style: none; }
#sidebar ul li { padding: 5px 0; border-bottom: 1px solid #eee; }

/**
 * Footer
 */

#footer { padding-bottom: 10px; border-bottom: 1px solid #ccc; }
#footer p { float: left; color: #888; margin-bottom: 0; }
#footer ul { float: right; margin: 0; padding: 0; list-style: none; }
#footer ul li { display: inline; margin-right: .5em; color: #888; }
#footer ul li a { margin-right: .5em; }
