/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #ff6600;
    text-shadow: none;
}

::selection {
    background: #ff6600;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a {
    color: #ff6600;
}

.homepage a {
    color: #ffe763;
    text-decoration: none;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px 'DINProRegular', Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Theme
   =================== */

.main-container.homepage {
    background-color: #1e9632;
    color: #fff;
    text-align: center;
    border: none;
}

.header-container {
    border-bottom: none;
}

.header-container .wrapper {
    border-bottom: 2px solid #cdd5d8;
}

.header-container.homepage {
    background-color: #fff;
}

.header-container.homepage .wrapper, .header-container.googlemap .wrapper {
    border: none;
}

.footer-container .wrapper {
    border-top: 2px solid #cdd5d8;
}

.footer-container.homepage .wrapper, .footer-container.no-border .wrapper {
    border: none;
}

.header-container,
.footer-container,
.main aside {
    background: #fff;
}

.title {
    color: Green;
}

.main-container {
    background-color: #fff;
    /* color: #717677; */
    color: #333;
}

h1 {
    color: #e8aa17;
    font-family: 'DINProLight';
    font-size: 2.5em;
    font-weight: normal;
    line-height: 0.9em;
}

h1.pagesclass_2 {
    color: #46b446;
}

h1.pagesclass_3 {
    color: #f4d400;
}

h1.pagesclass_4 {
    color: #f4b800;
}

h1.pagesclass_5 {
    color: #ff6600;
}

h1.pagesclass_8 {
    color: #00BBF8;
}

h2 {
    color: #333;
    font-family: 'DINProLight';
    font-size: 2.2em;
    font-weight: normal;
    line-height: 1.2em;
    margin: 0.5em 0 0.3em 0;
}

section.galleryitem {
    display: block;
    width: 224px;
    height: 320px;
    margin: 0px auto 17px auto;
    border: 4px solid #e3e6e7;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.galleryitem_innerborder {
    width: 222px;
    height: 318px;
    border: 1px solid #acaeaf;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
}

.galleryitemimg {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 214px;
    height: 140px;
}

.galleryitemimg img {
    width: 100%;
    height: 100%;
}

.galleryitemheader {
    position: absolute;
    line-height: 1.3em;
    top: 150px;
    left: 8px;
    width: 206px;
    height: 50px;
}

.galleryitemheader a {
    color: #4db848;
    font-size: 1.1em;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.galleryitemaddress, .galleryitemschool {
    position: absolute;
    bottom: 45px;
    left: 8px;
    width: 206px;
    color: #717677;
    font-family: 'DINProLight';
    font-size: 1em;
    line-height: 1.2em;
    padding: 0;
    margin: 0;
    vertical-align: text-bottom;
}

.galleryitemschool {
    bottom: 95px;
}

.galleryitembottom {
    position: absolute;
    bottom: 5px;
    left: 0px;
    width: 222px;
    height: 30px;
    border-top: 1px solid #e3e6e7;
}

.galleryitemvote {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 135px;
    height: 26px;
    text-align: right;
    font-size: 0.9em;
    line-height: 1.1em;
}

.galleryitemvote a {
    color: #4db848;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: 'DINProLight';
}

.galleryitemvotescount {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 105px;
    height: 23px;
    font-family: 'DINProLight';
    font-size: 0.9em;
    line-height: 1.1em;
    color: #717677;
}

.visual {
    display: none;
    position: relative;
}

.googlemapdiv, #map_canvas {
    width: 100%;
    height: 250px;
}

.googlemapdiv p {
    margin: 0;
    line-height: 1.5em;
}

.harmonogram {
    width: 100%;
    height: 500px;
    background: #46b446 url('/img/harmonogram_mobil.png') center 110px no-repeat;
    background-size: 400px 330px;
}

.harmonogram h2 {
    color: #fff;
}

.hlasovanie h2, .hlasovanie p {
    color: #000;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 1px;
    padding: 10px 0 10px 45px;

    text-align: left;
    text-decoration: none;

    color: white !important;
    background: #1e9632;

    font-family: 'DINProRegular', Arial;
    font-weight: normal;

    background-image: url('/img/nav-icon-1_large.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    background-size: 27px 27px;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: none;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.homepage .main article h1 {
    font-size: 2em;
    font-family: 'DINProBold', Arial;
    font-weight: normal;
    color: #fff;
    line-height: 1.2em;
}

.main article span.txtbold {
    font-family: 'DINProBold', Arial;
    font-weight: normal;
}

.main article p.txtemp {
    font-family: 'DINProRegular', Arial;
    font-weight: normal;
    font-size: 1.3em;
}

.main article p.txtemp a {
    color: #ffe763;
    text-decoration: none;
}

header.wrapper, footer.wrapper {
    width: 100%;
    margin: 0;
}

.footer-container footer {
    padding: 20px 0;
}

footer section {
    margin: 0 5%;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h3 {
    font-weight: normal;
    font-size: 1.5em;
    margin: 1em 0 .3em 0;
}

nav ul li:nth-child(2) a {
    background-color: #46b446;
    background-image: url('/img/nav-icon-2_large.png');
    background-size: 27px 27px;
}

nav ul li:nth-child(3) a {
    background-color: #f4d400;
    background-image: url('/img/nav-icon-3_large.png');
    background-size: 27px 27px;
}

nav ul li:nth-child(4) a {
    background-color: #f4b800;
    background-image: url('/img/nav-icon-4_large.png');
    background-size: 27px 27px;
}

nav ul li:nth-child(5) a {
    background-color: #ff6600;
    background-image: url('/img/nav-icon-5_large.png');
    background-size: 27px 27px;
}

.logo {
    text-align: center;
    width: 150px;
    height: 90px;
    margin: 0 auto 5px auto;
}

.logo img {
    width: 100%;
    height: 100%;
}

.footerpartners {
    text-align: center;
    display: inline;
}

.sectionpartners h3 {
    font-size: 1em;
}

.sectioncopy p {
    margin: 0.5em 0;
}

footer {
    color: #9a9d9e;
}

footer section {
    margin-bottom: 15px;;
}

footer section p {
    font-size: 0.75em;
}

a.roundgallery {
    display: inline-block;
    margin: 5px auto;
    padding: 120px 40px 15px 40px;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    color: #1e9632;
    background: #fff url('/img/icon_gallery.png') center 15px no-repeat;
    background-size: 100px 100px;

    font-family: 'DINProMedium', Arial;
    font-weight: normal;
    font-size: 1em;

    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

.internetoveradysubpage {
    display: inline-block;
    padding: 1em 1em;
    background: #00bbf8;
    font-size: 1.3em;
    line-height: 1.3em;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    vertical-align: middle;
}

.txthighlighted {
    font-size: 1.3em;
    color: #00bbf8;
}

.txtnote {
    font-size: 0.8em;
    line-height: 1.2em;
}

.projectgroupsnav {
    margin-bottom: 65px;
}

.projectgroupsnav div {
    display: block;
    margin: 1px 0;
}

.projectgroupsnav a {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 15px;
    color: #fff !important;
    text-decoration: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    line-height: 1em;
    font-family: 'dinpromedium';
    font-size: 1.05em;
}

.projectgroupsnav a span {
    font-size: 0.9em;
    font-family: 'dinproregular';
}

.projectgroupsnav div:nth-child(1) a {
    background-color: rgba(70, 180, 70, 1);
}

.projectgroupsnav div:nth-child(1) a:hover {
    background-color: rgba(70, 180, 70, .9);
}

.projectgroupsnav div:nth-child(2) a {
    background-color: rgba(255, 121, 32, 1);
}

.projectgroupsnav div:nth-child(2) a:hover {
    background-color: rgba(255, 121, 32, .9);
}

.projectgroupsnav div:nth-child(3) a {
    background-color: rgba(244, 184, 0, 1);
}

.projectgroupsnav div:nth-child(3) a:hover {
    background-color: rgba(244, 184, 0, .9);
}

.projectgroupsnav div.disabled a {
    background-color: rgba(176, 176, 176, 1) !important;
}

.projectgroupsnav div.disabled a:hover {
    background-color: rgba(176, 176, 176, .9) !important;
}

.votesresultsrow {
    padding: 5px 0;
    border-bottom: 1px solid #fff;
}

.votesresultsrownumber {
    display: inline-block;
    width: 50px;
}

.votesresultsrownumber span {
    display: inline-block;
    padding: 1px 7px 1px 10px;
    background: #fff;
    border: #fff;
    color: #000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.votesresultsrowproject {
    display: inline-block;
    width: 70%;
    color: #fff;
    padding: 3px 0 0 0;
    height: 1.5em;
    vertical-align: middle;
    overflow: hidden;
}

.votesresultsrowproject a {
    color: #fff;
    text-decoration: none;
}

.votesresultsrowschool {
    display: inline-block;
    width: 80%;
    color: #000;
    height: 1.5em;
    padding: 3px 0 0 50px;
    vertical-align: middle;
    overflow: hidden;
}

.votesresultsrowvotes {
    display: inline-block;
    color: #000;
    width: 80%;
    padding: 3px 0 0 50px;
}

.hlasovanie {
    background: #f0b500;
}

a span.slovanet_at {
    font-family: Trebuchet MS, Arial;
    font-weight: normal;
}

.formbox {
    float: left;
    display: inline;
    width: 40%;
    margin: 0px 30px 0px 0px;
    padding: 0;
}

.formtitle {
    color: #111111;
    vertical-align: top;
    white-space: nowrap;
    text-align: left;
    padding: 15px 0 3px 0;
}

.formfield {
    color: #111111;
    vertical-align: top;
    white-space: nowrap;
    text-align: left;
    padding: 0 0 2px 0;
}

.btn {
    font-family: 'dinproregular';
    font-size: 20px;
    background-color: #ff6600;
    border: 1px solid #ff6600;
    padding: 15px 25px;
    color: #fff;
}

.btn.btnhlasovanie {
    padding: 5px 25px;
}

.ibox {
    max-height: 40px;
    padding: 10px 10px 10px 4px;
    border: 1px solid #ff6600;
}

.hlasovanie .ibox {
    border: 1px solid #f0b500;
}

.col-1-3 {
    box-sizing: border-box;
    display: inline-block;
    width: 33.333%;
}

.col-winner {
    box-sizing: border-box;
}

.col-vysledky {
    box-sizing: content-box;
    width: 100%;
    margin: 0 auto;
}

.vysledkygroupnav a {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 15px;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    line-height: 1em;
    font-family: 'dinpromedium';
    font-size: 1.05em;
}

.vysledkygroupnav a span {
    font-size: 0.9em;
    font-family: 'dinproregular';
}

.groupnav-art a {
    background-color: rgba(70, 180, 70, 1);
}

.groupnav-art a:hover {
    background-color: rgba(70, 180, 70, 0.9);
}

.groupnav-literary a {
    background-color: rgba(255, 121, 32, 1);
}

.groupnav-literary a:hover {
    background-color: rgba(255, 121, 32, .9);
}

.groupnav-digital a {
    background-color: rgba(244, 184, 0, 1);
}

.groupnav-digital a:hover {
    background-color: rgba(244, 184, 0, .9);
}

.col-1-3:nth-child(1) .groupnav a {
    background-color: rgba(70, 180, 70, 1);
}

.col-1-3:nth-child(1) .groupnav a:hover {
    background-color: rgba(70, 180, 70, 0.9);
}

.col-1-3:nth-child(2) .groupnav a {
    background-color: rgba(255, 121, 32, 1);
}

.col-1-3:nth-child(2) .groupnav a:hover {
    background-color: rgba(255, 121, 32, .9);
}

.col-1-3:nth-child(3) .groupnav a {
    background-color: rgba(244, 184, 0, 1);
}

.col-1-3:nth-child(3) .groupnav a:hover {
    background-color: rgba(244, 184, 0, .9);
}

a.registerbutton {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.9em;
    color: #fff;
    text-decoration: none;
    line-height: 1.3em;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: rgba(255, 121, 32, 1);
    -webkit-transition: background 500ms linear;
    -moz-transition: background 500ms linear;
    -ms-transition: background 500ms linear;
    -o-transition: background 500ms linear;
    transition: background 500ms linear;
}

a.registerbutton:hover {
    background-color: rgba(70, 180, 70, 1);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 481px) {

    /* ====================
        INTERMEDIATE: Menu
       ==================== */
    nav {
        display: table;
        margin: 0 auto;
    }

    nav a {
        width: 89px;
        margin: 0;
        padding: 53px 0 7px 0;
        margin-bottom: 50px;
        font-size: .8em;
        text-align: center;
        -webkit-border-radius: 25px;
        -moz-border-radius: 25px;
        border-radius: 25px;
        background-position: center 8px;
        background-repeat: no-repeat;
        background-size: 45px 45px !important;
        white-space: nowrap;
    }

    nav ul li div {
        display: inline-block;
        width: 89px;
        margin: 0;
        padding: 0;
    }

    nav ul li div:hover, nav ul li div.navsel {
        background: transparent url('/img/nav-icon-arrow-1_large.png') center 81px no-repeat;
        background-size: 69px 22px;
    }

    nav ul li:nth-child(2) div:hover, nav ul li:nth-child(2) div.navsel {
        background: transparent url('/img/nav-icon-arrow-2_large.png') center 81px no-repeat;
        background-size: 69px 22px;
    }

    nav ul li:nth-child(3) div:hover, nav ul li:nth-child(3) div.navsel {
        background: transparent url('/img/nav-icon-arrow-3_large.png') center 81px no-repeat;
        background-size: 69px 22px;
    }

    nav ul li:nth-child(4) div:hover, nav ul li:nth-child(4) div.navsel {
        background: transparent url('/img/nav-icon-arrow-4_large.png') center 81px no-repeat;
        background-size: 69px 22px;
    }

    nav ul li:nth-child(5) div:hover, nav ul li:nth-child(5) div.navsel {
        background: transparent url('/img/nav-icon-arrow-5_large.png') center 81px no-repeat;
        background-size: 69px 22px;
    }

    .wrapper {
        width: 460px;
        margin: 0 auto;
    }

    .gallery .wrapper {
        width: 480px;
        margin: 0 auto;
    }

    .gallery h1 {
        padding-left: 10px;
    }

    h1.pagesclass_2 {
        color: #46b446;
    }

    h1.pagesclass_3 {
        color: #f4d400;
    }

    h1.pagesclass_4 {
        color: #f4b800;
    }

    h1.pagesclass_5 {
        color: #ff6600;
    }

    section.galleryitem {
        float: left;
        display: inline;
        width: 224px;
        height: 300px;
        margin: 0px 4px 8px 4px;
    }

    .visual {
        height: 220px;
        background: #022801 url(/img/visual-small_2014.jpg) top center no-repeat;
    }

    .homepage .visual {
        display: block;
    }

    #homevisual {
        position: relative;
        height: inherit;
    }

    #internetoverady, #header-dotaznik {
        box-sizing: border-box;
        display: inline-block;
        width: 100px;
        display: block;
        position: absolute;
        top: 160px;
        right: 90px;
        padding: 0.6em 0em;
        background: #00bbf8;
        font-size: 0.5em;
        line-height: 1.3em;
        color: #fff;
        text-align: center;
        text-transform: uppercase;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        border-radius: 7px;
    }

    #header-dotaznik {
        right: -15px;
        background: #ffc000;
    }

    #internetoverady:hover {
        background: #04ace3;
    }

    #header-dotaznik:hover {
        background: #e3ab00;
    }

    #header-sipka-2015, #header-sipka-dotaznik-2015, #header-sipka-vysledky-2015 {
        position: absolute;
        display: inline-block;
        top: 0px;
        right: 0px;
        width: 113px;
        height: 80px;
        background: transparent url('/img/header-sipka-2015.png') center no-repeat;
        background-size: 113px 80px;
    }

    #header-sipka-dotaznik-2015 {
        background: transparent url('/img/header-sipka-dotaznik-2015.png') center no-repeat;
    }

    #header-sipka-vysledky-2015 {
        background: transparent url('/img/header-sipka-vysledky-2015.png') center no-repeat;
    }

    a.registerbutton {
        padding: 1em 1.8em;
        font-size: 1.2em;
        line-height: 1.3em;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }

    .logo {
        width: 225px;
        height: 135px;
        margin-bottom: 10px;
    }

    .logo img {
        width: 100%;
        height: 100%;
    }

    .sectionpartners {
        float: right;
        display: inline;
    }

    .sectionpartners h3 {
        float: left;
        display: inline;
        margin: 0;
        padding: 9px 25px 0 0;
    }

    .sectioncopy {
        float: left;
        display: inline;
    }

    .sectionpartnerscentered {
        text-align: center;
        display: block;
        float: none;
    }

    .sectionpartnerscentered h3 {
        text-align: center;
        display: inline-block;
        float: none;
        vertical-align: middle;
        padding-top: 5px;
    }

    .sectionpartnerscentered .footerpartners {
        text-align: center;
        display: inline-block;
        float: none;
        vertical-align: middle;
    }

    footer section p {
        font-size: 0.75em;
    }

    .googlemapdiv, #map_canvas {
        height: 300px;
    }

    #map_canvas {
        width: 80%;
        margin: 0 auto;
    }

    .harmonogram {
        height: 200px;
        background: #46b446 url('/img/harmonogram.png') center 110px no-repeat;
        background-size: 480px 47px;
    }

    /* ========================
        INTERMEDIATE: IE Fixes
       ======================== */
    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

    .projectgroupsnav div {
        vertical-align: top;
        display: inline-block;
        width: 32%;
        margin: 0 0.25%;
        min-height: 120px;
    }

    .projectgroupsnav a {
        min-height: 120px;
        padding: 12px 18px;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
        line-height: 1.2em;
        font-size: 0.9em;
    }

}

@media only screen and (min-width: 768px) {

    /* ============
        WIDE: Menu
       ============ */
    .logo {
        float: left;
        margin: 5px 0 15px 10px;
    }

    nav {
        display: inline-block;
        float: right;
        width: 470px;
        margin: 57px 0 0 0;
    }

    /* ============
        WIDE: Main
       ============ */
    header.wrapper {
        width: 768px;
        margin: 0 auto;
    }

    footer.wrapper {
        width: 768px;
        margin: 0 auto;
    }

    .visual {
        height: 250px;
        background: #022801 url(/img/visual-medium_2014.jpg) top center no-repeat;
    }

    #internetoverady, #header-dotaznik {
        width: 110px;
        top: 182px;
        right: 185px;
        padding: 0.5em 0.5em;
        font-size: 0.7em;
        line-height: 1.3em;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

    #header-dotaznik {
        right: 70px;
    }

    #header-sipka-2015, #header-sipka-dotaznik-2015, #header-sipka-vysledky-2015 {
        position: absolute;
        display: inline-block;
        top: 0px;
        right: -22px;
        width: 113px;
        height: 80px;
        background: transparent url('/img/header-sipka-2015.png') center no-repeat;
        background-size: 113px 80px;
    }

    #header-sipka-dotaznik-2015 {
        background: transparent url('/img/header-sipka-dotaznik-2015.png') center no-repeat;
    }
    #header-sipka-vysledky-2015 {
        background: transparent url('/img/header-sipka-vysledky-2015.png') center no-repeat;
    }

    a.registerbutton {
        padding: 1em 1.8em;
        font-size: 1.2em;
        line-height: 1.3em;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }

    .wrapper {
        width: 700px;
        margin: 0 auto;
    }

    .gallery .wrapper {
        width: 768px;
        margin: 0 auto;
    }

    .main article h1 {
        font-size: 2.5em;
        font-weight: normal;
        line-height: 1.2em;
    }

    .gallery h1 {
        padding-left: 34px;
    }

    section.galleryitem {
        float: left;
        display: inline;
        width: 224px;
        height: 320px;
        margin: 0px 17px 17px 0px;
    }

    section.galleryitem:nth-child(4n) {
        margin-right: 0;
    }

    .homepage .main article p {
        font-family: 'DINProLight', Arial;
        font-size: 1.5em;
        line-height: 1.3em;
    }

    .main article p.txtemp {
        font-family: 'DINProLight', Arial;
        font-weight: normal;
        font-size: 2.2em;
    }

    .main article p.txtemp a {
        color: #ffe763;
        text-decoration: none;
    }

    a.roundgallery {
        font-size: 1em;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
    }

    .googlemapdiv, #map_canvas {
        height: 350px;
    }

    .harmonogram {
        height: 275px;
        background: #46b446 url('/img/harmonogram.png') center 135px no-repeat;
        background-size: 760px 75px;
    }

    .img_right {
        float: right;
    }

    .projectgroupsnav a {
        min-height: 80px;
    }

    .votesresultsrownumber span {
        padding: 3px 9px 3px 12px;
    }

}

@media only screen and (min-width: 1000px) {

    /* ===============
        Maximal Width
       =============== */
    .logo {
        margin: 5px 0 15px 0px;
    }

    header.wrapper {
        width: 990px;
        margin: 0 auto;
    }

    footer.wrapper {
        width: 990px;
        margin: 0 auto;
    }

    .wrapper {
        width: 850px; /* 990px - 2x70 for margins */
        margin: 0 auto;
    }

    .gallery .wrapper {
        width: 990px;
    }

    .homepage .main article h1 {
        font-size: 2em;
    }

    .main article h1 {
        font-size: 3.8em;
    }

    .gallery h1 {
        padding-left: 75px;
    }

    /*
    section.galleryitem:nth-child(4n) {
        margin-right: 0px;
    }
    */
    .visual {
        height: 427px;
        background: #022801 url(/img/visual-large_2014.jpg) top center no-repeat;
    }

    #internetoverady, #header-dotaznik {
        width: 180px;
        top: 310px;
        right: 150px;
        padding: 0.6em 0.7em;
        font-size: 0.9em;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }

    #header-dotaznik {
        right: -40px;
    }

    #header-sipka-2015, #header-sipka-dotaznik-2015, #header-sipka-vysledky-2015 {
        position: absolute;
        display: inline-block;
        top: 0px;
        right: -63px;
        width: 246px;
        height: 174px;
        background: transparent url('/img/header-sipka-2015.png') center no-repeat;
    }

    #header-sipka-dotaznik-2015 {
        background: transparent url('/img/header-sipka-dotaznik-2015.png') center no-repeat;
    }
    #header-sipka-vysledky-2015 {
        background: transparent url('/img/header-sipka-vysledky-2015.png') center no-repeat;
    }

    a.registerbutton {
        padding: 1em 1.8em;
        font-size: 1.2em;
        line-height: 1.3em;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }

    .logo {
        width: 300px;
        height: 180px;
    }

    nav {
        float: right;
        width: 680px;
        margin: 70px 0 0 0;
    }

    nav ul li div {
        display: inline-block;
        width: 128px;
        margin: 0 2px;
        padding: 0;
    }

    nav ul li div:hover, nav ul li div.navsel {
        background: transparent url('/img/nav-icon-arrow-1_large.png') center 121px no-repeat;
    }

    nav ul li:nth-child(2) div:hover, nav ul li:nth-child(2) div.navsel {
        background: transparent url('/img/nav-icon-arrow-2_large.png') center 121px no-repeat;
    }

    nav ul li:nth-child(3) div:hover, nav ul li:nth-child(3) div.navsel {
        background: transparent url('/img/nav-icon-arrow-3_large.png') center 121px no-repeat;
    }

    nav ul li:nth-child(4) div:hover, nav ul li:nth-child(4) div.navsel {
        background: transparent url('/img/nav-icon-arrow-4_large.png') center 121px no-repeat;
    }

    nav ul li:nth-child(5) div:hover, nav ul li:nth-child(5) div.navsel {
        background: transparent url('/img/nav-icon-arrow-5_large.png') center 121px no-repeat;
    }

    nav a {
        width: 128px;
        margin: 0;
        padding: 88px 0 12px 0;
        margin-bottom: 65px;
        font-size: 1em;
        text-transform: uppercase;
        text-align: center;
        -webkit-border-radius: 35px;
        -moz-border-radius: 35px;
        border-radius: 35px;
        background-position: center 13px;
        background-repeat: no-repeat;
        background-size: 70px 70px !important;
    }

    footer section {
        margin: 0;
    }

    .googlemapdiv, #map_canvas {
        width: 100%;
        height: 450px;
    }

    .harmonogram {
        height: 330px;
        background: #46b446 url('/img/harmonogram.png') center 135px no-repeat;
    }

    .projectgroupsnav div {
        display: inline-block;
        float: none;
        width: 32.5%;
        margin: 0 0.25%;
    }

    .projectgroupsnav a {
        min-height: 2em;
        margin: 0;
        padding: 15px 20px;
        color: #fff !important;
        text-decoration: none;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
        line-height: 1.2em;
        font-family: 'dinpromedium';
        font-size: 1.1em;
    }

    .votesresultsrowproject {
        width: 40%;
        height: 2em;
    }

    .votesresultsrowschool {
        width: 45%;
        height: 2em;
        padding: 3px 0 0 0;
    }

    .votesresultsrowvotes {
        float: right;
        color: #000;
        width: 90px;
        text-align: right;
        padding: 3px 0 0 0;
    }

    .col-1-3 {
        box-sizing: border-box;
        display: inline-block;
        width: 33.333%;
    }

    .col-winner {
        box-sizing: border-box;
    }

    .col-vysledky {
        box-sizing: content-box;
        width: 232px;
        margin: 0 auto;
    }

    .vysledkygroupnav a {
        display: block;
        box-sizing: border-box;
        margin: 0;
        padding: 12px 15px;
        color: #fff !important;
        text-decoration: none;
        text-align: center;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        line-height: 1em;
        font-family: 'dinpromedium';
        font-size: 1.05em;
    }

    .vysledkygroupnav a span {
        font-size: 0.9em;
        font-family: 'dinproregular';
    }

    .groupnav-art a {
        background-color: rgba(70, 180, 70, 1);
    }

    .groupnav-art a:hover {
        background-color: rgba(70, 180, 70, 0.9);
    }

    .groupnav-literary a {
        background-color: rgba(255, 121, 32, 1);
    }

    .groupnav-literary a:hover {
        background-color: rgba(255, 121, 32, .9);
    }

    .groupnav-digital a {
        background-color: rgba(244, 184, 0, 1);
    }

    .groupnav-digital a:hover {
        background-color: rgba(244, 184, 0, .9);
    }

    .vysledkymore a {
        display: block;
        box-sizing: border-box;
        margin: 0;
        padding: 12px 15px;
        text-decoration: none;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        line-height: 1em;
        font-family: 'dinpromedium';
        font-size: 1.05em;
    }

    .vysledkymore a span {
        font-size: 0.9em;
        font-family: 'dinproregular';
    }

    .groupmore-art a {
        color: rgba(70, 180, 70, 1);
    }

    .groupmore-art a:hover {
        color: rgba(70, 180, 70, 0.9);
    }

    .groupmore-literary a {
        color: rgba(255, 121, 32, 1);
    }

    .groupmore-literary a:hover {
        color: rgba(255, 121, 32, .9);
    }

    .groupmore-digital a {
        color: rgba(244, 184, 0, 1);
    }

    .groupmore-digital a:hover {
        color: rgba(244, 184, 0, .9);
    }

    .gallery h2 {
        padding-left: 75px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}