:root {
    --main-color: #0A3C7D;
    --secondary-color: #0065b3;
    --hover-color: #0A3C7D;
    --font-family: "Source Sans Pro";
}

.cpkb-heading-title {
    color: var(--main-color);
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cpkb-heading-title-second {
    color: var(--main-color);
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    overflow-wrap: break-word;
}

.govuk-body {
    font-family: var(--font-family);
}

.govuk-body hr, .idsk-custom-divider-shadow {
    border-block-start: 1px solid #B9B9B9;
    margin: 10px 0; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.20);
}

.idsk-title-share {
    margin: 0;
    margin-right: 10px;
    margin-top: 1px; 
    font-weight: bold; 
    font-size: 19px;
    color: var(--main-color);
    font-family: var(--font-family);
}

.idsk-custom-divider {
    border-block-start: 1px solid #B9B9B9;
    margin: 10px 0;   
}

.govuk-body a {
    color: var(--secondary-color);
    text-underline-offset: .1em;
}

.govuk-body a:focus {
    color: #0A3C7D;
    outline: 3px solid transparent;
    background-color: #ffdf0f;
    box-shadow: 0 -2px #ffdf0f, 0 4px #0b0c0c;
}

.govuk-body a:hover {
    color: var(--hover-color)!important;
    text-decoration-thickness: max(3px);
}

.govuk-body a:visited, .govuk-body a:link, .govuk-body a:active {
    color: var(--secondary-color);
}

.govuk-body h2, .govuk-body h3, .govuk-body h4 {
    font-family: var(--font-family);
    font-weight: bold;
    color: var(--main-color);
    margin: 0;
    margin-bottom: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.govuk-body h2 {
    font-size: 36px;
}

.govuk-body h3 {
    font-size: 24px;
}

.govuk-body h4 {
    font-size: 19px;
}

.richtext-image {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

.richtext-image.full-width {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.richtext-image.left {
    float: left;
    margin-right: 1em;
}

.richtext-image.right {
    float: right;
    margin-left: 1em;
}

.govuk-body iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 315px; 
    margin: 0 auto; 
    border: none; 
}

.govuk-body .idsk-crossroad-line {
    color: #bfc1c3;
    border-color: #bfc1c3;
    background-color: #bfc1c3;
    height: 1px;
    border: 0;
    border-top: 1px;
    margin-bottom: 10px;
}

.govuk-body .idsk-crossroad-subtitle{
    padding-bottom: 10px;
    text-underline-offset: .2em;
}

.govuk-body strong, .govuk-body b {
    color: #0A3C7D;
}

.govuk-body label {
    color: #0A3C7D;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.25;
    font-family: "Source Sans Pro", "Arial", sans-serif;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    overflow-wrap: break-word;
}

.govuk-body label[for="id_login"]::after,.govuk-body label[for="id_password"]::after {
    content: ' *';
    color: red;
    font-weight: bold;  

}

::-webkit-scrollbar {
    width: 12px; 
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: #0065b3; 
    border-radius: 20px;
    border: 3px solid #f0f0f0; 
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:focus,
::-webkit-scrollbar-thumb:active {
    background-color: #0A3C7D;
}

.video-container iframe {
    height: 450px; /* Špecifická výška len pre tento prípad */
    max-width: 800px;
}

.top-news-bar {
    width: 100%;
    background-color: #0A3C7D; /* Farba pozadia - môžeš prispôsobiť */
    /* color: white;  */
    /* font-size: 15px; */
    padding: 0px 0;
    overflow: hidden;
    position: relative; /* Staticky umiestnené nad menu */
}

.news-container {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.news-text {
    display: inline-block;
    padding-left: 100%;
    animation: scrolling-text 25s linear infinite;
    color: white; /* Nastaví farbu textu */
    font-weight: 500; /* Tučné písmo */
    font-size: 19px; /* Veľkosť textu */
    line-height: 0.8; /* Výška riadku */
    font-family: "Source Sans Pro", "Arial", sans-serif; /* Typ písma */
    -webkit-font-smoothing: antialiased; 
}
.news-text:hover {
    animation-play-state: paused;
}

.news-link:hover {
    text-decoration: underline; /* Podčiarknutie pri hover */
    color: #FFFFFF; /* Farba pri hoveri */
}

.news-link {
    color: #FFFFFF; /* Zlatá farba odkazov - môžeš zmeniť */
    text-decoration: none; /* Odstráni podčiarknutie */
    font-weight: bold; /* Zvýraznenie textu */
}

@keyframes scrolling-text {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

#feedbackModal {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 9999;
    animation-fill-mode: forwards;
  }
  
  #feedbackModalContent {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    min-width: 260px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

  /* Zobrazovanie animácie */
#feedbackModal.show #feedbackModalContent {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* Schovanie smerom nadol */
  #feedbackModal.hide #feedbackModalContent {
    transform: translateY(100%);
    opacity: 0;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
  }
  
#feedbackModalContent h2 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.radio-group {
    display: flex;
    justify-content: space-around;
    margin: 10px 0 20px 0;
  }

.radio-group label {
    font-size: 16px;
}

.submit-btn {
    background-color: #005EA5;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #003d73;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-start;
}

.gallery a {
  display: block;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.gallery a:hover {
  transform: scale(1.03);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 40.0625em) {
    .idsk-header-web__nav-list-item-link {
        font-size: 17px !important;
        line-height: 1.31579;
    }
}