/* Tabbed box */
.tabbed-box {
    display: flex;
    align-items: center;
    height: 100%;;
}

.tabbed-box-inner {
    background-color: #f6f6f6;
    width: 100%;
    max-width: 675px;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}

.tabbed-box img.logo {
    max-width: 270px;
    margin-top: 35px;
    margin-bottom: 15px;
    height: auto;
}

.tabbed-box-inner .tabbed-box-title {
    color: #252525;
    font-size: 19px;
    font-weight: 500;
    padding: 0 20px;
    margin-bottom: 1.8em;
}

.tabbed-box .tabs {
    margin-bottom: 0;
}

.tabbed-box .tab {
    width: 33.3%;
    float: left;
    padding: 0;
}


.tabbed-box .tab:nth-of-type(3) {
    width: 33.4%;
}

.tabbed-box .tab a:link, .tabbed-box .tab .icon {
    color: #7f7f7f;
    font-weight: 700;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.tabbed-box .tab a:link {
    font-size: 23px;
    width: 100%;
    padding: 30px 40px;
    text-align: center;
    display: inline-block;
}

.tabbed-box .tab a:visited {
    color: #7f7f7f;
}

.tabbed-box .tab a:hover {
    color: #fff;
    background-color: #de4d0d;
}

.tabbed-box .tab .icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
    line-height: 1em;
}

.tabbed-box .tab a:hover .icon {
    color: #fff;
}

.tabbed-box .tab-text {
    font-weight: 600;
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
    section.swiper_wrapper:not(.force-full-screen), 
    section.swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide {
        height: 450px !important;
    }
}

@media only screen and (max-width: 479px) {    
    section.swiper_wrapper:not(.force-full-screen), 
    section.swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide, .ei-slider {
        height: 500px !important;
    }

    .tabbed-box .tab {
        width: 100%;
        float: none;
    }

    .tabbed-box .tab a:link {
        padding: 10px 0 15px;
    }

    .tabbed-box .tab .icon {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 10px;
        font-size: 30px;
    }
}

/* Predstavljanje */
.publications-grid {
    display: flex;
}
.publications-grid > div {
    flex: 1;
}

.publications-grid div.card {
    background-color: transparent;
    box-shadow: none;
    overflow: visible;
}

.publications-grid .card .card-top {
    display: inline-block;
    text-align: left;
    padding: 10px 16px;
    background-color: #fff;
}

.publications-grid .card .card-main {
    display: flex;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(97, 108, 121, 0.1), 0 7px 18px 0 rgba(97, 108, 121, 0.13);
    border-radius: 6px;
    overflow: hidden;
}

.publications-grid .card .card-image {
    padding: 0;
}

.publications-grid .card .card-image-inner {
    height: 100%;
    /*
    background-position: center;
    background-size: cover;
    */
    background-image: none !important;
    background-color: #c3c9c9;
    overflow: hidden;
    position: relative;
}

.publications-grid .card-image img {
    height: 100%;
    max-height: 250px;
    padding-top: 8px;
    padding-bottom: 8px;
    position : absolute;
    left: 50%;
    top: 50%;
    max-height: 250px;
    max-width: unset;
    padding-top: 16px;
    padding-bottom: 16px;
    width: auto !important;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: all .2s ease-in-out;
}

.publications-grid .card .card-info {
    flex: 1;
    padding: 0;
}

.publications-grid .card-title h2 {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 0;
    padding: 18px 16px;
    border-bottom: 1px solid #ddd;
    height: 55px;
    font-size: 20px;
    line-height: 1em;
}

.publications-grid .card-links {
    padding: 8px 16px;
}

.publications-grid .card-links-top {
    border-bottom: 1px solid #ddd;
}

.publications-grid .card-links-bottom {
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    min-height: 52px;
    display: block;
}

.publications-grid .card-links a:link {
    color: #555;
    font-weight: bold;
}

.publications-grid .card-links-top a:link,
.publications-grid .card-links-bottom a:link{
    display: block;
}

.publications-grid .card-buttons {
    height: 52px;
}

.publications-grid .card-buttons a.btn:link {
    width: 46%;
    margin: 0 2%;
    padding: 5px 10px;
    float: left;
    text-align: left;
    padding-left: 30px;
    text-transform: uppercase;
}

.publications-grid .card .card-actions {
    padding: 8px 16px;
}

@media only screen and (max-width: 991px) {
    .publications-grid .card .card-main {
        display: block;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .publications-grid .card .card-image {
        height: 300px;
    }
}

@media only screen and (max-width: 767px) {
    .publications-grid .card .card-image {
        height: 350px;
    }

    .publications-grid .card .actions {
        padding-top: 12px;
    }

    .publications-grid .card .actions i {
        left: 8px !important;
    }

    .publications-grid > div {
        width: 100%;
    }
}