:root {
    --sda-green: #00A859;
    --sda-blue: #19499D;
    --sda-red: #D92026;
    --sda-green-grey: #2E3D44;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: .3s;
    font-family: 'Poppins', sans-serif;
    background-repeat: no-repeat;
    background-size: cover;
}

html {
    scroll-behavior: smooth;
}
.bg-sda-green {
    background-color: var(--sda-green);
}

.text-sda-green {
    color: var(--sda-green);
}

.bg-sda-blue {
    background-color: var(--sda-blue);
}

.bg-sda-red {
    background-color: var(--sda-red);
}
.text-sda-red {
    color: var(--sda-red);
}

.bg-sda-green-grey {
    background-color: var(--sda-green-grey);
}

.text-sda-green-grey {
    color: var(--sda-green-grey);
}

.icon-box {
    padding: 10px;
}
#header-top-slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
}

#header-top-slider a {
    margin-bottom: 0;
    font-size: 12px;
    text-transform: uppercase;
    margin-left: 20px;
    opacity: 0;
    transition: 1s;

    position: absolute;
}

#header-top-slider a.active {
    opacity: 1;
}
#header-top-slider #slider-holder {
    display: flex;
    flex-direction: column;
    height: 15px;
    overflow: hidden;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    padding-right: 20px;
}
#header-top-slider .fa-arrow-left {
    padding-right: 10px;
    border-right: 1px solid #ccc;
}

#header-top-slider .fa-arrow-right {
    padding-left: 10px;
}

#header-top-social {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
}

#header-top-social .social {
    color: white;
    width: 40px;
    height: 44px;
    line-height: 2.5;
    text-align: center;
    border-left: 1px solid #ccc;
}

.button {
    text-align: center;
    padding: 7px 15px;
    text-transform: uppercase;
    color: white;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    border-radius: .25rem;red
}

.button i {
    margin-left: 10px;
}
.button-red {
    background-color: var(--sda-red);
}

.button-green {
    background-color: var(--sda-green);
}

.button-blue {
    background-color: var(--sda-blue);
}

.button-white {
    background-color: white;
    color: var(--sda-green);
}

.button-green-grey {
    background-color: var(--sda-green-grey);
    color: white;
}

.button-red:hover,
.button-white:hover,
.button-green-grey:hover,
.button-green:hover,
.button-blue:hover {
    background-color: var(--sda-green-grey);
    color: var(--sda-green);
    text-decoration: none;
}

#header-top-social .button {
    height: 44px;
    line-height: 2.5;
}
#logo-holder {
    position: relative;
}

/* #logo {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    z-index: 9;
} */
#main-menu-holder {
    display: flex;
    justify-content: flex-end;
    align-content: flex-end;
    align-items: flex-end;
}
#main-navigation, #main-menu {
    height: 100%;
}
#menu-toggle {
    display: none;
}

#main-menu {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 0;
}
#header {
    position: sticky;
    top: 0;
    z-index: 9;
}
#header-bottom {
    background-color: white;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.top-menu {
    padding: 10px 20px 10px 20px;
    /* border-right: 1px solid #ccc; */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.has-submenu::after {
    font-family: 'FontAwesome';
    content: '\f078';
    position: absolute;
    font-size: 13px;
    line-height: 1;

    top: calc(50% - 7.5px);
    right: 5px;
}
.has-submenu:hover::after {
    color: var(--sda-green);
}

.top-menu::before {
    content: '';
    width: 0;
    height: 3px;
    background-color: var(--sda-green-grey);
    transition: .3s;

    position: absolute;
    bottom: 0px;
    left: 0px;
}

.top-menu:hover::before {
    width: 100%;
}
.top-menu > .menu-link {
    text-transform: uppercase;
    font-weight: 600;
}
.menu-link {
    color: var(--sda-green-grey);
    font-size: 13px;
}
.top-menu:hover > .menu-link, .sub-item:hover > .menu-link {
    text-decoration: none;
    color: var(--sda-green);
}
.sub-menu {
    list-style-type: none;
    max-height: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    z-index: 999;
}

.has-submenu:hover > .sub-menu {
    max-height: 10000px;
    max-width: 400px;
    min-width: 200px;
    opacity: 1;
    border: 1px solid #f7f7f7;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 10px;
    box-shadow: 0 2px 3px rgba(0,0,0,.3), 0 7px 20px rgba(0,0,0,.2);
}

.sub-menu >.sub-item:not(:last-child) {
    margin-bottom: 15px;
}

.left-entry, .right-entry, .single-testimonial {
    animation-duration: 1s;
}
main {
    padding-top: 70px;
}

#izbori {
    background-image: url('/assets/img/izbori-2022.jpg');
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 70px 0;
}

#izbori::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.9);
    
}

#izbori .col-md-6:nth-child(n+4) {
    margin-top: 30px;
}
#slider [data-bg] {
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}
.main-news-holder .small-news-holder:last-child {
    margin-top: 15px;
}
.big-news-holder {
    height: 450px;
}
.small-news-holder {
    height: 217.5px;
    overflow: hidden;
    position: relative;
}
.big-news-holder, .small-news-holder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.big-news-holder a, .small-news-holder a {
    text-decoration: none!important;
}
.big-news-title {
    font-size: 45px;
    line-height: 45px;
    font-weight: 700;
}
.small-news-title {
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(100%);
}

.big-news-title, .small-news-title {
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,.9);
    padding: 15px;
}
.small-news-holder::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6);
}

.small-news-holder:hover::after {
    opacity: 1;
}
.small-news-holder:hover .small-news-title{
    opacity: 1;
    transform: translateY(0%);
    position: relative;
    z-index: 99;
}
.big-news-title:hover, .small-news-title:hover {
    text-shadow: 0 4px 10px rgb(0,0,0);
    text-decoration: none;
}
.main-news-holder:last-child {
    margin-top: 15px;
}

.small-news-title-2 {
    color: var(--sda-green-grey);
    padding: 15px;
    font-size: 20px;
    background-color: #f7f7f7;
    height: 150px;
    overflow: hidden;
}
.small-news-holder-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.small-news-holder-2:hover {
    text-decoration: none;
}
.small-news-title-2:hover {
    color: var(--sda-green);
    text-decoration: none;
}
.small-news-img-2 {
    max-width: 100%;
    height: 217.5px;
    object-fit: cover;
    object-position: center;
}
.section-title {
    color: var(--sda-green-grey);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -1.92px;
    text-align: center;
}

.title {
    font-weight: 700;
    letter-spacing: -0.5px;
}
section {
    padding: 90px 0;
}

#in-memoriam {
    background-repeat: repeat;
    background-position: center;
    background-size: 200px;
}
#in-memoriam-holder, #mission-vision-holder, #mission-vision-holder-2, #video-holder, #blog-holder {
    margin-top: 45px;
}
.white-background {
    background-color: white;

}
#mission-vision-holder .card-img-top,
#izbori .card-img-top,
#mission-vision-holder-2 .card-img-top,
#blog-holder .card-img-top,
#category .card-img-top{
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    object-position: center;
}

#mission-vision-holder .col-md-6:nth-child(1n + 4) {
    margin-top: 20px;
}
#mission-vision-holder .card .button:hover, #mission-vision-holder-2 .card .button:hover, #blog-holder .card .button:hover {
    color: white;
    background-color: var(--sda-green);
    box-shadow: 0 3px 5px rgba(0, 255, 0, 0.5), 0 7px 20px rgba(0, 255, 0, 0.2);
}

#call-to-action, #newsletter-holder {
    margin-top: 45px;
    border-radius: .25rem;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0,0,0,.5), 0 10px 25px rgba(0,0,0,.2);
    padding: 30px;
}
#newsletter-holder {
    margin-top: -65px;
    position: relative;
    z-index: 1;
}
.handap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    order: 1;
}

.luhur {
    order: 2;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.play-tube {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 120px 30px;
    background-color: #eee;
    cursor: pointer;
}
.play-tube:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,.8);
}
.handap .title {
    grid-column: 1/3;
    -ms-grid-row: 2/3;
    grid-row: 2/3;
    padding: 10px 15px;
    color: var(--sda-green-grey);
    font-size: 16px;
}
.mute {
    color: #636363;
    font-size: 12px;
}
.mute:nth-child(3) {
    padding-left: 10px;
}

.mute:last-child {
    padding-right: 10px;
    text-align: right;
}
.thumb {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    grid-column: 1/3;
    -ms-grid-row: 1/2;
    grid-row: 1/2;
}
.thumb img {
    max-width: 100%;
}
.thumb span {
    position: absolute;
    top: calc(100% - 25px);
    left: 10px;
    color: #ccc;
    font-size: 12px;
}
.tombol {
    background-color: white;
    color: var(--sda-green);
    padding: 10px 25px;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 0.25rem;
}
#ycp_youtube_channels0 {
    display: flex;
    flex-direction: column;
}

#play-button {
    background: white;
    padding: 25px 30px;
    border-radius: 50%;
    color: var(--sda-green);
}

#play-button:hover {
    background-color: green;
    color: white;
    cursor: pointer;
}

.overlay {
    display: none;
    background-color: rgba(0,0,0,.9);
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 999;
}

.overlay.active {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-items: center;
    justify-content: center;
}

.overlay .exit {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: white;
}

.overlay .exit:hover {
    cursor: pointer;
    color: var(--sda-green);
}
#blog-holder .card {
    border: 0px solid transparent;
}
#blog-holder .col-md-4:nth-child(1n+4) {
    margin-top: 30px;
}
.pretitle-category {
    text-transform: uppercase;
    font-size: 13px;
    color: var(--sda-green-grey);
}
#featured {
    position: relative;
    z-index: 0;
}

#featured-holder {
    position: relative;
}

.testimonial-img-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.testimonial-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
}

.testimonial-text-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-author {
    font-size: 13px;
    text-transform: uppercase;
}
#testimonials-page {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
}

.testimonials-item {
    border: 1px solid white;
    background-color: rgba(255, 255, 255, .3);
    height: 20px;
    width: 20px;
    border-radius: 25px;
}

.testimonials-item.active, .testimonials-item:hover {
    border: 1px solid var(--sda-green-grey);
    background-color: var(--sda-green-grey);
    cursor: pointer;
}

.testimonials-item:not(:last-child) {
    margin-right: 10px;
}
#footer {
    padding: 40px 0;
}
#footer .col-md-3  {
    padding: 30px;
}
#footer  ul {
    list-style-type: none;
    margin-bottom: 0;
}
#footer ul li a{
    color: var(--sda-green-grey);
}
#footer ul li {
    margin: 5px 0;
}
#footer ul li:hover, #footer ul li:hover a {
    color: var(--sda-green);
    text-decoration: none;
}

#footer .title {
    position: relative;
    margin-bottom: 30px;
    font-size: 20px;
}

#footer .title::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: var(--sda-green);
    position: absolute;
    bottom: -10px;
    left: 0;
}
#footer .blog-title {
    font-size: 18px;
    color: var(--sda-green-grey);
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#footer .social {
    color: var(--sda-green);
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    border: 1px solid var(--sda-green);
    background-color: transparent;
    margin-top: 15px;

}

#footer .social:hover {
    background-color: var(--sda-green-grey);
    border: 1px solid var(--sda-green-grey);
    color: white;
    text-decoration: none;
}
.in-memoriam-title {
    font-size: 32px;
    padding: 10px 0px;
}
.in-memoriam-img {
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,.5);
}

@media (max-width: 992px) {
    #header-top-social {
        display: none;
    }

    #menu-toggle {
        display: flex;
        background-color: transparent;
        color: black;
        border: 0px solid transparent;
        font-size: 35px;
    }
    #main-menu-holder {
        align-content: center;
        align-items: center;
        position: relative;
    }
    #main-navigation {
        display: none;
    }

    #main-navigation.active {
        display: flex;
        position: fixed;
        top: 118px;
        left: 0;
        width: 100vw;
        background-color: white;
        height: auto;
    }

    #main-menu {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .top-menu > .menu-link {
        align-self: flex-start;
    }
    .top-menu:hover::before {
        height: 1px;
    }

    .has-submenu:hover > .sub-menu {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        border: 0px solid transparent;
    }
    .has-submenu::after {
        top: 13px;
    }

    .small-news-title-2 {
        margin-bottom: 15px;
    }

    #mission-vision-holder .col-md-6:nth-child(1n + 3) {
        margin-top: 20px;
    }
    .handap {
        grid-template-columns: repeat(2, 1fr);
    }
    .thumb img {
        max-height: 100%;
        object-fit: cover;
        width: 100%;
    }
}
@media (max-width: 768px) {
    main {
        padding-top: 35px;
    }
    .main-news-holder .small-news-holder {
        margin-top: 15px;
    }
    .small-news-title-2 {
        height: 175px;
    }

    #mission-vision-holder .col-md-6:nth-child(1n + 2) {
        margin-top: 20px;
    }

    .in-memoriam-img {
        height: 300px;
    }

    .in-memoriam-img:first-child {
        order: 1;
    }

    .in-memoriam-img:last-child {
        order: 3;
    }

    #in-memoriam-holder .col-md-6:nth-child(2) {
        order: 2;
    }
    #in-memoriam-holder .col-md-6:nth-child(3) {
        order: 4;
    }
    .section-title {
        font-size: 33px;
        line-height: 33px;
    }
    .big-news-holder {
        height: 300px;
    }
    .big-news-title {
        font-size: 30px;
        line-height: 30px;
    }
}
@media (max-width: 768px) {
    .fb-page span {
        margin-top: 20px;
    }

    #izbori .col-md-6:nth-child(n+2) {
     margin-top: 30px;
    }
}
@media (max-width: 576px)  {
    .handap {
        grid-template-columns: 1fr;
    }
    .testimonial-text-holder * {
        text-align: center;
    }
    #izbori .col-md-6:nth-child(n+1) {
    margin-top: 30px;
}
}

/*

    POST

*/
#article-categories a {
    color: var(--sda-green);
}

#article-categories a:hover {
    text-decoration: none;
    color: var(--sda-green-grey);
}
#article-title {
    font-size: 35px;
}

#article-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--sda-green-grey);
    margin: 20px 0;
}

#article-time {
    margin: 0;
    color: #908b8b;
    font-size: 14px;
}
.article-social-holder {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.article-social-holder .social-link {
    color: white;
    font-size: 20px;
    margin-left: 10px;
    background-color: var(--sda-green-grey);
    padding: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
}

.article-social-holder .social-link:hover {
    color: var(--sda-green-grey);
    background-color: white;
    text-decoration: none;
}

#article-featured-image-holder {
    text-align: center;
    font-size: 14px;
    color: var(--sda-green-grey);
}

#article-featured-image {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
}

#article-featured-image-holder figcaption {
    margin: 10px 0;
}

#post-content p {
    text-align: justify;
}

#post-content p:empty {
    display: none;
}
#post-content ul, #post-content ol {
    padding-left: 40px;
}
.tag-link {
    background-color: #f7f7f7;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    color: var(--sda-green-grey);
}

.tag-link:hover {
    background-color: var(--sda-green-grey);
    color: white;
    text-decoration: none;
}
#article-navigation {
    display: flex;
    flex-direction: row;
}

.article-nav-header {
    color: #8e8e8e;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}

.article-nav-link {
    border: 1px solid #ccc;
    padding: 10px;
    width: 50%;
}
.article-nav-link:hover {
    text-decoration: none;
}
.article-nav-link.prev {
    text-align: left;
    background-image: linear-gradient(to right,var(--sda-green-grey) 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: 100%;
}
.article-nav-link.prev:hover {
    background-position: 0%;
}
.article-nav-link.next {
    text-align: right;
    background-image: linear-gradient(to left,var(--sda-green-grey) 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: 0%;
}

.article-nav-link.next:hover {
    background-position: 100%;
}

.article-nav-link:hover .article-nav-title {
    color: white;
    text-decoration: none;
}
.article-nav-title {
    font-size: 18px;
    color: var(--sda-green-grey);
}

.article-nav-title {
    font-size: 15px;
    color: var(--sda-green-grey);
}

#related-article-section {
    background-color: #f7f7f7;
    margin-top: 30px;
    padding: 50px 0;
}

#post .card-img-top {
    height: 250px;
    object-fit: cover;
}

#post .card{
    color: var(--sda-green-grey);
}

#post .card-title a:hover {
    text-decoration: none;
    color: var(--sda-green);
}

#post iframe {
    max-width: 100%;
}
@media (max-width: 576px) {
    #article-title {
        font-size: 25px;
    }
}

/*

    KATEOGIJA

*/

#category .card a {
    color: var(--sda-green-grey);
}

#category .card a:hover {
    color: var(--sda-green);
}

#category .col-md-6.col-lg-4.col-12 {
    margin-top: 30px;
}
#post-content img {
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    height: auto;
}