:root {
    --main: #002F4F;
    --gray: #C4C4C4;
}

html {
    line-height: 1.5;
    background: #E5E5E5;
}

body {
    background: #FFFFFF;
    font-family: Poppins;
    min-width: 510px;
    max-width: 1920px;
    margin: 0 auto;
}

/** header */

header {
    background: #FFFFFF;
    display: flex;
    flex-flow: row nowrap;
    width: -webkit-fill-available; width: -moz-available; width: stretch;
    justify-content: space-between;
    align-items: center;
}

#logo_muci {
    background: url(./img/logo_muci.svg);
    width: 240px;
    height: 91px;
    margin: 9px 128px 9px 128px;
    flex-shrink: 0;
}

header > ul {
    display: inline-flex;
    margin-right: 124px;
}

header > ul > li {
    margin: 0 30px;
    display: block;
}

header a {
    color: #000000;
    text-decoration: none;
    padding-bottom: 16px;
}

header ul:not(:hover) .active a, header li:hover a {
    border-bottom: 4.58537px solid var(--main);
}

@media screen and (max-width: 1200px) {
    header #logo_muci { margin-left: 15px; margin-right: 15px; }
    header > ul { margin-right: 20px; }
}

@media screen and (max-width: 1000px) {
    header > ul { margin-right: 10px; padding-left: 0; }
    header > ul > li { margin: 0 15px; }
}

@media screen and (max-width: 800px) {
    header { flex-flow: row wrap; }
    header > ul { margin-left: auto; margin-bottom: 32px; margin-top: 32px; }
}


/** logo */

#logo {
    background: var(--main);
    min-height: 557px;
    position: relative;
}

#balony {
    background: url(./img/balony.svg);
    width: 362px;
    height: 473px;
    position: absolute;
    left: 7%;
    top: 36%;
    z-index: 1;
}
#serpentyny {
    background: url(./img/serpentyny.svg);
    width: 238px;
    height: 77px;
    position: absolute;
    left: 541px;
    bottom: 20px;
}
#balonik {
    background: url(./img/balonik.svg);
    width: 105px;
    height: 92px;
    position: absolute;
    top: 88px;
    left: 640px;
}

#muci {
    background: url(./img/muci.svg);
    width: 306px;
    height: 418px;
    position: absolute;
    top: 68px;
    right: 218px;
}

#balony, #balonik, #serpentyny, #muci { background-size: contain; background-repeat: no-repeat; }

#logo p { font-size: 1.31rem; }
#logo div.text_container, #logo div.text_mock {
    margin: 223px 618px 144px 525px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-content: center;
}

#logo div.text_container {
    position: absolute;
}

#logo div.text_mock {
    padding: 223px 618px 144px 525px;
    margin: 0;
}

#logo div.text_container > p, #logo div.text_mock > p {
}

#logo div.text_mock > p {
    color: transparent;
}

#logo div.text_container > p {
		color: #FFFFFF;
}

@media screen and (max-width: 110rem) {
    #logo { min-height: 417px; }
    #balony { width: 271px; height: 355px; bottom: -98px; left: 78px; }
    #balonik { width: 75px; height: 65px; top: 69px; left: 510px;  }
    #muci { width: 230px; height: 313px; top: 52px; right: 130px;}
    #logo div.text_container { margin: 169px 448px 106px 409px; }
    #logo div.text_mock { padding: 169px 448px 106px 409px; }
    #serpentyny { width: 178px; height: 57px; bottom: 21px; left: 380px; }
    #logo p { font-size: 1.125rem; }
}

@media screen and (max-width: 90rem) { /* 60rem */
    #logo { min-height: 290px; }
    #balony { width: 189px; height: 246px; top: unset; bottom: -67px; left: 55px; }
    #balonik { width: 52px; height: 46px; top: 30px; left: 353px; }
    #serpentyny { width: 124px; height: 40px; left: 264px; bottom: 15px; }
    #muci { width: 160px; height: 217px; top: 36px; right: 90px; }
    #logo div.text_container { margin: 88px 281px 83px 264px; }
    #logo div.text_mock { padding: 88px 281px 83px 264px; }
    #logo p { font-size: 1rem; } /* 14px */
}

@media screen and (max-width: 62rem) {
    #logo { min-height: 557px; }
    #balony { width: 233px; height: 305px; bottom: -112px; left: 47px; }
    #balonik { display: none; }
    #serpentyny { display: none; }
    #muci { width: 210px; height: 287px; top: 45px; left: 59px; right: unset; }
    #logo div.text_container { margin: 0 51px 0 340px; height: 100%; }
    #logo div.text_mock { display: none; }
}

@media screen and (max-width: 37rem) {
    #logo { min-height: 526px; padding-bottom: 180px; }
    #balony { width: 174px; height: 229px; bottom: -77px; left: 139px; left: calc(50% - 87px); }
    #muci { width: 210px; height: 287px; position: relative; top: 59px; left: unset; right: unset; margin: 0 auto 86px; }
    #logo div.text_container { position: unset; margin: 27px auto 0; padding: 0 50px; }
    #logo div.text_mock { display: none; }

}

/** footer */

footer {
    height: 135px;
    background: #F2F2F2;
}

/** content */

*:focus {
    outline: 1px dashed currentColor;
    outline-offset: 3px;
}

#container {
    box-shadow: 0px 0px 15px 5px #002F4F1A;
    position: relative;
}

.panel > div {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 83px 0 135px;
}

.panel:nth-child(odd) { background: #F2F2F2; }
.panel:nth-child(even) { box-shadow: 0px 0px 15px 5px #002F4F1A; position: relative; }

.panel > div > .dot {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 2rem;
    background: var(--main);
    margin-left: auto; margin-right: auto;
}

.panel > div > h2 {
    color: var(--main);
    font-size: 2rem;
    text-align: center;
    font-weight: normal;
}

.panel h3 {
    color: var(--main);
    font-size: 2.25rem;
    font-weight: normal;
}

.panel h4 {
    color: var(--main);
    font-size: 1.75rem;
    font-weight: normal;
    text-align: center;
}

.panel a {
    color: var(--main);
}

.panel .graphic_with_text2 a {
    color: #000000;
}

.graphic_with_text {
    background: var(-gray);;
    margin: 30px 30px;
    min-height: 380px;
    height: auto;
    width: 254px;
    flex-shrink: 0;
    display: flex;
    flex-flow: column nowrap;
}

.graphic_with_text > div:first-child {
    background: var(--gray);
    height: 230px;
    border-radius: 5px;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
}

.graphic_with_text > div:first-child > img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.graphic_with_text > div:nth-child(2) {
    background: #FFFFFF;
    margin: -2px;
    min-height: 150px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 8px;
    flex-grow: 1;
}

.graphic_with_text > div:nth-child(2) p {
    margin: 4px 0;
}

.graphic_with_text2 {
    background: #FFFFFF;
    border: 1px solid var(--main);
    box-shadow: -2px 4px 5px 2px #002F4F33;
    margin: 30px 30px;
    min-height: 380px;
    height: auto;
    width: 252px;
    flex-shrink: 0;
    display: flex;
    flex-flow: column nowrap;
    border-radius: 5px;
}
.graphic_with_text2 > div:first-child {
    height: 230px;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
}

.graphic_with_text2 > div:first-child > img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.graphic_with_text2 > div:nth-child(2) {
    margin: 0 16px;
    border-top: 1px solid var(--main);
    min-height: 150px;
    padding: 8px 0;
    flex-grow: 1;
}

.graphic_with_text2 > div:nth-child(2) p {
    margin: 4px 0;
}

.timetable .graphic_with_text2 > div:nth-child(2) { display: flex; flex-flow: column nowrap; }
.timetable .graphic_with_text2 > div:nth-child(2) > p:not(.time) { flex-grow: 1; }


.graphic_with_text2 > div p.time {
    margin-top: 1rem;
}

.panelists .graphic_with_text2 { min-height: 330px; }
.panelists .graphic_with_text2 > div:nth-child(2) { min-height: 50px; }

.movie_with_text {
    background: #FFFFFF;
    min-height: 180px;
    height: auto;
    #width: 254px;
    width: 320px;

    margin: 30px 30px;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    flex-flow: column nowrap;
}

.movie_with_text > div:first-child {
    #height: 135px;
    height: 180px;
    width: 320px;
    border-radius: 5px;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
    background: #000000;
}

.movie_with_text > div:first-child > iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.movie_with_text > div:nth-child(2) {
    margin: -2px;
    background: white;
    #min-height: 150px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 8px;
    flex-grow: 1;
}

.movie_with_text > div:nth-child(2) p {
    margin: 4px 0;
}


.graphic {
    height: 230px;
    width: 254px;
    margin: 30px 30px;
    background: var(--gray);
    flex-shrink: 0;
    border-radius: 5px;
}

.graphic > div {
    height: 100%;
    width: 100%;
    border-radius: 5px;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
}

.graphic img {
    margin: auto;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}

.panel ul > li > p {
    margin: 0;
}


.icon-maincolor {
    filter: invert(13%) sepia(72%) saturate(1274%) hue-rotate(174deg) brightness(98%) contrast(105%);
}

.icon-link, .icon-more, .icon-pdf { display: inline-flex; }
.icon-link:before, .icon-more:before, .icon-pdf:before {
    content: "";
    background-size: cover;
    display: block;
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.5rem;
}

.icon-link:before { background: url(./img/link.svg); filter: invert(13%) sepia(72%) saturate(1274%) hue-rotate(174deg) brightness(98%) contrast(105%); }
.icon-more:before { background: url(./img/read_more.svg); position: relative; top: 0.375rem; }
.icon-pdf:before { background: url(./img/pdf.svg); filter: invert(13%) sepia(72%) saturate(1274%) hue-rotate(174deg) brightness(98%) contrast(105%); }
a > .icon-pdf:before { filter: invert(13%) sepia(72%) saturate(1274%) hue-rotate(174deg) brightness(98%) contrast(105%); position: relative; top: 0.25rem;}

#patronat {
    #margin: 30px -15px -30px;
}

#patronat .graphic {
    height: 180px;
    width: 224px;
    #margin: 30px 10px;
    text-decoration: none;
    color: var(--main);
    background: #F2F2F2;
    border: 1px solid var(--gray);
}
