/**
 * Abiturient
 *
 * @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; }

/**
 * Clear
 */

.clear { display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }

/**
 * Container
 */

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

/**
 * Welcome page
 */

#welcome-page { color: #666; font-size: .75em; font-family: Arial, Helvetica, sans-serif; }

/**
 * Page
 */

#page { color: #666; font-size: .75em; font-family: Arial, Helvetica, sans-serif; }

/**
 * Welcome
 */

#welcome { position: relative; width: 960px; height: 562px; }
#welcome .logo { position: absolute; top: 120px; left: 0; height: 0; overflow: hidden; }
#welcome .map { position: absolute; top: 20px; left: 270px; }
#welcome .welcome { position: absolute; top: 92px; left: 750px; width: 210px; }
#welcome .welcome h1 { font-size: 2em; }
#welcome .welcome a { text-decoration: none; }
#welcome .welcome a:hover { text-decoration: underline; }
#welcome .locations { color: #ccc; position: absolute; bottom: 64px; left: 0; width: 960px; margin: 0; text-align: center; }
#welcome .locations strong { color: #666; }
#welcome .locations a { text-decoration: none; margin: 0 .25em; }
#welcome .locations a:hover { text-decoration: underline; }
#welcome .copyright { position: absolute; bottom: 22px; left: 0; width: 960px; margin: 0; font-size: .917em; text-align: center; }

/**
 * Header
 */

#header { position: relative; width: 960px; height: 165px; }
#header .logo { position: absolute; top: 40px; left: 0; z-index: 2; }
#header .logo a { display: block; height: 0; overflow: hidden; }
#header .photo { position: absolute; top: 0; left: 154px; z-index: 1; }
#header .location { position: absolute; top: 34px; right: 0; width: 180px; z-index: 3; background: url(../img/map.png) top right no-repeat; }
#header .location h3 { font-size: 1.166em; color: #999; margin: 0; line-height: 1.3; }
#header .location h2 { font-size: 1.666em; color: #666; margin-bottom: .25em; line-height: 1.3; font-weight: bold; }
#header .location select { width: 100%; }

/**
 * Main
 */

#main .column-wrapper { float: right; width: 760px; }

/**
 * Content
 */

#content { float: left; width: 500px; padding: 40px 30px 0; }
#content h1 { font-size: 2em; }
#content h2 { font-size: 1em; font-weight: bold; margin-bottom: .5em; }
#content h3 { font-size: 1em; font-weight: normal; margin-bottom: .5em; }
#content h4 { font-size: 1em; font-weight: normal; margin-bottom: .5em; }
#content h5 { font-size: 1em; font-weight: normal; margin-bottom: .5em; }
#content h6 { font-size: 1em; font-weight: normal; margin-bottom: .5em; }
#content a { text-decoration: none; }
#content a:hover { text-decoration: underline; }
#content .advantages { margin: 0 -20px; padding: 0; list-style: none; }
#content .advantages li { float: left; width: 140px; height: 179px; padding: 40px 20px 20px; overflow: hidden; }
#content .advantages .group { background-position: 0 0; }
#content .advantages .dates { background-position: -180px 0; }
#content .advantages .payment { background-position: -360px 0; }
#content .advantages h2 { font-size: 1.666em; line-height: 1.2; color: #fff; margin-bottom: 30px; }
#content .advantages p { margin: 0; font-size: .917em; color: #fff; }
#content .breadcrumb { font-size: .917em; line-height: 1.1; }
#content .breadcrumb a,
#content .breadcrumb span { float: left; }
#content .breadcrumb span { padding: 5px 10px; }
#content .breadcrumb .home { padding: 5px 10px 5px 0; border: 0; }
#content .breadcrumb .home a { display: block; width: 13px; height: 0; padding-top: 11px; overflow: hidden; background: url(../img/home.png) no-repeat; }
#content form .row { overflow: hidden; padding: 8px 0; }
#content form .row p { float: left; margin: 0; padding: 2px 8px 2px 0; width: 176px; text-align: right; }
#content form .row p span { font-size: .917em; }
#content form input[type="text"] { width: 216px; }
#content form select { width: 192px; }
#content form textarea { width: 310px; height: 112px; }
#content form label { cursor: pointer; }
#content form .errors { margin: 0 0 0 184px; color: #f00; padding-left: 0; list-style: none; }
#content form .subjects { margin: 8px 0; padding: 12px 0; }
#content form .subjects p,
#content form .class_type p,
#content form .place p { padding: 0 8px 0 0; }
#content form .submit { margin-left: 184px; }
#content form button[type="reset"] { border: 0; background: none; color: #666; }
#content .news h1 { margin-bottom: .25em; }
#content .news h2 { margin-bottom: 0; }
#content .news .date { font-size: .917em; line-height: 1; margin-bottom: 1em; color: #999; }
#content .gallery { float: left; padding-right: 10px; padding-bottom: 10px; }
#content .gallery a { display: block; width: 218px; overflow: hidden; padding: 10px 10px 4px; background: #fff; }
#content .gallery a:hover { text-decoration: none; }
#content .gallery a span { display: block; width: 218px; height: 146px; line-height: 1; overflow: hidden; }
#content .gallery a strong { display: block; overflow: hidden; padding-top: 4px; height: 18px; }
#content .gallery a:hover strong { text-decoration: underline; }
#content .photo { float: left; padding-right: 10px; padding-bottom: 10px; }
#content .photo a { display: block; width: 218px; height: 146px; line-height: 1; overflow: hidden; padding: 10px; background: #fff; }
#content .photo a:hover { text-decoration: none; }

/**
 * Extra
 */

#extra { float: right; width: 180px; padding-left: 20px; position: relative; z-index: 4; }
#extra .quick-contact-big { width: 180px; height: 110px; overflow: hidden; margin-bottom: 10px; }
#extra .quick-contact-big h2 { height: 0; padding-top: 30px; margin-bottom: 16px; overflow: hidden; }
#extra .quick-contact-big p { font-size: 1.666em; color: #fff; margin: 0 20px; line-height: 1.2; letter-spacing: -0.025em; }
#extra .go-on-big { width: 180px; height: 110px; overflow: hidden; margin-bottom: 20px; }
#extra .go-on-big h2 { height: 0; padding-top: 65px; overflow: hidden; margin: 0; }
#extra .go-on-big p { margin: 0; padding: 0 20px 0; }
#extra .go-on-big a { display: block; width: 83px; height: 0; padding-top: 25px; overflow: hidden; }
#extra .quick-contact-small { width: 180px; height: 64px; overflow: hidden; margin-bottom: 10px; }
#extra .quick-contact-small h2 { height: 0; padding-top: 30px; margin-bottom: 0; overflow: hidden; }
#extra .quick-contact-small p { color: #fff; margin: 0 10px; line-height: 1.2; }
#extra .go-on-small { width: 180px; height: 64px; overflow: hidden; margin-bottom: 20px; }
#extra .go-on-small h2 { height: 0; padding-top: 30px; overflow: hidden; margin: 0; }
#extra .go-on-small p { margin: 0; padding: 0 10px 0; }
#extra .go-on-small a { display: block; width: 83px; height: 0; padding-top: 25px; overflow: hidden; }
#extra h1 { font-size: 2em; color: #666; }
#extra h2 { font-size: 1em; font-weight: bold; margin-bottom: .5em; }
#extra p { font-size: .917em; margin-bottom: 1em; }
#extra a { text-decoration: none; }
#extra a:hover { text-decoration: underline; }
#extra .more a { display: block; width: 59px; height: 0; padding-top: 23px; overflow: hidden; }
#extra .important { margin-bottom: 1em; }
#extra .important.last { border: 0; }

/**
 * Sidebar
 */

#sidebar { float: left; width: 180px; padding-right: 20px; position: relative; z-index: 5; }
#sidebar h1 { font-size: 2em; color: #666; }
#sidebar .nav { margin-bottom: 20px; }
#sidebar .nav ul { list-style: none; padding: 0; margin: 0; }
#sidebar .nav .level1 li,
#sidebar .nav .level1 li a { height: 1%; }
#sidebar .nav .level1 li a { display: block; padding: 7px 35px 7px 10px; font-size: 1.25em; text-decoration: none; line-height: 15px; font-weight: bold; margin-bottom: 1px; color: #fff; }
#sidebar .nav .level1 .current a { background-position: -540px 100%; }
#sidebar .nav .level1 .subpages a { background-position: -720px 100%; }
#sidebar .nav .level1 .subpages .subpage a { font-weight: bold; }
#sidebar .nav .level1 li .level2 li,
#sidebar .nav .level1 li .level2 li a { height: 1%; }
#sidebar .nav .level1 li .level2 li a { background-position: -360px 100%; font-size: 1em; line-height: 15px; font-weight: normal; margin-bottom: 0; }
#sidebar .nav .level1 li .level2 li a:hover { text-decoration: underline; }
#sidebar .nav .level1 li .level2 .last a { border: 0; }

/**
 * Bottom
 */

#bottom { padding-top: 24px; }
#bottom h2 { font-size: 1.5em; color: #666; margin-bottom: .5em; }
#bottom a { text-decoration: none; }
#bottom a:hover { text-decoration: underline; }

/**
 * Recommended sites
 */

#recommended-sites { float: left; width: 180px; padding-right: 20px; }
#recommended-sites ul { list-style: none; padding: 0; }

/**
 * Must see
 */

#must-see { float: left; width: 500px; padding: 0 30px; }

/**
 * Gallery
 */

#gallery { float: left; width: 180px; padding-left: 20px; }
#gallery ul { margin: 0 0 1.5em; padding: 0; list-style: none; height: 50px; }
#gallery ul li { float: left; padding-right: 10px; line-height: 1; }
#gallery ul li a { display: block; padding: 4px; width: 40px; height: 40px; background: #fff; overflow: hidden; }
#gallery .more a { display: block; width: 59px; height: 0; padding-top: 23px; overflow: hidden; }

/**
 * Footer
 */

#footer .wrapper { width: 500px; margin: 0 auto; padding: 20px 0; }
#footer .inner { position: relative; }
#footer .social { position: absolute; top: 0; right: 0; margin: 0; }
#footer .social a { float: left; width: 16px; height: 0; padding-top: 16px; overflow: hidden; margin-left: 4px; }
#footer .social .nk { background: url(../img/nk.png) no-repeat; }
#footer .social .facebook { background: url(../img/facebook.png) no-repeat; }
#footer .social .twitter { background: url(../img/twitter.png) no-repeat; }
#footer .copyright { margin: 0; font-size: .917em; }
#footer .nav { font-size: .917em; }
#footer .nav ul { padding: 0; margin: 0 0 1em; list-style: none; }
#footer .nav ul li { display: inline; margin-right: .5em; }
#footer .nav ul li a { text-decoration: none; margin-right: .5em; }
#footer .nav ul li a:hover { text-decoration: underline; }
