.cb img {
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: grayscale(0%);
    transform: scale(1);
}

.cb:hover img {
    filter: grayscale(100%);
    transform: scale(1.05);
}




.cb2 img {
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: grayscale(0%);
    transform: scale(1);
}

.cb2:hover img {
    filter: grayscale(100%);
    transform: scale(1.10);
	border:3px solid #999;
}




.img-centrovanie, .img-centrovanie img  {
    display: block;
    width: 100%;
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
}

/* Mobilná verzia */
@media (max-width: 768px) {
    .img-centrovanie {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}


a.pdf, a.pdf:active, a.pdf:visited { color: #000; text-decoration: none;
	font-weight:800;
	display:inline-block;
	background: #e7997e;
	padding:15px;
	margin:20px 0;
	}
a.pdf:hover { color: #fff;text-decoration: none;  }

a.pdf span (font-weight:300;)

#page h2 {
	font-weight:800;
	font-size:46px;
	color:#e7997e;
	padding:20px 0 20px 0;
	text-align: left;
	margin:0;
}


#page h3 {
	font-weight:800;
	font-size:26px;
	color:#e7997e;
	padding:20px 0 20px 0;
	text-align: left;
	margin:0;
}



.cierna {
	
	 background-color: #000;
    padding: 10px 10px 20px 10px;
    background-image: url(../images/bottomTop.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
	
}

.cierna2 {
	color:#fff;
	background-color: #000;
    background-image: url(../images/podmaz.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;

}

@media only screen and (max-width: 780px) {
    html body .cierna2 {
        background-image: none !important;
        background: #000 !important;
    }
}



.cierna3 {
	color:#fff;
	background-color: #000;
    background-image: url(../images/footer.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
	padding: 70px  0 30px 0;

}

.cierna4 {
    background-image: url(../images/footer02.jpg);
}

.cierna3 h3 {
	font-size:20px;
	font-weight:300;
	color:#e7997e;
	margin:0;
	padding:20px 0 10px 0;
	text-align: left;
}


.linka {border-left:1px solid #e7997e;padding: 0 0 0 30px;}

.cierna3 a, .cierna3 a:active, .cierna3 a:visited { color: #fff; }
.cierna3 a:hover { color: #e7997e;text-decoration: none; }



.PrvaOdrazka {
	padding:20px 0 40px 120px;
	border-bottom:1px solid #e7997e;
	background-image: url(../images/ikona01.png);
    background-repeat: no-repeat;
	background-position:center left;
}

.DruhaOdrazka {
	padding:20px 0 40px 120px;
	border-bottom:1px solid #e7997e;
	background-image: url(../images/ikona02.png);
    background-repeat: no-repeat;
	background-position:center left;
}

.TretiaOdrazka {
	padding:20px 0 40px 120px;
	background-image: url(../images/ikona03.png);
    background-repeat: no-repeat;
	background-position:center left;
}

.ps {
	color: #fff !important;
	font-size:26px;
	font-weight:800;
	line-height:28px;
}

.nonstop {
	font-size:30px;
	font-weight:800;
	color:#e7997e;
	line-height:32px;
}

.otvHod {
	color: #fff !important;
	font-size:26px;
	font-weight:300;
	line-height:28px;
}

.tel {
	font-size:30px;
	font-weight:800;
	line-height:32px;
}

.telABC {
    font-size: 30px;
    font-weight: 800;
    line-height: 32px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
    position: relative;
    z-index: 10;
}

.telABC a,
.telABC a:visited,
.telABC a:hover {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
    opacity: 1 !important;
}


.PodIkony {
	text-align:center;
	background-color:#d1d3d4;
	padding:20px;
}


.seda {
	text-align:center;
	background-color:#d1d3d4;
	padding:20px 20px 0 20px;
}



.seda2 {
	background-color:#d1d3d4;
	padding:10px 20px 20px 20px;
	border-bottom:1px solid #999;
	border-top:1px solid #999;
	margin-bottom:15px;
}










.seda img {
	 display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}


.PodIkony img {
	 display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.PodIkony p {
	 text-align:center;
	 padding:0px 40px 10px 40px;
	 font-size: 14px;
}

.PodIkony  h2 {color:#000; font-size:26px; text-align:center;font-weight:800;}
 
 
 
a.ikons, a.ikons:active, a.ikons:visited { color: #000; }
a.ikons:hover { color: #666;text-decoration: none; }
a.ikons:hover img { opacity: 0.4; }
a.ikons:hover img.cb { filter: grayscale(100%); opacity: 1.0;}
a.ikons:hover h2 { color: #666; } 
 a.ikons:hover h3 { color: #666; } 
 
 
 
a.pohrebnictvo, a.pohrebnictvo:active, a.pohrebnictvo:visited { 
display:block;
background-color:#e7997e;
font-size:24px;
text-align:center;
color: #000; 
padding:20px;
margin:0;
font-weight:800;
}
a.pohrebnictvo:hover { color: #666;text-decoration: none; }
 
 
 
.onas {
	font-size:26px;
	color:#e7997e;
	font-weight:800;
	padding:20px 0 0 0;
}

h2 {font-size:46px;
	color:#000;
	font-weight:800;
	padding:10px 0 10px 0;
	margin:0;
	}
	
	
h3 {color:#000; font-size:26px; text-align:center;font-weight:800;
	padding:10px 0 10px 0;
	margin:0;
	}
	
.citat {
	font-size:40px;
	line-height:45px;
	margin:15px 0 0 0; 
	padding:10px 0 15px 85px;
	font-family: "Fleur De Leah", cursive;
	font-weight: 400;
	font-style: normal;
	background-image: url(../images/ornament.png);
    background-repeat: no-repeat;
	background-position:center left;
}

.font14 {text-align:center; font-size:14px;}
.font142 {text-align:left; font-size:14px;}

.TextRight {text-align:right;}

.foto-vyrez2 {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
	border-bottom:10px solid #e7997e;
}

.borderBottom {
    border-bottom:15px solid #fff;
}

.foto-vyrez3 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
	border-bottom:10px solid #fff;
}


.foto-vyrez4 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
	margin-bottom:10px;
	border:1px solid #999;
	margin-bottom:15px;
}


.foto-vyrez5 {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
	margin-bottom:10px;
	border:1px solid #999;
}



/* HLAVNÉ MENU */
.hlavne-menu {
    background: #000;
    padding: 8px 0;
}

/* LOGO */
.logo-menu {
    max-height: 65px;
    width: auto;
    display: block;
	margin-right:30px;
}

/* POLOŽKY MENU */
.hlavne-menu .navbar-nav .nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    padding: 12px 12px;
    transition: 0.3s;
}

/* HOVER */
.hlavne-menu .navbar-nav .nav-link:hover,
.hlavne-menu .navbar-nav .nav-link:focus {
    background-color:#e7997e;
	color:#000;
}

/* AKTÍVNA POLOŽKA */
.hlavne-menu .navbar-nav .nav-link.aktivna {
     background-color:#e7997e;
	 color:#000;
}

/* DROPDOWN */
.hlavne-menu .dropdown-menu {
    background: #111;
    border: 1px solid #333;
    border-radius: 0;
    padding: 5px 0;
    margin-top: 0;
}

.hlavne-menu .dropdown-item {
    color: #fff;
    padding: 10px 18px;
    font-size: 15px;
}

.hlavne-menu .dropdown-item:hover {
    background: #333;
    color: #fff;
}

/* HAMBURGER */
.hlavne-menu .navbar-toggler {
    border: 1px solid #fff;
}

.hlavne-menu .navbar-toggler:focus {
    box-shadow: none;
}

/* DESKTOP DROPDOWN PO PREJDENÍ MYŠOU */
@media (min-width: 992px) {
    .hlavne-menu .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* MOBIL */
@media (max-width: 991.98px) {

    .hlavne-menu .navbar-collapse {
        border-top: 1px solid #333;
        margin-top: 10px;
    }

    .hlavne-menu .navbar-nav .nav-link {
        padding: 12px 10px;
        border-bottom: 1px solid #222;
    }

    .hlavne-menu .dropdown-menu {
        background: #181818;
        border: 0;
        margin-left: 15px;
    }

    .logo-menu {
        max-height: 50px;
    }
}





/*********** ANIMACIE **********************************************************************************************/

/* Základný stav – bloky sú skryté */
.PrvaOdrazka,
.DruhaOdrazka,
.TretiaOdrazka {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 0.8s ease forwards;
}

/* Postupné zobrazovanie */
.PrvaOdrazka {
    animation-delay: 0.2s;
}

.DruhaOdrazka {
    animation-delay: 0.6s;
}

.TretiaOdrazka {
    animation-delay: 1s;
}

/* Animácia */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/****** ikony animacia ******/

/* Základný stav kariet */
.ikons {
    display: block;
    text-decoration: none;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: kartaZobrazenie 0.8s ease forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Postupné zobrazovanie */
.col-sm-3:nth-child(1) .ikons {
    animation-delay: 0.2s;
}

.col-sm-3:nth-child(2) .ikons {
    animation-delay: 0.4s;
}

.col-sm-3:nth-child(3) .ikons {
    animation-delay: 0.6s;
}

.col-sm-3:nth-child(4) .ikons {
    animation-delay: 0.8s;
}

/* Animácia príchodu */
@keyframes kartaZobrazenie {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efekt pri prejdení myšou */
.ikons:hover {
    transform: translateY(-8px);
}

/* Animácia obrázkov */
.ikons img {
    transition: transform 0.5s ease;
}

.ikons:hover img {
    transform: scale(1.08);
}

/* Plynulá zmena nadpisu */
.ikons h2 {
    transition: color 0.3s ease;
}

.ikons:hover h2 {
    color: #a88755;
}

/* Prístupnosť – obmedzenie animácií */
@media (prefers-reduced-motion: reduce) {
    .ikons {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ikons img,
    .ikons h2 {
        transition: none;
    }
}






/******* odkazy s fotkou aniimacia ***************************/

/* Počiatočný stav */
.scroll-animacia {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Aktívna animácia */
.scroll-animacia.zobrazene {
    opacity: 1;
    transform: translateY(0);
}

/* Postupný nástup */
.scroll-animacia:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animacia:nth-child(2) {
    transition-delay: 0.3s;
}

.scroll-animacia:nth-child(3) {
    transition-delay: 0.5s;
}

/* Rešpektovanie nastavenia používateľa */
@media (prefers-reduced-motion: reduce) {
    .scroll-animacia {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

