/* If blocks are ported to any site outside of this theme, you may need to copy some styling from style.css -- like column and flex settings */

.dpz-column-bottons {
    display:flex ! important;
    flex-direction:column;
}
.dpz-row-buttons {
    display:flex ! important;
    flex-direction:row;
}

/*******************************/
/* ANIMATIONS / TRANSITIONS    */
/*******************************/

.dpz-parallax-background:before {
    background-attachment:fixed;
}
.dpz-fade-in {
    opacity: 1;
    animation-name: dpzFadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 1s;
}
@keyframes dpzFadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.dpz-zoom-background:before {
    background-size: cover;
    background-attachment: fixed;
    background-repeat: repeat;
    background-position:center;
    -webkit-animation: dpzZoomout 12s ease-in 1;
    animation: dpzZoomout 12s ease-in 1;
    transform: scale(1); /* Start at half size */
    transition: all .5s ease-in-out;
    overflow: hidden;
    content: ""; /* Needed for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    z-index: -1; /* Place the background behind the content */
}
/* Zoom in Keyframes */
@-webkit-keyframes dpzZoomin {
  0% {transform: scale(1);}
  100% {transform: scale(1.5);}
  /*100% {transform: scale(1);}*/
}
@keyframes dpzZoomin {
  0% {transform: scale(1);}
  100% {transform: scale(1.5);}
  /*100% {transform: scale(1);}*/
} /*End of Zoom in Keyframes */

/* Zoom out Keyframes */
@-webkit-keyframes dpzZoomout {
    0% {transform: scale(1.25);}
    /*50% {transform: scale(0.67);}*/
    100% {transform: scale(1);}
}
@keyframes dpzZoomout {
    0% {transform: scale(1.25);}
    /*50% {transform: scale(0.67);}*/
    100% {transform: scale(1);}
}/*End of Zoom out Keyframes */


/*******************************/
/* DPZ COVER BLOCK             */
/*******************************/

.dpz-cover-block {
    background-repeat: no-repeat;
    background-size:cover;
    display:flex;
    position:relative; 
    overflow:hidden;
}
.dpz-cover-block:before {
    overflow: hidden;
    content: ""; /* Needed for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    z-index: -1; /* Place the background behind the content */
    background-repeat:no-repeat;
    background-size:cover;
}
.dpz-cover-content {
    width:98%;
    padding:40px 0;
    display: flex;
    flex-direction: column;    
}
.dpz-cover-block h1 {
    font-size:58px;
    margin-bottom:26px;
    margin-top:26px;
    text-transform:none;
    font-weight:200;
}
.dpz-cover-block.dpz-block-almost-full-height h1 {
    font-size:62px;
    margin-bottom:30px;
    margin-top:30px;
    text-transform:uppercase;
    font-weight:300;
}
.dpz-cover-block.dpz-block-custom-height h1 {
    margin-bottom:0;
}
.dpz-cover-block h2 {
    font-size:40px;
    margin-bottom:30px;
    margin-top:30px;
}
.dpz-cover-block h1 + h2 {
    margin-top:0;
}
.dpz-block-buttons {
    display: flex;
}
.dpz-block-buttons.dpz-flex-row {
    justify-content: center;
    gap: 80px;
}
.dpz-block-buttons.dpz-flex-row.dpz-div-align-left {
    justify-content: flex-start;
}
.dpz-block-buttons.dpz-table {
    /*display:table;*/
    display:flex;
    flex-direction:column;
}
.dpz-block-buttons a,
.dpz-block-buttons div {
    padding:16px 29px;
    font-size: var(--dpz-body-font-size-desktop);
    text-decoration:none;
    border-radius:5px;
    font-family:var(--dpz-sans-font);
    text-transform:uppercase;
    font-weight:300;
    letter-spacing:1.9px;
    cursor:pointer;
}
.ddpz-block-buttons.dpz-table a,
.dpz-block-buttons.dpz-table.dpz-div-align-center a,
.dpz-block-buttons.dpz-table div,
.dpz-block-buttons.dpz-table.dpz-div-align-center div {
    display:table;
    margin:10px auto;
}
.dpz-block-buttons.dpz-table.dpz-div-align-right a,
.dpz-block-buttons.dpz-table.dpz-div-align-right div {
    margin:10px 0 10px auto;
}
.dpz-block-buttons.dpz-table.dpz-div-align-left a,
.dpz-block-buttons.dpz-table.dpz-div-align-left div {
    margin:10px auto 10px 0;
}
.dpz-cover-additional-content,
.dpz-cover-additional-content p {
    font-size: var(--dpz-body-font-size-desktop);
    text-align:justify;
    font-weight:300;
}
.home .dpz-cover-additional-content,
.home .dpz-cover-additional-content p {
    font-size: 32px;
    text-align:center;
}

/********************************************************/
/* DPZ TWO COLUMN ROW BLOCKS (text+image and variable)  */
/********************************************************/

.dpz-tcrti-image {
    background-repeat:no-repeat;
}
.dpz-tcrti-image,
.dpz-tcrti-text,
.dpz-tcr-text {
    height:100%;
}
.dpz-tcrti-text,
.dpz-tcr-text {
    overflow-y:scroll;
    display:flex;
}
.dpz-tcrti-text.dpz-valign-middle,
.dpz-tcr-text.dpz-valign-middle {
    flex-direction:column;
}
.dpz-tcrti-content,
.dpz-tcr-content {
    display:flex;
    flex-direction:column;
    margin-left:auto;
    margin-right:auto;
    height:100%;
}
.dpz-valign-middle .dpz-tcrti-content,
.dpz-valign-middle .dpz-tcr-content {
    justify-content:center;
}
.dpz-tcrti-content p {
    text-align:justify;
}
.dpz-tcrti-text h1,
.dpz-tcrti-text h2,
.dpz-tcrti-text h3,
.dpz-tcrti-text h4,
.dpz-tcrti-text h5,
.dpz-tcrti-text h6,
.dpz-tcr-text h1,
.dpz-tcr-text h2,
.dpz-tcr-text h3,
.dpz-tcr-text h4,
.dpz-tcr-text h5,
.dpz-tcr-text h6 {
    margin-top:0.25em;
    margin-bottom:0.5em;
}
.dpz-tcrti-text p,
.dpz-tcr-text p {
    margin-top:0;
}

/*************************************************/
/* DPZ PROJECT PORTFOLIO                         */
/*************************************************/

/* carousel (flickity) style */
.carousel.dpz-project-portfolio-block .carousel-cell {
  width: 28%;
  margin-right: 10px;
  border-radius:0;
  counter-increment: carousel-cell;
}
.carousel.dpz-project-portfolio-block .carousel-cell .back-image {
    background-size:cover; 
    width:100%; 
    aspect-ratio: 14 / 9;
    background-repeat: no-repeat;
    background-position: center;
    position:absolute;
    top:0;
    left:0;
}
.carousel.dpz-project-portfolio-block .carousel-cell:before {
    display: block;
    text-align: center;
    content: counter(carousel-cell);
    width:100%; 
    aspect-ratio: 14 / 9;
    /*line-height: 300px;*/
    font-size: 80px;
    color: white;
}
/* horizontal style */
.dpz-project-portfolio-block.dpz-ppb-data-horizontal {
    display:flex;
    flex-direction:row;
    gap:0;
}
.dpz-ppb-heading-left {
    background-color:#000000;
    display:flex;
    box-shadow: 2px 2px 7px 0 rgba(0, 0, 0, 0.4);
    margin-bottom:10px;
}
.dpz-ppb-heading-left h1 {
    font-size:var(--dpz-body-font-size-desktop);
    color: #fff !important;
    font-weight: 300 !important;
    writing-mode: sideways-lr;
    text-align: center;
}
.dpz-ppb-horiz-wrapper {
    display:flex;
}
.dpz-ppb-horiz-wrapper .dpz-ppb-projects-wrapper {
    display: flex;
    flex-wrap:nowrap;
    overflow-x: scroll;
    gap:12px;
}
.dpz-ppb-horiz-wrapper .dpz-ppb-projects-wrapper a {
    width: 400px;
    height: auto;
    min-width:400px;
    position:relative;
}
.dpz-ppb-horiz-wrapper .dpz-ppb-projects-wrapper a:first-child {
    margin-left:10px;
}
.dpz-project-portfolio-block.dpz-ppb-data-horizontal .back-image,
.related_project_item .back-image,
.dpz-projects-grid .back-image {
    background-size:cover; 
    width:100%; 
    aspect-ratio: 2 / 1;
    background-repeat: no-repeat;
    background-position: center;
}
/* card style (for carousel and horizontal) */
.carousel-cell.card,
.project-cell.card:not(.project-placeholder) {
    box-shadow: 2px 2px 7px 0 rgba(0, 0, 0, 0.4);
    border: none;
    display:flex;
    flex-direction:column;
    margin-bottom:10px;
}
.dpz-ppb-data-carousel a,
.dpz-ppb-data-horizontal a,
.dpz-projects-grid a {
    text-decoration:none;
    color:#000000;
}
.dpz-ppb-data {
    height:auto;
    padding-bottom:20px;
}
.dpz-ppb-data span {
    font-weight: 200;
    font-size: 14px;
    letter-spacing: 0.6px;
    line-height: 16px;
}
.carousel-cell.card .dpz-ppb-data,
.project-cell.card .dpz-ppb-data {
    padding:0 20px 20px 20px;
    display:flex;
    flex-direction:column;
}
.dpz-ppb-data-carousel h2,
.dpz-ppb-data-horizontal h2,
.dpz-projects-grid h2 {
    font-size:24px;
    font-weight:400;
    margin-top:8px;
    margin-bottom:8px;
}
.dpz-ppb-data .dpz-size_acres,
.dpz-ppb-data .dpz-commercial_sf,
.dpz-ppb-data .dpz-retail,
.dpz-ppb-data .dpz-workplaces,
.dpz-ppb-data .dpz-lodging_rooms,
.dpz-ppb-data .dpz-residential_units, 
.dpz-ppb-data .dpz-year,
.dpz-ppb-data .dpz-broke_ground_year,
.dpz-ppb-data .dpz-designed_in_year,
.dpz-ppb-data .dpz-status,
.dpz-ppb-data .dpz-civic {
    display:block;
}
.dpz-location-old {
    color:var(--dpz-pink);
}

/*******************************/
/* DPZ POST LIST               */
/*******************************/

/*
.dpz-post-list-no-sidebar
.dpz-post-list-sidebar
.dpz-post-list-separator
.dpz-post-list-image-left
.dpz-post-list-image-top
*/
.dpz-post-list-block-container {
    display:flex;
    width:70%;
    max-width:1300px;
    margin-left:auto;
    margin-right:auto;
}
.dpz-post-list-no-sidebar {
    flex-direction:column;
}
.dpz-post-list-sidebar {
    flex-direction:row;
    gap:30px;
}
.dpz-post-list-container {
    width:100%;
}
.dpz-post-list-sidebar .dpz-post-list-container {
    width:63%;
}
.dpz-post-list-no-sidebar .dpz-post-sidebar-container {
    display:none;
}
.dpz-post-list-sidebar .dpz-post-sidebar-container {
    width:33%;
}
.dpz-post-list-post {
    padding-bottom: 30px;
}
.dpz-post-list-separator {
    border-bottom: 1px solid #e5e5e5;
}
.dpz-post-list-post h2,
.dpz-post-list-post h2 a {
    font-family: Oswald, Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    padding: 10px 0px 0px 0px;
    font-size: 28px;
    letter-spacing: 0px;
    color: #0E1523;
    width:100%;
}
.dpz-post-list-post h2 a:hover {
    color:#E10098;
}
.dpz-post-list-post-content {
    display:flex;
    flex-direction:row;
    gap:20px;
}
.dpz-post-list-post-img {
    width:32%;
}
.dpz-post-list-post-img img {
    width:100%;
}
.dpz-post-list-post-text {
    width:65%;
    font-family: Oswald, Arial, Helvetica, sans-serif;
    color:#6a6a6a;
    font-weight:200;
    text-align:justify;
    letter-spacing:1px;
    line-height:1.4em;
}
a.dpz-post-list-button,
.dpz-post-list-load-more-button {
    margin: 30px 0px 0px 0px;
    font-weight: 200;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 1);
    background-image: none;
    background-color: rgba(44, 44, 44, 1);
    padding: 8px 15px 8px 15px;
    border-radius: 2px 2px 2px 2px;
    transition: .4s;
    display: block;
    text-align: center;
    max-width: 115px;
}
a.dpz-post-list-button:active,
a.dpz-post-list-button:visited,
a.dpz-post-list-button:focus {
    color: rgba(255, 255, 255, 1);
}

a.dpz-post-list-button:hover,
.dpz-post-list-load-more-button:hover {
    background-color:#E10098;
    color: rgba(255, 255, 255, 1);
}
.dpz-post-list-load-more-button {
    font-family: Oswald, Arial, Helvetica, sans-serif;
    cursor:pointer;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:20px;
}
#dpz_sidebar {
    margin-top:1em;
}
#dpz_sidebar h2 {
    width: 100%;
    border-bottom: 1px solid #d2d2d2 !important;
    font-family: Oswald, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px ! important;
    margin-top:1.33em;
}
#dpz_sidebar p {
    color: #000000;
    font-size: 14px ! important;
    line-height: 1.75 ! important;
    margin: 0 0 20px 0;
    font-weight:300;
}
#dpz_sidebar .widget_recent_entries ul {
    list-style: none;
    margin: 0 0 0 12px;
    padding: 0;
}
#dpz_sidebar .widget_recent_entries ul li {
    border: none;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 14px ! important;
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    line-height: 1.75 ! important;
}
#dpz_sidebar .widget_recent_entries ul li a {
    color: #e10098;
    display: inline;
    transition-property: color, background-color, border-color;
    transition-duration: .2s;
    transition-timing-function: linear;
    text-decoration: none;
}
#dpz_sidebar .widget_recent_entries ul li a:before {
    position: absolute;
    content: "\203A";
    /*content: "\276F"; */
    /*content: "\27A4";*/ /* https://www.toptal.com/designers/htmlarrows/arrows/ */
    margin-right:3px;
    margin-left: -12px;
    transition-property: color, background-color, border-color;
    transition-duration: .2s;
    transition-timing-function: 
    linear;
}

/*******************************/
/* MOBILE BREAK                */
/*******************************/
@media only screen and (max-width: 767px) {
    .dpz-two-column-row-text-image.dpz-block-full-height {
        height: calc(200vh - 74px);
    }
    .admin-bar .dpz-two-column-row-text-image.dpz-block-full-height {
        height: calc(200vh - 74px - 32px);
    }
    .dpz-tcrti-image,
    .dpz-tcrti-text { 
        min-height:calc((100vh - var(--dpz-header-height-mobile)) / 2);
    }
    .admin-bar .dpz-tcrti-image,
    .admin-bar .dpz-tcrti-text { 
        min-height:calc((100vh - var(--dpz-header-height-mobile) - 32px) / 2);
    }
    .home .dpz-cover-additional-content,
    .home .dpz-cover-additional-content p {
        font-size: var(--dpz-body-font-size-mobile);
        text-align:center;
    }
    .dpz-cover-block.dpz-block-almost-full-height h1,
    .dpz-cover-block h1 {
        font-size:54px;
    }
    .dpz-cover-block h2 {
        font-size:32px;
    }
}
@media only screen and (max-width: 600px) {
    #wpadminbar {
        position:fixed;
    }
}
@media only screen and (max-width: 500px) {
    .dpz-cover-block.dpz-block-almost-full-height h1,
    .dpz-cover-block h1 {
        font-size:42px;
    }
    .dpz-cover-block h2 {
        font-size:24px;
    }
    .dpz-block-buttons.dpz-flex-row {
        gap:20px;
    }
}


/*dpz-block-buttons*/