/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* 
  General
  Homepage
  Fixed Header
  Single post
  Archive/Blog
  Footer kontakt
  Archive/Blog
*/

/* General */
html, body { 
overflow-x: hidden;
}
nav a,
.site-content p,
.site-content span,
.site-content ul,
.site-content li,
.hero-content h2 {
  font-family: "Roboto", sans-serif;
}

/* Homepage */
p.citat,
.citat span {
  font-family: "Kalnia";
}
.home .entry-content .hero-content h1{ 
color: #fff;

}
.elementor-19 .elementor-element.elementor-element-ca5aa42 .elementor-heading-title {
  line-height: 120%!important;
}

@media(min-width:767px){ 
.home .elementor-19 .elementor-heading-title .header{
  text-wrap: nowrap!important; 
}}

.home .scroller {
padding: 134px 20px;
}

@media(max-width:920px) {
 .home .scroller {
 padding: 96px 20px;
  }
}

@media(max-width:768px) {
 .home .scroller {
 padding: 72px 10px;
  }
}

@media(max-width:520px) {
 .home .scroller {
 padding: 64px 10px;
  }
}


@media(max-width: 1307px){ 
   .elementor-19 .elementor-element.elementor-element-2c5857b:not(.elementor-motion-effects-element-type-background){ 
    background-position: 0px -15rem!important;
  }
}

@media(max-width: 940px){ 
   .elementor-19 .elementor-element.elementor-element-2c5857b:not(.elementor-motion-effects-element-type-background){ 
    background-position: 0px -5rem!important;
  }
}

@media (max-width: 767px) {
  .elementor-19 .elementor-element.elementor-element-2c5857b:not(.elementor-motion-effects-element-type-background), .elementor-19 .elementor-element.elementor-element-2c5857b > .elementor-motion-effects-container > .elementor-motion-effects-layer {
      background-position: -8px -173px;
      background-repeat: no-repeat;
  }

}

@media(min-width:920px){ 
.home .hero-content{ 
padding-left: 100px;
}}


@media (max-width: 767px) {
  .elementor-19 .elementor-element.elementor-element-2d5a963 {
      --min-height: 100vh!important;
  }
  .home .elementor-19 .elementor-element.elementor-element-5456274 .elementor-heading-title,
  .home .elementor-19 .elementor-element.elementor-element-e4cc4da .elementor-heading-title,
  .home .elementor-19 .elementor-element.elementor-element-ca5aa42 .elementor-heading-title{ 
    font-size: 57px!important;
  }
}

@media (max-width: 520px) {
  .elementor-19 .elementor-element.elementor-element-2c5857b:not(.elementor-motion-effects-element-type-background), .elementor-19 .elementor-element.elementor-element-2c5857b > .elementor-motion-effects-container > .elementor-motion-effects-layer {
      background-size: 601px auto!important;
  }
}




/* Fixed Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
  padding: 10px;
}

@media (max-width: 921px) {
  .site-header {
    padding: 0px;
  }
}
.scroll-down .site-primary-header-wrap,
.scroll-up .site-primary-header-wrap {
  background-color: #1a1919;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.scroll-down .site-header {
  transform: translateY(-100%);
}

.scroll-up .site-header {
  transform: translateY(0);
}

@media (min-width: 921px) {
  .ast-theme-transparent-header #masthead {
    position: fixed;
    left: 0;
    right: 0;
  }
}

.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-builder-menu-mobile .main-navigation .main-header-men,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu,
#ast-hf-mobile-menu {
  background-color: #1a1919;
}

/* Single post */
html .single {
  font-size: 16px;
}

.single h1 {
  font-size: 3rem !important;
}

.single h2 {
  font-size: 2.5rem;
}

.single h3 {
  font-size: 2rem;
}

.single h4 {
  font-size: 1.75rem;
}

.single h5 {
  font-size: 1.5rem;
}

.single h6 {
  font-size: 1.25rem;
}

.single a {
  text-decoration: underline;
  color: #e7ccae;
}

.single .wp-block-heading {
  margin: 32px 0px;
}
.single .post-tip,
.single .post-summary,
.single .wp-block-post-excerpt {
  padding: 20px;
  border-radius: 2px; /* zaoblené rohy */
  box-shadow: 0 4px 8px rgba(231, 204, 174, 0.2),
    0 2px 10px rgba(231, 204, 174, 0.3), 0 4px 16px rgba(231, 204, 174, 0.2);
  margin: 40px 0px;
}

.wp-block-quote:not(.has-text-align-right):not(.has-text-align-center) {
  position: relative;
  border-left: 4px solid #e7ccae;
  box-shadow: -4px 0 8px rgba(231, 204, 174, 0.2);
  padding: 32px 48px;
}
.wp-block-quote:before {
  content: "";
  background-image: url("/wp-content/uploads/web/quote-icon.svg");
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  opacity: 0.6;
  top: -5px;
  left: 15px;
}

.single .post-tip h4,
.single .post-summary h3 {
  margin-bottom: 24px;
  color: #161616;
  font-family: "TT Norms PRO", Sans-serif;
  font-weight: bold;
  letter-spacing: 5px;
  -webkit-text-stroke-color: #000;
  stroke: #000;
}

.single .post-tip ul,
.single .post-summary ul {
  margin: 0;
}

.single .post-tip ul li,
.single .post-summary ul li {
  margin-bottom: 12px;
  list-style: none;
  position: relative;
}

.single .post-tip ul li:before,
.single .post-summary ul li:before {
  content: "x";
  font-family: "Kalnia", Sans-serif;
  font-size: 18px;
  color: #e7ccae;
  padding-right: 8px;
}

.single .content-area .elementor-widget-container {
  margin: 0px 0px 80px 0px !important;
}

.single blockquote .wp-block-heading {
  margin-top: 0px;
}

.sub-heading {
  color: #16161673;
  font-family: "TT Norms PRO", Sans-serif;
  font-size: 135px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 5px;
  word-spacing: 0px;
  text-align: right;
  text-transform: uppercase;
  margin: 50px 0px 0px;
}

@media (max-width: 920px) {
  .sub-heading {
    font-size: calc(135px / 2);
    letter-spacing: 0px;
    margin: 70px 0px 0px;
  }
}

.single h1 {
  color: #e7ccae;
  margin-bottom: 80px;
}

@media (max-width: 680px) {
  .single h1 {
    font-size: 36px !important;
  }
  .sub-heading {
    display: none;
  }
  .single article {
    margin-top: 80px !important;
  }
}

@media (min-width: 768px) {
  .single .entry-content {
    max-width: 70%;
  }
}

@media (min-width: 680px) {
  .single article {
    padding: 0em 2.4em 3.34em !important;
  }
}

/* Footer kontakt */
.col-2 {
  display: flex;
  height: 100%;
}

.footer-contact {
  max-width: 1200px;
  flex-direction: row;
  margin: 0 auto;
  align-items: center;
  gap: 35px;
  padding: 0 40px;
}

.footer-contact > div {
  width: 50%;
}

.footer-contact,
.footer-contact h3 {
  color: #e7ccae;
}

.footer-contact a {
  color: #888888;
  text-decoration: underline;
}

.footer-contact .content {
  width: 100%;
}

.footer-contact .heading h3 {
  font-size: 47px;
  margin-bottom: 15px;
}

.footer-contact .heading {
  margin-bottom: 32px;
  position: relative;
}
.footer-contact .heading :nth-child(2) {
  text-transform: uppercase;
}
/* .footer-contact .heading:before {
  content: "KONTAKT";
  color: #161616ad;
  font-size: 120px;
  font-weight: 700;
  font-family: "TT Norms PRO", Sans-serif;
  position: absolute;
  z-index: -1;
  top: 50px;
  left: -12px;
  height: 100%;
  width: 100%;
} */
@media (max-width: 1200px) {
  .footer-contact .heading:before {
    font-size: 90px;
  }
}

@media (max-width: 920px) {
  .footer-contact .heading:before {
    font-size: 60px;
  }
}

.footer-contact .form .forminator-row {
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
  }

  .footer-contact {
    padding: 0px 0px;
  }

  .footer-contact > div {
    width: 100%;
  }

  .footer-contact img {
    display: none;
  }
  .footer-contact .heading:before {
    font-size: 60px;
    top: 0px;
  }
}

/* Archive/Blog */
.page-id-3983 #main,
.page-id-4990 #main {
  padding: 0 40px;
}

.page-id-3983 .sub-heading,
.page-id-4990  .sub-heading{
  text-align: center;
}

.page-id-3983 article p,
.page-id-4990 article p {
  color: #7c7c7c;
}
.page-id-3983 article ,
.page-id-4990 article {
  padding: 0px !important;
}
.page-id-3983 h1,
.page-id-4990 h1 {
  text-align: center;
  color: #e7ccae;
  font-size: 47px;
}

.posts-loop {
  margin-top: 160px;
}

@media (max-width: 680px) {
  .page-id-3983 #main,
  .page-id-4990 #main {
    margin-top: 80px;
  }
  .page-id-3983 h1,
  .page-id-4990 h1 {
    font-size: 37px;
  }
}

@media (max-width: 768px) {
  .posts-loop {
    margin-top: 80px;
  }
}

.posts-loop .wp-block-post {
  padding: 0px !important;
}

.posts-loop ul {
  gap: 40px;
  margin: 0 auto;
}

.posts-loop article {
  position: relative;
}

.posts-loop article:before {
  content: "";
  position: absolute;
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(0, 0, 0, 0.6) 70%
  );
  z-index: 1;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.posts-loop article:hover:before {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.posts-loop ul h2 {
  position: absolute;
  bottom: 0px;
  padding: 15px;
  z-index: 10;
}

.posts-loop ul h2 a {
  color: #e7ccae;
  font-family: "Roboto", Sans-serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.25em;
}

.wp-block-query-pagination-numbers a {
  margin: 5px;
}

@media (max-width: 768px) {
  .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

.cmplz-buttons button {
  font-family: "Roboto", sans-serif !important;
}


/* Footer Copy block */
.site-footer .footer-wrapper{ 
max-width:500px;
width: 100%;
display: block;
margin: 0 auto;
padding: 32px 0px 16px;
}

.site-footer .footer-wrapper h3{ 
  margin-bottom: 16px;
}

/* Archive/Blog */
.page-id-3962 #main,
.page-id-4284 #main {
  padding: 0 40px;
}

.page-id-3962 .sub-heading,
.page-id-4284 .sub-heading {
  text-align: center;
}

.page-id-3962 article p,
.page-id-4284 article p {
  color: #7c7c7c;
}

.page-id-3962 article,
.page-id-4284 article {
  padding: 0px !important;
}

.page-id-3962 h1,
.page-id-4284 h1 {
  text-align: center;
  color: #e7ccae;
  font-size: 47px;
}

.posts-loop {
  margin-top: 160px;
}

@media (max-width: 680px) {
  .page-id-3962 #main,
  .page-id-3962 #main {
    margin-top: 80px;
  }

  .page-id-3962 h1,
  .page-id-3962 h1 {
    font-size: 37px;
  }
}

@media (max-width: 768px) {
  .posts-loop {
    margin-top: 80px;
  }
}

.posts-loop .wp-block-post {
  padding: 0px !important;
}

.posts-loop ul {
  gap: 40px;
  margin: 0 auto;
}

.posts-loop article {
  position: relative;
  padding: 0px!important;
}

.posts-loop article:before {
  content: "";
  position: absolute;
  background-color: transparent;
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(0, 0, 0, 0.6) 70%);
  z-index: 1;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.posts-loop article:hover:before {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.posts-loop ul h2 {
  position: absolute;
  bottom: 0px;
  padding: 15px;
  z-index: 10;
}

.posts-loop ul h2 a {
  color: #e7ccae;
  font-family: "Roboto", Sans-serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.25em;
}

.wp-block-query-pagination-numbers a {
  margin: 5px;
}

@media (max-width: 768px) {
  .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr !important;
  }
}