/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*GENERAL*/

.img-after {
	overflow: visible!important;
}

.img-after:after  {
	content: "";
	position: absolute;
    height: 100%;
    width: 100%;
    top: -30px;
    right: -30px;
    background: linear-gradient(60deg, #0B7CC1, #0BB6C1);
}

.img-after img {
	z-index: 1!important;
	position: relative!important;
}

/*BUTTON ANIMACIA HOVER*/

.fusion-button {
    position: relative;
    overflow: hidden !important;
}

.fusion-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.15) 30%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.15) 70%,
        transparent 100%
    );
    transform: skewX(-25deg);
}

.fusion-button:hover::before {
    animation: shine-strong 1s ease forwards;
}

@keyframes shine-strong {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

.fusion-button.white-button:hover:before,
.fusion-button.white-button:before {
	display: none!important;
}

/*HEADER*/

.home header ul li.current-menu-item a:after {
	transform: scaleX(0)!important;
	transition: transform .2s ease-in-out;
}

.home header ul li.current-menu-item:hover a:after {
	transform: scaleX(1)!important;
	transition: transform .2s ease-in-out;
}

/*FOOTER*/

footer .widget_custom_html {
	margin-bottom: 20px!important;
}

footer .footer-titles {
	font-family: "Inria Serif";
	font-size: 20px;
}

footer ul li {
	padding-bottom: 0!important;
	padding-left: 0!important;
}

footer ul li a:before {
	display: none;
}

.fusion-copyright-notice > div {
    display: flex;
    justify-content: space-between;
}

/*HOMEPAGE*/

#o-nas .fusion-builder-row-inner .fusion-layout-column {
	width: max-content!important;
}

#o-nas .fusion-builder-row-inner .fusion-layout-column .fusion-button {
	white-space: nowrap;
}

#o-nas .fusion-builder-row-inner .fusion-layout-column:first-child .fusion-button {
	margin-right: 20px;
}

.kontakt-container .fusion-builder-row-inner {
	align-items: flex-start!important;
}

.kontakt-container p a {
	padding-left: 30px;
	position: relative;
	display: inline-block;
	margin-bottom: 10px;
}

.kontakt-container p a:before {
	content: url('/wp-content/uploads/2026/03/phone-icon.svg');
	position: absolute;
	left: 0;
	top: 0;
}

.kontakt-container p a:last-child:before {
	content: url('/wp-content/uploads/2026/03/mail-icon.svg');
}

/*SUBPAGES*/

.sluzba-column {
	margin-bottom: 40px!important;
}

.sluzba-column .fusion-button {
	width: 100%;
	height: 150px;
	font-size: 22px!important;
}

.popis h3,
.popis h2 {
	margin-bottom: 10px!important;
	margin-top: 30px!important;
	font-size: 30px!important;
}

/*CONTACT*/

.wpcf7-acceptance .wpcf7-list-item {
	margin-left: 0;
}

/*404 ERROR PAGE*/

.error-page.chyba-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 100px 0;
}

.error-page.chyba-404 p {
	font-weight: bold;
	font-size: 30px;
}

/*MEDIA QUERIES*/

@media only screen and (max-width: 800px) {

	#o-nas .fusion-builder-row-inner .fusion-layout-column {
		width: 100%!important;
	}

	#o-nas .fusion-builder-row-inner .fusion-layout-column .fusion-button {
		width: 280px;
	}

	#o-nas .fusion-builder-row-inner .fusion-layout-column:first-child .fusion-button {
		margin-right: 0;
	}

	.fusion-copyright-notice > div {
			  flex-direction: column;
		}

	.fusion-copyright-notice div div:first-child {
			margin-bottom: 10px;
		}

}

@media only screen and (max-width: 640px) {

	.fusion-header,
	main,
	.footer-container {
		padding-left: 15px!important;
		padding-right: 15px!important;
	}

}
