
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600');

body {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}


/*---------------------------------------
     TYPOGRAPHY             
  -----------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: inherit;
    letter-spacing: -1px;
}

h1 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 30px;
}

h2 {
    color: #393939;
    font-size: 2em;
}

h3 {
    color: #ffffff;
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 0;
}

h4 {
    color: #696969;
    font-size: 18px;
    line-height: normal;
}

p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 25px;
}

strong {
    font-weight: 500;
}


/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

a {
    color: #252525;
    font-weight: normal;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
}

    a:hover, a:active, a:focus {
        color: #14542e;
        outline: none;
    }

.section-title {
    margin-bottom: 60px;
}

    .section-title h2 {
        margin-top: 0;
        margin-bottom: 10px;
        line-height: 0;
    }

    .section-title .line-bar {
        color: #d9d9d9;
        display: block;
        font-size: 5em;
        line-height: 0;
    }

.section-btn {
    background: #559d78;
    border: 0;
    border-radius: 100px;
    color: #ffffff;
    cursor: pointer;
    font-size: inherit;
    font-weight: normal;
    padding: 15px 30px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

    .section-btn:hover,
    .section-btn:focus {
        background: #00F260; /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #0575E6, #00F260); /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #0575E6, #00F260); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        border-color: transparent;
        color: #14542e;
    }

.overlay {
    display: none;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}


/*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
}

.spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
}

    .spinner:before {
        content: '';
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 45px;
        height: 45px;
        margin-top: -10px;
        margin-left: -10px;
        border-radius: 50%;
        border: 1px solid #575757;
        border-top-color: #ffffff;
        animation: spinner .9s linear infinite;
    }

@-webkit-@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}


/*---------------------------------------
      MENU              
  -----------------------------------------*/

.custom-navbar {
    border: none;
    margin-bottom: 0;
    padding: 25px 0;
    background: transparent;
    transition: all 0.3s ease;
}


    .custom-navbar .navbar-brand {
        color: #2f363f;
        font-size: 25px;
        font-weight: 500;
        letter-spacing: -1px;
    }

.top-nav-collapse {
    background: #ffffff;
}

.custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 8em;
}
/*.Kontakt .custom-navbar .navbar-nav.navbar-nav-first .fontNavBar {
    color: blue;
}*/


.custom-navbar .navbar-nav.navbar-nav-first .fontNavBar {
        font-size: 16px;
    }

.custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
}

.custom-navbar .section-btn {
    padding: 15px;
    margin-left: 2em;
}
.custom-navbar .fontNavBar {
    font-size: 24px;
}

    .custom-navbar .section-btn:hover {
        background: #14542e; /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #14542e, #14542e ); /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #14542e, #14542e ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    }

    .custom-navbar .section-btn a {
        padding: 0;
    }

.custom-navbar .nav .section-btn a:hover {
    color: #ffffff;
}

.custom-navbar .nav li a {
    font-size: 14px;
    font-weight: 500;
    color: #2f363f;
    letter-spacing: -0.5px;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

    .custom-navbar .nav li a:hover {
        background: #559d78;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(85, 157, 120, 0.3);
    }

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
    background-color: #559d78;
    color: #ffffff;
}

.custom-navbar .nav li.active > a {
    background: #559d78;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(85, 157, 120, 0.25);
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
}

.custom-navbar .navbar-toggle {
    background-color: transparent;
}

    .custom-navbar .navbar-toggle .icon-bar {
        background: #252525;
        border-color: transparent;
    }

@media(min-width:768px) {
    .custom-navbar {
        border-bottom: 0;
    }

        .custom-navbar.top-nav-collapse {
            background: #ffffff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            border-bottom: 3px solid #559d78;
            padding: 12px 0;
        }

    .top-nav-collapse .navbar-brand {
        color: #2f363f;
    }

    .top-nav-collapse .nav li a {
        color: #2f363f;
        background: rgba(85, 157, 120, 0.08);
    }

    .top-nav-collapse .nav li a:hover {
        background: #559d78;
        color: #ffffff;
    }

    .top-nav-collapse .nav li.active > a {
        background: #559d78;
        color: #ffffff;
    }

    .top-nav-collapse .nav .section-btn a {
        color: #ffffff;
    }
}



/*---------------------------------------
      HOME              
  -----------------------------------------*/

#home {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 50%, #e3f2fd 100%);
    vertical-align: middle;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 10em;
    text-align: left;
}

/* Decorative circles background */
#home::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: rgba(85, 157, 120, 0.15);
    border-radius: 50%;
    z-index: 0;
}

#home::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(85, 157, 120, 0.12);
    border-radius: 50%;
    z-index: 0;
}

#home .container {
    position: relative;
    z-index: 1;
}

/* Home Info Centered */
.home-info.text-center {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.home-info.text-center h1 {
    margin-bottom: 30px;
}

.home-info.text-center .section-btn {
    display: inline-block;
    margin-bottom: 20px;
}

.home-info.text-center span {
    display: block;
    margin-left: 0;
}

/* Service Icons Grid */
.service-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-icon-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.service-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(85, 157, 120, 0.2);
    border-color: #559d78;
    text-decoration: none;
}

.service-icon-card:focus {
    text-decoration: none;
    outline: none;
}

.service-icon-card i {
    font-size: 50px;
    color: #559d78;
    margin-bottom: 15px;
    display: block;
}

.service-icon-card h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 992px) {
    .service-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .service-icons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*#Poslovi {
    background: #559d7e
}*/

    #home h1 {
        color: #2c3e50;
    }

.home-info .section-btn {
    background: #559d78;
    border: 2px solid #559d78;
    color: #ffffff;
}

    .home-info .section-btn:hover,
    .home-info .section-btn:focus {
        background: #14542e;
        border-color: #14542e;
        color: #ffffff;
    }

.home-info span {
    display: inline-block;
    vertical-align: middle;
    color: #2c3e50;
    font-weight: 500;
    margin-left: 20px;
}

.home-info span.phone-contact {
    display: block !important;
    font-size: 2.2em !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    line-height: 1.3 !important;
    margin-left: 0 !important;
    margin-top: 20px !important;
    white-space: nowrap !important;
}

.home-info span.phone-contact .phone-link {
    color: #28a745 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.3s ease !important;
}

.home-info span.phone-contact .phone-link:hover {
    color: #14542e !important;
    text-decoration: underline !important;
}

@media screen and (max-width: 767px) {
    .home-info span.phone-contact {
        font-size: 1.5em !important;
        white-space: normal !important;
    }
}

    .home-info span small {
        display: block;
    }

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #559d78;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:hover {
    background: #14542e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top i {
    line-height: 50px;
}

@media screen and (max-width: 767px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .scroll-to-top i {
        line-height: 45px;
    }
}

/*---------------------------------------
      ABOUT              
  -----------------------------------------*/

#about {
    text-align: left;
    padding-bottom: 0;
}

    #about .about-info:first-child {
        margin-right: 40px;
    }

.about-info .section-title {
    margin: 40px 0 40px 0;
}

.about-info {
    margin-top: 60px;
}

.skill-thumb strong {
    display: inline-block;
    margin-bottom: 10px;
}

.skill-thumb .progress {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: none;
    height: 3px;
    margin-bottom: 25px;
}

.skill-thumb .progress-bar {
    background: #1f1f1f;
    box-shadow: none;
}



/*---------------------------------------
      WORK             
  -----------------------------------------*/

.work-info img {
    width: 100%;
    border-radius: 100%;
}

#work .work-thumb {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
}

.work-thumb .work-info {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

    .work-thumb .work-info:after {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        content: "";
        background: #14542e;
        opacity: 0;
        transition: 0.5s;
    }

    .work-thumb .work-info:hover::after {
        opacity: 0.9;
    }

    .work-thumb .work-info h3,
    .work-thumb .work-info small {
        transform: translateY(100%);
        opacity: 0;
        display: block;
        transition: 0.5s 0.2s;
        color: #ffffff;
        z-index: 2;
        position: relative;
    }

    .work-thumb .work-info small {
        color: #d9d9d9;
        text-transform: uppercase;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1px;
        margin-top: 3px;
    }

.work-thumb:hover .work-info h3,
.work-thumb:hover .work-info small {
    transform: translateY(0px);
    opacity: 1;
}



/*---------------------------------------
      BLOG             
  -----------------------------------------*/

#blog {
    background: #ffffff;
}

#blog-header,
#blog-detail {
    text-align: left;
}

#blog-header {
    background: url('../images/blog-header-bg.jpg') no-repeat center center;
    background-size: cover;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 65vh;
    color: #ffffff;
    position: relative;
    padding-top: 12em;
}

    #blog-header h2 {
        color: #ffffff;
    }

.blog-thumb {
    background: #ffffff;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    text-align: left;
    margin-bottom: 30px;
    height: 350px;
}

.media.blog-thumb .media-left {
    width: 45%;
}

.blog-thumb small {
    color: #14542e;
    font-weight: 500;
    display: block;
}

    .blog-thumb small .fa {
        margin-right: 5px;
    }

.blog-thumb h4 {
    margin-top: 2px;
    margin-bottom: 0px;
}

#blog-detail h2 {
    padding: 25px 0 10px 0;
}

.blog-info {
    padding: 75px 25px;
}

    .blog-info h3 {
        margin: 0;
        padding: 8px 0 6px 0;
        text-transform: capitalize;
    }

    .blog-info .section-btn {
        background: #f0f0f0;
        color: #393939;
        margin-top: 20px;
    }

        .blog-info .section-btn:hover {
            background: #00F260; /* fallback for old browsers */
            background: -webkit-linear-gradient(to right, #0575E6, #00F260); /* Chrome 10-25, Safari 5.1-6 */
            background: linear-gradient(to right, #0575E6, #00F260); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
            color: #ffffff;
        }

.blog-thumb ul {
    margin: 32px 12px 22px 0px;
}

    .blog-thumb ul li {
        list-style: square;
        font-weight: normal;
        padding: 4px 12px 4px 0px;
    }

.blog-social-share {
    text-align: center;
    padding-top: 22px;
}

    .blog-social-share .btn {
        border-radius: 100px;
        border: none;
        font-size: 10px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin: 20px 6px;
        padding: 10px 16px;
    }

    .blog-social-share .btn-primary {
        background: #3b5998;
    }

    .blog-social-share .btn-success {
        background: #1da1f2;
    }

    .blog-social-share .btn-danger {
        background: #dd4b39;
    }

    .blog-social-share a .fa {
        padding-right: 4px;
    }

.blog-ads {
    background: #f9f9f9;
    border-right: 4px solid #2b2b2b;
    padding: 42px;
    text-align: center;
    margin: 26px 0 26px 0;
}

    .blog-ads h4 {
        font-size: 18px;
    }



/*---------------------------------------
      CONTACTS             
  -----------------------------------------*/

#contact {
    background: #FFFFFF; /* fallback for old browsers */
    
}

    #contact .section-title h2 {
        color: #559d78;
    }

.google-map {
    border-radius: 8px;
    width: 300px;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
}

    .google-map iframe {
        border: 0;
        width: 300px;
        height: 300px;
    }

#contact .form-control {
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 15px;
    padding-left: 8px;
}
#contact .border {
    border: 1px solid;
    border-color: #559d78
}

#contact input,
#contact select {
    height: 55px;
}

#contact select {
    color: rgba(20,20,20,0.5);
}

#contact input[type='submit'] {
    background: #559d78;
    border-radius: 100px;
    color: #ffffff;
    font-weight: 500;
}



/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

footer {
    background: #559d78; /* fallback for old browsers */
    text-align: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
}

    footer h2 {
        color: #ffffff;
    }

.footer-link {
    margin: 0;
    padding: 0;
}

    .footer-link li {
        display: block;
        list-style: none;
        margin: 5px 10px 5px 0;

    }

        footer p,
        footer span,
        .footer-link li a {
            color: #d9d9d9;
        }

.copyright-text p,
.footer-bottom .phone-contact p {
    font-size: 14px;
}

.footer-info p {
    
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    
    padding-top: 3em;
}

    .footer-bottom .phone-contact,
    .footer-bottom .social-icon {
        display: inline-block;
        vertical-align: top;
    }

    .footer-bottom .phone-contact {
        margin-right: 40px;
    }

        .footer-bottom .phone-contact span {
            font-weight: 500;
            display: inline-block;
            margin-left: 10px;
        }


/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
}

    .social-icon li {
        display: inline-block;
        list-style: none;
    }

        .social-icon li a {
            border-radius: 100px;
            color: #d9d9d9;
            font-size: 15px;
            text-decoration: none;
            position: relative;
            margin: 5px 10px;
        }

            .social-icon li a:hover {
                color: #14542e;
            }


/*---------------------------------------
      MODAL FORM             
  -----------------------------------------*/

@media (min-width: 992px) {
    .modal-dialog {
        width: 420px;
    }
}

.modal-open .modal {
    padding-left: 0 !important;
}

.modal-dialog .modal-content {
     /* fallback for old browsers */
    background: #FFFFFF; /* Chrome 10-25, Safari 5.1-6 */
     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border: none;
    border-radius: 2px;
    text-align: center;
    position: relative;
    padding: 2em;
}

.modal-header, .modal-footer {
    border-bottom: 0;
    padding: 0;
}

.modal-dialog .modal-body {
    padding: 0;
}

    .modal-dialog .modal-body a {
        color: #d9d9d9;
    }

.modal .close {
    color: #999;
    font-size: 40px;
    font-weight: 300;
    text-shadow: none;
    opacity: 1;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    outline: none;
}

.modal-dialog .modal-title {
    margin-bottom: 20px;
}

    .modal-dialog .modal-title h2 {
        color: #559d78;
    }

.modal-dialog .nav-tabs {
    display: inline-block;
}

    .modal-dialog .nav-tabs > li > a {
        border: 0;
        color: #999999;
        margin-right: 0;
    }

    .modal-dialog .nav-tabs > li.active > a,
    .modal-dialog .nav-tabs > li.active > a:hover,
    .modal-dialog .nav-tabs > li.active > a:focus,
    .modal-dialog .nav > li > a:focus,
    .modal-dialog .nav > li > a:hover {
        color: #559d78;
        background-color: transparent;
        border: none;
        border-bottom: 1px solid #14542e;
    }

.modal-dialog .tab-content {
    padding-top: 20px;
}

.modal-dialog form .form-control {
    border-radius: 5px;
    border: 1px solid #559d78;
    background: transparent;
    box-shadow: none;
    margin: 15px 0 15px 0;
    height: 50px;
}

    .modal-dialog form .form-control:hover,
    .modal-dialog form .form-control:focus {
        border-color: #000000;
    }

.modal-dialog form input[type="submit"] {
    background: #559d78;
    border-color: transparent;
    border-radius: 100px;
    color: #ffffff;
    margin-top: 20px;
}


/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

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

    .custom-navbar .navbar-nav.navbar-nav-first {
        margin-left: inherit;
    }
}

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

    h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 13px;
    }

    #home {
        text-align: center;
    }

    .home-info {
        margin-bottom: 3em;
    }

    .custom-navbar .nav li a {
        font-size: 13px;
        padding-right: 11px;
        padding-left: 11px;
    }

    .custom-navbar .section-btn {
        margin-left: 1em;
       
    }


    .blog-thumb {
        height: inherit;
    }

    .blog-info {
        padding: 45px 25px;
    }

    .media.blog-thumb .media-left {
        display: block;
        width: 100%;
        padding-right: 0;
        overflow: hidden;
    }

    .media.blog-thumb .media-left {
        height: 250px;
    }

        .media.blog-thumb .media-left img {
            position: relative;
            bottom: 10em;
        }

    #work .work-thumb,
    .footer-thumb {
        margin-top: 20px;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 640px) and (max-width: 767px) {

    #blog-header {
        height: 100vh;
    }

    .media.blog-thumb .media-left {
        height: 550px;
    }

        .media.blog-thumb .media-left img {
            position: relative;
            bottom: 10em;
        }
}

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

    .custom-navbar {
        background: #ffffff;
        -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

        .custom-navbar .nav li a {
            line-height: normal;
            padding: 8px 16px;
            margin: 5px 0;
            display: inline-block;
        }

        .custom-navbar .navbar-brand,
        .top-nav-collapse .navbar-brand {
            color: #252525;
            font-weight: 600;
        }

        .custom-navbar .nav li a,
        .top-nav-collapse .nav li a {
            color: #2f363f;
        }

        .custom-navbar .nav li a:hover,
        .top-nav-collapse .nav li a:hover {
            background: #559d78;
            color: #ffffff;
        }

        .custom-navbar .navbar-nav.navbar-right li {
            display: inline-block;
        }

        .custom-navbar .section-btn {
            display: block !important;
            width: 50%;
            margin: 10px auto 10px auto;
            padding: 10px;
        }

            .custom-navbar .section-btn a {
                color: #ffffff !important;
            }

    .home-info span {
        margin-top: 20px;
    }

    #about .about-info:first-child {
        margin-right: 0;
    }

    .about-info {
        margin: 40px 0 40px 0;
    }

    .google-map {
        margin-top: 50px;
    }

    footer {
        text-align: center;
    }

    .footer-info p,
    .footer-bottom .phone-contact {
        margin-right: 0;
    }
}

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

    h1 {
        font-size: 2em;
    }

    .media.blog-thumb .media-left {
        height: 320px;
    }

        .media.blog-thumb .media-left img {
            position: relative;
            bottom: 6em;
        }
}











table {
    width: 100%;
    border-collapse: collapse;
}

td, th {
    text-align: left;
    padding: 8px;
    
}

    th:last-child {
        text-align: right;
    }

    td:last-child {
        text-align: right;
    }













/*@media (max-width: 767px) {
    .navbar-brand {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 50px;
    }

    .navbar-toggle {
        float: none;
        margin-top: 15px;
    }
}*/


.logo {
    height: 100px;
    width: auto;
}


@media (max-width: 768px) {
/*    .navbar-header {
        float: center;
    }*/

/*    .navbar-brand {
        float: none !important;
    }*/
    
/*    .navbar-toggle {
        float: right;
    }*/

    .logo {
        float: left;
        margin-left: 30px;
        height: 80px;
        width: auto;
    }
}












/*$main-green: #79dd09 !default;
$main-green-rgb-015: rgba(121, 221, 9, 0.1) !default;
$main-yellow: #bdbb49 !default;
$main-yellow-rgb-015: rgba(189, 187, 73, 0.1) !default;
$main-red: #bd150b !default;
$main-red-rgb-015: rgba(189, 21, 11, 0.1) !default;
$main-blue: #0076bd !default;
$main-blue-rgb-015: rgba(0, 118, 189, 0.1) !default;*/
/* This pen */
/*body {
    font-family: "Baloo 2", cursive;
    font-size: 16px;
    color: #ffffff;
    text-rendering: optimizeLegibility;
    font-weight: initial;
}
*/
.dark {
    background: #110f16;
}


.light {
    background: #f3f5f7;
}

a, a:hover {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#pageHeaderTitle {
    margin: 2rem 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
}

/* Cards */
.postcard {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
}

&.light {
    background-color: #559d78;
}

.t-dark {
    color: #ffffff;
}

a {
    color: inherit;
}

h1, .h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.small {
    font-size: 80%;
}

.postcard__title {
    font-size: 1.75rem;
}

.postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.postcard__img_link {
    display: contents;

}

.postcard__bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
}

.postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
}

.postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;
    .tag__item

{
    display: inline-block;
    background: rgba(83, 83, 83, 0.4);
    border-radius: 3px;
    padding: 2.5px 10px;
    margin: 0 5px 5px 0;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
    &:hover

{
    background: rgba(83, 83, 83, 0.8);
}

}
}





}

@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;
        .postcard__title

{
    font-size: 2rem;
}

.postcard__tagbox {
    justify-content: start;
}

.postcard__img {
    max-width: 300px;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.postcard__text {
    padding: 3rem;
    width: 100%;

}

.media.postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    background: #18151f;
    top: -20%;
    height: 130%;
    width: 55px;
}

&:hover .postcard__img {
    transform: scale(1.1);
}

&:nth-child(2n+1) {
    flex-direction: row;
}

&:nth-child(2n+0) {
    flex-direction: row-reverse;
}

&:nth-child(2n+1) .postcard__text::before {
    left: -12px !important;
    transform: rotate(4deg);
}

&:nth-child(2n+0) .postcard__text::before {
    right: -12px !important;
    transform: rotate(-4deg);
}

}
}

@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 3.5rem;
    }

        .postcard__text:before {
            content: "";
            position: absolute;
            display: block;
            top: -20%;
            height: 130%;
            width: 55px;
        }

    .postcard.dark {
        .postcard__text:before

{
    background: #18151f;
}

}

.postcard.light {
    .postcard__text:before

{
    background: #e1e5ea;
}

}
}


.img-rounded {
  border-radius: 10px;
}



.elegant-okvir {
    border: 2px solid; /* Debljina i boja okvira */
    border-radius: 4px; /* Zaobljenost uglova okvira */
    padding: 10px; /* Opcionalno: dodavanje prostora unutar okvira */
    border-color: #559d78;
    background: #f0f0f0;
}

.okvir-donji {
    border-bottom: 2px solid; /* Debljina i boja okvira */
    border-radius: 4px; /* Zaobljenost uglova okvira */
    padding: 10px; /* Opcionalno: dodavanje prostora unutar okvira */
    border-color: #559d78;
}

.element {
    /*margin-right: 10px;*/ /* Prostor s desne strane elementa */
    margin-top: 70px;
/*    margin-right: 0.25rem;*/
}

.element:last-child {
        margin-right: 0; /* Uklanjanje prostora s desne strane posljednjeg elementa */
}



.slika-kartice {
    width: 100%; /* Postavljanje širine slike na 100% u odnosu na roditeljski element */
    object-fit: cover;
    height: 100%;
    height: 350px
}

.stilizovani-naslov {
    color: #559d78; /* Boja teksta */
    font-size: 18px; /* Veličina fonta */
    /*font-weight: bold;*/ /* Debljina fonta */
    text-decoration: underline; /* Podvlačenje teksta */
    /* Ostali stilovi po želji */
}




.box img {
    width: 90%;
    height: 90%;
}

.box1 img {
    object-fit: cover;
}




/* Prilagođavanje teksta na manjim ekranima */
@media (max-width: 768px) {
    .novi-red-tekst {
        overflow-wrap: break-word; /* Sve riječi će se prelomiti u novi red ako ne stanu u širinu */
        word-wrap: break-word;
    }
}


/*#obavestenja-header,
#obavestenja-detail {
    text-align: left;
}

#obavestenja-header {
    background: url('../images/blog-header-bg.jpg') no-repeat center center;
    background-size: cover;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 65vh;
    color: #ffffff;
    position: relative;
    padding-top: 12em;
}
*/
    #obavestenja-header h2 {
        color: #ffffff;
    }



.naslov-obavestenje {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: #559d78;
}


.card1 {
    height: 780px; /* Možete prilagoditi visinu prema svojim potrebama */
}

@media (max-width: 767.98px) {
    .card1 {
        /* Stalna visina za mobilnu verziju */
        height: 650px;
    }


    .novi-red-tekst {
        max-width: 100%; /* Ograničava širinu elementa na najviše 100% širine roditeljskog elementa */
        word-wrap: break-word; /* Prekida riječi koje prelaze raspoloživi prostor */
    }

    @media (max-width: 767.98px) {
        .novi-red-tekst {
            display: block;
            padding-left: 15px;
            padding-right: 15px;
            margin-left: auto;
            margin-right: auto;
        }
    }




    .container-mobile {
        /*display: none;*/ /* Skriva container na širim viewportima */
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        word-wrap: break-word;
    }

    @media (max-width: 767.98px) {
        .container-mobile {
            display: block; /* Prikazuje container samo na mobilnim viewportima */
        }
    }

    .nav-centered {
        /*        display: flex;*/
        justify-content: center;
        align-items: center;
    }




    @media only screen and (min-width: 768px) {
        .levaStranaTekstDesktop {
            text-align: left;
        }
    }




    footerText {
        color: #252525;
        font-weight: normal;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        text-decoration: none !important;
    }

        footerText:hover, footerText:active, footerText:focus {
            color: #14542e;
            outline: none;
        }

/* Fix navbar text visibility on contact/form pages */
#contact .custom-navbar .nav li a {
    color: #575757 !important;
}