#ContentBoxOpenDay {
    display: flex;
    background-color: #fff2bb;
    width: 100%;
    justify-content: center;
}

#ContentBoxOpenDay>div {
    width: 50%;
    max-width: 600px;
    display: flex;
    padding: 30px 0;
}

#ContentBoxOpenDay>div:first-of-type {
    justify-content: flex-end;
}

#ContentBoxOpenDay>div:first-of-type img {
    width: 470px;
    height: 470px;
    margin-right: 30px;
    border: 1px solid black;
}

#ContentBoxOpenDay>div:last-of-type {
    display: flex;
    flex-direction: column;
}

#ContentBoxOpenDay>div:last-of-type h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
}

#ContentBoxOpenDay>div:last-of-type h3 {
    font-size: 20px;
    margin: 20px 0 20px 0;
}

#ContentBoxOpenDay>div:last-of-type > p {
    line-height: 180%;
    margin: 0;
    padding-right: 20px;
}

#ContentBoxOpenDay>div:last-of-type > p span {
    /*background-color: #FFCC00;*/
    /*padding: 0 4px;*/
}


#OpenDayDomacini {
    display: flex;
    flex-direction: column;
}

.OpenDayNastavnik {
    display: flex;
    margin-bottom: 25px;
}

img.Domacin {
    width: 70px;
    height: 105px;
    margin-right: 20px;
    border: 2px solid #FFCC00;
}

img.et {
    width: 15px;
    height: 15px;
}

img.send {
    width:20px;
    height:18px;
    margin-right: 5px;
}

.OpenDayNastavnik div {
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.OpenDayNastavnik div span:first-of-type{
    font-size: 13px;
}

.OpenDayNastavnik div span:nth-of-type(2){
    font-size: 18px;
}

.OpenDayNastavnik div span:nth-of-type(3){
    font-size: 12px;
    margin-top: 5px;
}

.OpenDayAdresa {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    margin-top: 10px;
}

#OpenDayTermin {
    display: flex;
    margin-top: 15px;
    align-items: flex-start;
    padding-top: 20px;
}

#OpenDayTermin > div {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#OpenDayTermin > div:first-of-type p {
    font-size: 18px;
    line-height: 100%;
    margin: 0;
}

#OpenDayTermin > div:first-of-type p:last-of-type{
    font-size: 30px;
    margin-top: 10px;
}

#OpenDayZoom p {
    margin: 0;
}

#OpenDayTermin a {
    color: black;
    text-decoration: none;
}

a.PosinfLink {
    /*padding: 0 2px;*/
    /*background-color: #FFCC00;*/
    /*background-color: white;*/
    color: black;
    text-decoration: none;
    border-bottom: 2px dashed #FFCC00;
}


@media screen and (max-width: 1050px) {
    
    #OpenDayPage #ContentBoxOpenDay {
        margin-top: 15px;
    }
    
    #ContentBoxOpenDay {
        flex-direction: column;
    }

    #ContentBoxOpenDay>div {
        width: 100%;
        max-width: 100%;
    }

    #ContentBoxOpenDay>div:first-of-type {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        padding-top: 25px;
    }

    #ContentBoxOpenDay>div:first-of-type img {
        width: 100%;
        max-width: 600px;
        height: auto;
        margin-right: 0;
        border-width: 0;
    }

    #ContentBoxOpenDay>div:last-of-type {
        padding: 15px;
    }

    #ContentBoxOpenDay>div:last-of-type h2 {
        font-size: 30px;
        margin: 10px 0 10px 0;
    }

    #ContentBoxOpenDay>div:last-of-type > p {
        padding-right: 0;
    }

    #OpenDayDomacini {
        flex-direction: column;
    }

    .OpenDayNastavnik {
        width: 100%;
        margin-bottom: 30px;
    }

    #OpenDayTermin {
        margin-top: 30px;
        margin-bottom: 10px;
        padding-top: 0;
        flex-direction: column;
    }

    #OpenDayTermin > div {
        width: 100%;
    }

    #OpenDayTermin > div:first-of-type {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px) {
    #ContentBoxOpenDay>div:first-of-type {
        padding-top: 0;
    }
}