@font-face {
    font-family: 'Anodina'; /*a name to be used later*/
    src: url('../fonts/Anodina/Anodina-Regular.otf'); /*URL to font*/
} 
@font-face {
    font-family: 'FivoSans'; /*a name to be used later*/
    src: url('../fonts/FivoSans/FivoSans-Black.otf'); /*URL to font*/
}
@font-face {
    font-family: 'FivoSans-Heavy'; /*a name to be used later*/
    src: url('../fonts/FivoSans/FivoSans-Heavy.otf'); /*URL to font*/
}

body {
    margin: 0;
    font-family: Anodina, FivoSans, Calibri, Arial;
    font-size: 16px;
    background-color: #158FEA;
    color: white;
}

* {
    box-sizing: border-box;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid lightgrey;
    border-radius: 10px;
}

input[type=submit] {
    border: none;
    background-color: white;
    cursor: pointer;
}

.s {
    font-size: 25px;
}

.text-align-center {
    text-align: center;
}

.o-nas-text {
    font-size: 20px;
}

.o-nas-text h2 {
    font-family: FivoSans-Heavy;
}

.o-nas-text p {
    font-family: Anodina;
}

.menu-holder-mobile-ostatni {
    background-color: #158FEA;
    width: 1100px;
    height: 50px;
    position: relative;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
}

.menu-holder-mobile-ostatni .caption h2 {
    text-align: right;
}

.menu-holder-mobile-ostatni .caption {
    float: right;
    color: #232526;
    position: relative;
    top: -36px;
    font-family: "FivoSans-Heavy";
    font-size: 1.6em;
    width: 50%;
}

.menu-holder-mobile-ostatni .menu-container {
    width: 50%;
    position: relative;
    top: -12px;
    transform: translateY(0%);
    height: 50px;
}

.menu-holder {
    width: fit-content;
    height: 50px;
    position: relative;
    padding: 10px;
    top: 12px;
}

.menu-container {
    display: block;
    cursor: pointer;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.bar1, .bar2, .bar3 {
    width: 50px;
    height: 10px;
    background-color: #232526;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-15px, 12px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-9px, -8px);
}

.menu {
    background-color: white;
    width: 100%;
    height: auto;
    text-align: center;
    display: none;
    opacity: 0;
}

.menu a {
    text-decoration: none;
    font-size: 20px;
    color: #232526;
}

.menu .menu-item {
    padding: 10px 0;
    width: 100%;
}

.menu .menu-item:hover {
    background-color: lightgrey;
}

.menu .menu-item:hover > a {
    color: #232526;
}

.mainpage {
    width: 1100px;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
}

.display-flex {
    display: flex;
    height: auto;
}

.display-none {
    display: none;
}

.text-align-center {
    text-align: center;
}

.text-decoration-underline {
    text-decoration: underline;
}

.float-right {
    float: right;
}

.font-weight-bold {
font-weight: bold;
}

.font-size-big {
    font-size: 20px;
}

.height-0 {
    height: 0px;
}

.rok {
    width: 1100px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
}

.rok .rok-nadpis {
    text-align: center;
    font-family: FivoSans-Heavy;
    font-size: 24px;
    margin-top: 50px;
}

.rok .rok-nadpis a {
    color: white;
    text-decoration: none;
}

.rok .kauzyzarok {
    width: 100%;
    height: auto;
    padding: 10px;
    cursor: pointer;
    margin-top: 15px;
}

.rok .kauzyzarok .kauzyzarok-item {
    color: #232526;
    padding: 70px 5px;
    width: 32%;
    height: auto;
    display: inline-block;
    text-align: center;
    margin: 5px;
    border-radius: 15px;
    background-color: white;
}

.rok .kauzyzarok a {
    font-family: FivoSans-Heavy;
}

.rok .kauzyzarok .kauzyzarok-item h2 {
    margin: 0;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    color: #232526;
    margin-top: 50px;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #158FEA;
    border: 4px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.container:hover::after {
    background-color: white;
}

/* Place the container to the left */
.left {
    left: 0;
    text-align: right;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 10px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  cursor: pointer;
}

.content h1 {
    font-family: FivoSans-Heavy;
}

.footer {
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto; 
    padding: 10px;    
}

.footer hr {
    border: 3px solid white;
}          

.footer a {
    display: block;
    text-decoration: none;
    color: white;
    margin: 15px;
}       

.footer podpisy {
    width: 100%;
}

.footer .odkazy {
    width: 50%;
} 

.footer .socials {
    width: 50%;   
}

.footer .socials img {
    height: 100px;
}                        
 
.footer .socials .socials-item {
    width: fit-content;
    text-align: center;
    display: inline-block;  
}

.footer .socials .socials-item * {
    display: block;
}

.kauzy-holder {
    width: 1100px;
    height: auto;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
}

.kauzy-holder .filtr-holder {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.kauzy-holder .kauzy-nadpis {
    width: 100%;
    height: auto;
    font-family: FivoSans-Heavy;
    margin-top: 45px;
}

.kauzy-holder .kauzy {
    width: 100%;
    height: auto;
}

.kauzy-holder .kauzy a {
    text-decoration: none;
    color: black;
}

.kauzy-holder .kauzy .kauza {
    width: 31%;
    height: auto;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    margin: 10px;
    background-color: white;
    border-radius: 15px;
    text-align: center;
    font-family: FivoSans-Heavy;
}

.kauzy-holder .kauzy .kauza .kauza-nazev {
    width: 100%;
}

.kauzy-holder .kauzy .kauza .kauza-popis {
    width: 100%;
}

.kauzy-holder .kauzy .kauza .kauza-pribeh {
    width: 100%;
}

.kauzy-holder .kauzy .kauza .filtr-submit {
    width: 100%;
}

.kauzy-holder .kauzy .kauza .kauza-info {
    width: 100%;
}

.kauzy-holder .kauzy .kauza .kauza-info span {
    margin-right: 10px;
}

.space {
    height: 50px;
    width: 100%;
}

.head {
    width: 1100px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.head .head-img {
    width: 100%;
    height: 400px;
    background-image: url("../img/head.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.head-hr {
    border: 3px solid white;
}

.pocet-kauz {
    width: 100%;
    height: auto;
    text-align: center;
}

.pocet-kauz h3 {
    font-weight: normal;
    margin: 0;
}

.pocet-kauz h1 {
    font-size: 45px;
    font-family: FivoSans-Heavy;
    margin: 12px;
}

.kauzyzarok-filtr {
    font-size: 45px;
    font-family: FivoSans-Heavy;
}

.kauzyzarok-filtr span {
    margin-right: 30px;
    cursor: pointer;
}

.active {
    text-decoration: underline;
}

.filtr-prepinani h2 {
    display: inline-block;
    margin-right: 20px;
    font-family: FivoSans-Heavy;
    cursor: pointer;
}

.filtr input, select {
    width: 50%;
}

.status-napdis {
    font-size: 20px;
    text-align: center;
}

.status-vysledek {
    text-align: center;
    font-family: FivoSans-Heavy;
    font-size: 45px;
    margin: 0;
}

.filtr-active {
    display: block;
}

.kauza-detail {
    width: 1100px;
    height: auto;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.kauza-detail h1 {
    font-family: FivoSans-Heavy;
    font-size: 45px;
    margin-bottom: 60px;
    margin-top: 45px;
}

.kauza-detail .osoby {
    font-family: FivoSans-Heavy;
    font-size: 30px;
}

.kauza-detail p {
    font-size: 20px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }

    .display-flex {
        display: block;
    }

    .footer .odkazy {
        width: 100%;
    }

    .footer .socials {
        width: 100%;
    }

    .footer {
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        text-align: center;
    }

    .kauzy-holder .filtr-holder .filtr {
        margin-left: 0px;
    }

    .menu-holder-mobile {
        display: inline-block;
        position: relative;
        height: 45px;
        width: 100%;
    }

    .caption {
        float: right;
        color: #232526;
        position: relative;
        top: -6px;
        font-family: "FivoSans-Heavy";
    }

    .head .head-img {
        display: none;
    }

    .menu-holder {
        display: none;
    }

    .mainpage {
        width: 80%;
    }

    .timeline {
        width: 100%;
    }

    .head {
        width: 100%;
        margin-top: 20px;
    }

    .bar1, .bar2, .bar3 {
         width: 35px;
         height: 5px;
         background-color: #232526;
         margin: 6px 0;
         transition: 0.4s;
     }

    .head-hr {
        border: 2px solid white;
        margin: 0;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-8px, 8px);
    }

    .change .bar2 {opacity: 0;}

    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }

    .left {
        text-align: left;
    }

    .rok {
        width: 80%;
        margin-top: 15px;
    }

    .kauzy-holder {
        width: 80%;
        margin-top: 15px;
    }

    .kauza-detail {
        width: 80%;
        margin-top: 15px;
    }

    .filtr input, select {
        width: 100%;
    }

    .filtr-prepinani h2 {
        margin-right: 10px;
    }

    .kauzy-holder .kauzy .kauza {
        display: block;
        width: 100%;
    }

    .menu-holder-mobile-ostatni {
        width: 100%;
    }

    .menu-holder-mobile-ostatni .caption {
        width: 70%;
        font-size: 14px;
        float: none;
        top: -13px;
    }

    .rok-display-flex {
        display: flex;
        height: auto;
    }

    .menu-holder-mobile-ostatni .menu-container-mobile-ostatni {
        width: 30%;
        transform: translateY(12%);
    }

    .rok-display-flex .menu-container-mobile-ostatni {
        display: inline-block;
    }

    .rok-display-flex .caption {
        display: inline-block;
    }

    .kauzyzarok-filtr span {
        font-size: 25px;
    }

    .rok .kauzyzarok .kauzyzarok-item {
        width: 100%;
        padding: 45px 5px;
    }

    .content img {
        display: none;
    }
}