* {
    font-family: 'PT Serif', serif;
}

.container-fluid {
    max-width: 1920px;
}

.nav > li > a:focus, .nav > li > a:hover {
    background: none !important;
    color: #ffffff;
}

header {
    position: relative;
}

header .ea-menu {
    padding: 0px;
}
header .navbar-brand {
    display: none;
}
header .navbar {
    background-color: #000000;
    color: #ffffff;
    margin-bottom: 0px;
    border-radius: 0px;
    height: 100px;
}
header .navbar-nav > li > a {
    line-height: 56px;
    font-size: 20px;
    color: #ffffff;
    border-top: 6px solid #000000;
    padding-left: 20px;
    padding-right: 20px;
}
header .navbar-nav > li.active > a {
    border-color: #143177;
}

header .navbar-nav > li > a:hover {
    text-decoration: underline;
}

header .ea-main {
    height: 799px;
}

header .ea-main-bg {
    background-image: url('../images/header_1.jpg');
    background-position: right top;
    background-size: cover;
    display: block;
    height: 799px;
}

header .ea-main-news {
    background-color: #182643;
    color: #ffffff;
    padding: 80px;
    padding-top: 40px;
    overflow: hidden;
    height: 799px;
}
header .ea-main-news h2 {
    margin: 0px;
    font-size: 30px;
    color: #b6b6b6;
    border-bottom: 1px solid #b6b6b6;
    display: inline-block;
}
header .ea-main-news h2:before {
    content: "";
    position: absolute;
    left: 25px;
    top: 35px;
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    background-position: -425px -65px;
    width: 37px;
    height: 34px;
}
header .ea-main-news .ea-news-item {
    margin-bottom: 60px;
}
header .ea-main-news .ea-news-item:nth-child(4) {
    margin-bottom: 30px;
}
header .ea-main-news a h3 {
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0px;
}
header .ea-main-news a:hover h3 {
    text-decoration: underline;
}
header .ea-main-news a .ea-news-date {
    font-size: 14px;
    color: #b6b6b6;
    font-style: italic;
    margin-bottom: 20px;
}
header .ea-main-news a .ea-news-item-text {
    font-size: 14px;
    color: #b6b6b6;
    line-height: 20px;
    height: 80px;
    overflow: hidden;
}
header .ea-main-news a.ea-archiv {
    background-color: #143177;
    color: #ffffff;
    text-align: right;
    display: block;
    line-height: 20px;
    padding: 10px 20px;
    background: linear-gradient(-35deg, #182643 10px, transparent 0) 0 10px;
    background-color: #143177;
    background-size: 18px 12px;
    background-position: right bottom;
    background-repeat: no-repeat;

}

header .ea-table {
    display: table;
    width: 100%;
}
header .ea-table .ea-table-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}
header .ea-table .ea-td {
    display: flex;
    flex-direction: column;
}


header #ea-logo {
    position: absolute;
    top: -100px;
    left:-0px;
    right: -0px;
}
header #ea-logo a {

    background-color: #ffffff;
    display: block;
    margin: 0;
    border: 0px solid #000000;
    padding-top: 88px;
    padding-bottom: 88px;
}

.ea-subpage #ea-logo h1,
header #ea-logo h1 {
    text-indent: -9999px;
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    width: 286px;
    height: 63px;
    margin: 0px auto;
}
.ea-subpage .ea-sluzby,
header .ea-sluzby {
    background-image: url('../images/manu_bg.png');
    background-position: right bottom;
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 190px;
    padding-bottom: 45px;
}
.ea-subpage .ea-sluzby {
    background: none;
    padding-top: 30px;
}
.ea-subpage .ea-sluzby ul li a,
header .ea-sluzby ul li a {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 100px;
    color: #c5c5c5;
    font-size: 18px;
}
.ea-subpage .ea-sluzby ul li a:hover ,
header .ea-sluzby ul li a:hover {
    color: #ffffff;
}
.ea-subpage .ea-sluzby ul li a:before,
header .ea-sluzby ul li a:before {
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    width: 55px;
    position: absolute;
    content: "";
    left: 30px;
}

.ea-subpage .ea-sluzby ul li a:after,
header .ea-sluzby ul li a:after {
    content: "";
    position: absolute;
    border-bottom: 1px solid #c5c5c5;
    bottom: 0px;
    left: 100px;
    width: 120px;
}
.ea-subpage .ea-sluzby ul li:last-child a:after,
header .ea-sluzby ul li:last-child a:after {
    width: 0px;
}

.ea-subpage .ea-sluzby ul li.item-102 a:before,
header .ea-sluzby ul li.item-102 a:before {
    height: 49px;
    top: 10px;
    background-position: -0px -64px;
}
.ea-subpage .ea-sluzby ul li.item-102:hover a:before,
header .ea-sluzby ul li.item-102:hover a:before {
    background-position: -55px -64px;
}
.ea-subpage .ea-sluzby ul li.item-103 a:before ,
header .ea-sluzby ul li.item-103 a:before {
    height: 45px;
    top: 12px;
    background-position: -0px -114px;
}
.ea-subpage .ea-sluzby ul li.item-103:hover a:before,
header .ea-sluzby ul li.item-103:hover a:before {
    background-position: -55px -114px;
}
.ea-subpage .ea-sluzby ul li.item-104 a:before,
header .ea-sluzby ul li.item-104 a:before {
    height: 35px;
    top: 20px;
    background-position: -0px -159px;
}
.ea-subpage .ea-sluzby ul li.item-104:hover a:before,
header .ea-sluzby ul li.item-104:hover a:before {
    background-position: -55px -159px;
}

.ea-subpage .ea-sluzby ul li.item-127 a:before, header .ea-sluzby ul li.item-127 a:before {background-image:url(../images/house.png);background-size:auto;height:55px;top:7px;background-position:left top;}
.ea-subpage .ea-sluzby ul li.item-127:hover a:before, header .ea-sluzby ul li.item-127:hover a:before {background-position:right top;}

.ea-subpage .ea-sluzby ul {
    margin-bottom: 100px;
}

header .nav > li.item-126 a:hover,
header .nav > li.item-126 a {
    text-indent: -99999px;
    background-image: url("../images/facebook.png") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 30px 30px !important;
}
header .nav > li.item-126 a:hover {
    background-size: 34px 34px !important;
}

main .ea-pentagram {
    background-image: url("../images/pentagram.png");
    background-repeat: no-repeat;
    background-position: right bottom;

    min-height: 540px;
    padding-top: 60px;
    padding-bottom: 90px;
}
main .page-content {
    font-size: 18px;
    line-height: 1.5;
    color: #585858;
}
main .page-content h2 {
    color: #585858;
    font-size: 30px;
}
main .page-content .ea-linka {
    border-top: 1px solid #143177;
    margin-left: 15px;
    padding-bottom: 40px;
}

main .page-content .ea-icon h2 {
    padding-left: 80px;
    color: #143177;
}
main .page-content .ea-icon .ea-linka {
    margin-left: 95px;
}
main .page-content .ea-icon h2:before {
    content: "";
    position:absolute;
    left: 0px;
    top: -30px;
    width: 54px;
    height: 116px;
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    background-position: -332px -0px;
}
main .page-content .ea-icon.ea-stavby h2:before {
    background-position: -308px -118px;
    width: 100px;
    height: 105px;
    left: -40px;
}
main .page-content .ea-icon.ea-thovt h2:before {
    background-position: -308px -229px;
    width: 100px;
    height: 105px;
    left: -40px;
    top: -20px;
}

main .page-content h3 {
    color: #143177;
}
main .page-content .box h3 {
    color: #7e7e7e;
    font-size: 30px;
}

main .page-content .box {
    position: absolute;
    top: -103px;
    left: 0px;
    right:0px;
    text-align: center;
}
main .page-content .box p {
    font-size: 24px;
    color: #143177;
    line-height: 28px;
    padding-top: 15px;
}
main .page-content .ea-intro {
    margin-bottom: 60px;
}

.ea-subpage {
    margin-left: 0px;
    margin-right: 0px;
}
.ea-subpage .ea-main-image,
.ea-subpage .col-md-9.ea-no-pd {
    padding-right:0px;
    padding-left: 0px;
}
.ea-subpage .ea-display-table {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}
.ea-subpage .ea-sidebar {
    background-image: url('../images/bg.png');
    display: flex;
    flex-direction: column;
}
.ea-subpage .col-md-9.ea-no-pd {
    display: flex;
    flex-direction: column;
}
.ea-subpage #ea-logo {
    background-color: #ffffff;
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.ea-reference {
    padding: 30px;
    padding-top: 0px;
    color: #ffffff;
}
.ea-reference h3 {
    font-size: 30px;
    color: #b6b6b6;
}
.ea-reference p {
    padding-top: 5px;
    padding-bottom: 15px;
}
.ea-reference a.ea-more {
    color: #ffffff;
    text-align: right;
    display: block;
    line-height: 20px;
    padding: 10px 20px;
    background: linear-gradient(-35deg, #333333 10px, transparent 0) 0 10px;
    background-color: #143177;
    background-size: 18px 12px;
    background-position: right bottom;
    background-repeat: no-repeat;
    float:right;
    margin-top: 20px;
}
.ea-reference a.ea-foto {
    position: relative;
    display:block;
}
.ea-reference a.ea-foto:after {
    content: " ";
    position: absolute;
    right: -20px;
    bottom:-20px;
    width: 100%;
    background: #333333;
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
}

.ea-sipka {
    position: absolute;
    content: "";
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    background-position: -259px -66px;
    width:18px;
    height: 34px;
    bottom: 14px;
    right: 470px;
}

footer .ea-grey1,
footer .ea-grey2 {
    padding-bottom: 60px;
    padding-top: 60px;
}
footer .ea-grey1 {
    background-color: #efeff0;
}
footer .ea-grey2 {
    background-color: #dbdbdb;
    border-top: 1px solid #ffffff;
    color: #636363;
}
footer .ea-grey2 a {
    color: #636363;
}
footer .ea-copy {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 14px;
}
footer .ea-copy a {
    color: #143177;
}

footer .ea-contact {
    padding-left: 135px;
    font-size: 18px;
}
footer .ea-contact .ea-lista {
    position: absolute;
    width: 100px;
    height: 246px;
    background-color: #58595b;
    left: 0px;
    top: -71px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 70px;
}
footer .ea-contact .ea-lista:before {
    position: absolute;
    content: "";
    top: 0px;
    left: -12px;
    width: 12px;
    height: 12px;
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    background-position: -40px -194px;
}

footer .ea-contact .ea-lista p {
    height: 45px;
    display: block;
    border-bottom: 1px solid #ffffff;
}
footer .ea-contact .ea-lista p:after {
    position: absolute;
    content: "";
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    width: 24px;
    height: 24px;
    margin-left: 23px;
    margin-top: 5px;
}
footer .ea-contact .ea-lista p:first-child:after {
    background-position: -258px -116px;
}
footer .ea-contact .ea-lista p:nth-child(2):after {
    background-position: -258px -141px;
}
footer .ea-contact .ea-lista p:nth-child(3):after {
    background-position: -258px -165px;
}

footer .ea-contact .ea-lista p:nth-child(3) {
    border: none;
    margin-bottom: 20px;
}

footer .ea-contact .ea-lista div {
    height: 37px;
    display: inline-block;
    float: left;
}


footer .ea-contact .ea-lista div.l {
    width: 63px;
    margin-left: -15px;
    background-color: #58595b;

}
footer .ea-contact .ea-lista div.r {
    width: 37px;
    margin-right: -15px;
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    background-position: -2px -194px;
}


footer .ea-contact .custom p {
    line-height: 45px;
}

footer .ea-contact .custom p:last-child {
    font-size: 14px;
    line-height: 1.2;
}

footer .nav.menu {
    margin-bottom: 40px;
}
footer .nav.menu li {
    width: 50%;
    float: left;
}
footer .nav.menu li a {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 80px;
    font-size: 16px;
}
footer .nav.menu li a:hover {
    color: #143177;
}

footer .nav.menu li a:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 80px;
    border-bottom: 1px solid #ffffff;
    width: 120px;
}
footer .nav.menu li a:before {
    position: absolute;
    content: "";
    left: 0px;
    top: 5px;
    background-image: url('../images/thovt_mapa.png');
    background-size: 553px 335px;
    background-position: -110px -64px;
    width: 66px;
    height: 68px;
}
footer .nav.menu li a:hover::before {
    background-position: -176px -64px;
}

footer .nav.menu li.item-103 a:before {
    background-position: -110px -132px;
    height: 60px;
    top: 10px;
}
footer .nav.menu li.item-103 a:hover::before {
    background-position: -176px -132px;
}
footer .nav.menu li.item-104 a:before {
    background-position: -110px -193px;
    height:45px;
    top: 15px;
}
footer .nav.menu li.item-104 a:hover::before {
    background-position: -176px -193px;
}
footer .nav.menu li a:hover::before {
    background-position: -176px -64px;
}


footer .ea-copy {
    border-top: 1px solid #ffffff;
    margin-top: 60px;
}
footer .menunav a {
    font-size: 20px;
}

.dropdown-menu {
    background: #000000;

}
.dropdown-menu > li > a {
    color: #ffffff;
    font-size: 16px;
    padding: 6px 20px;
}

main .nadpis-fotogalerie {
    padding-left: 80px;
}
main .nadpis-fotogalerie h2 {
    color: #143177;

}
.jg-category-description {
    font-size: 18px;
    line-height: 1.5;
    color: #585858;
    text-align: left;
    margin-bottom: 70px;
    padding-left: 65px;
}
.thumbnails {
    position: relative;
    display: block;
}

.thumbnails::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    bottom: -30px;
    background-color: #ffffff;
    transform: rotate(45deg);
}
.caption h3 {
    color: #000000;
    font-size: 18px;
}
.caption a:hover h3 {
    color: #143177;
}



@media (min-width: 1921px) {
    main   .container-fluid,
    footer .container-fluid,
    header .container-fluid {
        margin-left: 0px;
    }
}

@media (max-width: 1800px) {
    footer .ea-contact {
        font-size: 15px;
    }
}

@media (max-width: 1710px) {
    header .ea-main-news .col-md-offset-6 {
        width:70%;
        margin-left: 30%;
    }
    footer .ea-contact {
        padding-left: 110px;
        font-size: 14px;
    }
    footer .ea-contact .ea-lista {
        width: 80px;
        padding-left: 10px;
        padding-right: 10px;
    }
    footer .ea-contact .ea-lista div.l {
        width: 42px;
        margin-left: -10px;
    }
}

@media (max-width: 1510px) {
    main .ea-intro .col-md-4,
    main .ea-intro .col-md-8 {
        width: 100%;
        clear: both;
    }
    main .page-content .box {
        position: relative;
        top: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 1510px) {
    footer .ea-contact .custom p:last-child,
    footer .ea-contact {
        font-size: 12px;
    }
}

@media (max-width: 1410px) {
    footer .ea-contact {
        padding-left: 100px;
        font-size: 14px;
    }
    header .ea-main-news,
    header .ea-main-bg,
    header .ea-main {
        height: 599px;
    }
    .ea-sipka {
        right: 352px;
        bottom: 10px
    }
    header .ea-main-news a .ea-news-item-text {
        height: 40px;
    }



}

@media (max-width: 1370px) {
    header .ea-main-news .col-md-offset-6 {
        width:90%;
        margin-left: 10%;
    }
    footer .ea-contact {
        padding-left: 90px;
        font-size: 12px;
    }
}

@media (max-width: 1300px) {
    .ea-subpage #ea-logo h1, header #ea-logo h1 {
        background-size: 450px 273px;
        width: 233px;
        height: 52px;
    }
    .ea-subpage .ea-sluzby ul li.item-103 a, header .ea-sluzby ul li.item-103 a,
    .ea-subpage .ea-sluzby ul li.item-102 a, header .ea-sluzby ul li.item-102 a {
        padding-top: 10px;
    }
    header .ea-main-news {
        padding-left: 50px;
        padding-right: 20px;
    }
    header .ea-main-news h2::before {
        left: 5px;
    }
    .ea-subpage .ea-sluzby ul li a, header .ea-sluzby ul li a {
        padding-left: 80px;
    }
    .ea-subpage .ea-sluzby ul li a:after,
    header .ea-sluzby ul li a:after {
        left: 80px;
    }
    .ea-subpage .ea-sluzby ul li a::before, header .ea-sluzby ul li a::before {
        left: 5px;
    }
}

@media (max-width: 1200px) {
    .ea-subpage .ea-sluzby ul li a, header .ea-sluzby ul li a {
        font-size: 16px;
    }
}

@media (max-width: 1040px) {
    .ea-subpage .ea-sluzby ul li a, header .ea-sluzby ul li a {
        font-size: 14px;
    }
    .ea-subpage #ea-logo h1, header #ea-logo h1 {
        background-size: 400px 243px;
        width: 208px;
        height: 46px;
    }
}

@media (max-width: 991px) {
    header .ea-sluzby {
        background-image: url('../images/bg.png');
    }
    header #ea-logo,
    .ea-subpage .ea-sidebar {
        display: none;
    }
    header .ea-sluzby {
        padding-top: 10px;
    }
    .ea-subpage .ea-display-table {
        display: block;
    }
    .ea-grey2 .col-md-9 {
        display: none;
    }
    footer .ea-contact {
        font-size: 16px;
        padding-left: 120px;
    }

    footer .ea-contact .custom p:last-child {
        font-size: 14px;
    }
    main .page-content .ea-icon.ea-thovt h2,
    main .page-content .ea-icon.ea-stavby h2 {
        padding-left: 120px;
    }
    main .page-content .ea-icon.ea-thovt h2:before,
    main .page-content .ea-icon.ea-stavby h2:before {
        left: 0px;
    }
    main .page-content .ea-icon.ea-thovt .ea-linka,
    main .page-content .ea-icon.ea-stavby .ea-linka {
        margin-left: 135px;
    }
}

@media (max-width: 767px) {
    header .ea-main-news,
    header .ea-main-bg,
    header .ea-main {
        height: 399px;
    }
    .ea-sipka {
        right: 352px;
        bottom: 10px;
        display: none;
    }
    header .ea-table .ea-td {
        width: 100%;
    }
    .navbar-toggle {
        border-color: #ffffff;
    }
    .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }
    header .navbar {
        height: auto;
    }
    header .navbar-nav > li > a {
        line-height: 40px;
    }
    header .navbar-brand {
        display: block;
        text-transform: uppercase;
        color: #ffffff;
    }
}

@media (max-width: 350px) {
    header .ea-main-news,
    header .ea-main-bg,
    header .ea-main {
        height: 199px;
    }
    header .ea-table .ea-td .ea-sluzby {
        display: none;
    }
}





@media (min-width: 768px)  {
    header .navbar-nav > li.parent:hover ul.dropdown-menu {
        display: block;
    }
}
.page-content td:first-child {white-space:nowrap;}
.page-content td {padding:5px;}