/*carousel*/
@media screen and (min-width: 768px) {
  .carousel-caption {
    right: 20%;
    left: 20%;
    padding-bottom: 27%;
  }
}

/*tlacitko carousel*/
html {
  scroll-behavior: smooth;
}
#own-motive .section-carousel {
  position:relative;
}
#own-motive .btn-scroll {
  text-align:center;
  position:absolute;
  bottom:100px;
  width:100%;
}

#own-motive .btn-scroll a {
  width:60px;
  line-height:40px;
  padding:15px 20px;
  font-size:30px;
  border-radius:50%;
  border:2px solid white;
  color:white;
  opacity:0.7;
}

#own-motive .btn-scroll a:hover {
  opacity:1;
}

/* Header - motto
====================================================================== */

#motto #motto-title, #motto #motto-text 
/*{
background-color: transparent;
}
*/
{ 
  background-color: #c7b28a;
}


#motto #motto-title {
  color: #131212;
}
#motto #motto-text {
  color: #c04a12;
}

/*----------velikost loga--------------*/
.logo img {
  max-height: 70px;
}

/*--------- vlastni paticka ------------*/
#footbox #favorite-links ul,
#footbox #panel-favourites ul,
#footbox #social-site ul,
#footbox #own-foot ul{
  padding-left:0;
}


footer > .container {
  padding-bottom:0;
}

/*------ social-site-----*/
.social-site-icon li.pin a {
  background-color: #CB2028;
}



.social-site-icon li.gmb a {
  background-color: #404040;
  padding-top:15px
}
.social-site-icon li.gmb a img {
  margin-top:-12px
}


.social-site-icon li.gmb a:hover {
  background-color: #4785ED;
}

.social-site-icon li.pin a:before {
  position: absolute;
  content: '';
  background-color: #404040;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: opacity 300ms ease;
  transition: opacity 300ms ease;
}

.social-site-icon li.gmb a:hover,
.social-site-icon li.pin a:hover {
  opacity: 1;
}


.social-site-icon li.pin a:hover:before {
  opacity: 0;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

.section-contact a[class*=social] img {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  margin-top:-12px
}

/*fotogalerie*/
.item-photogallery .thumbnail .caption {
  align-items: center;
}

.item-photogallery .thumbnail .caption h2 {
  text-align:center;
}

/*nadpis h1 - zruseni pozicovani do motivu*/
body:not(#index):not(.product-detail):not([class*="rubric-"]) #motive {
  display: none;
}

body:not(#index):not(.product-detail):not([class*="rubric-"]) #motive:before {
  display:none;
}

body:not(#index):not(.product-detail):not([class*="rubric-"]) #motto {
  display: none;
}

body:not(#index):not(.product-detail):not([class*="rubric-"]) h1.page-title {
  float: unset;
  clear: both;
  border-bottom: none;
  text-align: center;
  text-shadow: unset;
  color: #c7b28a;
  background-color: unset;
  padding: 1.5rem;
  margin: auto;
  margin-top: unset;
  margin-bottom: 20px;
}

body:not(#index):not(.product-detail):not([class*="rubric-"]) h1.page-title:after {
  display: none;
  margin-left: auto !important;
  margin-right: auto !important;
}

body:not(#index):not(.product-detail):not([class*="rubric-"]) h1.page-title + * {
  clear: both;
}

body:not(#index):not(.product-detail):not([class*="rubric-"]) .section-container h1.page-title {
  margin-top: unset;
}

@media (max-width: 575px) {
  body:not(#index):not(.product-detail):not([class*="rubric-"]) h1.page-title {
    float: none;
  }
}

@media (min-width: 992px) {
  body:not(#index):not(.product-detail):not([class*="rubric-"]) #motive {
    height: unset;
  }
  body:not(#index):not(.product-detail):not([class*="rubric-"]) h1.page-title {
    text-align: center;
    margin-top:unset;
    margin-bottom: 20px;
  }
  body:not(#index):not(.product-detail):not([class*="rubric-"]) h1.page-title:after {
    margin-left: 0 !important;
  }
  body:not(#index):not(.product-detail):not([class*="rubric-"]) .section-container h1.page-title {
    margin-top: unset;
  }
}