/*
Theme Name: Modins Child
Theme URI: https://gaviaspreview.com/wp/modins/
Author URI: https://themeforest.net/user/gavias
Author: Gaviasthemes Team
Description: Child theme for the Modins theme.
Template: modins
*/

/* === SIDEBAR === */
.portfolio-filter-form {
    max-width: 250px;
}

.filter-button{
	background: var(--e-global-color-primary);
    color: #fff;
    font-family: var(--modins-heading-font-family);
    font-weight: 700;
    padding: 18px 32px 18px 32px;
    line-height: 22px;
    font-size: 16px;
    position: relative;
    z-index: 9;
    display: inline-block;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    border: none;
    border-radius: 8px;
}

.filter-button:hover{
	background-color:#4f693d;
}

/* === CHECKBOX STILOVI === */
.portfolio-filter-form .checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.portfolio-filter-form .checkboxes label {
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

.portfolio-filter-form .checkboxes input[type="checkbox"] {
    margin-right: 8px;
}

/* === PORTFOLIO CARD === */
.portfolio-card {
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-image-wrapper {
    position: relative;
}

.portfolio-image-wrapper img {
    width: 430px;
    display: block;
}

.portfolio-badge {
    position: absolute;
    top: 12px;
    left: -20px;
    background-color: #6BBF59;
    color: white;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    z-index: 5;
}

/* === Badge boje po kategoriji === */
.portfolio-badge.badge-edukatori {
    background-color: #87ba6e;
}

.portfolio-badge.badge-javne-ustanove {
    background-color: #4f693d;
}

.portfolio-badge.badge-turizam {
    background-color: #3D8F14;
}


.portfolio-bottom {
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
    position: relative;
}

.portfolio-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 65%;
    width: 2px;
    background: linear-gradient(to bottom right, transparent 49.5%, #ccc 50.5%);
    transform: skewX(-20deg);
    z-index: 1;
}

.portfolio-content {
    padding: 16px;
    width: 65%;
    position: relative;
    z-index: 2;
}

.portfolio-icon {
    width: 35%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.portfolio-title a {
    color: inherit;
    text-decoration: none;
}

.portfolio-excerpt {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.portfolio-icon i {
    font-size: 24px;
    color: #007bff;
}

.portfolio-card-bottom{
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.07);
    border-radius: 0 10px 10px 10px;
    position: relative;
    z-index: 9;
    margin-top: -40px;
    margin-right: 30px;
    background: #fff;
	padding:30px;
	display:flex;
	flex-direction:row;
	gap:20px;
	min-height: 145px;
    align-items: center;
}

.portfolio-arrow{
    height: 100%;
    background: var(--e-global-color-secondary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    font-size: 14px;
    transition: all 0.5s;
    border-radius: 0 10px 10px 0;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0% 100%);
    padding-left: 25px;
}


.portfolio-arrow.arrow-edukatori {
    background-color: #87ba6e;
}

.portfolio-arrow.arrow-javne-ustanove {
    background-color: #4f693d;
}

.portfolio-arrow.arrow-turizam {
    background-color: #3D8F14;
}

.pld-common-wrap {
    display: flex;
/*     flex-direction: column; */
}

a.pld-like-trigger{
	font-size:35px;
}

.pld-like-dislike-wrap .pld-common-wrap {
/* 	margin-right:0px; */
	display: flex;
    gap: 5px;
	flex-direction:column;
	justify-content:center;
	align-items:center;
}

.pld-like-dislike-wrap {
    margin-bottom:0px !important;
}

.portfolio-info{
	max-width:80%;
}

.pld-count-wrap {
/*     margin-left: 0px !important;  */
}