/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body, * { padding: 0; margin: 0; font-size: 15px; line-height: 1.2em; font-family: 'Roboto Condensed', sans-serif; }
html, body { min-width: auto !important; position: relative; height: 100%; background: #003174; color: #fff; }
a { color: #fff; outline: 0; }
a:hover, a:active, a:focus { outline: 0; }
section { display: block; min-height: 100% !important; width: 100%; min-width: 960px; padding: 0; margin: 0; position: relative !important; }
article { min-height: 385px; width: 920px; padding: 60px 20px 80px 20px; margin: 0 auto; }

nav { display: block; width: 960px; padding: 40px 0; margin: 0 auto; text-align: center; }
nav a { font-size: 24px; font-weight: 300; text-decoration: none; margin: 0 35px; padding-bottom: 5px; }
nav a[href="#uvod"] { display: block; position: absolute; bottom: 20px; left: 49%; right: 49%; margin: 0; }

section#uvod nav a[href="#uvod"] { display: none; }
section#uvod { background: url(../img/meandros-main-01.jpg) no-repeat center; background-size: cover; }
section#uvod img { position: absolute; top: 45%; left: 50%; right: 50%; margin-left: -183px; }

p, ul li { line-height: 2em; }
p { padding: 0; margin: 0 0 15px 0; }

section#ospolocnosti nav a[href="#ospolocnosti"], section#sluzby nav a[href="#sluzby"], section#referencie nav a[href="#referencie"], section#kontakt nav a[href="#kontakt"] { border-bottom: 2px solid #fff; }

.alignleft { text-align: left; }
.alignright { text-align: right; }

.floatleft { float: left; }
.floatright { float: right; }

.textimage { margin: 0 40px; }
.textimage.left { margin-left: 0px; float: left; }
.textimage.right { margin-right: 0px; float: right; }

#sluzby ul { display: block; width: 270px; list-style: none; padding: 0; margin: 0; float: left; padding: 25px 0; }
#sluzby ul li { font-size: 14px; line-height: 2.6em; }

.cycle-slideshow { width: 760px; height: 235px; overflow: hidden; margin: 0 auto; }
.cycle-slideshow div { width: 760px; height: 235px; overflow: hidden; position: relative; }
.cycle-slideshow div span { position: absolute; line-height: 2em; top: 65px; bottom: 0px; left: 340px; right: 0px; }
.cycle-slideshow div img { margin-right: 40px; float: left; }

.pager { text-align: center; margin-top: 80px; height: 40px; }
.pager a { text-decoration: none; display: inline-block; height: 16px; width: 16px; margin: 0 9px; font-size: 0px !important; line-height: 15px; vertical-align: middle; -webkit-border-radius: 20px;-moz-border-radius: 20px; border-radius: 20px; background: #fff; color: #fff; }
.pager .cycle-pager-active { height: 25px; width: 25px; line-height: 30px; }
.arrows { display: block; position: relative; }
.arrows #prev, .arrows #next { display: block; position: absolute; background: url(../img/slide-arrows.png) no-repeat; width: 17px; height: 42px; position: absolute; top: 97px; cursor: pointer; }
.arrows #next { background-position: right; right: 30px; }
.arrows #prev { left: 30px; }

section#kontakt { position: relative !important; }
section#kontakt article { padding-top: 30px; }
section#kontakt nav { background: #fff; width: 100%; z-index: 9999; }
section#kontakt nav a { color: #003174; border-bottom-color: #003174 !important; }
section#kontakt nav a[href="#uvod"] img { background-color: #003174; padding: 10px; }
section#kontakt #map { display: block; position: absolute; top: 0px; bottom: 0px !important; width: 100%; z-index: -1; background: url(../img/map-tmp.jpg); background-position: center; }
section#kontakt .contacts { width: 195px; padding: 25px 30px; background: #fff; color: #003174; }
section#kontakt .contacts address { font-style: normal; line-height: 1.7em; margin-bottom: 15px; }
section#kontakt .contacts h1, section#kontakt .contacts h2 { font-weight: 400; padding: 0; margin: 0 0 10px 0; }
section#kontakt .contacts form input, section#kontakt .contacts form textarea { display: block; margin: 0 0 15px 0; padding: 7px 10px; width: 173px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; outline: none; border: 1px solid #003174; font-family: 'Roboto Condensed', sans-serif; font-weight: 300; color: #003174; }
section#kontakt .contacts form textarea { height: 50px; resize: vertical; }
section#kontakt .contacts form input:last-child { border: 0px solid; width: 195px; margin-bottom: 0px; padding: 10px 0; background: #003174; color: #fff; font-family: 'Roboto Condensed', sans-serif; font-size: 20px; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (orientation: portrait) and (max-height: 770px) {
	section { height: 1260px; }
}


@media screen and (orientation: portrait) and (min-height: 770px) {
	section { height: 1160px; }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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