/* Fix - IDSK Frontend CSS */
.govuk-skip-link[href^="#main-content"]:hover {
  text-decoration-thickness: max(3px, .1875rem, .12em);
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
  text-decoration-skip: none;
}

@media (max-width: 48.0525em) {
  .idsk-header-web__nav-bar--buttons {
    border-bottom: none;
  }
}

@media (min-width: 48.0525em) {
  .idsk-article-pattern__element-right {
    float: right;
    margin-right: 15px;
  }
}

/* zobraziť aktualizácie */
.idsk-article-pattern__text-silver--down {
  padding-top: 10px;
  padding-bottom: 13px;
}

.idsk-article-pattern__text-silver--up {
  border-top: 3px solid #0B0C0C;
  padding-top: 10px;
}

@media (min-width: 48.0525em) {
  .idsk-article-pattern__text-silver--down {
    border-bottom: 3px solid #0B0C0C;
  }
}

#idsk-article__content__news {
  display: none;
  margin-left: -15px;
  padding-top: 10px
}

#idsk-article__content__news.idsk-article__content__news--visible {
  display: block;
}

#idsk-article__content__news .govuk-body-s {
  margin-bottom: 8px;
}

/* Koniec - zobraziť aktualizácie */

/* Custom - IDSK Frontend CSS */
/* Základné nastavenia pre odstavce a texty */
.mc-content--wrapper p {
  color: #0b0c0c;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0 0 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Nastavenia pre odkazy */
.mc-content--wrapper a {
  font-family: "Source Sans Pro", Arial, sans-serif;
  text-decoration: underline;
  text-decoration-thickness: max(1px, .0625rem);
  text-underline-offset: 0.1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mc-content--wrapper a:hover {
  text-decoration-thickness: max(3px, .1875rem, .12em);
  text-decoration-skip-ink: none;
}

.mc-content--wrapper a:focus {
  outline: 3px solid transparent;
  color: #0b0c0c;
  background-color: #ffdf0f;
  box-shadow: 0 -2px #ffdf0f, 0 4px #0b0c0c;
  text-decoration: none;
}

.mc-content--wrapper a:link {
  color: #0065b3;
}

.mc-content--wrapper a:visited {
  color: #4c2c92;
}

.mc-content--wrapper a:hover {
  color: #003078;
}

.mc-content--wrapper a:focus,
.mc-content--wrapper a:active {
  color: #0b0c0c;
}

/* Nastavenia pre zoznamy */
.mc-content--wrapper ul,
.mc-content--wrapper ol {
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.25;
  color: #0b0c0c;
  margin: 0 0 15px;
  padding-left: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mc-content--wrapper ul {
  list-style-type: disc;
}

.mc-content--wrapper ol {
  list-style-type: decimal;
}

.mc-content--wrapper li {
  margin-bottom: 0;
}

/* Media query pre väčšie obrazovky */
@media (min-width: 40.0625em) {
  .mc-content--wrapper p,
  .mc-content--wrapper ul,
  .mc-content--wrapper ol {
    font-size: 1.1875rem;
    line-height: 1.31579;
    margin-bottom: 10px;
  }

  .mc-content--wrapper li {
    margin-bottom: 5px;
  }
}

/* hr */
.mc-content--wrapper hr {
  background: black;
  height: 5px;
  margin-top: 30px;
  margin-bottom: 0;
  border: none;
}

/* embeded */
.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.video-container::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* blue banner */
.idsk-blue-banner {
  background-color: #003078;
  padding: 30px 0;
  margin: 30px 0;
  height: 100%;
  position: relative;
  display: inline-block;
}

.idsk-blue-banner::before {
  content: "";
  background: #003078;
  position: absolute;
  width: calc((100vw - 100%) / 2);
  height: 100%;
  left: calc((100vw - 100%) / -2);
  top: 0;
  overflow: hidden;
}

.idsk-blue-banner::after {
  content: "";
  background: #003078;
  position: absolute;
  width: calc((100vw - 100%) / 2);
  height: 100%;
  right: calc((100vw - 100%) / -2);
  top: 0;
  overflow: hidden;
}

.idsk-blue-banner__wrapper {
  display: flex;
  flex-flow: row;
  text-align: right;
}

.idsk-blue-banner_description {
  text-align: left;
}

.idsk-blue-banner .govuk-grid-column-two-thirds {
  padding: 0;
}

.idsk-blue-banner__image {
  align-self: center;
  display: flex;
  flex-direction: row-reverse;
}

/* gray banner */

.idsk-grey-banner {
  background-color: #F3F2F1;
  padding: 30px 0;
  margin: 30px 0;
  height: 100%;
  position: relative;
  display: inline-block;
}


.idsk-grey-banner::before {
  content: "";
  background: #F3F2F1;
  position: absolute;
  width: calc((100vw - 100%) / 2);
  height: 100%;
  left: calc((100vw - 100%) / -2);
  top: 0;
  overflow: hidden;
}

.idsk-grey-banner::after {
  content: "";
  background: #F3F2F1;
  position: absolute;
  width: calc((100vw - 100%) / 2);
  height: 100%;
  right: calc((100vw - 100%) / -2);
  top: 0;
  overflow: hidden;
}

/* dropdown select */
.govuk-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 6px);
  background-size: 18px;
  background-color: #ffffff;
  padding-right: 30px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* summary card */
.govuk-summary-card__title-wrapper {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  background-color: #f3f2f1;
}

@media (min-width: 40.0625em) {
  .govuk-summary-card__title-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 15px 20px;
  }
}

.govuk-summary-card__title {
  font-family: arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.25;
  margin: 5px 20px 10px 0;
  margin-bottom: 10px;
}

@media (min-width: 40.0625em) {
  .govuk-summary-card__title {
    font-size: 19px;
    font-size: 1.1875rem;
    line-height: 1.3157894737;
  }
}

@media (min-width: 40.0625em) {
  .govuk-summary-card__title {
    margin-bottom: 5px;
  }
}

.govuk-summary-card__content {
  padding: 15px 15px 0;
}

@media (min-width: 40.0625em) {
  .govuk-summary-card__content {
    padding: 15px 20px;
  }
}

/* checkbox */
input[type="radio"], input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

/* input */
.shmu-input:focus {
  padding-left: calc(8px - 1px) !important;
}

.shmu-input-btn:focus {
  outline: 0;
  border-color: #ffdf0f;
  border-width: 3px;
  /* padding-left: calc(5px - 1px); */
  box-shadow: inset 0 0 0 calc(2px + 1px) #0b0c0c;
}

@media (min-width: 40.0625em) {
  .govuk-summary-card {
    margin-bottom: 30px;
  }

  .app-prose-scope h2, .govuk-heading-l {
    margin-top: 40px;
  }
}

.govuk-summary-card {
  margin-bottom: 20px;
  border: 1px solid #b1b4b6;
}
