.u-mb-10 {
    margin-bottom: 10px;
}

.u-mt-10 {
    margin-top: 10px;
}

.box-hero--particles-fi .box-hero__particles {
    display:        block;
}

.box-hero--particles-fi .box-hero__particles:before {
    background-image: url("/files/cvtadm/particles-fi.png");
}

#page_source > .box-hero:nth-child(1) {
    margin-top: -50px;
}

pre.errorart {
    color:          #808080;
}

.justified {
    text-align:     justify;
    text-justify:   inter-word;
}

.d-none {
    display:        none;
}

.d-block {
    display:        block;
}

.d-inline-block {
    display:        inline-block;
}

.fi-google-calendar {
    position:       relative;
    height:         0;
    width:          100%;
    padding-bottom: 100%;
}

.fi-google-calendar iframe {
    position:       absolute;
    top:            0;
    left:           0;
    width:          100%;
    height:         100%;
}

.fi-box-event__story {
    max-height:     100px;
    overflow-y:     hidden;
    position:       relative;

    text-align:     justify;
    text-justify:   inter-word;
}

.fi-box-event__story:before {
    width:          100%;
    height:         100%;
    position:       absolute;
    left:           0;
    top:            0;
}

ol[type="a"].legal.uc > li:before {
    content:        counter(item, upper-alpha) ")";
}

ol[type="a"].legal > li:before {
    content:        counter(item, lower-alpha) ")";
}

/* CSS pre mapu studia v /admission/ */

#mapa-studia .box {
    border: 1px solid #ddd;
    background-image: none;
    margin: 0 0 1em;
    padding: 1em; /* 1em 1.5em; */
    display: block;
}

#mapa-studia ul {
    margin-bottom: 0;
    font-size: 0.9em;
}
#mapa-studia h5 {
    margin-bottom: 0;
}

@media (min-width: 700px) {
    .fi-mgr-1, .fi-mgr-2, .fi-mgr-3 {
        min-height: 5em;
    }
    .fi-bc-1 {
        min-height: 23em;
    }
    .fi-bc-2 {
        min-height: 5em;
    }
    .fi-bc-3 {
        min-height: 5em;
    }
    .fi-phd {
        min-height: auto;
    }
}
@media (min-width: 1000px) {
    .fi-phd-1 {
        min-height: 29em;
    }
}

.fi-bc-1 { background-color: #fef2cd; }
.fi-bc-2 { background-color: #eafecd; }
.fi-bc-3 { background-color: #e5ecff; }
.fi-mgr-1 { background-color: #fce49c; }
.fi-mgr-2 { background-color: #d4fc9c; }
.fi-mgr-3 { background-color: #ccdaff; }
.fi-phd-1 { background-color: #ffb199; }

/* https://www.fi.muni.cz/app/search
 * mimick the styling of Google Search results in the IS search results
 */

.fi-search p:nth-child(1) a {
    text-decoration: none;
    word-break: break-all;
}

.fi-search p:nth-child(1) span.light {
    font-size: 13px;
    color: green;
}

.fi-search p:nth-child(2) {
    font-size: 13px;
    word-break: break-all;
}

.fi-search p:nth-child(2) a {
    text-decoration: none;
    color: gray;
}

.fi-search p:nth-child(3) {
    font-size: 13px;
}

/* IS markup */
span.highlight {
    font-weight: bold;
}

/* Opatrenia pre viac fakultnej farby */

.menu-secondary::before { background: #f2d45c; }

.box-article-grid__title::before, .box-event__title::before { background: #f2d45c; }

/* Triedy pre <fi-temporary> */

.temporary-container {
    position: relative;
}

.temporary-upper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);

    background: repeating-linear-gradient(
        -45deg,
        rgba(158, 158, 158, 0.8),
        rgba(158, 158, 158, 0.8) 20px,
        rgba(255, 255, 255, 0.5) 20px,
        rgba(255, 255, 255, 0.5) 40px
    );
}

span.temporary-container,
span.temporary-upper {
    display: inline-block;
}

span.temporary-hidden {
    display: block;
}

img.ruler-1000 {
    min-width: 1000px;
}
