/*** New Blog Posts */
.blog_posts_eradionica {
    color: #211f1c !important;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.blog_posts_eradionica > div {
    margin: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.blog_posts_eradionica > div:hover {
    -webkit-box-shadow: 4px 11px 43px -9px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 11px 43px -9px rgba(0,0,0,0.75);
    box-shadow: 4px 11px 43px -9px rgba(0,0,0,0.75);
}

.content {
    margin: 0 40px 40px 40px;
}

.saznajte_vise  {
    margin: 0 auto 40px 40px;
}

.content h3 {
    height: 100px;
    font-size: 24px;
    font-family: 'Montserrat',sans-serif;

}

.content > div {
    font-family: 'Montserrat',sans-serif;
    height: 5rem;
    margin-bottom: 2rem;
}

.date {
    color: #e65234;
}

.featured_img_container > a {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.featured_image {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
}



@media (max-width: 1024) {
    .blog_posts_eradionica > div {
        margin: 5px;
    }
}

@media (max-width: 1003px) {
    .blog_posts_eradionica > div {
        margin: 15px;
        flex: 0 0 45%;
    }
}

@media (max-width: 703px) {
    .blog_posts_eradionica > div {
        flex: 0 0 95%;
    }
}

/*** Gallery */
body {
    box-sizing: border-box;
    margin: 0;
}

.gallery_radovi {
    display: flex;
    padding: 0 4px;
}

.column img {
    vertical-align: middle;
    width: 100%;
}

@media screen and (max-width: 800px) {
    .column {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media screen and (max-width: 600px) {
    .column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/*** Services Cards widget */
.services-card_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.services-card_content {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-card {
    border: 1px solid rgb(234, 234, 234);
    background: #ffffff;
    transition: all .2s ease-in-out;
}

.services-card:hover {
    box-shadow: -1px 0px 14px -1px rgba(120,114,120,1);
}

.services-card_top {
    display: flex;
    flex-direction: row;
    margin: 40px 40px 40px 30px;
}

.services-card_top_img {
    width: 40%;
    padding: 5%;
    display: flex;
    align-items: center;
}

.services-card_top_title {
    height: 100%;
    width: 60%;
    display: flex; 
    align-items: center;
}

.services-card_top_title>h4 {
    margin: 0;
    margin-left: 10px;
}

.services-card_bot {
    flex: auto;
    margin: 0 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-card_bot>a {
    width: fit-content;
}

.services-card_bot_btn {
    height: 50px;
    width: 150px;
    border-radius: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.services-card_bot>a {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.services-card_bot>a:hover {
    color: #fff;
}

.services-card_bot_btn>a:hover {
    color: #fff;
}

/*** podesava ikonice i naslov kada se prikazuju jedna ispod drugog */
.change_display_style {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    margin: 40px 0 20px 0;
}

/*** Podesavanja za prikaz u zavisnosti od broja kolona */
/*** 4 kolone */
.change_display_style>div>h4 {
    margin: 0;
    text-align: center;
}

.change_display_style .services-card_top_title {
    width: auto;
    margin: 20px 0;
}

.services-card_four_columns>h4 {
    font-size: 20px;
    margin: 0;
}

/* 4 kolone */
@media screen and (max-width: 1048px) {
    .responsive_four_cols {
        flex: 0 0 calc(33% - 20px) !important;
    }
}

@media screen and (max-width: 921px) {
    .services-card_top_title>h4 {
        font-size: 20px;
    }
}

/* 3 kolone */
@media screen and (max-width: 775px) {
    .responsive_three_cols {
        flex: 0 0 calc(50% - 20px) !important;
    }

    .services-card_top {
        margin-top: 20px;
    }
}

/* 2 kolone */
@media screen and (max-width: 570px) {
    .responsive_two_cols {
        flex: 0 0 100% !important; 
    }

    .services-card_top_title>h4 {
        font-size: 30px;
    }

    .services-card {
        height: fit-content !important;
    }

    .services-card_top {
        margin-bottom: 10px;
      }

    .services-card_bot>p {
        margin-bottom: 40px;
    }

    .services-card_top_title {
        margin: auto;
    }
}

@media screen and (max-width: 415px) {
    .services-card_top_title>h4 {
        font-size: 24px;
    }
}