/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html,
body {overflow-x:hidden;}

.stk-block-heading.nadpis {margin-bottom:6%;}
.stk-block-heading.nadpis > .stk-block-heading__text::before {position: absolute; left: -2%; z-index: -1; text-shadow: 0px 0px 5px white; color: var(--contrast); font-size: 250%; opacity: 0.5; text-transform: uppercase;}

.entry-content ul {border-left: 1px solid var(--accent); margin-left: 0; padding-left: 2em; list-style: none; line-height: 2;}
.entry-content ul li {position:relative;}
.entry-content ul li::before,
.entry-content ul li::after,
#wpv-view-layout-70 .wpv-loop .wp-block-column a::before,
#wpv-view-layout-70 .wpv-loop .wp-block-column a::after {content:""; position:absolute; top:calc(50% - 5px); z-index:2;}
.entry-content ul li::before,
#wpv-view-layout-70 .wpv-loop .wp-block-column a::before {background:var(--accent); left:-2em; width:15px; height:10px;}
.entry-content ul li::after,
#wpv-view-layout-70 .wpv-loop .wp-block-column a::after {width: 0px; height: 0px; border-style: solid; border-width: 5px 0 5px 8.7px; border-color: transparent transparent transparent var(--accent); transform: rotate(0deg); left:calc(-2em + 15px);}

/* */
/* */
/* MENU */
.main-navigation {z-index: 100; position: relative; padding-top: 20px;}
.main-navigation.is_stuck {padding-top:0; background:var(--contrast); border-bottom:1px solid #333;}
/* */
/* */
/* HOMEPAGE */
.stk-block-columns#home-image::after {content:"" !important; position:absolute; top:0; right:0; bottom:0; left:0; background-image: linear-gradient(180deg, transparent 50%, black 100%); opacity: .8;}
.stk-block-columns#home-image > .stk-row > .stk-block-column > .stk-container,
.stk-block-columns#home-image > .stk-row > .stk-block-column > .stk-container > .stk-block-content {height:100%;}
.stk-block-columns#home-image > .stk-row > .stk-block-column > .stk-container > .stk-block-content {justify-content:center;}
.stk-block-columns#home-image-sloupce {margin-left:-3em !important; margin-right:-3em !important;}
#home-moznosti {position: relative; display: grid; width: fit-content; grid-template-columns: 1fr 1fr; grid-gap: 0px; margin-left: -3em;}
#home-moznosti::before {content: ""; display: inline-block; aspect-ratio: 1.3 / 1; background: url(/wp-content/uploads/2025/02/logo-bile-tykva.png); background-position:left center; background-size:contain; background-repeat:no-repeat; height: 95%; position: relative; width: 100%;}
#home-moznosti > div {margin-bottom:-5%;}
#umime-ul {display: grid; grid-template-columns: repeat(2, 1fr); border: 0; padding: 0em; grid-gap: 70px; margin-bottom:70px;}
#umime-ul li {background: var(--contrast-2); padding: 2em; display: flex; align-content: center; justify-content: center; text-align: center; flex-wrap:wrap; gap:0; aspect-ratio:1/1;}
#umime-ul li::before,
#umime-ul li::after,
#umime-ul li br {display:none;}
#umime-ul li strong {display:block; width:100%; font-size:120%;}
/* */
/* */
/* REALIZACE FOOTER */
#wpv-view-layout-70 .wpv-loop {display:grid; grid-template-columns:repeat(4,1fr); grid-gap: 20px;}
#wpv-view-layout-70 .wpv-loop .wp-block-column a {border-left:2px solid var(--accent); position:relative;}
#wpv-view-layout-70 .wpv-loop .wp-block-column a::before {left:0}
#wpv-view-layout-70 .wpv-loop .wp-block-column a::after {left:15px}
#wpv-view-layout-70 .wpv-loop .wp-block-column span {font-size:13px; display:block; text-align:center; margin-top:5px;}
/* */
/* */
/* FOOTER KONTAKT */
.stk-block-columns#footer-kontakt > .stk-row {display:grid !important; grid-template-columns:repeat(12,1fr); grid-gap:60px;}
.stk-block-columns#footer-kontakt > .stk-row > :nth-child(1) {grid-area:1/1/span 1/span 2}
.stk-block-columns#footer-kontakt > .stk-row > :nth-child(2) {grid-area:1/3/span 1/span 10}
.stk-block-columns#footer-kontakt > .stk-row > :nth-child(3) {grid-area:2/1/span 1/span 12}
.stk-block-columns#footer-kontakt iframe {width:100% !important}
/* */
/* */
/* FACEBOOK */
.stk-block-columns#column-facebook {width: 50px; height: auto; display: flex; justify-content: center; align-items: center;}
.stk-block-columns#column-facebook > .stk-row {transform:rotate(90deg); /*display: grid;*/ grid-gap: 20px; width: fit-content; justify-content: center; align-content: center;}
.stk-block-columns#column-facebook > .stk-row > div {width:fit-content; flex:auto !important}
.stk-block-columns#column-facebook > .stk-row > :nth-child(2) {width:70px;}







