﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    background-size: 100%;
    background-color:#111a1d;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}

a {
    text-decoration: none;
}

h1 {
    font-weight: normal;
    font-size: 14px;
}

h2, h3 {
    font-weight:normal; 
}

section {
    padding-bottom:24px; 
}

a {
    color:#333; 
}
    a:hover {
        color:#999; 
    }

/* Navigation */
.navigation {
    background-color: #000;
    opacity: 0.7;
}

    .navigation ul {
        list-style: none;
        width: 1000px;
        display: block;
        margin: 0 auto;
    }

    .navigation li {
        display: inline-block;
    }

    .navigation a {
        display: block;
        color: #FFF;
        text-align: center;
        line-height: 64px;
        padding: 0 15px;
        font-size: 14px;
    }

        .navigation a:hover, a:active {
            background-color: #333;
            color: #FFF;
        }

/*Content*/
.divWrapper {
    width: 1000px;
    margin: 0 auto;
}

.divLogo {
    padding: 25px 0;
}

    .divLogo img {
        width: 134px;
        height: 130px;
    }

.divContent {
    background-color: #FFF;
    padding: 20px;
    display: flex;
    justify-content:space-between;
}

.divLeftContent {
    width: 70%;
}
.divRightContent {
    width:30%; 
    margin-left:24px;
}

.divSlideShow img {
}

section h1 {
    border-bottom: solid 2px #333;
    margin-bottom:24px;
}

.divDetails h1 {
    font-size:24px; 
}

.divDetails p {
    color:#333; 
    font-size:13px;
}


    section h1 span {
        display: inline-block;
        color: #FFF;
        background-color: #000;
        padding: 5px 10px;
    }

.sectionNews h1 {
    border-color: #01964c;
}

    .sectionNews h1 span {
        background-color: #01964c;
    }

.sectionYouTube h1 {
    border-color: #dc3522;
}

    .sectionYouTube h1 span {
        background-color: #dc3522;
    }

.sectionLatestPosts h1 {
    border-color: #36b400;
}

    .sectionLatestPosts h1 span {
        background-color: #36b400;
    }

.sectionPopularCategories h1 {
    border-color: #006acf;
}

    .sectionPopularCategories h1 span {
        background-color: #006acf;
    }

.divFlex {
    display: flex;
    justify-content: flex-start;
    flex-wrap:wrap;
    margin-left:-5px;
    margin-right:-5px;
}

    .divFlex img {
        width: 100%;
    }

    .divFlex > div {
        width: 33.333333%;
        padding:0 5px;
    }


    .divFlex div {
    }

.divNewsColumnFront {
    margin-bottom:24px; 
}
.divNewsColumnFront p[data-bind="description"] {
    height: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.homeNewsMainImage {
    height: 135px;
    overflow: hidden;
    position: relative;
    cursor:pointer;
}
    .homeNewsMainImage img {
        position: absolute;
        top: -999999px;
        left: -999999px;
        right: -999999px;
        bottom: -999999px;
        margin:auto;
    }
section h2 {
    font-size: 14px;
    font-weight: bold;
    padding: 10px 0;
}
section h3 {
    font-size:10px;
    font-weight:bold; 
}
section p {
    font-size:12px;
    color:#afafaf; 
    padding:10px 0;
}

.divSocial {
    display: flex;
    justify-content: space-between;
}

    .divSocial img {
        max-width: 80px;
        max-height:80px;
    }

.nesteddivEvents {
    display: flex;
    padding: 5px 0px 0px 5px;
}

    .nesteddivEvents div img {
        width: 120px;
    }

    .nesteddivEvents h1 {
        border: none;
        font-size: 12px;
        padding-left: 5px;
    }

    .nesteddivEvents h3 {
        font-size: 10px;
        font-weight: normal;
        padding-left: 5px;
    }

input[type="text"] {
    border: 1px solid #000;
    background-color: #c4c3c3;
    border-radius:4px;
    width:75%;
    padding:5px;
    
}

input[type="submit"] {
    width:20%;
    color: #fff;
    background-color:#000;
    border:1px solid #000;
    border-radius:5px;
    padding:5px;
}

.divFooter {
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    background-color: #f1f1f1; 
}

    .divFooter img {
        max-width: 80px;
    }

    .divFooter section {
        width: 28%;
    }
/*Nested div kaj latest Posts i events*/
.nesteddivLatestPost {
    display: flex;
    padding-top: 5px;
}

    .nesteddivLatestPost div img {
        width: 200px;
    }

    .nesteddivLatestPost h1 {
        border: none;
        font-size: 12px;
        padding-left: 5px;
        margin-bottom:12px;
    }

    .nesteddivLatestPost h3 {
        font-size: 10px;
        font-weight: normal;
        padding-left: 5px;
    }

.divPopularCategories ul {
    list-style: none;
    display: block;
    padding-top: 5px;
}

.divPopularCategories li {
    padding-top: 5px;
    padding-left: 15px;
}

.divPopularCategories a {
    font-size: 12px;
    color: #000;
}

/*NEWS CSS*/

.divNews {
    display: flex;
    margin-bottom: 15px;
}

.divNews img {
     max-width:200px;    
 }

.divNewsHeading {
    padding-left:15px;
    padding-top:0;
    padding-bottom:0;
}
.divNewsParagraph {
    max-height: 99px;
    overflow: hidden;
    padding-left: 15px;
}

.divNews p {
    padding-left: 15px;
    text-align:justify;
}

/*nadvor od wrapper real footer*/
.divFooter2 {
    background-color: #151515; 
}

    .divFooter2 div p {
        width: 1000px;
        margin: 0 auto;
        color: #fff;
        padding:24px;
    }
.flex-caption {
    width: 100%;
    padding: 2%;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    font-size: 14px;
    line-height: 18px;
}
    .flex-caption a {
        color: #fff
    }