/*
Theme Name: Zaklada ZND
Theme URI:
Description:
Version: 1.0
Author: dEvExus
Author URI: http://www.devexus.com/
License: Located in 'licensing' folder
License URI: Located in 'licensing' folder
Tags:
*/

html, body {
    font-family: 'Open Sans', sans-serif;
}

.primary-bg {
    background: #1b72b5;
}

.primary-color {
    color: #1b72b5;
}

.secondary-bg {
    background: #2e3080;
}

.secondary-color {
    color: #2e3080;
}


#menu-toggle {
    display: none;
}

div#logo {
    padding: 0;
    position: relative;
    z-index: 2;
    top: 49px;
}

a {
    color: #1b72b5;
    transition: .3s ease-in color;
    text-decoration: none;
}

nav#main {
    width: 100%;
    margin-top: 29px;
    position: relative;
}

div#top {
    margin-top: 25px;
    padding-right: 10px;
}

div#top a,
nav#main a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

div#top a {
    padding: 0 2px;
    text-transform: uppercase;
}

div#top a.lang:nth-of-type(3) {
    margin-right: 20px;
}

div#top a.fa {
    font-size: 1.4rem;
    padding: 0 5px;
}

nav#main ul {
    margin: 0;
    padding: 0;
}

nav#main ul li {
    float: left;
    margin-right: 0;
    padding: 0 1.5%;
    position: relative;
}

nav#main ul li a {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.tab .tab-bg {
    background: #F6EBD9;
    min-height: 40px;
    line-height: 1.4;
    padding: 10px 20px;
    color: #221451;
    overflow: hidden;
    font-size: 1rem;
}

.tab .tab-bg:nth-child(2n+2) {
    margin: 0.7rem 0;
}

a.button.blue {
    background: #221451;
    text-transform: uppercase;
}

a.button.blue:hover {
    background: #b5853b;
}


ul.bxslider,
ul.bxslider2 {
    padding: 0;
    margin: 0;
}

ul.bxslider li {
    height: 550px;
}

ul.bxslider li img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}



footer .widget-container {
    padding: 40px 0 10px 0;
    position: relative;
}

footer a.social-icon {
    float: left;
    font-size: 1.5rem;
    margin-right: 10px;
    margin-bottom: 10px;
    float: right;
}

div#reviews-fp {
    margin-top: 75px;
}

.tab .tab-bg h5 {
    font-size: 1rem;
    margin: 0 5px 0 0;
    color: #B5853B;
    display: inline-block;
}

.tab-item {
    border-bottom: 1px solid #b5853b;
    min-height: 30px;
    line-height: 1.2;
    padding: 5px 10px;
    /* height: 30px; */
    text-align: right;
    overflow: hidden;
}

.tab-item h5 {
    float: left;
    color: #221451 !important;
}

.tab-item:nth-of-type(1) {
    margin-top: 5px;
}

.tab-item:last-child {
    border-bottom: 0;
}


.pagination {
    height: 40px;
    line-height: 1;
    overflow: hidden;
    padding: 0 1rem;
}

.pagination .search-results {
    float: left;
    display: inline-block;
    width: 30%;
    font-size: 1.1rem;
    color: #211451;
}

.pagination ul {
    float: right;
    text-align: right;
    width: 70%;
    margin: 0;
    padding: 0;
}

ul.page-numbers li {
    display: inline-block;
    font-size: 1.1rem;
    color: #b5853b;
    vertical-align: middle;
}

ul.page-numbers li a,
ul.page-numbers li span {
    color: #b5853b;
    height: 31px;
    display: inline-block;
    position: relative;
}

ul.page-numbers li span.current {
    color: #211451;
}

ul.page-numbers li a.next i, ul.page-numbers li a.prev i {
    font-size: 2rem;
    padding: 0 4px;
}

ul.page-numbers li a.next, ul.page-numbers li a.prev {
    position: relative;
    top: -7px;
}


header#main .block {
    margin-top: 0;
    margin-bottom: 0;
}

div#menu-wrapper {
    /* height: 130px; */
    position: relative;
    z-index: 2;
    padding-bottom: 21px;
}

div#menu-wrapper a {
    color: #fff;
}

div#menu-wrapper #top a,
div#menu-wrapper #top {
    color: #8ab3d2;
}

div#menu-wrapper #top a.lang {
    font-weight: 100;
    font-size: 0.9rem;
}
div#menu-wrapper #top a.lang.active {
    font-weight: 600;
    color: #c4e2f9;
}


div#menu-wrapper:before {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: -115px;
    top: 0;
    border-top: 130px solid #1b72b5;
    border-left: 115px solid transparent;
    z-index: 2;
}

div#menu-wrapper:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    right: -90px;
    top: 0;
    border-top: 130px solid #1b72b5;
    border-right: 90px solid transparent;
    z-index: 2;
}


nav#main:before {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    bottom: -61px;
    border-top: 40px solid #1b72b5;
    border-left: 603px solid transparent;
    z-index: 2;
}

nav#main:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    right: 0;
    bottom: -61px;
    border-top: 40px solid #1b72b5;
    border-right: 26px solid transparent;
    z-index: 2;
}


header#main:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -115px;
    border-top: 115px solid #ffffff;
    border-right: 1920px solid transparent;
    z-index: 1;
}

header#main {
    position: relative;
    height: 105px;
    z-index: 3;
}

header#main > .container {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

nav#main ul li.current-menu-item a,
nav#main ul li:hover a {
    border-bottom: 2px solid #36a5dd;
}

.bx-wrapper {
    position: relative;
}

#slider:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    border-bottom: 85px solid #ffffff;
    border-right: 1920px solid transparent;
    z-index: 1;
}

li.bx-clone {
    display: none !important;
}

section#slider {
    position: relative;
}

a#next-div {
    position: absolute;
    bottom: 10px;
    left: 15%;
    z-index: 2;
    -webkit-animation: pulse2 1s linear infinite;
	-moz-animation: pulse2 1s linear infinite;
	-ms-animation: pulse2 1s linear infinite;
	animation: pulse2 1s linear infinite;
	/* Enable hardware acceleration to fix laggy transitions */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.pulse2 {
	-webkit-animation: pulse2 1s linear infinite;
	-moz-animation: pulse2 1s linear infinite;
	-ms-animation: pulse2 1s linear infinite;
	animation: pulse2 1s linear infinite;
}

@keyframes "pulse2" {
 0% {
    -webkit-transform: scale(1.1);
   	-moz-transform: scale(1.1);
   	-o-transform: scale(1.1);
   	-ms-transform: scale(1.1);
   	transform: scale(1.1);
 }
 50% {
    -webkit-transform: scale(0.8);
   	-moz-transform: scale(0.8);
   	-o-transform: scale(0.8);
   	-ms-transform: scale(0.8);
   	transform: scale(0.8);
 }
 100% {
    -webkit-transform: scale(1);
   	-moz-transform: scale(1);
   	-o-transform: scale(1);
   	-ms-transform: scale(1);
   	transform: scale(1);
 }

}

@-moz-keyframes pulse2 {
 0% {
   -moz-transform: scale(1.1);
   transform: scale(1.1);
 }
 50% {
   -moz-transform: scale(0.8);
   transform: scale(0.8);
 }
 100% {
   -moz-transform: scale(1);
   transform: scale(1);
 }

}

@-webkit-keyframes "pulse2" {
 0% {
   -webkit-transform: scale(1.1);
   transform: scale(1.1);
 }
 50% {
   -webkit-transform: scale(0.8);
   transform: scale(0.8);
 }
 100% {
   -webkit-transform: scale(1);
   transform: scale(1);
 }

}

@-ms-keyframes "pulse2" {
 0% {
   -ms-transform: scale(1.1);
   transform: scale(1.1);
 }
 50% {
   -ms-transform: scale(0.8);
   transform: scale(0.8);
 }
 100% {
   -ms-transform: scale(1);
   transform: scale(1);
 }

}



section#about {
    padding: 6rem 0;
    text-align: center;
}

section#about .col-dx-6:nth-child(1) .ab-bg {
    top: 55%;
    left: 15%;
    right: initial;
}
section#about .col-dx-6:nth-child(2) .ab-bg {
    top: 55%;
    left: 15%;
    right: initial;
}
section#about .col-dx-6:nth-child(3) .ab-bg {
    top: 53%;
    left: 40%;
    right: initial;
}
section#about .col-dx-6:nth-child(4) .ab-bg {
    top: 40%;
    left: 17%;
    right: initial;
}

section#about p {
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 45px 0;
    color: #1b72b5;
}

.button {
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    height: 42px;
    line-height: 42px;
    background: #36a5dd;
    color: #fff;
    padding: 0 2rem;
}

.btn-2 {
    position: relative;
}

.button.btn-2:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    margin: auto;
    top: 42px;
    border-top: 24px solid #2e3080;
    border-left: 24px solid transparent;
}

.btn-ora {
    margin: 0;
    height: auto;
    line-height: 1;
    background: #de7203;
    color: #fff !important;
    font-size: 15px !important;
    padding: 8px 20px !important;
    border-radius: 3px;
    margin-left: 25px;
}

section#about .block {
    margin-top: 7rem;
}

.about-box {
    position: relative;
    margin-bottom: 2rem;
}

.about-box img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.about-box .ab-bg {
    position: absolute;
    bottom: 30%;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    width: 50%;
    line-height: 1.2;
}

.about-box .ab-bg h3 {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
}


.about-box .ab-bg h5 {
    font-size: 14px;
    font-weight: 400;
    max-width: 70%;
}

section#latest-news {
    position: relative;
    padding: 8rem 0;
    background: url(assets/img/news-bg.jpg) center center no-repeat;
    color: #fff;
    text-align: center;
}


section#latest-news:before {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    border-top: 110px solid #ffffff;
    border-left: 1920px solid transparent;
    z-index: 1;
}

section#latest-news:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    border-bottom: 90px solid #ffffff;
    border-left: 1920px solid transparent;
    z-index: 1;
}

h3.section-title {
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 38px;
    margin-bottom: 50px;
}

.fp-news {
    text-align: initial;
}

.fp-news h4 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: #24195e;
}

.fp-news h4 a {
    color: #24195e;
}

.fp-news .meta,
.news .meta {
    color: #24195e;
    font-size: 14px;
    font-weight: 700;
    position: relative;
}

.fp-news .meta:after,
.news .meta:after {
    content: " ";
    display: inline-block;
    height: 2px;
    width: 100px;
    background: #fff;
    margin-left: 10px;
}

.news .meta:after {
    background: #36a5dd;
}

.fp-news img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    margin-bottom: 80px;
}

.fp-news p {
    height: 210px;
    overflow: hidden;
}

#latest-news .btn-2 {
    background: #1b72b5;
}

section#edu-lab {
    text-align: center;
    padding: 5rem 0;
}

#edu-lab h3.section-title {
    color: #36a5dd;
    margin-top: 2rem;
}


section#partners-front .section-title {
    color: #36a5dd;
}

ul.partners-fp {
    margin: 0;
    padding: 0;
}

ul.partners-fp li {
    list-style: none;
    width: 25%;
    float: left;
    text-align: center;
}

section#partners-front {
    padding: 6rem 0;
}

footer {
    background: #f0f0f0;
    position: relative;
    margin-top: 80px;
}

footer:before {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -80px;
    border-bottom: 80px solid #f0f0f0;
    border-right: 1920px solid transparent;
    z-index: 1;
}

footer img#logo {
    position: absolute;
    top: -35px;
    left: -40px;
}

footer .col-dx-3:nth-child(1) .widget-container {
    padding-left: 20px;
}

footer p {
    font-size: 15px;
    color: #1d1d1b;
}

footer .col-dx-6 {
    padding-left: 80px;
}

footer .col-dx-6 a img {
    max-width: 30%;
    margin-right: 3%;
}

footer .col-dx-6 a:nth-of-type(3) img,
footer .col-dx-6 a:nth-of-type(6) img {
    margin-right: 0;
}

footer .col-dx-6 h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #36a5dd;
}

footer a.social {
    font-size: 26px;
    color: #36a5dd;
    margin-right: 5px;
}

nav#main ul.sub-menu {
    position: absolute;
    display: none;
    width: 250px;
    height: auto;
    background: transparent;
    z-index: 999;
    padding: 5px 0;
    left: 0;
    right: 0;
    margin: auto;
    padding-top: 20px;
}

nav#main ul.sub-menu ul.sub-menu {
    left: 250px;
    right: initial;
    top: 0;
    padding-top: 0;
}

nav#main ul li:hover > ul.sub-menu {
    display: block;
}

nav#main ul.sub-menu li {
    width: 100%;
    background: #85bbe6;
    float: none;
    display: block;
}

nav#main ul.sub-menu ul.sub-menu li {
    background: #3a90d2;
}

nav#main ul.sub-menu li a {
    color: #1b72b5;
    font-size: 15px;
    width: 100%;
    text-align: center;
    display: block;
    padding: 5px 10px;
    border-top: 2px solid #6ba7db;
    border-bottom: none;
    /* white-space: nowrap; */
}

nav#main ul.sub-menu ul.sub-menu li a {
    color: #1b4465;
}

nav#main ul.sub-menu li:first-child a {
    padding-top: 12px;
}

nav#main ul.sub-menu li:last-child a {
    padding-bottom: 12px;
}


nav#main ul.sub-menu li:hover > a {
    border-bottom: none;
    color: #6ba7db;
}

nav#main ul.sub-menu li:first-child a {
    border-top: none;
}

nav#main ul li.menu-item-has-children:after {
    content: "\f0d7";
    font-family: 'FontAwesome';
    color: #fff;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 19px;
    margin: auto;
    display: block;
    text-align: center;
}

nav#main ul ul li.menu-item-has-children:after {
    top: 8px;
    left: initial;
    right: 20px;
    transform: rotate(-90deg);
}

nav#mobile {
    display: none;
}


section#content-header {
    height: 400px;
    overflow: hidden;
    position: relative;
}

section#content-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section#content-header:after {
    content: " ";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    border-bottom: 80px solid #ffffff;
    border-right: 1920px solid transparent;
    z-index: 1;
}

h3.title-border {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    color: #36a5dd;
    position: relative;
}

h3.title-border:after {content: " ";display: block;background: #36a5dd;height: 3px;width: 50px;margin: auto;margin-top: 15px;margin-bottom: 2rem;}

h5.page-title {
    height: 75px;
    display: inline-block;
    line-height: 75px;
    font-size: 54px;
    text-transform: uppercase;
    font-weight: 100;
    color: #fff;
    background: #2e3080;
    padding: 0 3rem;
    position: relative;
    float: right;
    z-index: 2;
    right: 70px;
}

h5.page-title:after {
    content: "";
    display: block;
    width:0;
    height: 0;
    position: absolute;
    right: 0;
    margin: auto;
    bottom: -32px;
    border-top: 32px solid #36a5dd;
    border-right: 32px solid transparent;
    z-index: 1;
}

section#content-wrapper {
    padding-top: 90px;
    padding-bottom: 2rem;
}

section#content-header + #content-wrapper {
    padding-top: 0;
    margin-top: -35px;
}

section#content-header + #content-wrapper h5.page-title {
    bottom: 70px;
}

div#page-content {
    text-align: center;
    font-size: 24px;
    color: #2e3080;
    font-weight: 600;
}

div#page-content p {
    margin: 0 0 5px 0;
}

div#inicijatori {
    position: relative;
    text-align: center;
    margin-top: 50px;
}

.person-list {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.person-list.pokrovitelj {
    min-height: 250px;
}

.p-img-wp {
    width: 100%;
    position: relative;
}

.p-img-wp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.person-list .p-img-wp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-list .p-img-wp:hover h3 {
    color: #36a5dd;
}

.p-img-wp h3 {
    position: absolute;
    bottom: 0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.59);
    padding: 10px 5px;
}

.person-list.pokrovitelj h3 {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}

div#inicijatori .person-list,
.nas-tim .person-list {
    width: 220px;
    display: inline-block;
    margin: 0 30px;
}

#osnivaci.nas-tim {
    text-align: center;
}

div#osnivaci .col-dx-3 {padding: 0 2.5rem;}

div#osnivaci {
    margin: 3rem -2.5rem;
}

.person-list .p-social {
    text-align: center;
    font-size: 24px;
    height: 36px;
}

.person-list .p-social a {
    color: #36a5dd;
}


div#contact iframe {
    padding: 17px;
    border: 1px solid #36a5dd !important;
}

div#contact p {
    font-size: 15px;
    color: #666666;
}

div#contact .social {
    font-size: 26px;
    color: #36a5dd;
}

div#tabs {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

.tabs-link {
    display: inline-block;
}

.tabs-link a {
    height: 40px;
    line-height: 40px;
    width: 200px;
    display: block;
    text-align: center;
    background: #36a5dd;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.tabs-link.active a {
    background: #2e3080;
}

div#y-tabs-wrapper {
    padding-bottom: 5rem;
}

.accordion {
    padding-bottom: 5px;
    border-bottom: 1px solid #666;
    margin-bottom: 10px;
}

.accordion h5 {
    height: 37px;
    line-height: 37px;
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
}

.accordion h5 span {
    height: 37px;
    width: 37px;
    line-height: 37px;
    background: #666;
    color: #fff;
    display: inline-block;
    text-align: center;
    font-size: 23px;
    font-weight: 100;
    margin-right: 15px;
}

.accordion .acc-cont {
    font-size: 15px;
    margin-top: 25px;
    display: none;
}

.accordion.active .acc-cont {
    display: block;
}

.accordion.active h5 span {
    background: #36a5dd;
}

.accordion.active h5 span i:before {content: "\f068";}

.program-box {
    position: relative;
}

.program-box img {
    width: 100%;
    margin-bottom: 10px;
}

.program-box .p-title-wp {
    text-transform: uppercase;
    text-align: center;
    display: table;
    height: 145px;
    vertical-align: bottom;
}

.program-box .p-title-wp h3 {
    font-size: 38px;
    color: #1b72b5;
    font-weight: 800;
    line-height: 1.3;
    display: table-cell;
    margin: 0;
    vertical-align: bottom;
}

.program-box .p-title-wp h3 span {
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
    display: inline-block;
}

.program-box p {
    color: #666666;
    text-align: center;
}

div#programs {
    margin: 5rem 0;
}

div#programs-faq ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

div#programs-faq li .question,
div#programs-faq li .answer {
    width: 85%;
    margin: auto;
    text-align: center;
}

div#programs-faq li .question {
    color: #36a5dd;
    font-size: 16px;
}

div#programs-faq li .answer {
    color: #666;
    font-size: 15px;
}

div#page-content-normal {
    text-align: center;
    color: #666666;
}

div#program-more {
    margin: 4rem 0 0 0;
    text-align: center;
}

div#program-more h5 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 22px;
    color: #666666;
    margin-bottom: 0.6rem;
}

div#programs-sp .about-box h3 {
    font-size: 20px;
}

div#programs-sp .about-box img {
    max-width: 100%;
}

div#program-more .btn-2 {
    text-transform: none;
}

div#program-todo {
    text-align: center;
}

div#program-todo img {
    max-width: 100%;
    margin-bottom: 2rem;
}

footer a {
    color: #333;
}

#partners-front .bx-wrapper img {
    display: inline-block;
}

#slider .bx-wrapper .bx-controls-direction a {
    background: none;
}

#slider .bx-controls.bx-has-controls-direction {
    max-width: 1100px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

body {
    background: url('assets/img/ostale-stranice-bg.png') top center repeat-y;
    width: 100%;
    height: 100%;
}

body.home {
    background: url('assets/img/naslovnica-bg.png') top center repeat-y;
}

.news img {
    height: 215px;
    object-fit: cover;
    width: 100%;
    margin-bottom: 25px;
}

.news h4 {
    font-size: 17px;
    line-height: 1.3;
    color: #36a5dd;
    font-weight: bold;
    margin-bottom: 10px;
}

.news h4 a {
    color: #36a5dd;
}

.news p {
    color: #333;
    font-size: 15px;
}

#main-content .news {
    min-height: 455px;
    margin-bottom: 2rem;
}

section#list-wrapper.single {
    padding-top: 150px;
}

.slide-text {
    position: absolute;
    bottom: 16%;
    width: 100%;
    max-width: 900px;
    margin: auto;
    left: 0;
    right: 0;
    text-align: right;
}

.slide-text .bigger {
    height: 95px;
    line-height: 95px;
    background: #2a255a;
    color: #fff;
    font-size: 68px;
    font-weight: 100;
    padding: 0 40px;
    display: inline-block;
    position: relative;
    animation-delay: 1s;
    -moz-animation-delay: 1s;
    -webkit-animation-delay: 1s;
}

.slide-text .smaller {
    float: right;
    color: #fff;
    font-weight: 800;
    font-size: 42px;
    background: #1b72b5;
    display: inline-block;
    height: 65px;
    line-height: 65px;
    padding: 0 30px;
    position: relative;
    animation-delay: 2s;
    -moz-animation-delay: 2s;
    -webkit-animation-delay: 2s;
    position: relative;
    right: 4%;
}

.slide-text .smaller:after {
    content: " ";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 40px solid transparent;
    border-right: 50px solid #2a255a;
    top: 65px;
    left: 0;
}

.slide-text .bigger:after {
    content: " ";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-left: 40px solid #1b72b5;
    bottom: 95px;
    right: 0;
}

a.pdf {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-size: 17px;
    font-weight: 500;
}

#donate-btn-mobile {
    display: none;
    width: 30%;
    text-align: center;
    margin: auto;
}


.grid-column {
    width: 24%;
}
  
.grid-item {
    width: 24%;
    height: auto;
    float: left;
    margin-bottom: 3px;
    overflow: hidden;
    position: relative;
}
  
.grid-item img {
    width: 100%;
    height: auto;
    position: relative;
    bottom: 0;
    transition: bottom .3s ease;
}

#pocasni-clan, #upravni-odbor, #odbor, #kuratorij, #osnivaci-new { text-align: center; }

#pocasni-clan .person-list,
#odbor .person-list,
#kuratorij .person-list,
#osnivaci-new .person-list {
    display: inline-block;
    margin: 10px 0;
    line-height: 1.2;
}

#pocasni-clan .person-list h4,
#odbor .person-list h4,
#kuratorij .person-list h4,
#osnivaci-new .person-list h4 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
}

.subsection-title {
    color: #36a5dd;
    margin: 50px 0 30px 0;
}


  

@media (max-width: 1024px) {

    nav#main ul li a {
        font-size: 0.94rem;
    }

    div#menu-wrapper:before {border-top-width: 126px;border-left-width: 100px;left: -100px;}

    div#menu-wrapper:after {
        border-top-width: 126px;
        border-right-width: 80px;
        right: -80px;
    }

    nav#main:before {
        border-left-width: 520px;
    }

    footer img#logo {
        left: initial;
        top: -55px;
        z-index: 3;
    }

    footer .col-dx-6 img {
        max-width: 45%;
    }

}


@media (max-width: 800px) {

    nav#main ul li a {
        font-size: 0.94rem;
    }

    div#menu-wrapper:before,
    div#menu-wrapper:after,
    nav#main:before,
    nav#main:after {
        content: "";
        display: none;
    }

    div#menu-wrapper {
        background: transparent;
    }

    nav#main {
        display: none;
    }

    nav#mobile.active {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 80%;
        bottom: 0;
        height: 100%;
        background: #1b72b5;
        margin: 0;
        z-index: 99;
    }

    nav#mobile ul {
        padding: 0;
        margin: 0;
    }

    nav#mobile > ul {
        padding-top: 20px;
    }

    nav#mobile ul li:first-child {
        border-top: none;
    }

    nav#mobile ul li {
        border-top: 1px solid rgba(255, 255, 255, 0.21);
    }

    nav#mobile ul li a {
        color: #fff;
        height: 40px;
        line-height: 40px;
        font-weight: bold;
        text-transform: uppercase;
        padding: 0 30px;
    }

    nav#mobile ul ul {
        padding-left: 40px;
        display: none;
    }

    nav#mobile ul li:hover ul {
        display: block;
    }

    nav#mobile ul ul li a {
        font-size: 0.9rem;
    }


    div#menu-wrapper #top a {
        color: #777;
        font-size: 18px;
    }

    div#menu-wrapper #menu-toggle {
        display: block;
        color: #333;
        z-index: 3;
        font-size: 36px;
        text-align: right;
        padding: 10px 15px 0 0;
    }

    #menu-toggle.active i:before {
        content: "\f00d";
    }

    body.menu-open {
        overflow: hidden;
    }


    footer .col-dx-6 img {
        max-width: 100%;
        margin: 0 0 15px 0;
    }

    .slide-text .bigger {
        font-size: 48px;
    }

    .slide-text .smaller {
        font-size: 36px;
    }

    .slide-text {
        width: 70%;
        bottom: 25%;
    }

    #donate-btn {
        display: none;
    }

    #donate-btn-mobile {
        display: block;
    }

}


@media (max-width: 641px) {

    div#top {
        text-align: right;
    }

    div#menu-wrapper {
        position: absolute;
        right: 0;
        top: 0;
    }

    section#about p {
        font-size: 28px;
    }

    .program-box {
        margin-bottom: 85px;
    }

    div#programs-sp .about-box img {
        width: 100%;
        object-fit: cover;
    }

    footer .widget-container,
    footer .col-dx-6 {
        padding-left: 20px;
        padding-top: 20px;
    }

    div#inicijatori .person-list,
    .person-list {
        width: 300px;
        margin: auto;
    }

    .accordion h5 {
        height: auto;
        line-height: 1.4;
    }

    .slide-text .bigger {
        font-size: 42px;
        height: auto;
        line-height: 1;
        padding: 0.5em 1em;
    }

    .slide-text .bigger:after {
        bottom: 2em;
    }

    .slide-text .smaller {
        font-size: 30px;
        height: auto;
        line-height: 1;
        padding: 0.5em 1em;
    }

    .slide-text .smaller:after {
        display: none;
        content: "";
    }
}

@media (max-width: 414px) {

    #logo img {
        width: 70%;
    }

    section#about p {
        font-size: 24px;
    }

    h5.page-title {
        right: initial;
        left: initial;
        font-size: 42px;
        float: none;
    }

    .slide-text .bigger {
        font-size: 32px;
    }

    .slide-text .smaller {
        font-size: 21px;
    }
}
