/* CSS Document */

/* Stylopis pro pouĹľitĂ­ do tinymce ;) - zaÄŤĂˇtek */

h1, #slider .slogan h2 {
    color: black;
    font-family: 'Open Sans', Sans Serif;
    font-weight: 700;    
    margin: 0px 0 20px 0;
    font-size: 52px;
    display: block;
    padding: 0;
    position: relative;
    text-align: left;
}


h2 {
    color: #02aeef;
    font-family: 'Open Sans', Sans Serif;
    font-style: normal;
    font-weight: 500;
    margin: 20px 0 30px 0;
    font-size: 28px;
    display: block;
    padding: 0 0 15px 0;
    position: relative;
    border: 0;
    border-bottom: 1px solid #02aeef;
    text-align: left;
    clear: both;
}

h3 {
    color: #02254b;
    font-family: 'Open Sans', Sans Serif;
    font-style: normal;
    font-weight: 500;
    margin: 20px 0 10px 0;
    font-size: 21px;
    display: block;
    padding: 0;
    position: relative;
}

a {
    color: #02254b;
}
a:hover {
    color: #02aeef;
}

body {
    color: #6d7a8c;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    background: #FFFFFF;
    text-align: left;
    min-width: 500px;
}

p{
    text-align: left;
    color:#4c4c4c;
    font-size: 16px;
    font-weight: normal;
}

.text-stred{
    text-align: center;
}
.text-vpravo{
    text-align: right;
}

.width-100-percent,
 img.width-100-percent{
    width: 100%;
}

.separator{
    line-height: 1px;
    font-size: 1px;
    border-bottom: 1px dashed #adadad;
    margin: 0 0 40px 0;
}

.mobile{
    display: none;
}

#content .kontakty{
    border: 0;
    text-align: left;
    width:100%;
    clear: both;
    margin-bottom: 30px;
    }
    table.kontakty tr td{
        border: 0;
        text-align: left;
        padding:0 10% 30px 0;
        width:40%;
        vertical-align: top;
        text-align: left;
        }
        #content .kontakty ul{
            padding:0;
            }
            #content .kontakty ul li{
                list-style-position: inside;
            }
        table.kontakty tr td strong, #content .kontakty strong{
            font-weight: bold;
            font-size: 20px;
        }

    table.kontakty tr td:first-child{
        width:465px;
        max-width: 465px;
        padding-right: 0px;
    }
    table.kontakty tr td:last-child{
        width:auto;
        padding-right: 0%;
    }

    .person-card{
        float: left;
        width: 425px;
        margin: 0px 40px 0 0;
        }
        .person-card img {
            border-radius: 5px;
            margin: 0px 0px 0 0;
            padding: 0;
            box-shadow: 1px 1px 5px #aaa;
            width: 100%;
            max-width: 440px;
        }

.note {
    font-style: italic;
}

/* Stylopis­ do tinymce ;) - konec */


.adverts-content{

}
.adverts-content img{
    max-width: 400px;
    width: 100%
}

#top {
    width: 100%;
    position: fixed;
    margin: 0;
    padding: 0px;
    top: 0;
    left: 0;
    z-index: 110;
    background: #FFFFFF;
}

#top p.logo {
    position: relative;
    width: 290px;
    margin: 19px 0 0 20px;
    padding: 0;
    z-index: 198;
    text-align: center;
}

#top p.logo a{
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
}
#top p.logo a#hlavni {
    height: 65px;
    z-index: 199;
    background: transparent url("images/logo.png") no-repeat center top;
}

#top p.logo a strong {
    display: none;
}

.top {
    width: 100%;
    height: 125px;
    display: block;
    overflow: hidden;
    background: #FFFFFF;
}

.top .left {
    float: left;
}

.top .middle {
    text-align: center;
    font-size: 14px;
    float: left;
    width: 66%;
    line-height: 70px;
}

.top .middle span {
    font-size: 21px;
    color: #02aeef;
    font-weight: 700;
    margin-left: 15px;
}
.top .middle p {
    display: inline-block;
    margin:0 15px;
}

.top .right {
    float: right;
    height: 125px;
    width: 420px;
    text-align: right;
    }
    .top .right .weather {
        width:100%;
        height:89px;
        background: transparent;
        color: black;
        padding: 0 0 0 50px;
    }
        .top .right .weather .clouds {
            display: block;
            text-align: center;
            background: white;
            padding: 10px 0 10px 5px;
            margin: 0;
        }

        .top .right .weather .clouds p {
            display: block;
            height: 56px;
            padding: 12px 0 0 0;
            font-size: 30px;
            text-decoration: none;
            font-style: italic;
            float: left;
        }

        .top .right .weather .clouds span.picture {
            background-image: url("images/wins.jpg");
            display: block;
            height: 68px;
            margin: 0 0 0 0px;
            padding: 0 0 0 0px;
            width: 61px;
            float: left;
            display: none;
        }

        .top .right .weather .clouds p.first-line, .top .right .weather .clouds p.second-line{
            margin:0px;
            padding: 5px 0 0 15px;
            font-size: 20px;
            line-height: 28px;
            height: auto;
            display: block;
            min-width: 200px;
        }
        .top .right .weather .clouds p.second-line{
            font-size: 20px;
            margin-left: -18px;
        }
        .top .right .weather .clouds p.first-line span, .top .right .weather .clouds p.second-line span{
            font-size: 12px;
        }

        p .icon{
            height: 26px;
            width: 12px;
            background: transparent url("images/bg.png") no-repeat left center;
            display: inline-block;
            padding: 0;
            margin: 0 5px 0 18px;
        }
        p .icon.temp{
            background-position: left -30px;
        }
        p .icon.dew-point{
            background-position: left -60px;
            width: 33px;
        }
        p .icon.humidity{
            background-position: left -93px;
            width: 33px;
        }
        #content p .icon {
            margin: -8px 0 0 0;
            width: 38px;
        }

    .top .right .times {
        width:100%;
        height:37px;
        background: #02aeef url("images/bg-white-45.png") no-repeat left bottom;
        color: white;
        margin: 0;
        padding: 5px 10px 0 0;
        }
        .top .right .times span {
            display: inline-block;
            margin:0px 5px;
            padding:0px 0;
            }
            .top .right .times span strong{
                font-weight: normal;
                font-size: 12px;
            }

.top .right a {
    float: right;
    margin-right: 20px;
}

#menu {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    z-index: 90;
    background: #02254b;
    text-align: right;
    }

    #menu ul {
        font-size: 14px;
        margin: 0;
        padding: 0;
        position: relative;
        display: inline-block;
        text-align: right;
    }

    #menu ul li {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: inline-block;
        position: relative;
    }

    #menu ul li:first-child a {
        background: none;
    }

    #menu ul li a {
        font-family: 'Open Sans', sans-serif;
        display: inline-block;
        padding: 10px 30px;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        color: white;
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
        /* border-left: 1px solid #1070dc; */
        background: transparent url("images/bg.png") no-repeat left 8px;
        transition: 0.5s ease;
    }

    #menu ul li a span {
        white-space: nowrap
    }

    #menu ul li a:hover {
        color: #FFFFFF;
        text-decoration: none;
        background: #02aeef;
        }
        #menu ul li ul{
                    display: none;
                    position: absolute;
                    margin: 0px 0 10px 0;
                    padding: 7px 0 0 0;
                    top:41px; left: -85px;
                    width:340px; min-width: 250px;
                    background: transparent url("images/submenu-bg-hover.png") 135px 0px no-repeat;
                    }
                #menu ul li#itemMakce ul{ left:-155px; background-position: 205px 0px;}
                #menu ul li.opened ul,#menu ul li.selected ul{}
                #menu ul li ul.menu_visible{display:block;}

                    #menu ul li ul li{
                        margin:0px 0px 0px 0px;
                        padding:0 0px; color:white; z-index:99;
                        text-align:left;
                        clear:both;
                        display:block;
                        background: #02254b;
                        border:0px !important;
                        position:relative;
                    }
                    #menu ul li ul li a, #menu ul li.opened ul li a,#menu ul li.selected ul li a{
                        font-size: 14px;
                        color:white;
                        font-weight: 400;
                        padding: 10px 20px 10px 20px;
                        text-transform: none;
                        display: block;
                        width: auto;
                        background: none;
                    }
                    #menu ul li ul li a:hover, #menu ul li.opened ul li a:hover,#menu ul li.selected ul li a:hover {
                        color: #FFFFFF;
                        text-decoration: none;
                        background: #02aeef;
                    }
                    #menu ul li ul li.cleaner{
                        display:block;
                        height:1px;
                        visibility: visible;
                        background: none;
                    }

#top .mobile-link {
    display: none;
    width: 52px;
    height: 45px;
    margin: 12.5px 20px 12.5px 0;
    padding: 0;
    background: none;
    position: absolute;
    right: 0;
    top: 0;
}

#top .mobile-link a {
    display: block;
    position: relative;
    width: 52px;
    height: 45px;
    margin: 0;
    padding: 0;
    background: transparent url("images/mobile-menu.png") no-repeat top center;
}


/* ----------------------------------------------------- */

.has-error{
    color: #a40001 !important;
}
input.has-error{
    border:1px solid #a40001 !important;
    padding-left:10px !important;
}
/* ----------------------------------------------------- */

body {
    padding: 0;
    margin: 0;
    display: block;
}

#content {
    margin: 0 auto;
}

.mainBar {    
    margin: 0;
}

.mainBar_data {   
    max-width: 1070px;
    margin: 50px auto 50px auto;
    padding: 0 15px;
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
}

.mainBar_data ul {   
    list-style: url("images/ico_ul.png");
    list-style-position: outside;
    }

.mainBar_data li {   
    margin: 15px 15px 15px 0px;
    text-align: left;
    }

.mainBar_data p.slogan {
    margin-top: -112px;
    text-align: center;
    color: #FFFFFF;
    font-size: 20px;
    position: relative;
}

.rightBar {
    width: 25%;
    margin: 0;
    float: left;
}

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

.hmp_menu {

    margin: -100px auto 30px auto;
    text-align: center;
    max-width: 1100px;
    display: flex;
    display: -webkit-flex; /* Safari 8 */
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap; /* Safari 8 */
    justify-content: center;
    -webkit-justify-content: center;
}

.hmp_menu .button {
    position: relative;
    background: #FFFFFF;
    width: 320px;
    height: 280px;
    border-radius: 5px;
    margin: 20px;
    padding: 10px 20px;
    box-shadow: 1px 1px 5px #aaa;
    overflow: hidden;
}

.hmp_menu .button:hover {
    box-shadow: 1px 1px 20px #555;
}

.hmp_menu span {
    visibility: hidden;
    font-size: 16px;
}

.hmp_menu .button:hover span {
    visibility: visible;
    transition: 0.5s ease;
}

.hmp_menu .button:hover h2 {
    padding-top: 0;
}

.hmp_menu .button a {
    position: absolute;
    width: 320px;
    height: 280px;
    left: 0;
    top: 0;
    z-index: 50;
}

.hmp_menu .button a span {
    display: none;
}

.hmp_menu .button h2 {
    color: #222;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 700;
    display: block;
    margin: 30px 0  0 0 ;
    padding: 100px 0 0 0;
    transition: 0.5s ease;
    border: none;
    text-align: center;
}

.hmp_menu .button p{
    text-align: center;
}

.hmp_menu .btn_more_info {
    display: block;
    position: absolute;
    font-size: 16px;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0);
}

.hmp_menu .button{
    background: #FFFFFF url("images/bg-button.png") no-repeat center -10px;
}

.hmp_menu .button.btn_hmp2 {
    background-position: center -510px;
}

.hmp_menu .button.btn_hmp3 {
    background-position: center -1010px;
}

.hmp_menu .button:hover {
    background: #FFFFFF;
}

.hmp_menu .mainBar_hmp_text {
    padding: 40px 30px;
}

.articleDesc {
    display: block;
    font-size: 15px;
    margin-bottom: 15px;
}

#id_download {
    margin: 15px 0;
}

#id_download .dwnl_item {
    background: white;
    display: inline-block;
    padding: 0;
    height: 44px;
    line-height: 44px;
    margin: 5px 0;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#id_download .dwnl_item a {
    color: #282b30;
    padding: 0 10px 0 20px;
}

#id_download .dwnl_item span a {
    color: #aaa;
    padding-left: 15px;
}

#id_download .dwnl_item .ico {
    float: left;
    width: 50px;
    height: 44px;
    background: url("images/ico_download.png") no-repeat left center transparent;
}

.map {
    width: 100%;
    height: 350px;
    text-align: center;
    margin: 25px 0;
    border-right: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.map iframe {
    width: 100%;
    display: block;
    pointer-events: none;
    position: relative; /* IE needs a position other than static */
}

.map iframe.clicked {
    pointer-events: auto;
}

.formBox h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.formBox {
    width: 100%;
    min-height: 362px;
    position: relative;
    text-align: center;
    margin: 20px auto 0 auto;
    padding: 50px 0 80px 0;
    background: #dce5ec;
}

.form-content {
    width: 800px;
    margin: 0 auto;
}

.formBox .input2 {
    width: 90%;
}

.formBox input {
    width: 100%;
    display: block;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #afb8bf;
    padding: 5px 0;
    margin: 18px 0;
    font-size: 14px;
    color: #7c8a93;
}

.formBox .tableForm {
    width: 100%;
}

.formBox form {
    width: 100%;
}

.formBox .button {
    color: #FFFFFF;
    width: 250px;
    margin: 40px auto 0 auto;
    padding: 20px 30px;
    border-radius: 5px;
    background: #f26522;
    border: 2px solid #f26522;
    cursor: pointer;
    font-size: 18px;
    transition: 0.5s ease;
}

.formBox .button:hover {
    background: #FFFFFF;
    border: 2px solid #f26522;
    color: #f26522;
}

/* ------------------------------ */

.news-hp .news {
    margin: -25px 0 0 auto;
    padding: 0px 20px 0 0;
    width:530px;
}

.news .item {
    width: 100%;
    min-height: 100px;
    position: relative;
    text-align: left;
    margin: 25px 0;
    padding: 20px 0px;
    background: white;
}

.news-hp .news .item {
    padding: 20px;
    border-bottom: none;
}

.news .item h3{
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border: 0;
    color: #02aeef;
    border-bottom: 1px solid #02aeef;
}

.news .item h3 a{
    color: #02aeef;
}

.news .item h3 a:hover{
    color: #02254b;
    text-decoration: none;
}

.news .item span {
    position: absolute;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    top: 15px;
    right: 0;
    padding: 5px 17px;
    background: #5ec746;
}

.news .item .day{
    width:150px;
    position: absolute;
    top: 0;
    right: 0;
    color: #02aeef;
    font-size: 16px;
    text-align: right;
    padding: 20px;
}

.news .item p {
    padding-bottom: 20px;
}

/* -------------------------------------------------------------------------------------*/
#page {
    width: 100%;
    margin: 0;
    background: none;
    padding-top: 100px;
}

/* ---------------------------------  banner -----------------------------------------*/
.banner {
    position: relative;
}

.hp-banner #slider {
    width: 100%;
    padding: 0;
    height: 630px;
    overflow: hidden;
}

.kontakty-banner #slider {
    width: 100%;
    padding: 0;
    height: 300px;
    overflow: hidden;
}

.stranka_detail-banner #slider {
    width: 100%;
    padding: 0;
    height: 300px;
    overflow: hidden;
}

.reference-banner #slider {
    width: 100%;
    padding: 0;
    height: 300px;
    overflow: hidden;
}

#slider .slogan {
    position: absolute;
    max-width: 620px;
    max-height: 400px;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    bottom: 20%;
    left: 5%;
    text-align: left;
    color: white;
    font-size: 20px;
}

#slider .slogan h1, #slider .slogan h2{
    font-size: 52px;
    font-weight: 700;
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
    border: none;
}

#slider .slogan p{
    color:white;
}

#slider .slogan .button {
    color: #167ef2;
    width: 250px;
    margin: 40px auto 0 auto;
    padding: 20px 30px;
    border-radius: 5px;
    background: #f26522;
    border: 2px solid #f26522;
    cursor: pointer;
    transition: 0.5s ease;
}

#slider .slogan .button a {
    color: white;
    font-size: 16px;
    display: block;
}

#slider .slogan .button a:hover, #slider .slogan .button:hover a{
    color: black;
    text-decoration: none;
}

#slider .slogan .button:hover {
    background: transparent;
    text-decoration: none;
}


#page .banner ul#controls {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 100px;
    padding: 0px 0 0 0;
    margin: 0;
    text-align: right;
    z-index: 999;
    display: none;
}

#controls li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: inline-block;
}

#controls li a {
    display: block;
    text-indent: -9000px;
    background: #888888;
    width: 15px;
    height: 5px;
    cursor: pointer;
}

#controls li.current a {
    background: none repeat scroll 0 0 #02aeef;
}

#controls li a:hover {
    background: none repeat scroll 0 0 #02aeef;
}

#page .banner #slider .slide_item {
    float: left;
    display: none;
    width: 100%;
    height: 100%;
    background-size: 100% auto !important;
    background: url("../custom/styles/default/images/banner/slider-01.jpg") no-repeat center center transparent;
    overflow: hidden;
}

#page .banner #slider .slide_item{
    background-position: center center;
}
#page .banner.hp-banner #slider .slide_item{
    background-position: center center;
}

#page .banner #slider .slide_item.first {
    display: block;
}

#page .banner #slider .slide_item.screen-2 {
    background-image: url("../custom/styles/default/images/banner/slider-02.jpg");
}

#page .banner #slider .slide_item a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

#page .banner #slider .slide_item a span {
    display: none;
}

/* ******************* */

.reviews h2, .news-hp h2 {
    color: #02aeef;
    font-size: 28px;
    display: block;
    margin-bottom: 20px;
    text-align: center;
    border: none;
}

/* ************** */

.page-home .reviews {
    padding: 30px 5% 60px 5%;
    background: white;
    text-align: center;
}

.page-home .reviews h2 {
    border: none;
    text-align: center;
}

.reference-list {
    margin-left: 0;
    padding-left: 0;
}

.reference-list li {
    display: inline-block;
    width: 45% !important;
    padding-left: 5%;
    vertical-align: top;
}

.reviews h2, .news-hp h2 {
    color: #02aeef;
    font-size: 28px;
    display: block;
    margin-bottom: 20px;
    text-align: center;
    border: none;
}

.reviews a {
    color: #555;
}

.reviews .item {
    display: inline-table;
    margin: 0 20px 20px 20px;
    padding: 0;
    vertical-align: middle;
}

.reviews .item {
    height: 75px;
    vertical-align: middle;
}

.reviews .item a {
    display: inline-block;
}

.reviews .item a  span{
    display: none;
}

.reviews .item.reference_ekometalsrot a {
    width: 200px;
    height: 90px;
    margin-top: 0px;
    background: url("../img/gallery/logo_ekometalsrot.png") no-repeat center top transparent;
}

.reviews .item.reference_ekometalsrot:hover a {
    background-position: center -110px;
}

.reviews .item.reference_maxrental a {
    width: 270px;
    height: 80px;
    margin-top: 5px;
    background: url("../img/gallery/logo_maxrental.png") no-repeat center 0 transparent;
}

.reviews .item.reference_maxrental:hover a {
    background-position: center -90px;
}

.reviews .item.reference_esonet a {
    width: 270px;
    height: 75px;
    background: url("../img/gallery/logo_esonet.png") no-repeat center 0 transparent;
}

.reviews .item.reference_esonet:hover a {
    background-position: center -90px;
}


/* ************** */

.news-hp {
    position: relative;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 30px 5%;
    background: #dce5eb;
}

.news-hp .column {
    width: 50%;
    min-width: 490px;
    min-height: 120px;
    margin: 0 0 25px 0 ;
    padding: 0px 0px 0 0;
    float: left;
    color: #4c4c4c;
    font-weight: 700;
}


.news-hp .fb_iframe_widget, .news-hp .fb_iframe_widget span, .news-hp .fb_iframe_widget span iframe{
    width:100% !important;
}



.gallery-folders .item .day{
            position: absolute;
            left:10px;
            top:10px;
            font-weight: normal;
            font-size: 14px;
            padding: 7px;
            border:1px solid white;
            border-radius: 5px;
            margin: 0px 0px 0px 0px;
            text-align: center;
            width:45px;
            line-height: 14px;
        }

        .gallery-folders .item .day strong{
            display: block;
            font-size: 16px;
            line-height: 16px;
        }

.gallery-folders{
    text-align: center;
    margin:0 -20px;
    }
    .gallery-folders .item{
        width:231px;
        text-align: center;
        float:none;
        position:relative;
        margin:0 0 20px 20px;
        overflow: hidden;
        display: inline-block;
        cursor: pointer;
        }
        .gallery-folders .item{
            margin:0 0 20px 5px;
        }
        .gallery-folders .item:first-child{
            margin-left:0;
        }
        .gallery-folders .item .picture{
            padding:7px;
            border-radius: 10px;
            border:1px solid #02254b;
            overflow: hidden;
            position: relative;
            margin:0 0 20px 0;
            }
            .gallery-folders .item .picture a,
                p.fotogalerie a{
                overflow: hidden;
                display:block;
                text-align: center;
                margin:0; padding: 0;
                width: 213px;
                height: 213px;
                border-radius: 10px;
                }
                .gallery-folders .item .picture a img{
                    width:auto;
                    height:213px;
                    margin:0 0 0 -25%;
                }
                .gallery-folders .item .picture.vertical a img{
                    width: 213px;
                    height:auto;
                    margin: -25% 0 0 0;
                }
        .gallery-folders .item .day{
            top:198px;
            bottom:auto;
            left:93px;
            background: #02254b;
            color:white;
            border:0;
            min-height: 44px;
        }
        .gallery-folders .item:hover .day{
            background: #02aeef;
        }
        .gallery-folders .item h3, .gallery-folders .item h3 a{
            font-weight: bold;
            color:black;
            text-align: center;
        }
        .gallery-folders .item h3{
            margin-top:0;
        }
        .gallery-folders .item .item_content{
            height:157px;
            overflow: hidden;
        }

        .gallery-folders .item .item_content{
            height:67px;
        }



/* ---------------------------------  fotogalerie -----------------------------------------*/

p.fotogalerie_inline {
    text-align: left;
    text-indent: 0px;
    height: 166px;
    overflow: hidden;
}

p.fotogalerie_inline img{
    padding: 0px;
    background: #ededed;
    border: 1px solid #c9c9c9;
    margin: 5px;

}

p.fotogalerie_inline a {
    background: no-repeat scroll center -300px rgba(0, 0, 0, 0);
    display: inline-block;
    height: 0;
    margin: -5px 0 0;
    overflow: hidden;
    padding: 0 0 16%;
    position: relative;
    width: 25%;
}

p.fotogalerie_inline a img {
    width: 100%;
    margin: -1% 0 0 0;
}

p.fotogalerie_inline a:hover img {
    opacity: 0.3;
    filter: alpha(opacity=30);
}

p.fotogalerie_inline a.vertical img {
    margin: -40% 0 0 0;
}

p.fotogalerie_inline_link {
    display: none;
    text-align: right;
    }

    p.fotogalerie_inline_link a {
    }

    p.fotogalerie_inline.fat {
        height: 155px;
    }

    p.fotogalerie_inline.opened {
        height: auto;
    }


p.fotogalerie {
    padding: 20px 15px 0px 15px;
    border-radius: 10px;
    border: 1px solid #02254b;
    text-align: center;
    }

    p.fotogalerie a {
        display: inline-block;
        width: 200px;
        height: 150px;
        margin: 0 0 20px 20px;
        }
        p.fotogalerie a:first-child,
            p.fotogalerie a:nth-child(5),
            p.fotogalerie a:nth-child(9),
            p.fotogalerie a:nth-child(13),
            p.fotogalerie a:nth-child(17),
            p.fotogalerie a:nth-child(21),
            p.fotogalerie a:nth-child(25)
            p.fotogalerie a:nth-child(29),
            p.fotogalerie a:nth-child(33),
            p.fotogalerie a:nth-child(37),
            p.fotogalerie a:nth-child(41),
            p.fotogalerie a:nth-child(45),
            p.fotogalerie a:nth-child(49){
            margin-left:0;
        }
        p.fotogalerie a img {
            display: block;
            width: auto;
            height: 150px;
            margin: 0 0 0 0%;
            min-width:200px;
            }
        p.fotogalerie a.vertical img {
            width: 200px;
            height: auto;
            margin: -30% 0 0 0;
            }

.gallery a:hover img, p.fotogalerie a:hover img, p.fotogalerie_inline a:hover img {
    opacity: 0.4;
    filter: alpha(opacity=40);
}

p.fotografie-vlevo{
    float:left;
    margin: 20px 20px 20px 0px;
    padding:5px;
    }
    p.fotografie-vlevo a{
        float:left;
        margin:0px;
        width: 300px;
        height: 225px;
        }
        p.fotografie-vlevo a img{
            height: 225px;
            }

.preview-text p.fotografie-vlevo{
    margin-bottom:200px;
}


/* ******************************************** */

.footer-content {
    margin: 0 auto;
    padding: 10px 0;
    width: 90%;
    line-height: 27px;
    text-align: left;
    font-size: 14px;
    color: #8bc2ff;
}

.footer-content a {
    color: #8bc2ff;
    text-decoration: none;
}

.footer-content a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-content ul{
    margin: 0 0 0 -10px;
    padding: 20px 0px;
    }
    .footer-content ul li{
        display: inline-block;

        }
        .footer-content ul li a{
            display: block;
            padding:10px 10px ;
            margin: 0;
            color: white;
        }

.footer-content .column {
    float: right;
    padding: 20px;
    width: 25%;
    text-align: right;
}

.footer-content .column span {
    font-size: 12px;
    color: #777;
}

.footer-content .column h3 {
    color: #ffffff;
    font-size: 18px;
    padding:10px 0;
    margin: 0;
}

.footerTab {
    width: 600px;
}

.menu-footer ul {
    padding: 0;
    margin: 3px 0 0 0;
}

.menu-footer li {
    position: relative;
    padding: 0;
    list-style: none;
    border: 0px;
}

.menu-footer li a {
    margin: 8px 0;
    padding: 0;
    color: #8bc2ff;
}

.footer {
    width: 100%;
    background: #02aeef;
    color: #8bc2ff;
    padding-top: 0px;
    z-index: 1;
    position: relative;
}

.footer-bottom {
    margin: 0;
    padding: 0 5%;
    width: 100%;
    line-height: 50px;
    height: 50px;
    font-size: 14px;
    background: #FFFFFF;
    color: #6d7a8c;
}

/* ------------------------------------------------------------------------- */

.no-padding, p.no-padding, .news .item p.no-padding {
    padding: 0;
}

/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .news-hp .column {
        float: none;
        width: 530px;
        margin: 0 auto;
    }

    .news-hp  .news{margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0;}

    #menu ul li ul {
        left: -105px;
    }
    #menu ul li a{
        font-size: 14px;
        padding-left: 15px;
        padding-right: 15px;
    }

    #top .middle {
        display: none;
    }
}

@media (max-width: 900px) {

    #page .banner #slider .slide_item {
        background-size: auto 100% !important;
    }


    #menu {
        visibility: hidden;
    }

    #menu ul {
        position: relative;
        background: #02254b;
        display: block;
        width: 100%;
        min-width: 200px;
        line-height: 30px;
        margin: 0;
        border: 0px solid #FFFFFF;
    }

    #menu ul li {
        clear: both;
        display: block;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #menu ul li a {
        clear: both;
        display: block;
        padding: 6px 0;
        text-align: center;
        width: 100%;
        background: none;
    }

    #menu ul li ul {
        display: block;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background: none;
        min-width: auto;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #menu ul li ul .cleaner{
        display: none;
    }

    #menu ul li ul li a {
        padding-right: 0;
        padding-right: 0;
    }

    #top .mobile-link {
        display: inline-block;
    }

    #top {
        background: transparent;
    }

    #top .middle {
        display: none;
    }

    #top .left {
        width: 50%;
    }

    #top .right {
        width: 50%;
    }

    h1{
        font-size: 36px;
    }
    h2{
        font-size: 22px;
    }


    #slider .slogan h1, #slider .slogan h2 {
        font-size: 36px;
    }


    .mainBar {
        width: 100%;
    }

    .rightBar {
        width: 100%;
    }

    .news .item {
        width: 100%;
    }

    #page.page-home .hp-banner #slider .boxSlider {
        visibility: hidden;
    }

    .quickContact {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .form-content {
        width: 90%;
        margin: 0 5%;
    }

    .news-hp .column {
        padding: 20px 20px 0 0;
        font-size: 13px;
    }

    .mainBar_hmp_text {
        margin: 40px auto;
        width: 90%;
        text-align: center;
    }

    .mainBar_hmp_text h2 {
        float: none;
        width: 100%;
        margin: 20px auto;
    }

    .mainBar_hmp_text p {
        float: none;
        width: 100%;
    }

    .footer-content .column {
        width: 100%;
        text-align: center;
    }

}

@media (max-width: 780px) {
    #page{
        padding-top: 255px;
    }

    #content .kontakty{
        margin: 15px auto 15px auto;
        width: 100%;
        max-width: 425px;
        }
        #content .kontakty .person-card{
            clear: both;
            float: none;
            text-align: center;
            margin-bottom: 20px;
        }

    .mobile{display: block}

    #top{
        position: absolute;
    }
    .top{
        height: auto;
    }
    #top .right, #top .left {
        width: 100%;
    }

    #top p.logo{
        margin: 19px auto;
    }
    #top .right .times{
        background-image: none;
    }

    .hp-banner, .banner {
        display:none;
    }

    #page .banner #slider .slide_item{
        background-image: none !important;
    }

    .hmp_menu{
        margin-top: 0;
    }

    .news-hp .news, .news-hp .column{
        width: 100%;
    }

    .fb-page{
        min-width: auto;
        width: 100%;
    }

    #menu{
        position: absolute;
    }
}

@media (max-width: 450px) {

    #top p.logo {
        text-align: left;
        margin-left: 20px;
    }
}

@media (max-height: 700px) {
    /*.hmp_menu {*/
        /*margin: -60px auto 30px auto;*/
    /*}*/

    .hp-banner #slider {
        height: 450px;
    }

}
