/**
Theme Name: Astra child
Author: on-board.cz
Author URI: https://on-board.cz
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
*/



/* Nase projekty */
.swiper {
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
}

.image-box {
    position: relative;
    height: 483px;
    overflow: hidden;
    width: 6%;
    border-radius: 15px;
    display: block;
    margin-left: 20px;
    margin-right: 20px;
    transition: all 0.5s ease-in-out;
}
.image-box img {
        border-radius: 15px !important;
        z-index:4;
        opacity:0.2;
}
.image-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #001c55b5;
    border-radius: 15px;
     z-index:3;
}

.image-box.active::before {
    background: #00000070;
}


.image-box img {
    min-height: 100%;
}
.image-box.active {
    width: 700px;
    height: 483px;
    margin-right: 15px;
}

.image-box .text-overlay,
.image-box .closed-text {
    z-index:10;
    position: relative;
}
.image-box .closed-text {
    transform-origin: left top;
    transition: all 200ms ease-in-out;
    transform: rotate(-90deg);
    bottom: 0;
    left: 10px;
    position: absolute;
    color: white; 
    font-weight: bold;
    font-size: 20px;
    width: 400px;
    height: 60px;
    text-transform: uppercase;
    opacity: 1;
    visibility: visible;
}
@media screen and (max-width:768px){
    .image-box {
        margin-bottom: 10px;
    }
    .image-box .closed-text {
   transform: rotate(0deg);
        width: 90%;
        line-height: 20px;
        padding-top: 10px;
    }
}

.image-box.active .closed-text {
    opacity: 0;
    visibility: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

@media only screen and (max-width: 767px) {
    .swiper {
        flex-direction: column;
    }
	
	.image-box {
        min-height: 100% !important;
        height: 64px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .image-box.active {
        height: 200px !important;
		margin: 8px 0;
    }
}

.image-box .text-overlay {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease-in-out 0.3s,
        visibility 0s ease-in-out,
        left 0.3s ease-in-out,
        padding 0.3s ease-in-out;
    position: absolute !important;
    padding: 0 20px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
    bottom: 28px;
    left: 20px;
    cursor: pointer;
    text-wrap: wrap;
    color: white;
}

.image-box.active .text-overlay {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.5s ease-in-out 0.3s,
        visibility 0s linear 0s,
        left 0.5s ease-in-out,
        padding 0.3s ease-in-out;
    text-wrap: wrap;
}

.image-box .text-overlay h4 {
    color: white;
    font-size: 32px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
  
}

.image-box.active .text-overlay h4 {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.3s ease-in-out 0.3s,
        visibility 0s linear 0s,
        font-size 0.3s ease-in-out,
        color 0.3s ease-in-out;
}

@media only screen and (max-width: 1000px) {
    .image-box .text-overlay {
        bottom: 8px;
        left: 12px;
        padding: 0;
    }

    .image-box .text-overlay h4 {
        font-size: 20px;
    }
}


.site-footer #block-10 p{
    font-size: 16px !important;
}


.ast-builder-footer-grid-columns {
    grid-column-gap: 0 !important;
}

.site-primary-footer-wrap .site-footer-section {
    border: 1px solid white;
    border-radius: 8px;
    padding: 30px 60px;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    align-items: normal;
}

.site-below-footer-wrap .site-footer-section {
    padding-left: 60px;
    padding-right: 60px;
}

@media only screen and (max-width: 1440px) {
    .site-primary-footer-wrap .site-footer-section {
        border: 1px solid white;
        padding: 15px 10px;
    }
    .site-footer p {
        margin-bottom: 8px !important;
        font-size: 16px;
    }
    .site-footer li a {
        font-size: 16px;
    }
    .site-footer .widget {
        margin-bottom: 15px;
    }

   .site-below-footer-wrap .site-footer-section {
    padding-left: 10px;
    padding-right: 10px;
    } 
}

@media only screen and (max-width: 1240px) {
    .site-primary-footer-wrap .site-footer-section {
font-size: 18px;
    }

}

@media only screen and (max-width: 768px) {
    .site-primary-footer-wrap .site-footer-section {
        border: 1px solid white;

       padding: 15px 10px;
    }

   .site-below-footer-wrap .site-footer-section {
    padding-left: 10px;
    padding-right: 10px;
    } 
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Scroll Down Element */
.scrollDown {
    position: relative;
    z-index: 9999;
    display: flex !important;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    padding-left: 2.67rem;
    opacity: 1;
    transition: opacity 0.5s ease;
}
@media screen and (max-width: 1180px) {
    .scrollDown {
        display: none;
    }
}
.scrollDown:hover {
    opacity: 0.7;
}

.scrollDown.hidden {
    opacity: 0;
    pointer-events: none;
}

.mouse-container {
    display: block;
    height: 100%;
    width: 100%;
    max-width: 18px;
    min-height: 38px;
    position: relative;
    z-index: 20;
}

.mouse-wrapper {
    width: 100%;
    height: 100%;
    min-width: 18px;
    min-height: 36px;
}

canvas {
    vertical-align: top;
    width: 18px;
    height: 36px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    font-size: 20px;
}

.text-container p {
    color: #001C55 !important;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 0;
}

.text-container p:last-child {
    margin-top: -0.25rem;
}

.site-primary-header-wrap {
    background: white;
    background: linear-gradient(90deg,rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 16px;
    margin-top: 20px;
}

a:focus {
    outline: none;
}


#block-12 a {
       position: relative;
    padding-left: 40px;
}
#block-14 a,
#block-15 a {
           position: relative;
           text-decoration: underline;

}

#block-14 a:hover,
#block-15 a:hover {

           text-decoration: none;

}

#block-14 p,
#block-15 p {
        padding-left: 40px;
}


#block-12 a::before {
    content:'';
    width: 29px;
    height: 29px;
    display: flex;
    background: url(/wp-content/themes/astra-child/phone.svg) no-repeat center;
    background-size: 38px;
    position: absolute;
    left: 3px;
    top:1px;
}
#block-12 a:first-child::before {
    content:'';
    width: 29px;
    height: 29px;
    display: flex;
    background: url(/wp-content/themes/astra-child/mail.svg) no-repeat center;
    background-size: 38px;
    position: absolute;
    left: 3px;
    top:1px;
}

#block-14 a::before,
#block-15 a::before {
    content:'';
    width: 29px;
    height: 29px;
    display: flex;
    background: url(/wp-content/themes/astra-child/mail.svg) no-repeat center;
    background-size: 38px;
    position: absolute;
    left: -43px;
    top:1px;
}

.singl-projekt .elementor-widget-theme-post-content p {
    margin-bottom: 16px;
}