
/* ----------------------------------- */
.poolcover-modellist {

}

/* ----------------------------------- */
.poolcover-modelgrid {
}

/* ----------------------------------- */
.poolcover_modelgrid > .pool-card.grid {
    width: 50%;
    min-width: 50%;
    max-width: 50%;
    height: fit-content;
}
@media (max-width: 768px) {
    .poolcover_modelgrid > .pool-card.grid {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.pool-subtype-card {
    transition: all 0.3s ease-in-out;
    border-radius: 0px;
    /*border: 1px solid transparent;*/
    padding: 32px;
    height: 32px;
    padding: 8px;
}

/**
 * Pool card
 */
/* ----------------------------------- */
.pool-card {
    transition: all 0.3s ease-in-out;
    border-radius: 0px;
    /*border: 1px solid transparent;*/
    padding: 32px;
    /*margin: 20px;*/
    height: calc(30vw);
}
.pool-card.small {
    height: 96px;
    padding: 8px;
}


.pool-card:hover {
    /*border: 1px solid rgba(38, 60, 132, 0.15);*/
    border-radius: 0px;
    /*padding: 16px;
    margin: 4px;*/
    cursor: pointer;
    /*transform: scale(1.02);*/
    /*box-shadow: 0px 24px 24px rgba(0, 0, 0, 0.08);*/
    z-index: 85;
}

/* ----------------------------------- */
.pool-card.listitem {
    max-height: 200px;
    height:200px;
}
.pool-card.small.listitem {
    height: 96px;
    max-height: 128px;
}

/* ----------------------------------- */
.pool-card.grid {
    /*background: rgba(255,255,255,0.8);*/
    border-radius: 0px;
    width:100%;
    max-width: 300px;
    min-width: 200px;
}

.pool-card.grid.small {
    border-radius: 0px;
    width:100%;
    max-width: 240px;
    min-width: 120px;
}


@media (max-width: 576px) {
    .pool-card.grid {
        width: 100%;
        max-width: 100%;
    }
    .pool-card .card-img-r {
        position:relative;
        height:160px;
        max-height: 160px;
    }
}
@media (min-width: 576px) {
    .pool-card.grid {
        max-width: 400px;
        width: 50%;
        min-width: 200px;
    }
}
@media (min-width: 768px) {
    .pool-card.grid {
        max-width: 400px;
        width: 33%;
        min-width: 200px;
    }
}
@media (min-width: 992px) {
    .pool-card.grid {
        max-width: 400px;
        width: 25%;
        min-width: 200px;
    }
}
@media (min-width: 1200px) {
    .pool-card.grid {
        max-width: 400px;
        width: 25%;
        min-width: 200px;
    }
}

/* ----------------------------------- */
.pool-card.grid > a {
    display: flex;
    flex-flow: column;
    height: fit-content;
}

/* ----------------------------------- */
.pool-card.grid > a > .img {
    height: fit-content;
    position: relative;
}

.pool-card .card-img-r {
    position:relative;
    height:200px;
}

/* ----------------------------------- */
.pool-card .pool-cover-img {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.pool-card.small .pool-cover-img {
    width: 140px;
    position: relative;
    opacity: 1;
    margin-right: 0px;
}

@media (hover: hover) and (pointer: fine) {
    .pool-card:hover .pool-cover-img {
        opacity: 1;
    }
}

/* ----------------------------------- */
.pool-card .pool-cover-img > img {
    border-radius: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(.05, .69, .14, 1);
    transform: scale(1.2);
}

.pool-card.small .pool-cover-img > img {
    border-radius: 0px;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 80px;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(.05, .69, .14, 1);
    transform: scale(1.2);
}

.pool-card.small.default .pool-cover-img > img {
    transition: all 0.8s cubic-bezier(.05, .69, .14, 1);
    transform: translateX(0%);
}

@media (hover: hover) and (pointer: fine) {
    .pool-card.small.default .pool-cover-img > img {
        opacity: 0;
        transform: scale(1.0);
        transform: translateX(-100%);
    }

    .pool-card.small.default:hover .pool-cover-img > img {
        transform: translateX(0%);
        opacity: 0.6;
    }

}

/* ----------------------------------- */
.pool-card .pool-line-drawing {
    transition: all 0.3s ease-in-out;
    background-color: rgba(220, 220, 220, 1);
    /*height:100%;*/
    border-radius: 0px;
    padding: 0px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .pool-card:hover .pool-line-drawing {
        background-color: white;
    }
}

/* ----------------------------------- */
.pool-card .pool-line-drawing > img {
    width: 100%;
    height:100%;
    object-fit: contain;
}
.pool-card .pool-line-drawing > img {
    border-radius: 0px;
    transition: all 0.3s ease-in-out;
    transform: scale(1.0);
}
@media (hover: hover) and (pointer: fine) {
    .pool-card:hover .pool-line-drawing.hidehover > img {
        transform: scale(0.8);
        opacity: 0;
    }
}

/**
Slick view - 100% width
 */
.model-slick-item > .pool-card.grid {
    width:100%;
    max-width: 100%;
}


/* ----------------------------------- */
.pool-card .title {
    font-weight: 500;
    font-size: var(--font-size-xd-22);
    font-weight: 500;
    line-height: 1;
    color: black;
    text-align: left;
    flex-grow: 1;
}

.pool-card .sub-position {
    font-weight: 500;
    font-size: var(--font-size-xd-22);
    font-weight: 500;
    line-height: 1;
    color: #DE3564;
    text-align: left;
    flex-grow: 1;
}


/* ----------------------------------- */
.pool-card .description {
    text-align: right;
    font-size: var(--font-size-xd-14);
    line-height: 1;
    color: black;
    flex-grow: 1;
}

.pool-card.small .description {
    display: none;
}


.poolcover-card .description {
    margin-top: 12px;
    text-align: left;
}

@media (hover: hover) and (pointer: fine) {
    .pool-card .description:hover {
        background: #efefef;
    }
}

.szor {
    color: #7f7f7f;
    padding-left: 8px;
    padding-right: 8px;
    font-weight: 200;
}

/* ----------------------------------- */
.pool-card .tags {
    font-weight: 300;
    font-size: calc(1.025vw);
    line-height: 1;
    color: black;
    display: flex;
    flex-flow: row wrap;
}

.pool-card.small .tags {
    display: none;
}


.poolcover-card .aqc-row {
    flex-grow: 1;
}

.poolcover-card .tags {
    flex-flow: row wrap;
    flex-grow: 1;
    text-align: right;
    justify-content: flex-end;
}

.pool-card .tags > span {
    color: black;
    font-weight: 300;
    padding:4px;
}

.pool-card .tags > span:hover {
    background: #efefef;
}

/* tag link */

.pool-card .li-tag-link-label {
    position:relative;
    font-style: normal;
    font-weight: 300;
    font-size: var(--font-size-xd-14);
    line-height: 1;
    color: black;
    width: fit-content;
    padding: 0px;
    padding-top: 2px;
    padding-bottom: calc(0.42vh);
    padding-right:8px;
    border-radius: 100px;
    margin-left: -8px;
    padding-left: 8px;
    margin-right: 12px;
    transition: all 0.8s cubic-bezier(.05, .69, .14, 1);
    cursor: pointer;
}

.pool-card .li-tag-link-label.selected {
    color: rgb(222, 53, 100);
    background-color: rgba(222, 53, 100, 0.08);
}

.pool-card .li-tag-link-label:hover {
    color: black;
    background-color: rgba(40, 40, 40, 0.053);
}

/* ----------------------------------- */
.pool-card .card-body {
    padding-left: 0px;
    padding-right: 0px;
    flex: 0 1 auto;
}

.card-body {
    padding-top:1rem;
    padding-bottom:0.2rem;
}

/* ----------------------------------- */
.pool-tag {
    margin-right:8px;
    margin-bottom:4px;
    border-radius: 1.6rem;
    line-height: 1.6rem;
    color: white;
    background-color: #DE3564;
    padding:4px;
    padding-left:16px;
    padding-right: 16px;
}
