body {
    /*margin-top: 30px;*/
    font-family: 'Open Sans', sans-serif;
}

html {
    overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;
}

a {
    border-bottom: 1px solid silver;
    padding-bottom: 1px;
    color: #74A534;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: black;
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

.btn-primary {
    background-color: #0072A5;
}

#newsletterReg {
    padding: 16px 20px 0 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    #newsletterReg label {
        padding-top: 8px;
    }
}

.navbar-brand:hover {
    background-color: #000;
}

.topContainer {
    text-align: center;
}

#navbar {
    padding-top: 10px;
}

.navbar-nav {
    float: none;
    text-align: left;
    margin-bottom: 40px;
}

.navbar-nav > li > a {
    padding: 10px 0 5px;
}

.navbar-nav > li {
    float: none;
}

.nav > li {
    display: inline-block;
}

nav li a {
    font-weight: 700;
    font-size: 18px;
    color: white;
    margin: 0 15px 0 15px;
    position: relative;
    display: inline-block;
    --period: 20px;
}

nav li a:hover:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;

    background-image: repeating-linear-gradient(
        90deg,
        #d4af37 0 12px,
        transparent 12px var(--period)
    );

    animation: move 2.2s linear infinite;
    will-change: background-position;
}

@keyframes move {
    from { background-position: 0 0; }
    to   { background-position: var(--period) 0; }
}

.nav > li > a:hover, .nav > li > a:focus {
    background: transparent;
    color: silver;
}

h1, h2, h3, nav li a, .aFont {
    font-family: 'Quicksand', sans-serif;
}

h2 {
    font-weight: bold;
    margin: 30px 0;
}

h2.mainTextH2 {
    margin-top: 0;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-brand {
    height: auto;
}

.mainText {
    width: 100%;
    padding-bottom: 55px;
    z-index: 10;
    position: relative;
    text-align: left;
}

.mainLogo {
    text-align: left;
    margin: 50px 0;
}

.mainLogo img {
    width: 200px;
    height: 200px;
}

.mainText h1 {
    width: 100%;
    /*max-width: 950px;*/
}

#mainImgContainer {
    background-color: #EEEEEE;
}

#mainImg {
    margin: 0 auto;
    max-width: 1640px;
    background-color: silver;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    background-image: url("/images/bg4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/*#mainImg {
    margin: 0 0 0;
    background-color: silver;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

#mainImg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/bg.jpg");
    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    filter: brightness(99%);
}*/

#mainImg h1 {
    font-size: 60px;
    font-weight: 700;
    margin-top: 30px;
}

#mainImg h1 span {
    color: white;
    /*background-color: #0072A5;*/
}

#mainImg h2 {
    font-size: 45px;
    font-weight: 700;
    margin: 20px 0 20px 0;
    color: white;
}

#mainImg .container {
    position: relative;
}

#mainImg p {
    font-size: 26px;
    line-height: 1.6;
    color: white;
}

#handImg {
    position: absolute;
    right: 0;
    bottom: 0;
}

.mainText a {
    color: #FEDC00;
    border-bottom: 1px dashed silver;
}

.mainText a:hover {
    text-decoration: none;
    border-bottom: 1px solid silver;
}

.articleContainer iframe {
    width: 100%;
}

footer {
    margin: 30px 0 50px;
    color: gray;
}

#map {
    width: 100%;
    height: 600px;
}

.mapContent {
    display: inline-block;
    width: 100%;
    height: 450px;
    margin-top: 30px;
}

.mapContentLower {
    margin-top: 70px;
}

.mapBtns {
    text-align: right;
    padding-bottom: 30px;
}

#mapContentText {
    float: left;
    display: inline-block;
    width: 40%;
}

#mapContent {
    float: left;
    display: inline-block;
    width: 60%;
    height: 900px;
}

#mapContentObject {
    width: 100%;
    height: 500px;
}

.marker1, .marker2 {
    font-size: 28px;
    line-height: 1.68;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    padding: 3px 0;
}

.marker1 {
    color: #74A535;
}

.marker2 {
    color: #E6C900;
    margin-top: 40px;
}

.mapContentTextIn {
    padding: 0 30px;
}

.markerBox {
    background-color: #eee;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    margin-bottom: 5px;
}

.markerBox:hover {
    background-color: #ccc;
}

.markerBoxImg {
    float: left;
    display: inline-block;
    width: 15%;
    vertical-align: top;
}

.markerBoxImg img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.markerBoxText {
    float: left;
    display: inline-block;
    width: 85%;
    vertical-align: top;
    padding-left: 20px;
    padding-bottom: 5px;
}

.markerBox h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    padding: 10px 0;
}

.clear {
    clear: both;
}

#markerList1 .markerBoxActive {
    background-color: #B0D77D;
}

#markerList2 .markerBoxActive {
    background-color: #FFEA55;
}

#markerList1 .markerBoxActive a, #markerList2 .markerBoxActive a {
    color: black;
    font-weight: bold;
}

#mapContentText h1 {
    background-position: left 2px;
    background-repeat: no-repeat;
    padding-left: 60px;
    cursor: pointer;
}

h1.marker1 {
    background-image: url("/images/dotGreen.png");
}

h1.marker2 {
    background-image: url("/images/dotYellow.png");
}

.markerList {
    height: 700px;
    overflow: auto;
}

.help {
    color: #DFDFDF;
}

#o-projektu {
    margin-top: 120px;
}

.mainH1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 70px;
}

#o-projektu p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

#o-projektu ul {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.mainTextInfo > div:first-child {
    padding-right: 30px;
}

.mainTextInfo > div:last-child {
    padding-left: 30px;
}

.mobileHide {
    display: none;
}

.tp {
    padding-top: 60px;
}

.objectDetail {
    font-size: 17px;
    line-height: 1.6;
}

.objectDetail h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 40px 0 30px;
}

.objectImg {
    max-width: 170px;
    height: auto;
    border-radius: 10px;
}

.objectImg img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 5px solid #77A738;
}

.partners {
    margin: 60px 0;
}

#o-projektu .partners p {
    font-size: 22px;
    text-align: center;
    color: black;
}

.partnerZnojmoregion {
    margin: 60px 0;
    text-align: center;
}

.partnerZnojmoregion img {
    width: 100%;
    max-width: 903px;
    height: auto;
}

.partnerLogo {
    text-align: center;
}

.partnerLogo .row > div {
    margin-bottom: 50px;
}

.partnerLogo small {
    font-weight: bold;
}

#initInfo {
    font-size: 22px;
    font-style: italic;
    line-height: 1.5;
    color: #BFBFBF;
    padding: 120px 30px 30px 70px;
    background-image: url("/images/arrow.png");
    background-position: left top;
    background-repeat: no-repeat;
    margin-top: 20px;
    margin-left: 30px;
    width: 100%;
    max-width: 400px;
}

.listItemA {
    color: black;
}

.listItemA .listItem {
    color: black;
}

.listItemA:hover .listItem {
    background-color: #eee;
    border-color: gray;
}

#seznam {
    margin-top: 60px;
    background-color: #F2F2F2;
    padding: 50px 6px 70px 6px;
    text-align: center;
}

/*.facebook {
    margin-top: 3px;
    display: block;
    padding: 5px 0;
}

.facebook a {
    color: #217AEE;
    background-image: url("/images/facebook.png");
    background-position: left center;
    padding: 4px 0 4px 36px;
    background-repeat: no-repeat;
}*/

.contact {
    font-size: 16px;
}

.addInfo {
    padding-top: 10px;
}

.listItem {
    margin: 6px 0;
    padding: 3px 8px 5px 8px;
    background-color: white;
    border: 1px solid #E1E1E1;
    border-radius: 5px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    text-align: left;
}

.listItemBox {
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    width: 100%;
    max-width: 1600px;
}

.listItem1 {
    /*max-width: 390px;*/
}

.listItem2 {
    /*max-width: 710px;*/
}

.listItem1 h2 {
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    text-align: left;
}

.listItem2 h2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    text-align: left;
    display: inline-block;
}

.listItem2 p {
    
}

#seznam a h2 {
    color: black;
    margin-bottom: 3px;
    line-height: 1.4;
}

#seznam .mainH1 {
    text-align: left;
}

#seznam h2 {
    text-align: left;
}

.partners {
    margin-top: 80px;
    background-color: #F2F2F2;
    padding: 80px 6px 50px 6px;
    text-align: center;
}

.listItem p {
    font-size: 12px;
    margin-bottom: 1px;
}

li a.navIconLi:hover {
    background-color: #000;
}

.carousel-control {
  /*position: absolute;
  top: 0;
  left: 0;
  bottom: 10px;
  width: 15%;
  opacity: .5;*/
  font-size: 15px;
  color: #000;
  text-align: center;
  text-shadow: none;
}

.contr-left, .contr-right {
    position: relative;
    top: -22px;
    width: 9%;
    display: inline-block;
}

.contr-right {
    text-align: right;
}

.contr-left a, .contr-right a {
    font-size: 30px;
    text-align: center;
    color: #0072A5;
    background-color: #eee;
    border-radius: 50%;
    padding: 2px 18px 8px 18px;
}

.contr-left a:hover, .contr-right a:hover {
    color: white;
    text-decoration: none;
}

.contr-middle {
    width: 80%;
    display: inline-block;
}

.b-logo {
    text-align: center;
}

.b-logo img {
    width: auto;
    height: 60px;
}

#logoSet {
    padding: 30px 0;
    margin: 50px auto;
    max-width: 1500px;
}

#tiles {
    margin: 50px auto;
    max-width: 1140px;
}

#tiles a:hover, #tiles a:focus, #tiles a:active {
    text-decoration: none;
}

.tile {
    background-position: left bottom, center center;
    background-repeat: repeat-x, no-repeat;
    background-size: auto, cover;
    color: white;
    background-color: gray;
    margin-bottom: 30px;
    height: 240px;
    position: relative;
    animation-name: zoomTileOut;
    animation-duration: 1s;
}

.tile:hover {
    background-size: auto, 130%;
    animation-name: zoomTileIn;
    animation-duration: 1s;
}

@keyframes zoomTileIn {
    0% {
        background-size: auto, 100%;
    }
    100% {
        background-size: auto, 130%;
    }
}

@keyframes zoomTileOut {
    0% {
        background-size: auto, 130%;
    }
    100% {
        background-size: auto, 100%;
    }
}

.logoTooltip .tooltip {
    width: 140px;
}

.articleContainer {
    padding-top: 0;
    padding-bottom: 100px;
    background-color: #eee;
}

.article {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 30px 2px rgb(50, 50, 50, 0.1);
}

.article a {
    border-bottom: 1px solid silver;
    padding-bottom: 1px;
    color: #74A534;
    text-decoration: none;
}

.article a:hover, .article a:active, .article a:focus {
    border-color: black;
    text-decoration: none;
}

.article p, .article li {
    line-height: 1.8;
}

.article h1 {
    font-size: 45px;
    font-weight: bold;
    margin: 40px 0;
}

.article .formRows h2 {
    padding: 0px 0 5px;
}
.article h2 {
    font-weight: bold;
    font-size: 28px;
    margin: 50px 0 20px;
}

.article h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.article ul {
    list-style: none;
    padding-left: none;
    padding-top: 5px;
}

.article h3 {
    font-weight: bold;
    font-size: 25px;
    margin: 40px 0 20px;
    color: #494949;
}

.article ul > li {
    background-image: url("/images/dot.png");
    background-repeat: no-repeat;
    background-size: 8px;
    background-position: left 15px;
    padding: 5px 0 5px 20px;
}

.iconPlace {
    padding-left: 45px;
    background-image: url("https://znojmoregion.cz/images/place.png");
    background-repeat: no-repeat;
    background-position: left top;
}

.iconEmail {
    padding-left: 53px;
    background-image: url("https://znojmoregion.cz/images/email.png");
    background-repeat: no-repeat;
    background-position: left top;
}

.tileContent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
}

.tile h2 {
    margin-top: 80px;
    margin-bottom: 20px;
    font-size: 25px;
    text-align: right;
    font-family: Quicksand;
    font-weight: bold;
}

.tileContent p {
    margin-bottom: 0;
}

.tile p {
    font-size: 16px;
}

.o-projektu {
    background-image: url("/images/bgFade.png"), url("/images/tile/o-projektu.jpg");
}

.pivni-stezka-znojmo {
    /*hyphens: auto;*/
    background-image: url("/images/bgFade.png"), url("/images/tile/pivni-stezka-znojmo.jpg");
}

.pivni-stezka-znojemsko {
    background-image: url("/images/bgFade.png"), url("/images/tile/pivni-stezka-znojemsko.jpg");
}

.vyletni-trasy {
    background-image: url("/images/bgFade.png"), url("/images/tile/vyletni-trasy.jpg");
}

.galerie {
    background-image: url("/images/bgFade.png"), url("/images/tile/galerie.jpg");
}

.soutez-a-odmeny {
    background-image: url("/images/bgFade.png"), url("/images/tile/soutez-a-odmeny.jpg");
}

.akce {
    background-image: url("/images/bgFade.png"), url("/images/tile/akce.jpg");
}

.gallery {
    margin: 30px 0;
    padding: 10px 20px;
    background-color: #eee;
}

.galleryImg {
    padding: 10px 0;
    text-align: center;
}

.galleryImg img {
    width: auto;
    max-width: 100%;
    max-height: 120px;
    margin: 0;
}

.youtubeVideos {
    margin: 30px 0;
    padding: 10px 20px;
    background-color: #eee;
}

.youtubeVideos iframe {
    height: 250px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.galleryMenu {
    text-align: center;
    padding-bottom: 25px;
}

.galleryTitle {
    font-style: italic;
    padding: 5px 0;
    line-height: 1.6;
}

.eventBox {
    background-color: #F4F4F4;
    padding: 20px;
    margin-bottom: 20px;
}

.event {
    background-color: white;
    padding: 10px;
    margin-top: 20px;
}

.event:first-child {
    margin-top: 0;
}

.eventText {
    position: relative;
    border-left: 1px solid #E4E4E4;
    padding-left: 30px;
    padding-right: 20px;
    margin: 20px 0;
}

a.heartIconA {
    text-decoration: none;
    border: 0;
}

.heartIconRightTop {
    position: absolute;
    right: 10px;
    top: 0;
}

.heartIconRightTop img {
    width: 20px;
    height: 20px;
    margin: 0;
}

.event img.eventImg {
    width: 100%;
    height: auto;
    margin: 15px 0;
}

.eventDate {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.eventDateBox {
    width: 80px;
    display: inline-block;
    vertical-align: top;
}

.noRightPadding {
    padding-right: 0;
}

.eventDateFromToSign {
    width: 20px;
    display: inline-block;
    vertical-align: top;
    font-size: 40px;
    line-height: 1.4;
    font-weight: bold;
}

.eventDateDay {
    font-size: 40px;
    line-height: 1.4;
    font-weight: bold;
}

.eventText h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.5;
}

.eventDetails {
    border-bottom: 1px solid #E4E4E4;
    color: #737373;
    padding-bottom: 8px;
}

.eventTime {
    display: inline-block;
    padding-left: 30px;
    background-position: left center;
    background-image: url("/images/time.png");
    background-repeat: no-repeat;
}

.eventLocation {
    margin-left: 10px;
    display: inline-block;
    padding-left: 25px;
    background-position: left center;
    background-image: url("/images/location.png");
    background-repeat: no-repeat;
}

.eventTypes {
    margin-top: 10px;
}

.eventType {
    display: inline-block;
    padding: 2px 5px;
    background-color: #DBE1CC;
    color: black;
    line-height: 1.3;
    font-size: 13px;
    border-radius: 4px;
    
}

#mainMap {
    width: 100%;
    height: 800px;
}

.leaflet-popup-content {
    font-size: 15px;
    line-height: 1.4;
}

.mapPhoto {
    /*border: 2px solid #2372A5;
    border-radius: 5px;*/
}


.subPages {
    padding: 20px 0;
}



.subPage {
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 1.7;
}

a .subPage {
    color: black;
}

.subPage a:hover, .subPage a:focus, .subPage a:active {
    text-decoration: none;
    color: black;
}

.subPage h3 {
    margin-top: 20px;
    font-size: 22px;
    margin-bottom: 10px;
}

.subPage:hover h3 {
    color: #77A739;
}

.subPage p {
    margin-top: 10px;
}

.subPageImg {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 200px;
}

.vp90PhotoLine {
    padding: 20px 0;
}

.vp90PhotoLine p {
    margin-bottom: 20px;
    font-size: 16px;
}

.vp90PhotoLine > .vp90Row {
    background-color: #eee;
    background-image: url("/images/vintageBg.jpg");
    background-position: center center;
    padding-left: 20px;
    padding-right: 20px;
}

.vp90Photo {
    padding-top: 20px;
    padding-bottom: 15px;
}

.vp90Photo .galleryTitle {
    text-align: right;
    color: #5B5B5B;
}

.vp90Photo img {
    width: 100%;
    height: auto;
}

div.pp_default .pp_nav {
    width: 120px;
}

div.pp_default .pp_description {
    font-size: 15px;
    font-weight: normal;
    line-height: 1.2;
}

#o-projektu blockquote {
    color: #0072A5;
    line-height: 2;
    margin-top: -50px;
    margin-bottom: 50px;
    font-style: italic;
}



@media (min-width: 993px) and (max-width: 1200px) {
    .b-logo img {
        height: 50px;
    }
    
    .contr-middle {
        width: 86%;
    }
    
    .contr-left, .contr-right {
        top: -10px;
        width: 7%;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    
    nav li a {
        margin-left: 13px;
        font-size: 16px;
    }
    
    .navbar-nav > li > a {
        padding: 3px 0;
    }
    
    #navbar {
        padding-top: 40px;
    }
    
    #handImg {
        width: 230px;
        height: auto;
    }
    
    .b-logo img {
        height: 40px;
    }
    
    .contr-middle {
        width: 88%;
    }
    
    .contr-left, .contr-right {
        top: -10px;
        width: 6%;
    }
}


@media (max-width: 767px) {
    
    .mainLogo img {
        width: 150px;
        height: 150px;
    }
    
    #logoSet {
        padding: 0;
        margin: 0 auto;
    }

    .navbar-nav {
        text-align: center;
    }
    
    .mainText {
        text-align: center;
    }

    .mainLogo {
        text-align: center;
        margin: 0;
    }
    
    .b-logo {
        height: 60px;
    }
    
    .b-logo img {
        width: auto;
        height: 35px;
    }
    
    .contr-left a, .contr-right a {
        font-size: 20px;
        padding: 2px 8px 2px 8px;
    }
    
    .contr-middle {
        width: 90%;
    }
    
    .contr-left, .contr-right {
        top: -30px;
        width: 5%;
    }
    
    .navbar-brand img {
        max-width: 130px;
        height: auto;
        vertical-align: middle;
    }
    
    .logoText {
        display: none;
    }
    
    .navbar-toggle {
        margin-top: 20px;
    }
    
    nav li a {
        margin: 2px 10px;
    }
    
    #navbar {
        padding-top: 0;
    }
    
    #mainImg {
        text-align: center;
        padding-top: 0;
    }
    
    #mainImg p {
        font-size: 18px;
    }
    
    #mainImg h1 {
        font-size: 40px;
        margin-top: 40px;
    }
    
    #mainImg h2 {
        font-size: 35px;
        margin-bottom: 40px;
    }
    
    .mainText {
    }
    
    #mapContentText {
        display: block;
        width: 100%;
    }

    #mapContent {
        float: left;
        display: block;
        width: 100%;
        height: 500px;
        margin-top: 30px;
        touch-action: none;
    }

    #o-projektu {
        margin-top: 65px;
    }

    .mainH1 {
        margin-bottom: 40px;
    }

    #o-projektu p {
        font-size: 16px;
    }
    
    .mobileHide {
        display: block;
    }
    
    .markerBoxImg {
        width: 25%;
    }
    
    .markerBoxText {
        width: 75%;
        padding-bottom: 0;
    }
    
    .tp {
        padding-top: 0;
    }
    
    .mainH1 {
        font-size: 30px;
    }
    
    #mapContentObject {
        margin-top: 10px;
        touch-action: none;
    }
    
    .markerBox h2 {
        padding-top: 0;
        font-size: 15px;
    }
    
    .marker1, .marker2 {
        line-height: 1.4;
        padding-bottom: 10px;
    }
    
    footer {
        text-align: center;
    }

    .mainTextInfo > div:first-child {
        padding-right: 15px;
    }

    .mainTextInfo > div:last-child {
        padding-left: 15px;
    }
    
    .b-logo img {
        height: 35px;
    }
}