body {
    font-family: 'Roboto', sans-serif;
    background-color: #F4F3E9;
}

* {
    border-radius: 0 !important;
}

h1, h2, h3, h4, h5, h6, .menu-item {
    font-family: 'Philosopher', sans-serif;
    font-weight: bold;
    color: #23565B;
}

p {
    color: #23565B;
}

.navbar-nav {
    flex-grow: 1;
    justify-content: center;
}

/* CTA Button for Desktop */
.cta-btn-desktop {
    font-family: 'Philosopher', sans-serif;
    white-space: nowrap;
    display: none;
}

/* CTA Button for Mobile */
.cta-btn-mobile {
    font-family: 'Philosopher', sans-serif;
    white-space: nowrap;
    display: inline-block;
}

/* Hide mobile CTA button when the menu is open */
.navbar-collapse.show .cta-btn-mobile {
    display: none !important;
}

/* Show desktop CTA button on large screens */
@media (min-width: 992px) {
    .cta-btn-desktop {
        display: inline-block;
    }
    .cta-btn-mobile {
        display: none;
    }
}

.bg-light {
    background-color: #F4F3E9 !important;
}


header {
    transition: all 0.3s;
}


.cta-btn-mobile, .cta-btn-desktop, .btn-teofil {
    background-color: #23565B !important;
    border-color: #23565B;
    color: #F2DCAB;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom:10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 14px;
    font-family: 'Philosopher', sans-serif;
}

.btn-teofil-outline {
    background-color: transparent;
    border-color: #23565B;
    color: #23565B;
    font-size: 14px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-family: 'Philosopher', sans-serif;
}

.btn-padding {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 10px !important;
    padding-bottom:10px !important;
}

/* Hover state */
.cta-btn-mobile:hover, .cta-btn-desktop:hover, .btn-teofil:hover, .btn-teofil-outline:hover {
    background-color: #2F6E73 !important; /* 20% svetlija nijansa */
    border-color: #2F6E73;
    color: #F2DCAB !important;
}

.cta-btn-mobile:active, .cta-btn-desktop:active, .btn-teofil:active, .btn-teofil-outline:hover {
    background-color: #2F6E73 !important;
    border-color: #2F6E73;
    color: #F2DCAB !important;
}


.cta-btn-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-btn-desktop .icon {
    max-height: 20px; /* Prilagodite visinu ikone prema potrebi */
}

.logo, .custom-logo {
    max-height: 78px;
    max-width: 78px;
    height: auto;
}

.navbar-nav .nav-item {
    margin-right: 30px;
}

@media (max-width: 992px) {
    header.bg-light.menu-open {
        background-color: #ffffff !important;
        margin-bottom: 2rem;
        border-bottom: solid thin #DBDACF;
    }

    .navbar-nav {
        margin-top: 1.5rem;
    }

    .navbar-nav .menu-item {
        display: inline-block;
    }
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.navbar-nav .menu-item {
    text-transform: uppercase;
}

.navbar-nav .menu-item {
    position: relative;
    padding-bottom: 8px; /* Dodatan prostor za traku */
    z-index: 1;
}

.navbar-nav .menu-item span {
    z-index: 8;
    position: relative;
}

/* Polutransparentna žuta traka koja se prikazuje na hover i za aktivnu stranicu */
.navbar-nav .menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 8px;
    background-color: rgba(242, 220, 171, 0.7); /* Polutransparentna žuta */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    z-index: 0;
}

.navbar-brand {
    margin-right: 0;
}

.navbar-nav .menu-item:hover {
    color: #23565B;
}

.navbar-nav .menu-item.active::after {
    transform: scaleX(1);
}

.navbar-nav .menu-item:hover::after {
    transform: scaleX(1);
}

.navbar-nav .menu-item.active {
    color: #23565B;
}


/* NOVOSTI */

/* Stil za Heading sekciju */
.page-heading h1 {
    font-size: 2.5rem;
    font-style: bold;
    margin-bottom: 0.5rem;
}

.page-heading p {
    font-size: 1.2rem;
    font-family: 'Philosopher', sans-serif;
}

.page-heading p::before {
    content: "";
    width: 100px;
    height: 1px;
    background-color: #23565B;
    display: inline-block;
    position: relative;
    top: -4px;
    margin-right: 25px;
}

.page-heading p::after {
    content: "";
    width: 100px;
    height: 1px;
    background-color: #23565B;
    display: inline-block;
    position: relative;
    top: -4px;
    margin-left: 25px;
}

/* Stil za kartice novosti */
.news-card {
    border: none;
    background-color: #DBDACF;
    padding: 20px 0 20px 20px; 
}

.news-card .card-img {
    background-color: #fff;
    object-fit: cover;
}

.news-card .image-wrapper .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



@media (min-width: 692px) {
    .news-card .image-wrapper {
        width: 180px;
        height: 180px;
        flex-shrink: 0; 
    }
    
    .news-card .card-body {
        width: 60%;
        padding: 1rem 1rem 0rem 1.5rem;
        min-height: none;
    }    
}

@media (min-width: 1200px) {
    .news-card .image-wrapper {
        width: 280px;
        height: 280px;
        flex-shrink: 0; 
    }
    
    .news-card .card-body {
        width: 60%;
        padding: 1rem 1rem 0rem 1.5rem;
        min-height: 240px;
    }
    
}

.news-card .card-title {
    font-size: 17px;
    color: #23565B;
    margin-bottom: 25px;
    font-weight: bold;
}

.news-card .card-text {
    color: #23565B;
    font-size: 13px;
    margin-bottom: 25px;
}

@media (min-width: 1400px) {
    .news-card .card-text {
        font-size: 14px;
    }

    .news-card .card-title {
        font-size: 20px;
    }
}

.news-card .btn-link {
    color: #23565B;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-left: 0;
    font-size: 16px;
    font-family: 'Philosopher', sans-serif;
}

.news-card .btn-link:hover {
    color: #2F6E73;
}

.pagination .page-link {
    color: #23565B;
}

.pagination .page-link:hover {
    color: #2F6E73;
}


@media (max-width: 698px) {
    .news-card .card-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .news-card .card-text {
        font-size: 10px;
        max-height: 62px;
        overflow: hidden;
        margin-bottom: 12px;
    } 

    .news-card .btn-link {
        font-size: 12px;
    }

    .news-card {
        padding-right: 0px;
    }

    .news-card .image-wrapper {
        width: 180px;
        height: 180px;
        flex-shrink: 0; 
    }

    .page-heading h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .page-heading p {
        font-size: 14px;
        font-family: 'Philosopher', sans-serif;
    }
    
    .page-heading p::before {
        width: 20px;
        top: -4px;
        margin-right: 15px;
    }
    
    .page-heading p::after {
        width: 20px;
        top: -4px;
        margin-left: 15px;
    }

    .navbar-toggler {
        border: none;
    }
}



.pagination .page-item {
    margin-right: 5px; /* Razmak između stavki */
}

.pagination .page-item .page-link, .pagination .page-item .page-numbers {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #DBDACF; /* Border boja za neaktivne stavke */
    color: #23565B;
    background-color: transparent; /* Bez pozadine */
	text-decoration: none !important;
}

.pagination .page-item.active .page-link, .pagination .page-item.active .page-numbers {
    background-color: #23565B; 
    border-color: #23565B;
    color: #F4F3E9;
	text-decoration: none !important;
}

.pagination .page-item .page-link:hover {
    border-color: #23565B;
}

.pagination .page-item:last-child {
    margin-right: 0;
}


.inactive {
    opacity: 0.5;
}

.inactive img {
    filter: saturate(0);
}

footer {
    margin-top: 100px;
    padding-bottom: 20px;
    color: #23565B;
}

footer .teofil-logo-footer {
    max-width: 92px;
}

footer a {
    color: #23565B;
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover {
    color: #3e7479;
}

footer .links {
    margin-bottom: 0;
}

footer .links a {
    padding: 10px;
    font-size: 14px;
    font-family: 'Philosopher', sans-serif;
}

footer .contacts {
    font-family: 'Philosopher', sans-serif;
}

footer .contacts li {
    margin-bottom: 1.75rem;
}

footer .icon {
    width: 30px;
}

footer h3 {
    font-size: 18px;
}

footer p {
    font-size: 14px;
}

.form-control {
    background-color: #DBDACF;
    border-color: #DBDACF;
    color: #23565B;
    font-family: 'Philosopher', sans-serif;
}

.form-control:focus {
    background-color: #DBDACF;
    border-color: #DBDACF;
    color: #23565B !important;
}

.form-control::placeholder {
    color: #23565B;
    font-family: 'Philosopher', sans-serif;
}

hr {
    border: none;
    height: 1px;
    width: 100%;
    background-color: #DBDACF;
    opacity: 1;
}

footer .btn-teofil {
    margin-left: 10px !important;
}

@media (max-width: 698px) {
    .newsletter {
        border-top: solid thin #DBDACF;
        padding-top: 1.5rem;
        margin-top: 1rem;
    }

    footer .contacts li {
        margin-bottom: 1rem;
    }

    .logo-left {
        order: 1;
    }

    .logo-right {
        order: 2;
        text-align: right;
    }

    .links-center {
        order: 3;
        
    }

    .links-center ul {
        margin-top: 1.85rem;
        flex-direction: column;
        align-items: start !important;
        justify-content: flex-start !important;
    }
}
.breadcrumb-wrapper {
    color: #23565B;
    font-size: 14px;
}
.breadcrumb-wrapper a {
    color: #23565B;
    text-decoration: none;
}

.news-contrent p {
    font-size: 18px;
    line-height: 30px;
}
.related-news {
    margin-top: 2rem;
}

.related-news h4 {
    font-size: 32px;
}

.slider-nav-btn {
    -webkit-appearance: none;
    background-color: transparent;
    border: solid thin #23565B;
    width: 50px;
    height: 50px;
    line-height: 40px;
}

.slider-nav-btn.inactive {
    opacity: 0.3;
}

.related-news-card {
    display: flex;
}

.related-news-card .image-wrapper {
    width: 200px;
    height: 200px;
}

.related-news-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-news-card h3 {
    font-size: 19px;
    margin-bottom: 20px;
	color: #23565B !important;
}

.related-news-card p {
    font-size: 14px;
    margin-bottom: 1.5rem;
}

.project-card {
    margin-bottom: 50px;
}

.project-card img {
    width: 100%;
    aspect-ratio: 650 / 350;
    object-fit: fill;
    display: block;
}

.project-card .card-title {
    margin-top: 30px;
    font-weight: bold;
    font-size: 26px;
    color: #23565B;
    font-family: 'Philosopher', sans-serif;
    margin-bottom: 20px;
}

.projects-content h3 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 26px;
}

.projects-content p {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 32px;
}

@media (max-width: 698px) {
    .projects-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .projects-content h3 {
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: 22px;
    }

    .projects-content img {
        margin-bottom: 15px;
    }
}

.highlighted {
    position: relative;
    font-family: "Philosopher", sans-serif;
    font-size: 27px !important;
    line-height: 27px; 
    color: #23565B;
    margin-bottom: 5px !important;
    padding-bottom: 0 !important;
    display: inline-block;
}

.highlighted::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: -5px;
    right: 0;
    background-color: #f8e6bc;
    z-index: -1;
    height: 16px;
  }

  @media (max-width: 1200px) {
    .highlighted {
        display: inline;
    }

    .highlighted::before {
        display: none;
    }
}

  .about-business h5 {
    font-weight: bold;
  }

.about-business a {
	text-decoration: none;
	color: #23565B;
	transition: all 0.3s;
}

.about-business a:hover {
	color: #3e7479;
}

  .custom-list {
    list-style: none; /* Uklanja podrazumevane oznake liste */
    padding-left: 0; /* Uklanja padding */
    color: #23565B;
    font-size: 18px;
    line-height: 28px;
  }
  
  .custom-list > li::before {
    content: '→'; 
    margin-right: 8px;
    color: #000;
  }
  
  .custom-list > li {
    margin-bottom: 8px; /* Razmak između stavki prve liste */
  }
  
  .custom-list ul {
    list-style-type: disc; /* Ostavlja podrazumevane oznake za podliste */
    padding-left: 40px; /* Dodaje razmak za uvučene stavke */
  }

  .text-underline {
    text-decoration: underline;
  }
  .qr-wrapper {
    background-color: #ffffff;
  }
  .qr {
    width: 100%;
    background-color: #ffffff;
  }

  .donate a {
    display: block;
    text-decoration: none;
    color: white;
  }

  .donate-info {
    background-color: #23565B;
    padding: 20px;
    text-align: center;
  }

  .donate-info p {
    color: white;
    margin: 0;
    padding: 0;
    font-size: 18px;
  }

  .hero-slide-nav img {
    background-color: #F4F3E9;
    height: 47px;
    width: 47px;
    line-height: 47px;
    text-align: center;
    padding: 15px;
    border-radius: 4px !important;
    opacity: 1 !important;
  }

  .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    background-color: #F4F3E9;
    transition: all 0.3s;
    border-radius: 4px !important;
    opacity: 1 !important;
  }

  .carousel-indicators .active {
    width: 34px;
    background-color: #F2DCAB !important;
  }

  #home-news {
    padding-top: 80px;
  }
  #home-news .tab-nav-button {
    appearance: none;
    border: solid thin #23565B;
    padding: 0px;
    height: auto;
    line-height: 10px;
    height: 43px;
    overflow: hidden;
    margin: 0;
    vertical-align: middle;
}

#home-news .tab-nav-button img {
    max-height: 100%;
}

#home-news .tab-nav-button.inactive {
    opacity: 0.2;
}

.featured-news h3 {
    font-weight: bold;
    font-size: 30px;
}



.featured-news p {
    margin-top: 20px;
    margin-bottom: 25px;
}

@media (max-width: 1200px) {
    .featured-news h3 {
        font-weight: bold;
        font-size: 24px;
        margin-top: 1rem;
    }

    .featured-news p {
        font-size: 14px;
    }
}

.fno-header h4 {
    font-size: 16px;
    margin-top: 1rem;
}

@media (max-width: 700px) {
    .fno-header h4 {
        margin-top: 2rem;
    }
}

.fno-card {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    border-top: solid thin #DBDACF;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
.fno-card  .image-wrapper {
    flex: 0 0 18%;
    max-width: 18%;
    position: relative; 
    overflow: hidden;
  }
  
.fno-card  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
.fno-card  .copy-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.fno-card  .copy-wrapper p {
    font-size: 11px;
  }

 .fno-card .copy-wrapper a {
    font-size: 11px;
    text-decoration: none;
    color: #23565B;
    font-family: 'Philosopher', sans-serif;
    font-weight: bold;
  }

.fno-card  .copy-wrapper a::after {
    content: "›";
    margin-left: 0.5rem;
    font-size: 15px;
  }
  

  .right-column-news {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #hilandar {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  #home-projects .page-heading {
    text-align: center;
    margin-top: 2rem;
  }

  .hp-card {
    height: 340px;
    background-color: #23565B;
    position: relative;
    margin-top: 25px;
    overflow: hidden;
    position: relative;
  }

  .hp-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hp-card-content {
    position: absolute;
    top: calc(50% - 30px); 
    width: 100%;
    height: 100%;
    text-align: center;
  }

  .hp-card-content h3 {
    color: #E6DDD4;
  }

  .hp-card-content a {
    margin-top: 10px;
    color: #23565B;
    font-family: 'Philosopher', sans-serif;
    font-weight: bold;
  }

  .hp-card-content a:hover {
    margin-top: 10px;
    color: #23565B;
    font-family: 'Philosopher', sans-serif;
    font-weight: bold;
    background-color: #F4F3E9;
    border-color: #F4F3E9;
  }
.span-404-icon {
	font-family: 'Philosopher', sans-serif;
    font-weight: light;
	font-size: 150px;
	color: #23565B;
}
.rnc-image-wrapper {
	object-fit: cover;
	position: relative;
	width: 100%;
	height: 200px;
}

@media (max-width: 700px) {
    .mobile-card-first {
        border-top: 0;
        margin-top: 0;
    }

    .fno-card h5 {
        font-size: 14px;
    }

    .fno-card .copy-wrapper p {
        font-size: 10px !important;
    }

    .fno-card .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .fno-card .image-wrapper {
        flex: 0 0 30%;
        max-width: 30%;
        position: relative;
        overflow: hidden;
    }

    .hp-copy h4 {
        font-size: 18px;
    }

    .hp-copy p {
        font-size: 12px;
    }
}

.hp-card-bg:not(.hc-view-all) {
	background-color: #311e11 !important;
}

.hp-card-bg:not(.hc-view-all) img {
    opacity: 0.3;
    filter: saturate(0);
}

.card-donor img {
transition: all 0.5s;
}

.card-donor img:hover {
transform: scale(1.06);

}

.buttons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.button-item {
    margin: 0 10px 10px;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .button-item {
        flex: 0 0 48%;
        margin: 0 1% 10px;
    }
	
	.button-item a{
		width: 100%;
    }

    .buttons-wrapper {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
  #hero .container {
    padding-left: 0;
    padding-right: 0;
  }
}

.subfooter-links a {
    padding: 10px 0px;
    font-size: 14px;
    font-family: 'Philosopher', sans-serif;
}

.projects-content p a {
	color: #23565B !important;
	font-weight: bold
}

.copyright {
    font-size: 14px;
    font-family: 'Philosopher', sans-serif;
}

.copyright a {
font-weight: bold;
}

.wcs {
	border-left: solid thin #23565B;
	padding-left: 10px;
	margin-left: 10px;
}

@media (max-width: 768px) {
	.wcs {
		display: block;
		padding-left: 0px;
		margin-left: 0px;
		border-left: none;
	}
}

.footer-social-icon {
    margin-right: 0.75rem;
    width: 32px;
}