/* VSEOBECNE ================================================== */
:root {
    /* ---------- MODRE LINKY ---------- */
    --default-blue-link: #1224b0; /* default modra */
    --default-blue-link-hover: #2f45e9; /* svetlejsi odtien z #1224b0 */
    --default-blue-link-underline: #7583f0; /* svetlejsi odtien z #1224b0 */
    --default-blue-link-underline-hover: #1224b0; /* default modra */
}

/* Nadpisy */
h1 { font-size: 2.20rem; margin-top: 1.90rem; margin-bottom: 1.10rem; }
h2 { font-size: 1.70rem; margin-top: 1.80rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.30rem; margin-top: 1.70rem; margin-bottom: 0.65rem; }
h4 { font-size: 1.20rem; margin-top: 1.60rem; margin-bottom: 0.60rem; }
h5 { font-size: 1.10rem; margin-top: 1.65rem; margin-bottom: 0.55rem; }
h6 { font-size: 1.00rem; margin-top: 1.50rem; margin-bottom: 0.50rem; }

/* Sirka stlpcov v tabulke */
table .width-5 { width: 5%; }
table .width-10 { width: 10%; }
table .width-15 { width: 15%; }
table .width-20 { width: 20%; }
table .width-25 { width: 25%; }
table .width-30 { width: 30%; }
table .width-35 { width: 35%; }
table .width-40 { width: 40%; }
table .width-45 { width: 45%; }
table .width-50 { width: 50%; }
table .width-60 { width: 60%; }
table .width-70 { width: 70%; }
table .width-80 { width: 80%; }

a {
    text-decoration: none;
    color: var(--default-blue-link);
    border-bottom: 1px dotted var(--default-blue-link-underline);
}
a:hover {
    color: var(--default-blue-link-hover); 
    border-bottom: 1px solid var(--default-blue-link-hover);
}

.text-info {
    color: #087a91!important;
}


/* LOGO ================================================== */
#my-header {
    background-color: #186eb3;
    background: url('../img-web/menu-modre.png') repeat center;
    border-bottom: 4px solid #ffc107;
}

/* WEBPAGE NAME ================================================== */
#my-header .webpage-name {
    width: 100%;
    font-size: 1.2rem; 
    line-height: 110%;
    margin: 0px; 
    color: white;
    text-shadow: 0px 0px 8px #0c375a;
    /* text-shadow: 0px 0px 8px black; */
}

/* MENU ================================================== */
#my-header .nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 300 !important;
    font-size: 1.2rem;
    color: lightgoldenrodyellow!important;
    margin-left: 4px;
    margin-right: 4px;
    text-shadow: 0px 0px 5px black;
    padding: 2px 8px;
    border-bottom: 0px;
}
#my-header .nav-link.active {
    color: yellow!important;
}
#my-header .nav-link:hover {
    color: yellow!important;
}
#my-header .nav-link,
#my-header .dropdown-item {
    border-bottom: 0px; /* linky mam robene pomocou border-bottom, tak tu to resetujem */
}


/* HOMEPAGE ================================================== */
/* CAROUSEL ------------------------------ */
#myCarousel .carousel {
    margin-bottom: 4rem;
}
#myCarousel .carousel-caption {
    bottom: 3rem;
    z-index: 10;
}
#myCarousel .carousel-item {
    height: 16rem;
    background-color: #333333;
}
#myCarousel .carousel-item .img-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(60%);
}
#myCarousel .carousel-indicators {
    margin: 0px;
}

#myCarousel .text-1 {
    font-size: 1.4rem;
    line-height: 100%;
    text-shadow: 0px 0px 5px black;
}
#myCarousel .text-2 {
    font-size: 1.0rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0px 0px 5px black;
}

/* HOMEPAGER BLOKY ------------------------------ */
.title-center {    
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
.title {    
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important;
    font-size: 3rem;
    color: #009A3D;
    text-align: center;
}
.subtitle {
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important;
    font-size: 1.6rem;
    color: #0053A0;
    margin-bottom: 1.6rem;
    text-align: center;
    border-top: 1px solid #009A3D;
}

/* BLOK 1 ------------------------------ */
#blok_1 {
    margin-top: 3rem;
}

/* BLOK 2 ------------------------------ */
#blok_2 {
    margin-top: 3rem;
}

/* BLOK 3 ------------------------------ */
#blok_3 {
    margin-top: 4rem;
    background-color: #e6ffe6;
}
#blok_3 .description {
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important;
    font-size: 1.1rem;
}
#blok_3 .yellow-background {
    background-color: gold;
    border: 1px solid GoldenRod;
}


/* FOOTER ================================================== */
.footer .border-start-blue {
    border-width: 1px 0px 0px 0px;
    border-style: solid;
    border-color: var(--default-blue-link);
}
.footer {
    border-top: 1px solid #e6e6e6;
}
footer {
    background-color: #757575;
    color: white;
}
footer a {
    color: white;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: white;
}
footer a:hover {
    color: lightgoldenrodyellow; 
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-color: lightgoldenrodyellow;
}


/* PODSTRANKY VSEOBECNE ================================================== */
/* Medzery ------------------------------ */
main > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-right: 1rem;
}
/* Nadpis ------------------------------ */
/* main .container h1.govuk-heading-xl {
    padding-top: 1rem;
    padding-bottom: 1rem;
} */

/* Tabulka ------------------------------ */
.table thead th {
    background-color: #e6e6e6;
    font-weight: normal!important;
    text-align: center;
}
.table th, 
.table td {
    border: 1px solid silver;
    padding: 5px;
    font-size: 0.9rem;
}
.table td h1,
.table td h2,
.table td h3,
.table td h4 {
    margin: 2px 0px;
}
.table td figure {
    margin: 2px;
}


/* Historia EMAS ------------------------------ */
.cms_seo_emas_historia-emas table { width: 100%; }
.cms_seo_emas_historia-emas table td:nth-child(1) { width: 20%; }
.cms_seo_emas_historia-emas table td:nth-child(2) { width: 20%; }
.cms_seo_emas_historia-emas table td:nth-child(3) { width: 60%; }
.cms_seo_emas_historia-emas table td { border: 0px; }
.cms_seo_emas_historia-emas table tr td { border-bottom: 1px solid #dee2e6; }
.cms_seo_emas_historia-emas table tr:nth-child(1) td { border-top: 1px solid #dee2e6; }


/* Sektorove referencne dokumenty ------------------------------ */
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table td:nth-child(1) { width: 5%; }
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table td:nth-child(1) img { width: 50px; }
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table td:nth-child(2) { width: 15%; }
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table td:nth-child(3) { width: 55%; }
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table td:nth-child(4) { width: 25%; }

.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table ul {
  list-style: none;
  padding-left: 2px;
}
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table ul li {
  position: relative;
  padding-left: 1.3em;
  text-indent: 0em;
}
.cms_seo_referencne-dokumenty_sektorove-referencne-dokumenty table ul li:before {
  content: "\f1c1"; /* kód ikony Font Awesome */
  font-family: "FontAwesome";
  position: absolute;
  left: 0;
  top: 0;
  color: #cc0000;
}


/* Letáky, informačné listy, prípadové štúdie, návody ------------------------------ */
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table { width: 100%; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table td:nth-child(1) { width: 35%; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table td:nth-child(2) { width: 65%; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table td:nth-child(1) { text-align: center; padding: 15px; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table td:nth-child(1) img { border: 1px solid silver; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table td { border: 0px; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table tr td { border-bottom: 1px solid #dee2e6; }
.cms_seo_referencne-dokumenty_letaky-informacne-listy-pripadove-studie-navody table tr:nth-child(1) td { border-top: 1px solid #dee2e6; }


/* Prirucky a metodiky ------------------------------ */
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table { width: 100%; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table td:nth-child(1) { width: 30%; text-align: center; padding: 15px; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table td:nth-child(2) { width: 70%; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table td:nth-child(1) { text-align: center; padding: 15px; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table td:nth-child(1) img { border: 1px solid silver; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table td { border: 0px; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table tr td { border-bottom: 1px solid #dee2e6; }
.cms_seo_referencne-dokumenty_prirucky-a-metodiky table tr:nth-child(1) td { border-top: 1px solid #dee2e6; }


/* Prípadové štúdie ------------------------------ */
.cms_seo_referencne-dokumenty_pripadove-studie table { width: 100%; }
.cms_seo_referencne-dokumenty_pripadove-studie table td:nth-child(1) { width: 30%; }
.cms_seo_referencne-dokumenty_pripadove-studie table td:nth-child(2) { width: 40%; }
.cms_seo_referencne-dokumenty_pripadove-studie table td:nth-child(3) { width: 30%; }
.cms_seo_referencne-dokumenty_pripadove-studie table td:nth-child(1) { text-align: center; padding: 15px; }
.cms_seo_referencne-dokumenty_pripadove-studie table td:nth-child(1) img { border: 1px solid silver; }
.cms_seo_referencne-dokumenty_pripadove-studie table td { border: 0px; }
.cms_seo_referencne-dokumenty_pripadove-studie table tr td { border-bottom: 1px solid #dee2e6; }
.cms_seo_referencne-dokumenty_pripadove-studie table tr:nth-child(1) td { border-top: 1px solid #dee2e6; }

.cms_seo_referencne-dokumenty_pripadove-studie table ul {
  list-style: none;
  padding-left: 2px;
}
.cms_seo_referencne-dokumenty_pripadove-studie table ul li {
  position: relative;
  padding-left: 1.3em;
  text-indent: 0em;
}
.cms_seo_referencne-dokumenty_pripadove-studie table ul li:before {
  content: "\f1c1"; /* kód ikony Font Awesome */
  font-family: "FontAwesome";
  position: absolute;
  left: 0;
  top: 0;
  color: #cc0000;
}


/* kontakty ------------------------------ */
.cms_seo_kontakt h2,
.cms_seo_kontakt h3 {
    margin-top: 3px;
    margin-bottom: 0px;
}





/* ========================================================================================== */
/* ------------------------------  M E D I A    Q U E R I E S  ------------------------------ */
/* ========================================================================================== */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #myCarousel .carousel-item {
        height: 30rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #my-header .webpage-name {
        font-size: 2rem; 
        font-weight: 500;
    }
    #myCarousel .text-1 {
        font-size: 2rem;
    }
    #myCarousel .text-2 {
        font-size: 1.2rem;
        max-width: 600px;
    }

    .footer .border-start-blue {
        border-width: 0px 0px 0px 1px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #myCarousel .carousel-item {
        height: 36rem;
    }

    #my-header .nav-link {
        border-top: 1px dotted #3595e3;
        border-bottom: 1px dotted #3595e3;
    }
    #my-header .nav-link:hover {
        border-top: 1px dotted white;
        border-bottom: 1px dotted white;
    }

    main > .container {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}