@media only screen and (max-width: 1399px) {

    .banner-text  {
      padding-top: 0px;
    }

    .banner-text p {
    font-size: 18px;
    }
    
    h1, .h1 {
    font-size: 40px;
    padding-bottom: 25px;
    }
    
.container-banner {

padding-top: 80px;

}
    
}


@media only screen and (min-width: 1200px) {
    
.post-list-image {
height: 370px;
}

    #blog .note, #sponzori .note {
    padding-right: 35px;
    }

    h1, .h1 {
    font-size: 45px;
    padding-bottom: 10px;
    }
    
    .banner-text {
      padding-left: 50px;
    }

    .post-list-wrapper {
        margin: 15px auto;
        padding-right: 20px;
    }
    
    .cta {
        background-position-x: -16px;
        background-size: 410px;
        background-position-y: 170px;
    }

    .layout-homepage .services-top {
        margin-top: -235px;
    }
    
    .layout-homepage .services {
        background-color: #f9fbe8;
        padding-top: 100px;
        padding-bottom: 40px;
    }

	.modal-dialog {
	max-width: 600px;
	margin: 1.75rem auto;
	}

}


@media only screen and (max-width: 1199px) {
	
.container-banner:after {

	zoom: 75%;
}
	
	.layout-homepage .item-image.img-fluid {
		margin-top: -20px;
	}
    
    #header .navbar-nav li a {
        padding-left: 30px;
    }
    
    .locale-list {
        margin-left: 50px;
    }
    .navbar-brand {
    max-width: 380px;
    }

    .divider-service {
    max-height: 45px;
    display: inline-block;
    margin-top: -30px;
    padding-right: 10px;
    }
    
    .services .title h3 {
    font-size: 20px;
    }
    
    .services.container .item {
    padding: 40px;
    }
    
    .footer-top {
    height: 120px;    
    }
    
    .services-bottom {
        height: 120px;
    }
    
    .row.item {
        margin-top: 40px;
        margin-bottom: 10px;
    }
    
    .layout-homepage .services {
        padding-top: 25px;
    }
    
    .cta {
        height: 550px;
        margin-top: -100px;
        margin-bottom: -160px;
        background-size: 310px;
        background-position-x: -20px;
        background-position-y: 228px;
    }
    
    .layout-homepage .services-bottom {
        height: 80px;
    }
    
.layout-homepage .services-top {
height: 120px;
margin-top: -145px;
}

#header .navbar-nav li a {
padding-left: 10px;
padding-right: 10px;
}
    
}

@media only screen and (max-width: 991px) {

.page-header {
margin-top: 2rem;
}

#layout-header {
padding-bottom: 1rem;
}

.navbar-toggler {
    margin:auto;
}

	#aktuality {
padding: 50px 0px 50px;
}
	
.layout-homepage .item-image.img-fluid {
	margin-top: 25px;
}

.bi.bi-instagram {
color: white;
font-size: 30px;
margin-left: 0px;
padding-top: 15px;
}

 h1, .h1 {
    font-size: 35px;
    padding-bottom: 20px;
 }
 
#aktuality:after, #podporte:after,#o-soutezi:after, .container-banner:after {
	display:none;
}

 .container-banner img {
     padding-top: 30px;
}

.container-banner {
padding-bottom: 0px;
}

    .banner-text p {
    font-size: 17px;
    }
    
    #banner .bottom-line {
    border-bottom: 1px solid var(--color-primary);
    margin-top: 0px;
    margin-bottom: 50px;
    }    
    
    .subtitle {
      font-size: 20px;
    }
    
    .navbar-brand {
    max-width: 250px;
    }
    
    .services.container .item {
    padding: 35px;
    margin: 20px auto;
    
    }
    
    .navbar-collapse {
        text-align: center;
        border: 1px solid var(--color-primary);
        border-left: 0px;
        border-right: 0px;
        margin-top: 15px;
    }
    
    .navbar-collapse ul {
        padding-top: 13px;
        padding-bottom: 5px;
    }
    
    #header .navbar-nav li a {
        padding-left: 0px;
    }    

    .locale-list {
        margin-left: 0;
        margin-bottom: 15px;
        margin-top: -6px;
    }
    
    .navbar-nav.locale-list {
        flex-direction: row;
    }

    .layout-homepage .services-top {
        height: 110px;
        margin-top: -190px;
    }
    
    .layout-homepage .services {
        padding-top: 100px;
    }

}


@media only screen and (max-width: 767px) {

.post-list-image {
height: 200px;
}

.topbar {
    text-align:center;
}

#header .navbar-nav li a {
padding-left: 10px;
padding-right: 0;
}

#header .navbar-nav li a {
margin-right: 0rem;
}

#blog .title h2, #rychleodkazy .title h2, #sponzori .title h2 {
font-size: 2.7rem;
line-height: 3.1rem;
}

.btn {
    border-radius: 15px;
    border-color: var(--color-primary);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

	.layout-homepage .item-image.img-fluid {
		margin-top: 0px;
	}
    
    body, p, html {
        font-size: 16px;
    }
    
    h1, .h1 {
    font-size: 36px;
    padding-bottom: 15px;
    }
    
    .banner-text{
      text-align:center;
      padding-top: 0px;
      font-size: 40px;
    }
    
    .container.container-cta h2 {
    font-size: 28px;
    }
    
    .footer-first, .footer-second {
    margin-bottom: 30px;
    }
    
    .footer-top {
    height: 60px;    
    }
    
    .services-bottom {
        height: 60px;
    }
    
    .cta {
        background: none;
        height: 189px;
        margin-top: 61px;
        margin-bottom: 0px;
    }
    
    .layout-homepage .services-bottom {
        height: 61px;
    }
    
    .layout-homepage .services-top {
        height: 70px;
        margin-top: -400px;
    }
    
    .layout-homepage .services {
        padding-top: 340px;
    }
    
    .col-half .content-image {
        margin-top: 15px;
    }
    
    .subtitle {
margin-top: -5px;

}

}

@media only screen and (max-width: 575px) {
    


.post-list {
margin-top: 2rem;
}

    h1, .h1 {
    font-size: 29px;
    }
    
    .row.item {
    text-align:center;    
        }
        
    .cta {
        height: 200px;
        background: none;
    }
    
    .btn-cta {
        margin-top: 0px;
    }
    
    .layout-homepage .services-bottom {
        height: 50px;
    }
    
    .layout-homepage .services-top {
        height: 55px;
        margin-top: -370px;
    }
    
    .content .content-content {
        margin-bottom: 20px;
    }
        
}


@media only screen and (max-width: 375px) {
.banner-text {

font-size: 40px;

}
    
    .navbar-light .navbar-brand {
        margin: auto;
    }

    .navbar-light .navbar-toggler {
        margin: auto;
        margin-top: 15px;
    }
    
    .footer-top {
        height: 40px;
    }
        
  .layout-homepage .services-bottom {
        height: 40px;
    }
        
    .navbar-toggler {
        margin: auto;
        margin-top: 20px;
    }
    
    .navbar-brand {
        padding-top: 10px;
        margin: auto;
        width: 250px;
        text-align: center;
    }
    
    .topbar a{
        padding-right: 10px;
    }
    
    .layout-homepage .services-top {
        height: 38px;
        margin-top: -405px;
    }
    
    .layout-homepage .services {
        padding-top: 360px;
    }

}

@media only screen and (max-width: 325px) {
    .topbar i {
display: none;
}

.navbar-brand img {
max-width: 260px;
}

    .topbar a{
        padding-right: 5px;
    }
}