header {
    position: absolute;
}

main.container {
    padding-top: 165px;
    padding-left: 20px;
    padding-right: 20px;
}

footer.container,
#header,
.nav-container {
    padding-left: 20px;
    padding-right: 20px;   
}

nav {
    padding-top: 30px;
    padding-bottom: 30px;
}

.nav {
    padding-right: 5px;
}

.nav-mobile {
    height: 64px;
    text-align: right;
    cursor: pointer;
}

.nav-mobile img {
    margin-top: 4px;
}


main.container .row {
    margin-bottom: 30px;
}

section.mobile-thumb {
    text-align: center;
}

#content-wrapper {
    margin-top: 20px;
}

.home-container > #content-wrapper {
    margin-top: 30px;
}

main .front-page.row:first-of-type {
    margin-bottom: 0px;
}

.front-page.first-row > section {
    margin-bottom: 30px;
}

footer .contact-form-title {
    margin-top: 30px;
}

h1 {
    margin-bottom: 30px;
}

.aktualno-header {
    margin-bottom: 0px;
}

.mobile-thumb {
    text-align: center;
}

.article-list {
    margin-top: 20px;
}

.storitve-image,
.nacin-dela-image,
.povezave-image,
.kontakt-image {
    text-align: center;
}

.storitve-container .row:first-of-type,
.nacin-dela-container .row:first-of-type {
    margin-bottom: 30px;
}

.storitve-container :not(nav).row,
.nacin-dela-container :not(nav).row {
    margin-bottom: 20px !important;
}

nav.row {
    margin-bottom: 0px !important;
}

.povezave-container .row {
    margin-bottom: 0px !important;
}

.povezave-image {
    margin-top: 0px;
}

.stroka article {
    margin-top: 20px;
    padding-bottom: 10px;
}

.pagination-controls {
    margin-top: 10px;
}

.kontakt .row:not(.medium-gap) {
    margin-bottom: 10px !important;
}

.contact-form-title,
.poslovni-podatki-title {
    margin-top: 40px;
}

.pooblastilo-footer {
    margin-top: 15px;
}

.nav.show-mobile {
    position: absolute;
    display: block !important;
    background-color: white;
    border: 1px solid black;
    z-index: 999;
    top: 145px;
    right: 20px;
}

.nav > ul {
    padding-left: 0px;
}

.nav .child {
    display: list-item;
    float: none;
    padding-top: 0px;
    padding-left: 0px;
    height: auto;
    margin-top: -10px;
}

.nav .child > a {
    text-align: center;
}

.mobile-icons > .nav-title {
    display: inline-block;
    height: 0px;
    width: 150px;
    text-align: left;
}

.mobile-icons > .nav-icon-container {
    display: inline-block;
    width: 80px;
    text-align: center;
}

.mobile-icons > .nav-icon-container,
.mobile-icons > .nav-title {
    vertical-align: middle;
}

.mobile-icons > .nav-title {
    max-width: 110px;
}

.nav .child.selected > a {
    border-bottom: none;
    padding-bottom: 0px;
}

#content-wrapper > .row > * {
    z-index: 0;
}

.logo img {
    width: 100%;
    height: auto;
    max-width: 240px;
    max-height: 64px;
}

.logo > a {
    display: table-cell;
    vertical-align: bottom;
    height: 64px;
}

.nav-mobile > .curr-page {
    display: block;
    font-size: 16px;
    line-height: 19px;
    font-weight: bold;
    text-transform: uppercase;
    height: 19px;
}

@media screen and (max-width: 382px) {
    .nav-mobile > .curr-page {
        display: none;
    }

    .nav-mobile img {
        margin-top: 23px;
    }
}

.nacin-dela-image,
.storitve-image,
.stroka-image,
.povezave-image,
.kontakt-image {
    margin-top: 0px !important;
    padding-top: 0px !important;
}


/* 

  Font sizing for mobile 

*/

body,
footer,
header,
.stroka h2 {
    font-size: 14.4px;
    line-height: 22.4px;
}

h1 {
    font-size: 38px;
    line-height: 45px;
    margin-bottom: 20px;
}

h2,
.stroka-section-title h2 {
    text-transform: uppercase;
    font-size: 18.4px;
    line-height: 22.4px;
}

main h2 {
    margin-bottom: 16px;
}

.article-list > article > h2 {
    margin-bottom: 0px !important;
}

.stroka-clanki {
    margin-bottom: 32px;
}
