@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --bs-body-font-weight: 300;
  --bs-body-line-height: 1.6;
  --bs-body-color: #303030;
}

.navbar {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #303030;
  letter-spacing: normal;
}

#main {
  padding-top: 0;
}

#index #motive {
  display: none;
}

/*.section-grid-logo img {
width: auto;
height: 100px;
}*/

/* ----- HEADER ----- */
/*===========================================================================*/
.header {
  box-shadow: 0px 3px 10px #00000024;
}

.navbar__brand-logo-img {
  max-width: unset;
  max-height: 2.5rem;
}

@media (min-width: 1200px) {
  .navbar__brand-logo-img {
    max-height: 3rem;
  }
}


.navbar__menu-link {
  text-transform: uppercase;
  font-size: 17.5px;
}

/* ----- MOTIVE ----- */
/*===========================================================================*/
.motive__background {
  background-position: center 25%;
}

/* ----- TYPOGRAPHY ----- */
/*===========================================================================*/
h1, h2, h3, h3.panel-title, h4, #motive, #motto #motto-title, #motto #motto-text {
  font-family: "Playfair Display", "Arial Narrow", sans-serif;
  color: #c2762e;
}

h1 {
  font-size: 40px;
  text-transform: none;
}

@media (min-width: 768px) {
  h1 {
    font-size: 60px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 80px;
  }
}

/* výpis článků v rubrice  
====================================================================== */
.article-item__title {
  font-size: 24px;
}

.article-item-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
}

.perex, .section-perex {
  max-width: unset;
}

.perex__text-wrapper, .section-perex__text-wrapper {
  width: 100%;
}

.article-item__img {
  -o-object-fit: contain;
  object-fit: contain;
  width: 50%;
}

.article-item__img-wrapper {
  background-color: unset;
  padding-bottom: 30%;
}

/* Fix styles for HERO carousel
====================================================================== */
body#index > .container > .row {
  padding-top: 0;
}

.section-carousel.section-fullwidth {
  padding-top: 0;
}

.carousel-hero .carousel-item {
  height: calc(100vh - 56px);
  overflow: hidden;
}

.carousel-hero .carousel-item img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.carousel-control-next, .carousel-control-prev {
  width: unset;
}

.carousel-dark .carousel-indicators [data-bs-target], .carousel-dark .carousel-indicators li {
  background-color: gray;
}

/* Carousel caption style for HERO carousel
====================================================================== */

.carousel-hero .carousel-caption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  top: 50%;
  left: 5%;
  right: 5%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

@media (min-width: 768px) {
  .carousel-hero .carousel-caption {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}

.carousel-hero .carousel-caption h1, .carousel-hero .carousel-caption h2, .carousel-hero .carousel-caption h3 {
  color: #fff;
  margin-bottom: 0;
  font-size: 40px;
  font-family: "Playfair Display", "Arial Narrow", sans-serif;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: none;
}

@media (min-width: 420px) {
  .carousel-hero .carousel-caption h1, .carousel-hero .carousel-caption h2, .carousel-hero .carousel-caption h3 {
    font-size: 60px;
  }
}

@media (min-width: 768px) {
  .carousel-hero .carousel-caption h1, .carousel-hero .carousel-caption h2, .carousel-hero .carousel-caption h3 {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .carousel-hero .carousel-caption h1, .carousel-hero .carousel-caption h2, .carousel-hero .carousel-caption h3 {
    font-size: 80px;
  }
}

@media (min-width: 1200px) {
  .carousel-hero .carousel-caption h1, .carousel-hero .carousel-caption h2, .carousel-hero .carousel-caption h3 {
    font-size: 100px;
  }
}

.carousel-hero .carousel-caption h1:after, .carousel-hero .carousel-caption h2:after, .carousel-hero .carousel-caption h3:after {
  display: none;
}

.carousel-hero .carousel-caption h1 + p, .carousel-hero .carousel-caption h2 + p, .carousel-hero .carousel-caption h3 + p {
  margin-top: 3rem;
}

.carousel-hero-stamp {
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  bottom: 4rem;
  left: 0;
  right: 0;
  width: 125px;
  height: 125px;
  z-index: 1;
}

@media (min-width: 768px) {
  .carousel-hero-stamp {
    width: 175px;
    height: 175px;
  }
}

/* text carousel */
.carousel-text .carousel-item {
  min-height: 400px;
}

@media (min-width: 500px) {
  .carousel-text .carousel-item {
    min-height: 320px;
  }
}

@media (min-width: 768px) {
  .carousel-text .carousel-item {
    min-height: 280px;
  }
}

@media (min-width: 1200px) {
  .carousel-text .carousel-item {
    min-height: 130px;
  }
}
/* Counters section (animated numbers)
====================================================================== */
.section-counter .counter {
  font-size: 40px;
  color: #191919;
}

.section-counter .counter-plus::after {
  content: ' +';
  position: relative;
  right: 0;
}

/* utilities  
====================================================================== */
/*@media(min-width: 576px) {
.section--fullwidth,.section-fullwidth {
margin-left:calc((-100vw + 557px - (2 * 0.75rem))/2);
margin-right: calc((-100vw + 557px - (2 * 0.75rem))/2)
}
}

@media(min-width: 768px) {
.section--fullwidth,.section-fullwidth {
margin-left:calc((-100vw + 737px - (2 * 0.75rem))/2);
margin-right: calc((-100vw + 737px - (2 * 0.75rem))/2)
}
}

@media(min-width: 992px) {
.section--fullwidth,.section-fullwidth {
margin-left: calc((-100vw + 977px - (2 * 0.75rem))/2);
margin-right: calc((-100vw + 977px - (2 * 0.75rem))/2);
}
}

@media(min-width: 1200px) {
.section--fullwidth,.section-fullwidth {
margin-left:calc((-100vw + 1157px - (2 * 0.75rem))/2);
margin-right: calc((-100vw + 1157px - (2 * 0.75rem))/2)
}
}

@media(min-width: 1400px) {
.section--fullwidth,.section-fullwidth {
margin-left: calc((-100vw + 1337px - (2 * 0.75rem))/2);
margin-right: calc((-100vw + 1337px - (2 * 0.75rem))/2);
}
}*/