* {
    box-sizing:border-box;
}
body {
    margin:0;
    background-color: #F6F6F6;
    font-family: 'Titillium Web',Arial,Helvetical,sans-serif;
    font-size:0.9em;
    min-width: 360px;
}

p {
    margin: 0;
    line-height: 20px;
}

.header {
    background: url(../img/head-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 128px;
    vertical-align: middle;
    display: flex;    
}

.header .main-title {
    color: #fff;
    text-align: right;
    width:40%;
    float:right;
    margin: auto 90px;
    font-size:1.2em;  
    margin-right: 10%;
    
    
}

.logoDip {
    /* margin-left: 14%; */
    /* margin-top: 20px; */
    padding-right: 16px;
    color: #fff;
    width: 120%;
}

.logoDip img{
    height: 78px;
    float: left;
    margin-left: 14%;
    margin-top: 20px;
    padding-right: 16px;
    color: #fff;
}

.logoDip h1 {
    color: #fff;
    padding-top: 6px;
    margin-bottom: -8px;
    font-weight: 600;

}

.logoDip span {
    color: #fff;
    font-size: 26px;
    padding-bottom: 0px;

    
}

.main {
    width:80%;
    margin: 50px auto;
}

/* .main .title {
    color:#263F79;
    background-color: #EFF2FC;
    border: 1px solid #d5d5d5;
    padding:10px 10px;
    cursor:pointer;
    font-size: 1.4em;
    font-family: 'Titillium Web', Georgia,"Times New Roman",Times,serif;
    font-weight: bold;
    display: table;
    width: 100%;
} */


.main .title {
    color:#263F79;
    background-color: #fff;
    /* border: 1px solid #d5d5d5; */
    padding:12px 18px;
    cursor:pointer;
    font-size: 1.4em;
    font-family: 'Titillium Web', Georgia,"Times New Roman",Times,serif;
    width: 100%;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    .header .main-title {
        padding-top: 22px;      
        font-size: 1.2em; 
    }

}


.main .title p {
    display: inline-block;
    line-height: 46px;
}
.main .title img {
    float: right;
    width: 80px;
}
/* .main .text {
    border-left: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    background-color: #fff;
    padding: 20px;
    display:none;
} */

.title:hover {
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.main .text {
    /* border-left: 1px solid #d5d5d5; */
    /* border-right: 1px solid #d5d5d5; */
    /* border-bottom: 1px solid #d5d5d5; */
    /* background-color: #fff; */
    padding: 10px 36px 0;
    margin: 0 -10px 0px 10px;
    display: none;
}

.main .text p {
    text-align: justify;
    color:#555;
    margin-bottom: 10px;
}
.main .text .subtitle {
    font-weight: 600;
    font-size: 18px;
    color:#263F79;
    margin-top:20px;
}

.main .chapter {
     margin-top:20px;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin:20px;
}
table td{
    border:1px solid #d5d5d5;
    padding:10px;
}
.main .text table p {
    font-size: 0.75em;
    text-align:left;
}
.main .text .list-subtitle {
    padding-left: 15px;
    color: #B30F0F;
}

ul, ol {
    color:#555;
    margin:0px 100px;
}
ol ul {
    padding-left:20px;
    list-style-type: disc;
}
p.important-text:before {
    content: "Važno!";
    color: #B30F0F;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.main .text .recommendation-sec p:not(.recommendation-text) {
    color: #B30F0F;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.recommendation-sec, .important-sec {
    border: 1px solid #d5d5d5;
    margin: 20px 0;
    padding: 15px;
}

#objavaizvj ol {
    list-style-type: lower-alpha;
}
.anketa {
    bottom: 0;
    position: fixed;
    right: 44vw;
    background-color: #ff8800;
    padding:10px;
}
.anketa a{
    padding: 15px;
    color: #fff;
    font-weight: 600;
    text-decoration:none;
}

/*anketa*/
.questions ol {
    color: #28417B;
    font-size: 1.4em;
    font-weight: 600;
    background-color: #fff;
    padding: 8px 64px;
    box-shadow: 0 0 60px -25px;
}
.questions {
    margin:40px 0 10px 0;
    color: #28417B;
}
.questions ol li {
    margin:30px 0 20px 0;
}
.questions .question  {
    margin-bottom: 12px
}
.answers {
    background-color: #fff;
    font-size: 0.9em;
    color: #555;
    list-style-type: lower-alpha;
    /* padding: 20px;
    margin: 0 -28px 0px -28px;
    box-shadow: 0px 0px 30px -4px #ccc; */
}
.answers input{
    float:left;
    margin-top: 9px;
}
.answers p {
    margin-left: 30px;
    cursor:pointer;
    font-weight: normal;
    font-size:0.85em;
    padding: 4px 0;
    
}
.answers ol li:hover{
    color:#FF8000;
    cursor:pointer;
}

p.wrong {
    color:#FF8000;
    font-weight: 700;
}
p.correctly {
    color:#00922C;
    font-weight: 700;
}
.rezultat {
    bottom: 0;
    position: fixed;
    right: calc(50vw - 50px);
    background-color: #ff8800;
    padding:10px;
    color: #fff;
    font-weight: 600;
    cursor:pointer;

}
.result-holder {
    display:none;
    width: 40%;
    background-color: rgba(255, 255, 255, 1);
    border:1px solid #d5d5d5;
    position: absolute;
    left: 30%;
}
.result-holder div {
    padding: 20px 30px;
    color:#555;
}
.result-holder div:first-child {
    border-bottom: 1px solid #ff8800;
    color:#28417B;
}
#closeResult {
    border: 1px solid #d5d5d5;
    cursor: pointer;
    display:table;
    margin:20px auto;
    padding:10px 20px;
}
.rezultatOverlay {
    position: absolute;
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    display: none;
}



@media screen and (max-width: 900px){


    .logoDip h1 {
        color: #fff;
        font-size: 20px;
        padding-top: 26px;
        margin-bottom: -8px;
        font-weight: 600;
    }
    .logoDip img {
        height: 64px;
        margin-left: 14%;
        margin-top: 29px;
        padding-right: 10px;
    }

    .logoDip span {
        color: #fff;
        font-size: 18px;
        padding-bottom: 0px;
    }

    .header .main-title {      
        margin: auto 0px;
        width: 50%;
        font-size: 1em; 
        margin-right: 10%;
    }
    ul, ol {
        color:#555;
        margin:0px 50px;
    }
}

@media screen and (max-width: 614px){

    .header {
        display: flex;  
        flex-wrap: wrap;  
    }

    .header .main-title {
        text-align: center;
        margin: 20px 10px;
        width: 100%!important;
    }

    .logoDip img {
        height: 52px;
        float: left;
        margin-left: 6%;
        margin-top: 36px;
        padding-right: 8px;
        color: #fff;
    }

    .logoDip {
        margin: 0px;
    }

    ul, ol {
        color:#555;
        margin:0px 0px;
    }

    .answers {
        margin-left: -32px;
    }
}


