.NaslovStranice.ListaPredmeta {
    margin-bottom: 5px;
}

.NaslovStranice + p {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: gray;
}

#NivoStudijaContainer {
    margin: 0;
    padding-bottom: 25px;
}

#NivoStudijaContainer .Content {
    display: flex;
    flex-direction: column;
}

#NivoStudijaContainer label {
    margin: 15px 0 15px 0;
}

#IzborNS {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.NivoStudija {
    display: flex;
    flex-direction: column;
    width: 270px;
    background-color: white;
    align-items: center;
    border: 1px solid lightgrey;
}

.NSNaslov {
    background-color: #5F5F5F;
    display: flex;
    flex-direction: column;
    padding: 7px 0 12px 0;
    font-size: 28px;
    color: white;
    width: 100%;
    align-items: center;
}

.NSNaslov span:last-of-type {
    font-size: 14px;
    margin-bottom: 5px;
}

.NSOpis {
    display: flex;
    flex-direction: column;
    color: #4D4D4D;
    font-size: 16px;
    width: 100%;
    align-items: center;
}

.NSOpis span:first-of-type {
    padding: 10px 45px;
    text-align: center;
}

.NSOpis span:last-of-type {
    color: black;
    font-size: 26px;
    margin-bottom: 15px;
}

a.NSLink {
    background-color: var(--main-colour);
    padding: 10px 30px;
    width: 160px;
    text-align: center;
    margin-bottom: 15px;
    transition: all .3s;
}

a.NSLink:hover {
    transform: scaleX(1.05);
    background-color: var(--main-colour-light);
}

a.NSLink:link, a.NSLink:visited, a.NSLink:hover, a.NSLink:active {
    text-decoration: none;
    color: black;
}

.Praksa {
    background-color: #d8d8d8 !important;
    color: black !important;
}

@media screen and (max-width: 1250px) {
    #IzborNS {
        justify-content: space-evenly;
    }

    .NivoStudija {
        margin: 10px;
    }
}

@media screen and (max-width: 1023px) {
    .NaslovStranice + p {
        margin-top: 5px;
        font-size: 16px;
    }

    #NivoStudijaContainer label {
        font-size: 14px;
    }

    #IzborNS {
        justify-content: center;
    }

    a.NSLink {
        width: 240px;
    }
}