@media screen and (max-width: 1279px) { 
    html, body { 
        height: 100%; 
        width: 100%;  
        background: #D9D9D9;
    }
    
    h1, h2, h3, p, label, form, input, textarea {
        max-width: 900px;
        margin: 0 auto 1em;
    }
     
    .navigation {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        list-style: none;
        margin-top: 75px;
    }

    .nav-item {
        margin-right: 10px;
        width: 205px;
        float: right;
        clear: right; 
    }

    .nav-item a {
        display: block;
        padding: 1em;
        color: #555;
        font-size: 1.2em;
        text-decoration: none;
        transition: color 0.2s, background 0.5s;
        border-radius: 5px;
    }

    .nav-item a:hover {
        color: white;
        background: #012060;
    }

    .nav-trigger {
        position: fixed;
        clip: rect(0, 0, 0, 0);
    }

    label[for="nav-trigger"] {
        position: fixed;
        right: 20px; top: 10px;
        z-index: 2;
        height: 50px;
        width: 50px;
        cursor: pointer;
        background-image: url("../img/menu.png");
        background-size: contain;
    }

    .nav-trigger + label, .content {
        transition: right 0.2s;
    }

    .nav-trigger:checked + label {
        right: 215px;
    }

    .nav-trigger:checked ~ .content {
        right: 200px;
        box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
    }

    *, *:before, *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    #uvod {
        padding-top: 6vw;
    }
    
    #uvod h1 {
        font-size: 5vw;
    }
     
    #uvod p {
        font-size: 3vw;
    }
    
    #uvod a {
        color: #FFFFFF;
    }
    
    .content {
        min-height: 100%;
        min-width: 100%;
        padding: 4em;
        background-color: #FFFFFF; 
        position: relative;
        top: 0;
        bottom: 100%;
        right: 0;
        z-index: 1;
        margin-top: 75px;
    }
    
    .content ul, li {
        max-width: 900px;
        margin: 0 auto 1em;
        padding-left: 2em;
        padding-top: 0.5em;
    }

    .contentPage1 {
        background-size: 100% auto;
        margin-top: -77px;
        margin-left: -4em;
        margin-right: -4em;
        height: 50vw;
    }
    
    .contentPage2 {
        margin-left: -4em;
        margin-right: -4em;
        margin-top: 2em;
        margin-bottom: 1.5em;
    }
    
    .contentPage3 {
        margin-left: -4em;
        margin-right: -4em;
        margin-top: 2em;
        margin-bottom: 1.5em;
    }
    
    .columns {
        min-width: 100%;
        margin-left: -4em;
        margin-right: -4em;
    }
    
    .colcontent {
        width: 100%;
        padding: 2em 4em 2em 4em;
    }
    
    .footer {
        margin-top: 30px;
        padding-top: 20px;
        min-width: 100%;
        margin-left: -4em;
        margin-right: -4em;
        color: #FFFFFF;
        background-color: #333333;
    }
    
    #foosign {
        min-width: 100%;
        min-height: 50px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #btn_lang_def {
        visibility: hidden;
    }
}

@media screen and (min-width: 1280px) {
    #nav-trigger {
        display: none;
    } 
    
    #nav {
        position: fixed;
        right: 20px;
        top: 0px;
        z-index: 3;
    }
    
    .navigation {
        list-style: none;
        clear: both;
    }
    
    .navigation li { 
        float: left; 
        padding-top: 25px;
    }
    
    .navigation a {
        height: 45px;
        padding: 20px;
        color: #FFFFFF;
        text-decoration: none;
    }
    
    .nav-item {
        height: 45px;
        margin-top: -16px;
    }
    
    .nav-item:hover {
        height: 45px; 
        background-color: #012060;
        transition: color 0.2s, background 0.5s;
    }
    
    #uvod h1 {
        font-size: 2.8em;
    }
     
    #uvod p {
        font-size: x-large;
    }
    
    .content {
        width: 100%;
        height: 100%;  
    }
    
    .contentPage1 {
        background-size: 100% 100%;
        height: 450px;
        padding: 300px 0px 0px 0px;
    }
    
    .contentPage2 {
        height: 450px;
        padding: 10px 0px 10px 0px;
        margin-top: 30px;
    }
    
    .contentPage3 {
        height: 450px;
        padding: 10px 0px 10px 0px;
        margin-top: 30px;
    }
    
    .pageBox {
        margin: 0 auto;
        margin-top: 30px;
        width: 900px; 
        padding: 10px 30px 20px 30px;
        background-color: rgba(1,32,96,0.5);
        color: #FFFFFF;
        border-radius: 5px;
    }
    
    .pageBox a {
        color: #FFFFFF;
    }
    
    .columns {
        width: 100%;
    }
    
    .colcontent {
        margin: 0 auto;
        width: 1000px;
        padding-bottom: 30px;
    } 
    
    .colcontent a {
        color: #555;
    } 
    
    .colleft {
        float: left;
        width: 33%;
        text-align: justify;
        font-size: medium;
    }
    
    .collongleft {
        float: left;
        width: 66%;
        text-align: justify;
        font-size: medium;
    }
    
    .colcenter {
        float: left;
        width: 33%;
        text-align: justify;
        font-size: medium;
    }
    
    .colright {
        float: left;
        width: 33%;
        text-align: justify;
        font-size: medium;
    }
    
    .colbox { 
        padding: 25px;
    }
    
    .footer {
        margin-top: 30px;
        width: 100%;
    }
    
    .foocontent {
        margin: 0 auto;
        width: 960px;
        padding-bottom: 30px;
        font-size: small;
        color: #ededed;
    } 
    
    .foocontent a {
        color: #ededed;
    } 
   
    #fooleft {
        float: left;
        width: 0%;
        /* width: 50%; */
    }
    
    #fooright {
        float: left;
        width: 100%;
        /* width: 50%; */
        margin-top: 20px;
    }
    
    .foobox { 
        padding: 10px;
    }
    
    .floatclear {
        clear: both;
    }
    
    #foosign {
        height: 50px;
        width: 100%;
    }

    #btn_lang_mobile {
        visibility: hidden;
    }
}
