.cp_portfolio-columns-1 {
--columns: 1;
}
.cp_portfolio-columns-2 {
--columns: 2;
}
.cp_portfolio-columns-3 {
--columns: 3;
}
.cp_portfolio-columns-4 {
--columns: 4;
}
.cp_portfolio-columns-5 {
--columns: 5;
}
.cp_portfolio-columns-6 {
--columns: 6;
}
.cp_portfolio-columns-7 {
--columns: 7;
}
.cp_portfolio-columns-8 {
--columns: 8;
}
.cp_portfolio-columns-9 {
--columns: 9;
}
.cp_portfolio_container {
display: grid;
gap: 20px;
grid-template-columns: repeat( var( --columns ), calc( calc( 100% / var( --columns ) - 20px ) ) );
}
.block-editor .cp_portfolio_container {
padding: 20px; }
.cp_portfolio_item {
box-sizing: border-box;
}
.cp_portfolio_item .cp_portfolio_image img {
width: 100%;
border-radius: 5px;
}
.cp_portfolio_item .cp_portfolio_text {
padding: 20px 0;
}
.cp_portfolio_item .cp_portfolio_text h2.cp_portfolio_title {
margin: 0;
}
.cp_portfolio_item .cp_portfolio_text h3.cp_portfolio_category {
margin: 0;
}
.cp_portfolio_item .cp_portfolio_text .cp_portfolio_date {
font-size: smaller;
} .cp_portfolio_container.cp_portfolio-columns-1 .cp_portfolio_item {
display: flex;
flex-direction: row;
align-items: center;
gap: 20px;
}
.cp_portfolio_container.cp_portfolio-columns-1 .cp_portfolio_item .cp_portfolio_image {
width: 300px;
}
.cp_portfolio_container.cp_portfolio-columns-1 .cp_portfolio_item .cp_portfolio_text {
} .style-1 .cp_portfolio_item {
position: relative;
transition: .3s;
color: #FFF;
}
.style-1 .cp_portfolio_item .cp_portfolio_text {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.2);
background: linear-gradient( 180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.2) );
border-radius: 5px;
padding: 20px;
}
.style-1 .cp_portfolio_item:hover .cp_portfolio_text {
background: rgba(0,0,0,0.1);
} .style-2 .cp_portfolio_item {
position: relative;
}
.style-2 .cp_portfolio_item .cp_portfolio_image img {
transition: .3s;
}
.style-2 .cp_portfolio_item:hover .cp_portfolio_image img {
filter: grayscale(100%);
}
.style-2 .cp_portfolio_item .cp_portfolio_text {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.style-2 .cp_portfolio_item .cp_portfolio_text h2.cp_portfolio_title {
background: #FFF;
color: #000;
padding: 8px 15px;
border-radius: 30px;;
}
.style-2 .cp_portfolio_item .cp_portfolio_text h3.cp_portfolio_category {
background: #000;
color: #FFF;
text-transform: uppercase;
font-size: smaller;
padding: 7px 12px;
border-radius: 30px;
margin-top: -8px;
}
.style-2 .cp_portfolio_item .cp_portfolio_text .cp_portfolio_excerpt {
color: #FFF;
text-shadow: 1px 1px 8px rgba(0,0,0,0.2);
}
.style-2 .cp_portfolio_item .cp_portfolio_text .cp_portfolio_date {
position: absolute;
bottom: 0;
padding: 10px;
color: #FFF;
text-shadow: 1px 1px 8px rgba(0,0,0,0.2);
}
.cp_portfolio_container.cp_portfolio-columns-1.style-2  .cp_portfolio_item .cp_portfolio_text {
position: relative;
align-items: flex-start;
}
.cp_portfolio_container.cp_portfolio-columns-1.style-2  .cp_portfolio_item .cp_portfolio_text h2.cp_portfolio_title {
background: #F5F5F5;
}
.cp_portfolio_container.cp_portfolio-columns-1.style-2  .cp_portfolio_item .cp_portfolio_text  .cp_portfolio_excerpt,
.cp_portfolio_container.cp_portfolio-columns-1.style-2  .cp_portfolio_item .cp_portfolio_text  .cp_portfolio_date {
color: initial;
position: relative;
padding: 0;
} .style-3 .cp_portfolio_item {
position: relative;
}
.style-3 .cp_portfolio_item .cp_portfolio_image img {
transition: .3s;
}
.style-3 .cp_portfolio_item:hover .cp_portfolio_image img {
filter: grayscale( 100% );
}
.style-3 .cp_portfolio_item .cp_portfolio_text h3.cp_portfolio_category {
position: absolute;
top: 10px;
left: 10px;
background: #000;
color: #FFF;
text-transform: uppercase;
font-size: smaller;
padding: 7px 12px;
border-radius: 30px;
}
.style-3 .cp_portfolio_item .cp_portfolio_text .cp_portfolio_date {
position: absolute;
top: 10px;
right: 10px;
margin: 0;
width: 55px;
height: 55px;
border-radius: 5px;
background: #FFF;
color: #000;
display: flex;
text-align: center;
justify-content: center;
flex-direction: column;
font-size: .6em;
}
.style-3 .cp_portfolio_item .cp_portfolio_text .cp_portfolio_date strong {
font-size: 1.6em;
width: 100%;
}
.cp_portfolio_container.cp_portfolio-columns-1.style-3  .cp_portfolio_text .cp_portfolio_date {
top: auto;
right: auto;
left: 10px;
bottom: 10px;
}
@media screen and ( max-width: 1000px ) {
.cp_portfolio-columns-2,
.cp_portfolio-columns-3,
.cp_portfolio-columns-4,
.cp_portfolio-columns-5,
.cp_portfolio-columns-6,
.cp_portfolio-columns-7,
.cp_portfolio-columns-8,
.cp_portfolio-columns-9 {
--columns: 2;
}
}
@media screen and ( max-width: 800px ) {
.cp_portfolio-columns-1,
.cp_portfolio-columns-2,
.cp_portfolio-columns-3,
.cp_portfolio-columns-4,
.cp_portfolio-columns-5,
.cp_portfolio-columns-6,
.cp_portfolio-columns-7,
.cp_portfolio-columns-8,
.cp_portfolio-columns-9 {
--columns: 1;
}
}.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
word-wrap: normal !important;
}
.wpcf7 .hidden-fields-container {
display: none;
}
.wpcf7 form .wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #00a0d2; }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #46b450; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-color: #dc3232; }
.wpcf7 form.spam .wpcf7-response-output {
border-color: #f56e28; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
border-color: #ffb900; }
.wpcf7-form-control-wrap {
position: relative;
}
.wpcf7-not-valid-tip {
color: #dc3232; font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
position: relative;
top: -2ex;
left: 1em;
z-index: 100;
border: 1px solid #dc3232;
background: #fff;
padding: .2em .8em;
width: 24em;
}
.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-spinner {
visibility: hidden;
display: inline-block;
background-color: #23282d; opacity: 0.75;
width: 24px;
height: 24px;
border: none;
border-radius: 100%;
padding: 0;
margin: 0 24px;
position: relative;
}
form.submitting .wpcf7-spinner {
visibility: visible;
}
.wpcf7-spinner::before {
content: '';
position: absolute;
background-color: #fbfbfc; top: 4px;
left: 4px;
width: 6px;
height: 6px;
border: none;
border-radius: 100%;
transform-origin: 8px 8px;
animation-name: spin;
animation-duration: 1000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
.wpcf7-spinner::before {
animation-name: blink;
animation-duration: 2000ms;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes blink {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
.wpcf7 [inert] {
opacity: 0.5;
}
.wpcf7 input[type="file"] {
cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
direction: ltr;
}
.wpcf7-reflection > output {
display: list-item;
list-style: none;
}
.wpcf7-reflection > output[hidden] {
display: none;
}