/* CSS Document */
/**************/
.block.portfolio_link_holder > .inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: var(--inner-padding);
}
.block.portfolio_link_holder_3col > .inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: var(--inner-padding);
}
.portfolio_link {
    position: relative;
    float: left;
    width: 100%;
}
.portfolio_link .inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: var(--block-padding);
}
.portfolio_link .inner .img {
    width: 100%;
	grid-column-end: span 2;
}
.portfolio_link .inner .img img {
	display: block;
	width: 100%;
	height: auto;
}
.portfolio_link .inner .text-wrapper {
    width: 100%;
    height: 100%;
}
.portfolio_link .inner .text-wrapper .text {
}
.portfolio_link .inner .text-wrapper .text strong {
	text-transform: uppercase;
}
.portfolio_link .inner .text-wrapper .text h3 {
    font-size: 55px;
    line-height: 61px;
}
/****************/
.portfolio_holder {
    width: 100%;
    padding: 0;
}
.portfolio_item {
    position: relative;
    float: left;
    width: 33.3333%;
}
.portfolio_item .inner {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #252525;
}
.portfolio_item .inner .img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-color: #252525;
    z-index: 3;
}
.portfolio_item .inner .text-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: var(--block-padding);
    text-align: center;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background-color: rgba(0, 0, 0, 1);
    text-shadow: 0 0 4px #000000;
    transition: 0.3s all ease-out;
}
.portfolio_item .inner .text a {
    color: var(--white);
}
.portfolio_item .inner .text h3 {
    width: 100%;
}
/****************/
#portfoliofilter {
    width: 100%;
    text-align: center;
}
#portfoliofilter span {
    display: inline-block;
    padding: 8px 24px;
    margin: 0 6px 6px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    background-color: var(--grey);
    color: var(--white);
    cursor: pointer;
    white-space: nowrap;
}
#portfoliofilter span.selected {
    background-color: var(--color1);
}
/****************/
#portfolio_list_holder {
}
#portfolio_list_holder .portfolio_item {
    padding: 0 var(--block-padding) var(--block-padding) 0;
    display: none;
}
#portfolio_list_holder .portfolio_item.hidden {
    display: block;
    animation: zoomOutScale .7s;
}
#portfolio_list_holder .portfolio_item.visible {
    display: block;
    animation: zoomInScale .7s;
    animation-fill-mode: forwards;
}
#portfolio_list_holder .portfolio_item .inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

@keyframes zoomInScale {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes zoomOutScale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}
/****************/
.PFDHeader {
    width: 100%;
    height: 500px;
    margin-bottom: var(--block-padding);
}
.PFD_head, .PFD_copy, .PFD_np {}
.PFDHeader .PFDimg {
    position: relative;
    width: 100%;
    height: 100%;
    background: center center no-repeat;
    background-size: cover;
}
.PFD-img-nav {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.PFD_Prev, .PFD_Next {
    position: absolute;
    top: calc(240px - 15px);
    font-size: 30px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #B7B7B7;
    z-index: 3000;
}
.PFD_Prev, .PFD_Next, .PFD_paging {
    display: none;
}
.PFD_Prev {
    left: 30px;
}
.PFD_Next {
    right: 30px;
}
.PFD_paging {
    position: absolute;
    width: 100%;
    top: 450px;
    z-index: 2000;
    text-align: center;
}
.PFD_paging span {
    display: inline-block;
    margin: 0 0 0 4px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(255, 255, 255, 0);
    cursor: pointer;
}
.PFD_paging span.cycle-pager-active {
    color: var(--color2);
    background: var(--color2);
}
.PFD_copy .importInfo {
    width: 100%;
    padding: 20px;
    background-color: #f4edf5;
}
.PFD_np {
    text-align: right;
}
.PFnav {
    display: inline-block;
    width: 100px;
    background-color: #e5e3e4;
    margin-right: 8px;
    padding: 8px;
    color: #2b2b2d;
    text-align: center;
    text-decoration: none !important;
}
.PFnav.blank {
    display: none;
}
.PFnav.prev {
    background: #e5e3e4 url(../images/PF-prev.png) 10px center no-repeat;
}
.PFnav.next {
    background: #e5e3e4 url(../images/PF-next.png) 151px center no-repeat;
}
.PFnav:last-child {
    margin-right: 0;
}
/**************/