@import url('https://fonts.googleapis.com/css2?family=Athiti:wght@200;300;400;500;600;700&family=Outfit:wght@100..900&family=Sofia+Sans+Extra+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap');

:root {
    --black: #0B0C0C;
    --white: #FFFFFF;
    --dblue: #0056b3;
    --dblue2: #00356d;
    --lblue: #00d4ff;
    --lblue2: #b8d7ff;
    --green: #1FB000;
    --dgreen: #00771e;

}

.athiti-extralight {
  font-family: "Athiti", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.athiti-light {
  font-family: "Athiti", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.athiti-regular {
  font-family: "Athiti", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.athiti-medium {
  font-family: "Athiti", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.athiti-semibold {
  font-family: "Athiti", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.athiti-bold {
  font-family: "Athiti", sans-serif;
  font-weight: 700;
  font-style: normal;
}
body {
    font-family: "Athiti", sans-serif;
    color: var(--black);
    background-color: var(--white);
    font-size: 1.1em;
    background-image: url(/img/bg-page2.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
}
a {
    color: var(--dblue);
}
a:hover {
    text-decoration-color: var(--dblue);
    text-decoration: underline var(--dblue) 3px; 
    text-underline-offset: 3px;
}

h1{
    font-size: 3.2em;
    font-weight: 600;
    margin-bottom: 50px;
}
/* Topbar */
.top-decorative-bar {
    height: 10px;
    background: linear-gradient(90deg, var(--dblue) 0%, var(--lblue) 100%);
    width: 100%;
}
/* Logo */
.navbar-brand {
    padding: 30px 0;
    display: block;
}
img.logo {
    height: 80px;
}
.header-links a{
    text-decoration: none;
}
.search-box {
    border-radius: 30px;
    border: 2px solid var(--dblue);
    line-height: 26px;
}
.search-box input {
    border-radius: 30px;
    border: 0;
    line-height: 26px;
    padding: 10px 20px;
    font-size: 1em;
    width: 200px;
}
.search-box input.form-control:focus{
    box-shadow: none;
}
.search-box:has(.form-control:focus) {
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}
.search-box button{
    background-color: var(--dblue);
    line-height: 26px;
    padding: 10px 20px;
    border: 0;
    border-radius: 40px;
    margin: 2px;
    width: 48px;
    display: inline;
    position: relative;
}
.search-box button::before {
    content: '';
    background-image: url(/img/loupe.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    display: block;
    position: absolute;
    top: 13px;
    left: 15px;
}
.search-box input:focus + .search-button::before {
    animation: orbit 2s linear infinite;
}
@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(3px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(3px) rotate(-360deg);
    }
}
.search-box button span{
    display: none;
}


/* Nav */
.navbar {
    background-color: #fffffff0;
    box-shadow: 0px 0 0px white;
    padding: 20px 0;
}
.nav-link {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--dblue);
    position: relative;
}
.main-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dblue2);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform .5s ease-out;
}

.main-menu .nav-link:hover::after {
    transform-origin: bottom left;
    transform: scaleX(1);
}
.nav-link:hover {
    text-decoration: none;
    color: var(--dblue2);
}
.sticky-nav {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0px 0 50px white;
}
a.nav-link img {
    height: 30px;
}
a.nav-link:hover img {
    filter: hue-rotate(10deg) brightness(59%) contrast(129%);
    transition: filter 0.3s ease;
}

/* Mega Menu */
.dropdown-fullwidth {
    position: static !important;
}

.dropdown-fullwidth .dropdown-menu {
    left: 0 !important;
    right: 0 !important;
    background-color: #ecf4ff;
    border-radius: 0;
    margin-top: 0 !important;
    box-shadow: 0 13px 25px -13px #8baacb;
}

.expert-sublink {
    transition: all 0.2s ease-in-out;
    border-radius: 12px;
    color: #2d3436;
}

.expert-sublink:hover {
    background-color: #ffffff;
    color: #0056b3;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Spec položka v menu */
#expertDropdown {
    background-color: var(--green);
    border-radius: 30px;
    color: var(--white);
    padding: 10px 15px;
    line-height: 26px;
    padding: 10px 25px !important;
    font-weight: 600;
    border: 2px solid var(--white);
    box-shadow: 0 4px 7px #b4bbb1;
}
#expertDropdown:hover {
    box-shadow: 0 2px 12px #828381;
}
.expert-sublink img {
    height: 40px;
}

/*.special-link:hover {
    background-color: #0056b3;
}*/

.special-link {
  background: linear-gradient(var(--dgreen) 0 0) no-repeat calc(200% - var(--p, 0%))
    100% / 200% var(--p, 0.2em);
  transition: 0.3s var(--t, 0s),
    background-position 0.3s calc(0.3s - var(--t, 0s));
}

.special-link:hover {
  --p: 100%;
  --t: 0.3s;
  text-decoration: none;
  color: var(--white);
  /*border: 2px solid var(--white);*/
}

/* Sekcie */
.cta-section {
    background: linear-gradient(rgb(0, 34, 113), rgba(0, 113, 236, 0.9));
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}
/*.cta-section::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 110px;
    background-image: url(/img/left.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    top: 0;
    left: 0;
}*/



/* oportali */
.about {
    padding: 40px;
    box-shadow: 0 0 0 -45px var(--black);
    transition: all 1s;
}
/*.about:hover {
    box-shadow: 0 0 85px -45px var(--black);
}*/
.about-img {
    overflow: hidden;
}
.about img {
    transition: transform 0.6s ease;
    transition: all .3s;
}
.about:hover img {
    transform: scale(1.3) rotate(15deg); /* Zväčšenie o 5% */
    filter: brightness(1.2);
}



.btn {
  position: relative;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: none;
  border: 2px solid var(--white);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.liquid {
  background: linear-gradient(var(--white) 0 0) no-repeat calc(200% - var(--p, 0%))
    100% / 200% var(--p, 0.2em);
  transition: 0.3s var(--t, 0s),
    background-position 0.3s calc(0.3s - var(--t, 0s));
}

.liquid:hover {
  --p: 100%;
  --t: 0.3s;
  color: var(--dblue);
  border: 2px solid var(--white);
}



/* Timeline */
.timeline-item {
    position: relative;
    border-right: 1px dashed #dee2e6;
    padding: 20px 0;
}

.timeline-dot {
    width: 65px;
    height: 65px;
    background-color: var(--dblue2);
    color: white;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 4px 8px rgba(0,86,179,0.3);
    position: relative;
}
.timeline-item::before {
    content: '';
    width: 100%;
    border-bottom: 2px dotted var(--dblue);
    position: absolute;
    top: 50px;
    left: 0;
}
.timeline-item:first-of-type::before {
    width: 50%;
    left: 50%;
}
.timeline-item:last-of-type::before {
    width: 50%;
}
/* Responzívne úpravy */
@media (max-width: 768px) {
    .timeline-item {
        border-right: none;
        border-bottom: 1px dashed #dee2e6;
    }
    .border-md-start, .border-md-end {
        border: none !important;
    }
}
.spaccer {
    padding: 50px 0;
}

/* footer */
footer {
    background-color: var(--dblue2);
    color: var(--lblue2);
}
footer a {
    color: var(--lblue2);
}
.footer-links a{
    color: var(--white);
    padding-bottom: 10px;
    display: block;
}
.footer-links a:hover {
    color: #ffffff !important;
    padding-left: 5px;
    transition: all 0.3s;
}
.footer-logos img{
    height: 40px;
    margin-top: 20px;
}
.footer-logos img.uvz{
    height: 80px;
    margin-top: 0;
}
.newsletter input{
    border-radius: 50px 0 0 50px;
}

/* bredcrupmbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: .9em;
}
.breadcrumbs ul{
    padding: 0;
    margin: 0;
}
.breadcrumbs ul li {
    list-style: none;
    display: inline-block;
}
.breadcrumbs li:not(:last-child)::after {
    content: '';
    background-image: url(/img/ico-arrow-left.svg);
    display: inline-block;
    width: 20px;
    filter: invert(1);
    height: 12px;
    background-size: contain;
    transform: rotate(180deg);
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    margin-left: 5px;
}

/* postupy */
.postup-block a {
    text-decoration: none;
}
.postup-block {
    margin-bottom: 20px;
}
.postup-title {
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: underline;
}
a:hover .postup-title {
    text-decoration: underline var(--dblue) 3px;
}
a .postup-content {
    color: var(--black);
}
.postup-target {
    color: var(--black);
}
.postup-autor {
    font-size: .9em;
    color: var(--black);
}



/*** metodika ***/
.metodika-block {
    margin-bottom: 30px;
}
.metodika-block a {
    font-weight: 600;
    font-size: 1.1em;
}
.metodika-block h3 {
    font-size: 1em;
    font-weight: 600;
}
/*** Podujatie ***/
h3.podujatie-nazov{
    font-size: 1.1em;
    color: var(--dblue);
    font-weight: 600;
    text-decoration: underline;
}
a:hover h3.podujatie-nazov {
    text-decoration: underline var(--dblue) 3px;
}


.podujatie-blok {
    margin-bottom: 30px;
    display: inline-flex;
    width: 30%;
}
.podujatie-blok a {
    display: contents;
}
.podujatie-datum {
    width: 120px;
    min-height: 100px; /* Zabezpečí štvorcový alebo konzistentný tvar */
    background-color: var(--dblue2);
    color: var(--white);
    padding: 10px;
    margin-right: 15px;
    border-radius: 4px; /* Voliteľné: jemné zaoblenie ladí s kartami */
    
    /* Flexbox pre vertikálne a horizontálne vycentrovanie */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.podujatie-den {
    font-size: 1.2em;
    font-weight: 700;
    line-height: .8em;
    display: block;
}
.podujatie-den br {
    display: block;
    content: "";
    margin-top: 2px;
}
.podujatie-rok {
    font-size: 0.9em;
    font-weight: 400;
    display: block;
    margin-top: 2px; /* Jemná medzera medzi dňom a rokom */
}
.podujatie-data p{
    line-height: 1em;
    margin: 5px 0;
}

a.btn-more {
    background-color: var(--green);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    padding: 10px;
    position: absolute;
    bottom: 20px;
    width: calc(100% - 3rem);
    display: block;
    border-radius: 30px;
}

.card-body {
    padding: 1.5rem !important;
    position: relative;
}

.podujatia-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: stretch;
}

.podujatia-row::-webkit-scrollbar {
    display: none;

}


.podujatie-blok {
    flex: 0 0 calc(100% / 3.2); 
    min-width: 250px; 
    margin-bottom: 0 !important; 
    border-radius: 8px;
    display: flex !important;
}

.podujatie-blok a {
    display: flex !important;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.podujatie-list {
    display: block;
    position: absolute;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    color: var(--dblue2) !important;
    width: 40px;
    height: 40px;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s;
    top: 110px;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--white);
}
.podujatie-prev {
    left: -10px;
    background-image: url(/img/ico-arrow-left.svg);
}
.podujatie-next {
    right: -10px;
    background-image: url(/img/ico-arrow-right.svg);
}
.podujatie-list:hover {
    background-color: var(--dgreen);
    color: var(--white) !important;
}

.podujatie-list span {
    display: none;
}
.podujatie-list-inactive {
    pointer-events: none;
    cursor: default;
    background-color: #1b1b1b;
    filter: invert(1);
    border: 2px solid #000;
}
.card-body .btn-more {
    position: relative;
    width: 350px;
    bottom: 0;
    margin: 20px auto;
}



/*******************
POSTUP
*******************/
ul.postup-tag {
    padding: 0;
    margin: 20px 0 40px 0;
    display: inline-flex;
}
ul.postup-tag li{
    list-style: none;
    display: flex;
}
ul.postup-tag li {
    border: 1px solid #c2d1dc;
    padding: 5px 5px 5px 15px;
    border-radius: 40px;
    margin-right: 10px;
    line-height: 22px;
    color: var(--dblue);
    font-size: .9em;
    background-color: #f0f3f5;
}
ul.postup-tag li span{
    font-weight: 600;
    margin-left: 6px;
}
ul.postup-tag li button {
    width: 20px;
    padding: 2px;
    border: 0;
    background-color: transparent;
    margin: 0 3px 0 10px;
  
}
ul.postup-tag li button::before {
    content: '';
    background-image: url(/img/ico-close.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    display: block;
}
ul.postup-tag li button:hover::before {
    background-image: url(/img/ico-close-hover.svg);
}
.postup-filter h2{
    font-size: 1.2em;
    font-weight: 600;
}



.postup-filter ul {
    margin: 0;
    padding: 10px 0 30px 0;
}

.postup-filter input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0.15em;
    cursor: pointer;
    border: 2px solid #000000;
    transition: all 0.2s ease-in-out;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border-radius: 5px;
}
.postup-filter input:checked {
    background-color: var(--dblue);
    border: 2px solid black;
    box-shadow: inset 0px 0px 0px 2px var(--white);
}
.postup-filter ul li{
    list-style: none;
    display: flex;
    gap: .5em;
    padding: 5px 0;
}
.postup-filter ul li label {
    cursor: pointer;
}
.postup-zoznam article {
    padding: 10px;
}
.postup-zoznam article h2 {
    font-size: 1.4em;
    font-weight: 900;
}
.postup-zoznam article h2 a{
    text-decoration: underline;
}
.postup-zoznam article h2 a:hover{
text-decoration: underline var(--dblue) 3px;
  text-underline-offset: 3px;
}


.postup-zoznam article img {
    max-width: 100%;
}
li:has(label:hover) input {
    box-shadow: 0 0 0px 1px #fff,0 0 3px 4px var(--green);
    cursor: pointer;
}
.products-pagination {
    justify-content: center;
    display: inline-flex;
    margin-top: 30px;
}
.products-pagination ul {
    margin: 0;
    padding: 0;
}
.products-pagination ul li {
    list-style: none;
    display: inline-block;
}
.active > .page-link, .page-link.active {
    background-color: var(--dblue);
    border-color: var(--dblue2);
}
.page-link {
    border-color: var(--dblue2);
    color: var(--dblue2);
}
a.page-link:hover {
    background-color: #dfedff;
    border-color: var(--dblue2);
    color: var(--black);
    box-shadow: 0 0 1px 3px var(--dblue2);
}