body {
    font-family: 'Open Sans', sans-serif;
}

#menu {
    display: flex;
    justify-content: space-between;
    height: 55px;
    position: relative;
}

#menu ul {
    margin: 0;
    padding: 0;
}

#menu .main-menu {
    display: none;
}

#tm:checked + .main-menu {
    display: block;
}

#menu input[type="checkbox"],
#menu ul span.drop-icon {
    display: none;
}

#menu li,
#toggle-menu,
#menu .sub-menu {
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.05);
}

#menu li,
#toggle-menu {
    border-width: 0 0 1px;
}

#menu .sub-menu {
    background-color: #fff;
    border-width: 1px 1px 0;
    margin: 0 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#menu .sub-menu li:last-child {
    border-width: 0;
}

#menu li,
#toggle-menu,
#menu a {
    position: relative;
    display: block;
    color: #000;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.125);
    background-color: #fff;
}

#menu,
#toggle-menu {
    background-color: #fff;
}

#toggle-menu,
#menu a {
    padding: 1em 1.5em;
}

#menu a {
    transition: all .125s ease-in-out;
    -webkit-transition: all .125s ease-in-out;
}

#menu a:hover {
    background-color: white;
    color: #4c5fc9;
}

#menu .sub-menu {
    display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
    display: block;
}

#menu .sub-menu a:hover {
    color: #4c5fc9;
}

#toggle-menu .drop-icon,
#menu li label.drop-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translate(-50%, -50%);
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F2F2F2;
    text-shadow: 0 0 0 transparent;
    color: #4c5fc9;
}

#menu .drop-icon {
    line-height: 1;
}

.nav-lang {
    display: inline-block;
}

.nav-lang a {
    display: inline-block !important;
    padding: 1rem !important;
}

.nav-lang a img {
    width: 20px;
    margin-right: 0.5rem;
}

@media only screen and (max-width: 64em) and (min-width: 52.01em) {
    #menu .sub-menu li {
        width: auto;
    }
}

@media only screen and (min-width: 901px) {
    #menu .main-menu {
        display: block;
    }

    #toggle-menu,
    #menu label.drop-icon {
        display: none;
    }

    #menu ul span.drop-icon {
        display: inline-block;
    }

    #menu li {
        float: left;
        border-width: 0 1px 0 0;
    }

    #menu .sub-menu li {
        float: none;
    }

    #menu .sub-menu {
        border-width: 0;
        margin: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 255px;
        z-index: 3000;
    }

    #menu .sub-menu,
    #menu input[type="checkbox"]:checked + .sub-menu {
        display: none;
    }

    #menu .sub-menu li {
        border-width: 0 0 1px;
    }

    #menu .sub-menu .sub-menu {
        top: 0;
        left: 100%;
    }

    #menu li:hover > input[type="checkbox"] + .sub-menu {
        display: block;
    }
}

@media only screen and (max-width: 900px) {
    .main-menu {
        width: 100%;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
    }

    .hide_logo {
        display: none !important;
    }
}

footer {
    position: absolute;
    bottom: 0;
    max-width: 1400px;
    width: 100%;
    /*display: flex;*/
    align-items: center;
    justify-content: space-around;
    margin-top: 4rem;
    padding: 2rem 25px;
    border-top: 1px solid #000;
}

footer a {
    margin-right: 8px;
}

footer a:last-of-type {
    margin-right: 0;
}

footer .sponsors {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .sponsors img {
    width: 150px;
    height: 150px;
}

.balkanima-fast-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

article, aside, details, figcaption, figure, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    background-color: #f2f2f2;
    position: relative;
    min-height: 100vh;
    padding-bottom: 265px;
}

ol, ul {
    list-style: none;
}

li {
    line-height: 24px;
}

a {
    text-decoration: none;
    color: #000;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

button {
    border: none;
    background: transparent;
}

main {
    margin: 3rem 25px 0 25px;
}

.itm-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-width {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.page__header {
    text-align: center;
}

.page__header h1 {
    margin-bottom: 2rem;
    padding-bottom: 5px;
}

.page-404 {
    text-align: center;
}

.page-404 h1 {
    font-size: 60px;
}

.page__body--about p {
    font-size: 18px;
    line-height: 27px;
}

.page__body--about img {
    display: block;
    margin: 4rem auto;
    max-width: 100%;
    border-radius: 20px;
}

.contact__info {
    text-align: center;
    margin-bottom: 4rem;
}

.contact__info p:nth-of-type(1) {
    font-weight: 600;
    font-size: 18px;
}

iframe {
    display: block;
    margin: 0 auto;
    width: 900px;
    max-width: 100%;
    height: 500px;
}

.page__body {
    overflow: hidden;
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 980px;
}

table thead tr th {
    padding: 2rem 1rem;
    font-size: 16px;
    text-align: center;
}

table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}

table td {
    padding: 2rem 1rem;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

table td:nth-of-type(1) {
    width: 108px;
    font-size: 14px;
    border-radius: 20px 0 0 20px;
}

table td:last-of-type {
    border-radius: 0 20px 20px 0;
}

table td span:nth-of-type(1) {
    display: block;
    height: 40px;
}

table .online, table .hall {
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

table .online img, table .hall img {
    margin-right: 5px;
    width: 18px;
}

table .online {
    border: 1px solid rgba(76, 95, 201, 0.3);
}

table .hall {
    background-color: rgba(76, 95, 201, 0.1);
}

.main__card {
    display: flex;
    margin-bottom: 3.5rem;
}

.main__card .main__card--image {
    margin-right: 1.5rem;
}

.main__card .main__card--image img {
    object-fit: cover;
    width: 350px;
    height: 300px;
    border-radius: 20px;
}

.main__card .main__card--info h2 {
    margin: 0 0 2rem 0;
}

.main__card .main__card--info ul li {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0.5rem;
}

.main__competition--program h1 {
    margin-bottom: 4rem;
    margin-top: 0;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    footer .sponsors {
        flex-direction: column;
    }

    body {
        padding-bottom: 463px;
    }
}

@media only screen and (max-width: 980px) {
    .main__card {
        flex-direction: column;
    }

    .main__card .main__card--image {
        margin: 0 auto;
    }

    .main__card .main__card--info {
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 500px) {
    .main__card .main__card--image img {
        max-width: 100%;
    }
}

.stream__link {
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    color: #fff;
    transition: all 0.3s ease;
    background-color: #4c5fc9;
    border: 1px solid #4c5fc9;
}

.stream__link:hover {
    background-color: transparent;
    color: #000;
    border: 1px solid #4c5fc9;
}

.online__link {
    display: block;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.online__link:hover {
    background-color: rgba(76, 95, 201, 0.1);
}

.online__link span {
    display: flex !important;
}

a:active {
    color: #000;
}

.schedule-table a {
    text-decoration: underline;
}

/* Application form */
.application-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    margin: 0 auto 50px auto;
}

label {
    align-self: flex-start;
    margin-bottom: 5px;
}

input:not([type=radio]), select {
    height: 30px;
}

input:not([type=radio]), textarea, select {
    max-width: 500px;
    width: 100%;
    font-size: 15px;
    padding: 5px;
    margin-bottom: 15px;
}

input {
    margin-bottom: 15px;
}


/* General classes */
.mb-50 {
    margin-bottom: 50px !important;
}