html , body{
    height: 100%;
}
body{
    background-color: #fff;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    margin:0em;
    padding:0em;
}

/*
 * DEFAULTS
 */
h1, h2, div.h2 { font-size: 3em; margin: 0 0 0.5em 0; padding:0 0 5px 0; color: #000000; font-weight: normal; }
h3, div.h3 { font-size: 3em; margin: 0.5em 0 0.5em 0; padding:0; color: #000000; font-weight: normal; }
h4 { font-size: 1.1em; margin: 1em 0 0.5em 0; padding:0; color: #000000; }
h5 { font-size: 1.0em; margin: 1em 0 0.5em 0; padding:0; color: #000000; }

a { color:#2084B2; text-decoration:none; outline:none; }
a:hover { color:#2084B2; text-decoration:underline; }
a img { border: none; }

img.ico { vertical-align:middle; }

.half { width:48%; }
.fl { float:left; }
.fr { float:right; }

.cleaner { height: 0; margin: 0; padding: 0; border: 0 none; line-height: 0; font-size: 0; clear: both; visibility: hidden; }

.rounded {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

/*
 * REPORTS
 */
.report { min-height:18px; _height:18px; text-align:left; margin:0 auto 5px auto; color:#000000; font-size:1.3em; padding:5px 25px 5px 40px; position:relative; background:none; z-index:1; }
.report span.ico { display:block; width:29px; height:27px; margin:1px 3px 1px 1px; background:url(images/reports.gif) no-repeat top left; position:absolute; top:0px; left:0px; z-index:2; }
.report span.ico-OK    { background-position:0px 0px; }
.report span.ico-ERROR { background-position:-36px 0px; }
.report span.ico-INFO  { background-position:-72px 0px; }
.report span.ico-ALERT { background-position:-108px 0px; }
.report span.ico-HELP  { background-position:-144px 0px; }

#reports { background:#FFF; padding:10px 10px 5px 10px; text-align:left; position:absolute; z-index:10003; top:-1000px; }
#reports img.close { position:absolute; top:15px; right:10px; z-index:1002; cursor:pointer; }

#overlay {
    position:absolute;
    top:0;
    left:0;
    background:#000;
    display:none;
    z-index:10002;
}

/*
 * TABLES
 */
table .c { text-align:center; }
table .r { text-align:right; }
table .l { text-align:left; }

table.list { border-collapse:separate; margin:0em; padding:0em; font-size:1em; empty-cells:show; }
table.list th, table.list td { padding:3px 5px; }
table.list th { font-weight:bold; text-align:left; background:#000000; color:#FFF; vertical-align:top; padding:3px 5px; }
table.list td { font-weight:normal; color:#000; text-align:left; border-bottom:1px solid #FFF; border-top:1px solid #D0D0D0; }
table.list th a { color:#FFFFFF; text-decoration:underline; }
table.list-full { width:100%; }

table.zebra tr.odd td { background:#F4F4F4; }
table.zebra tr.even td { background:#EFEFEF; }
table.highlight tr td.highlight, table.highlight tr.highlight td.highlight { background:#FFFDD5; }
table.list tr.highlight td { background:#E4FFD7; }

/**
 * ARTICLES
 */

div.listItemContainer { padding:10px 0 0 0; }
div.listItemContainer div.listItem { padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #eaeaea; }
div.listItemContainer div.listItem div.image { float:left; width:180px; height:120px; padding-left:4px; }
div.listItemContainer div.listItem div.contentWithImage { padding-left:210px; }
div.listItemContainer div.listItem div.content div.title { color:#000; font-size:1.2em; font-weight:bold; text-transform: uppercase; }
div.listItemContainer div.listItem div.content div.title a { color:#000; text-decoration: none; }
div.listItemContainer div.listItem div.content div.title a:hover { color:#AFB3B9; text-decoration: none; }
div.listItemContainer div.listItem div.content div.more a { color:#000; }
div.listItemContainer div.listItem div.content p { margin:0; padding:0.5em 0; }

/**
 * GALLERY
 */

div.photogallery { padding: 10px 0; margin:0 -0.5%; }
div.photogallery a { width: 15.66%; float:left; margin:5px 0.5%; transition: color 0.3s ease 0s; }
div.photogallery a img { width: 100%; padding:5%; box-sizing: border-box; -webkit-transition: -webkit-box-shadow .3s ease, border-color .3s ease; transition: box-shadow 0.3s ease 0s, border-color 0.3s ease 0s; }
div.photogallery a img:hover, div.photogallery a img:focus { border-color: #fff; -webkit-box-shadow: 0 0 1.2em rgba( 0, 0, 0, .25 ); box-shadow: 0 0 1.2em rgba( 0, 0, 0, .25 ); }

@media only screen and (max-width: 680px) {
    div.photogallery { margin:0 -1%; }
    div.photogallery a { width: 23%; margin:5px 1%; }
    div.photogallery a img { padding:6%; }
}
@media only screen and (max-width: 639px) {
    div.body > header a img:last-child {
        margin: auto;
        display: block;
    }
}

@media only screen and (max-width: 480px) {
    div.body > header {
        padding: 10px 0px !important;
    }
    div.body > header a img:last-child{
        padding: 0px !important;
        padding-bottom: 30px !important;
        margin: auto;
        display: block;
    }
    div.photogallery { margin:0 -1.5%; }
    div.photogallery a { width: 30.3%; margin:5px 1.5%; }
    div.photogallery a img { padding:6%; }
}

@media only screen and (max-width: 380px) {
    div.photogallery { margin:0 -2%; }
    div.photogallery a { width: 46%; margin:5px 2%; }
    div.photogallery a img { padding:5%; }
}

/**
 * DOWNLOAD
 */
div.documents { clear:both; padding:15px 0; background:#EBEFF2; }
div.documents span.document { display: inline-block; padding: 2px 15px; }
div.documents span.document a { color:#0A9FBB; }
div.documents span.document a:hover { color:#333; }

@media only screen and (max-width: 380px) {
    div.documents .col { width:100%; }
    div.documents .col span.document { padding-left:0; padding-right:0; }
}

/**
 * VIDEA
 */

.contentVideo { margin-top:1em; margin-bottom:1em; }
.contentVideoItem { float:left; margin:5px; }
.contentVideoItem p { margin:0; padding:5px 0 0 0; }
.contentVideoItem p strong { color:#000; }

/*
 * FORMS
 */
form { margin:0em; padding:0em; }

input, select, textarea, button { font-family:Arial, sans-serif; font-size:1em; vertical-align: middle; }
input.text { width:250px; }
input.text-medium { width:200px; }
input.text-small { width:150px; }
input.text-xsmall { width:110px; }
input.text-xxsmall { width:50px; }
input.text-date { width:6em; }

.input {
    max-width: 100%;
    border-left:1px solid #c6c7c7;
    border-top:1px solid #c6c7c7;
    border-bottom:none;
    border-right:none;
    background:#eaeaea;
    padding:5px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.buttons { margin-top:1em; }
.buttons-right { text-align:right; }
.buttons-center { text-align:center; }

div.body > header a img:first-child{
    padding-left: 10px;
    max-width: 44px;

    display: none;
}

button.styled { border:none; background:transparent; padding:0; cursor:pointer; margin:0; width:auto; overflow:visible; height:auto; font-size:1em; font-family:'Noto Sans',Tahoma,Sans-Serif; }

table.form { margin:0em 0em; font-size:1em; border-collapse:collapse; }
table.form-full { width:100%; }
table.form th, table.form td { padding:2px 5px; vertical-align:top; }
table.form th { font-weight:bold; text-align:left; background:#D2E8F5; color:#000; vertical-align:top; padding:2px 5px; }
table.form td { font-weight:normal; color:#000; text-align:left; border-bottom:1px solid #D2E8F5; }
table.form td.label { font-weight:bold; padding-top:0.5em; width:140px; }
table.form td.label-core { color:#F00; }
table.form td.th { font-weight:normal; text-align:right; padding-top:0.4em; width:140px; border-bottom:1px dotted #CCC; border-right:1px dotted #CCC; }
table.form input, table.form textarea, table.form select { vertical-align:middle; }

#previewInfo { background: #B20C24; color:#FFF; padding:5px 0; text-align: center; }


/**
 * zakladny layout responzivita min. width 200px
 */

/* Dead Simple Grid (c) 2015 Vladimir Agafonkin */

.row .row { margin:  0 -1.5em; }
.col      { padding: 0  1.5em; }

.row:after {
    content: "";
    clear: both;
    display: table;
}

@media only screen {
    .col {
        float: left;
        width: 100%;
        box-sizing: border-box;
    }}

div.body {
    background: #ebeff2;
    padding-bottom: 30px;
    overflow: hidden;
}

div.body > header{
    position: relative;
    margin: 0 auto;
    margin-bottom: -8px;
    padding-top: 40px;
    max-width: 1100px;
}

div.body > header a img:first-child{
    padding-left: 10px;
    max-width: 44px;

    display: none;
}

div.body > header a img:last-child{
    padding-left: 25px;
    max-height: 47px;
    padding-bottom: 20px;
    max-width: 90%;
}

/* Tlacidlo pre zobrazenie navigacie pre zariadenia s mensim displejom */
/*

div.body > header .btn{
    display: block;
    position: relative;
    padding: 15px 4px 20px;
    background-color: #4386F9;
    cursor: pointer;
    margin-top: -15px;
}
*/
div.body > header .btn:hover{ background-color: white; }
div.body > header .btn:hover span{ background-color: #4386F9; }

div.body > header .btn span{
    display: block;
    padding: 2px 0;
    margin: 4px auto;
    background-color: #ffffff;
    cursor: pointer;
    width: 50px;
}

div.body section.content div.righTopPicture{ display: none; }

div.body section.content{
    position: relative;
    margin-bottom: 60px;
    padding: 60px 20px;
    background-color: #ffffff;
    z-index: 1;
}
div.body section.content div.content-body {
    position: relative;
    z-index: 4;
}

@media (min-width: 480px) {

    div.body > header a img:first-child{
        display: none;
    }

    div.body > header a img:last-child{
        padding-bottom: 50px;
        padding-left: 10px;
        max-height: 47px;
    }

}

/* Horizontalne menu */
div.body > nav{
    display: block;
    position: relative;
    background-color: #ffffff;
}

div.body > nav ul{
    margin: 0 auto;
    padding:0;
    max-width: 1100px;
    text-align: center;
}

div.body > nav li{ list-style: none; }
div.body > nav a, nav a:hover, nav a:visited{ text-decoration: none; }
div.body > nav a {
    display: block;
    padding: 16px 20px;
    color: #000000;
    font-size: 1.05em;
}

div.body > nav  a:active, nav a:hover, nav li:hover, .active{
    color: #FFFFFF !important;
    background-color: #4386F9;
}

div.body > nav .active a { color: #ffffff; }
div.body > nav li:hover a{ color: #ffffff; }

/* Vysuvacie polozky hlavneho menu */
div.body > nav .submenu{
    display: block;
    min-width:87px;
    background-color: #4386F9;
}

div.body > nav li ul li, .submenuShow li{
    overflow: hidden;
    margin: 0;
    height:0;
}

.submenuShow li{
    height: 40px !important;
    margin: 1px 0;
    box-shadow: 0px 10px 1px -10px #b32a2a;
}

.submenuShow li:first-child{ padding-top: 8px; }
.submenuShow li:last-child{
    padding-bottom: 8px;
    box-shadow: none !important;
}

.submenu a{
    color: #FFFFFF !important;
    padding: 11px 12px 11px 12px !important;
}

#horizontalNav{ display: none; }
#horizontalNav:checked ~ nav {
    max-height: 3000px;
    border-bottom: solid 1px #dcdcdc;
    border-top: solid 1px #dcdcdc;
}

#horizontalNav:checked ~ section .righTopPicture{ display: none; }

@keyframes slideDown{
    from{ min-height: 0px;}
    to{min-height: 50px; }
}

/* Kontext menu */

#kontextMenu {
    position: absolute;
    top:-30px;
    right:15px;
}

#kontextMenu, #kontextMenu a, #kontextMenu a:visited {
    color: #908f8f;
    text-align: right;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9em;
}
#kontextMenu a:hover, #kontextMenu{ color: #000000 !important; }


body footer > div {
    position: relative;
    margin:0 auto;
    padding: 30px 0 30px 0;
    color: #000000;
    text-align: center;
    max-width: 1100px;
}

/* Tlacidlo scroll Up */
#pageUpArrow{
    position: absolute;
    top:-25px;
    right: 0;
    width: 50px;
    height: 50px;
    background: url('images/arrowUp.PNG') no-repeat top left;
    cursor: pointer;
}

@media (max-width: 480px){
    #pageUpArrow{
        left: 0;
        margin: auto;
    }
}

@media (max-width: 980px){
    div.body > nav{
        height: auto;
        max-height: 0;
        overflow: hidden;
        -webkit-transition: all 0.3s ease-in;
        -moz-transition: all 0.3s ease-in;
        -o-transition: all 0.3s ease-in;
        transition: all 0.3s ease-in;
    }
}

@media (min-width: 480px){
    div.body section.content{ padding: 60px; }
    #pageUpArrow{ right:15px; }
    body footer > div { padding: 10px 0 30px 0; }
}
@media (min-width: 768px){
    div.body > header .btn{
        position: absolute;
        top: 35px;
        right: 70px;
        padding: 15px 4px;
        width: 50px;
        background-color: #4386F9;
        cursor: pointer;
        margin-top:0;
        margin-bottom: 20px;
    }

    div.body section.content div.righTopPicture{
        display: block;
        position: absolute;
        top: -225px;
        right: -220px;
        z-index: 3;
    }
    .righTopPicture{ display: block; }
    div.body section.content div.righTopPicture img{ max-width: 100%; }
}


 

@media (min-width: 768px) {
    div.body section.content{
        max-width: 980px;
        margin: 0 auto;
        margin-bottom: 60px;
    }
}

@media (min-width: 980px) {
    div.body section.content{
        margin-top: 50px;
        box-shadow: 0px 0 40px #d0d0d0;
    }
    div.body > nav{
        display: block;
        min-height: 50px;
        border-bottom: solid 1px #dcdcdc;
        border-top: solid 1px #dcdcdc;
    }

    div.body > nav li:hover .submenu li{
        height: 40px;
        margin: 1px 0;
        box-shadow: 0px 10px 1px -10px #1B3766;
    }

    div.body > nav li:hover .submenu li:first-child{ padding-top: 8px; }
    div.body > nav li:hover .submenu li:last-child{
        padding-bottom: 8px;
        box-shadow: none !important;
    }

    div.body > nav > ul{
        display: block;
        position: relative;
        z-index: 4;
        text-align: left;
        width: 1100px;
        padding-left: 60px;
    }

    div.body > header .btn{ display: none; }
    div.body > nav > ul > li{
        display:inline-block;
        text-align: center;
        margin: 0;
    }

    div.body > nav .submenu{ position: absolute; }
    div.body > nav .submenu li a{
        display: block;
        min-width: 157px;
        text-align: left;
        padding-left: 22px;
        padding-right: 22px;
    }
    div.body section.content div.righTopPicture img{ max-width: none; }
}

/* Tlacidla socialnej siete */
body footer a { color:#000; }
body footer .social { display: inline-block; width: 40px; height: 40px; margin: 20px 5px; }
body footer .social > span { display:none; }
body footer .fb{ background: url('images/fbIcon.png'); }
body footer .googlePlus{ background: url('images/googleIcon.png'); }
body footer .twitter{ background: url('images/twitIcon.png'); }
body footer .youtube{ background: url('images/youtube.png'); }

/* Article */
.small-article{
    position: relative;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
}

.small-article div{
    position: relative;
    text-align: justify;
}

.small-article footer{
    min-height: 15px;
}

.small-article footer span{
    font-size: 0.8em;
    font-weight: bold;
}

.small-article footer a{
    position:relative;
    float: right;
    right: 5px;
    background:#4386F9;
    padding: 3px 15px;
    color:#FFF;
}

.small-article footer a:hover{
    background-color: #000;
}

.small-article h3{ font-size: 1.4em; }

.small-article a,.small-article a:hover, .small-article a:visited{
    text-decoration: none;
    color: #000000;
}

@keyframes ChangeBackground {
    from{background-color: #ffffff; color:#000000;}
    to{background-color: #ffa3a2; color: #ffffff; }
}

@media (min-width: 768px) {
    .small-article img{
        max-width: 120px;
        max-height: 120px;
    }

    .small-article img:hover { transition: all 0.2s; }
    .small-article footer {
        margin-top: 10px;
    }
}

@media (min-width: 915px ){
    .small-article{
        float: left;
        width:50%;
    }
}
@media only screen and (max-width: 1100px) {
    div.body > header a img:last-child {
        padding-left: 60px;
    }
}

#overlay {
    position:absolute;
    top:0;
    left:0;
    background: rgba(0,0,0,0.3);
    display:none;
    z-index:10002;
}
#overlay.overlayWhite {
    background: rgba(255,255,255,0.7);
}

div.web-popup { display:none; background:#FFF; border-radius:3px; font-size: 1.1em; padding:0; text-align:left; position:absolute; z-index:10003; top:0; zoom: 1; -webkit-box-shadow: 0 0 50px rgba(0,0,0,0.3); -moz-box-shadow: 0 0 50px rgba(0,0,0,0.3); box-shadow: 0 0 50px rgba(0,0,0,0.3); }
div.web-popup span.close {
    position:absolute;
    top:12px;
    right:12px;
    z-index:10003;
    cursor:pointer;
    display: block;
    width: 22px;
    height: 22px;
    background: url(/public/images/cross-black.svg) no-repeat center center;
    background-size: 20px 20px;
}
div.web-popup div.body { padding:15px 30px; }
div.web-popup div.body a { color:#FFF !important; }
div.web-popup div.body a:hover { color:#000 !important; }


/* Carsten CSS */

.righTopPicture {display: none!important}
div.body section.content {margin-top: 0px; box-shadow: none}
.pici {text-align: center; margin: auto; width: 1100px}
.pici img { width: 100%; height: auto}

div.body > header {padding-top: 10px}

.content-body p {font-size: 16px}


    div.body > header .btn{
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 15px 4px;
        width: 50px;
        background-color: #4386F9;
        cursor: pointer;
        margin-top:0;
        margin-bottom: 20px;
    }


@media (min-width: 980px) {
header {display: none}
}

@media  (max-width: 1100px) {
.pici {width: 100%}
}

@media  (max-width: 520px) {
.content-body ul li {margin-left: 0px!important}
header img {width: 60%;  text-align: left}
div.body > header a img:last-child {margin: 10px; padding-bottom: 10px}
}