a {
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
#filter {
visibility: hidden;
}
#filter .filter {
padding: 0.8rem 1.2rem;
margin-bottom: 1rem;
cursor: pointer;
background-color: var(--wp--preset--color--primary);
border: none;
border-radius: 8px;
box-shadow: var(--wp--preset--shadow--natural);
color: #fff;
}
#filter .filter.active {
background-color: #005279;
}
.portfolio-image {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1100;
overflow-x: hidden;
overflow-y: auto;
text-align: center;
}
.post-password-form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 80vh;
}
.admin-bar .portfolio-image {
top: 32px;
}
.portfolio-image img {
max-width: 80%;
margin: 20px auto;
position: relative;
z-index: 1200;
box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}
.btn-portfolio {
cursor: pointer;
}
.portfolio-item .btn {
position: relative;
}
.portfolio-item .btn .tooltip {
position: absolute;
top: -35px;
left: 50%;
width: max-content;
display: block;
z-index: 1000;
font-size: 12px;
background-color: #333;
color: #fff;
padding: 10px 20px;
opacity: 0;
transform: translate(-50%, -100%);
transition: all 0.3s ease;
}
.portfolio-item .btn .tooltip::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #333 transparent transparent transparent;
}
.portfolio-item .btn:hover .tooltip {
opacity: 1;
transform: translate(-50%, 0);
}
.portfolio-image-overlay,
.portfolio-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(33, 36, 40, 0.8);
z-index: 1100;
overflow: hidden;
}
.portfolio-image-close,
.portfolio-close {
position: fixed;
top: 10px;
right: 10px;
z-index: 10000;
cursor: pointer;
background-color: #fff;
color: #333;
padding: 10px 20px;
}
.portfolio-image-close,
.admin-bar .portfolio-close {
top: 32px;
}
.portfolio-item-wrapper {
position: fixed;
top: 0;
left: 0;
z-index: 1000;
width: 100vw;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
.project-not-found .message {
text-align: center;
padding: 20px;
}
.portfolio-item .portfolio-title {
margin: 0;
position: absolute;
left: 0;
right: 0;
bottom: 60px;
z-index: 10;
display: flex;
justify-content: center;
text-align: center;
padding: 0 10px;
}
.portfolio-item .links {
position: absolute;
left: 0;
bottom: 5px;
width: 100%;
display: flex;
justify-content: center;
gap: 10px;
padding: 10px 0;
}
.portfolio-item .links a {
display: block;
line-height: 1;
}
.portfolio-item .links svg {
--icon-width: 30px;
width: var(--icon-width);
height: var(--icon-width);
}
.portfolio-item .thumb {
position: relative;
min-height: 300px;
}
.portfolio-item .thumb.bg-thumb {
min-height: 450px;
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
overflow: hidden;
transform: translateY(0);
transition: 6s;
}
.portfolio-item .thumb.bg-thumb:hover {
background-position: center bottom;
}
.portfolio-item .thumb::before {
content: "";
position: absolute;
inset: 0;
background: rgb(0, 0, 0);
background: linear-gradient(
0deg,
rgba(0, 0, 0, 0.8) 0%,
rgba(0, 0, 0, 0.1) 50%
);
transition: opacity 0.3s ease-in-out;
}
.portfolio-item .thumb:hover::before {
opacity: 0.5;
}
.portfolio-gallery {
margin: 0;
padding: 0 !important;
}
.portfolio-gallery .portfolio-gallery-item {
position: relative;
box-shadow: 10px 10px 20px #1c1e22, -10px -10px 20px #262a2e;
}
.portfolio-gallery .portfolio-gallery-item:hover {
box-shadow: 10px 10px 20px #31353c, -10px -10px 20px #3d4348;
}
.portfolio-gallery.mmasonry-portfolio .portfolio-gallery-item {
margin-bottom: 10px;
}
@media (min-width: 1200px) {
.portfolio-gallery .portfolio-gallery-item {
width: 31% !important;
}
}
@media (min-width: 768px) and (max-width: 1200px) {
.portfolio-gallery .portfolio-gallery-item {
width: 45%;
}
}
@media (max-width: 768px) {
.portfolio-gallery .portfolio-gallery-item {
width: 100%;
}
}
.portfolio-gallery .portfolio-gallery-item img {
width: 100%;
height: auto;
max-width: 100%;
display: block;
}
.otgs-development-site-front-end {
display: none;
}
.portfolio-loading {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
}
.pf-loader {
--loader-size: 80px;
width: var(--loader-size);
height: var(--loader-size);
border: 3px solid #fff;
border-radius: 50%;
display: inline-block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
box-sizing: border-box;
animation: pf-loader-rotation 1s linear infinite;
}
.pf-loader::after {
content: "";
box-sizing: border-box;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 56px;
height: 56px;
border-radius: 50%;
border: 3px solid;
border-color: #ff3d00 transparent;
}
@keyframes pf-loader-rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
body.portfolio-opened {
overflow: auto;
}
.portfolio-content {
position: relative;
max-width: 1500px;
margin: 50px auto;
background-color: #343a40;
z-index: 1500;
color: #fff;
padding: 50px;
font-size: 1rem;
border-radius: 20px;
box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}
.portfolio-content p {
margin-top: 0;
margin-bottom: 15px;
}
.portfolio-content .edit-link {
font-size: 0.9rem;
margin-top: 1.5rem;
}
.portfolio-title {
font-size: clamp(20px, 5vw, 30px);
line-height: 1.3;
font-weight: 400;
margin-bottom: 35px;
text-align: center;
}
.portfolio-info {
margin-bottom: 30px;
}
.portfolio-info h3 {
margin-top: 0;
margin-bottom: 0;
}
.portfolio-data .portfolio-thumb {
--thumb-max-height: 800px;
overflow: hidden;
}
.portfolio-data .portfolio-thumb img {
width: 100%;
}
.project-details h3 {
margin-top: 0;
margin-bottom: 0;
}
.project-details ul {
margin: 0;
padding: 0;
list-style: none;
}
.project-details ul li {
--mtb: 10px;
margin-top: var(--mtb);
margin-bottom: var(--mtb);
border-bottom: 1px solid hsla(0, 0%, 98%, 0.12);
display: grid;
grid-template-columns: auto 1fr;
gap: var(--mtb);
}
.project-details ul li:last-child {
border-bottom: none;
}
.project-details span.label {
font-weight: 600;
max-width: 250px;
}
.project-details .portfolio-url svg {
position: relative;
top: 3px;
left: 3px;
}
.tlds-form-group {
display: flex;
flex-direction: column;
margin-bottom: 1rem;
}
.tlds-form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
.tlds-form-group input {
padding: 0.375rem 0.75rem;
}
.entry-content .post-password-form input[type="password"],
.tlds-form-group input,
.tlds-form-group textarea {
border: none;
background-color: #f3f3f3;
}
.tlds-form-group .required {
color: #cf3200;
}
.tlds-form-group .tlds-error {
color: #cf3200;
margin-top: 5px;
}
.tlds-form-group .form-control.tlds-form-error,
.form-control.is-invalid {
border: solid 1px #cf3200;
background-color: #ffe7e0;
}
.tlds-form-group-url, 
.tlds-form-group-url input {
display: none;
width: 0;
height: 0;
}
#tlds-form-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}
#tlds-form-modal-content {
background: white;
padding: 2em;
border-radius: 10px;
max-width: 400px;
text-align: center;
color: #000;
box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
#tlds-form-modal-content h2 {
margin-top: 0;
}
.post-password-form input[type="submit"],
.tlds-btn {
display: inline-block;
font-weight: 700;
line-height: 1.5;
text-align: center;
text-decoration: none;
vertical-align: middle;
cursor: pointer;
padding: 0.375rem 2rem;
width: max-content;
border: none;
border-radius: 1rem;
}
.entry-content .post-password-form input[type="submit"] {
padding: 5px 2rem;
}
.post-password-form input[type="submit"],
.tlds-btn-primary {
color: #fff;
background: #62a5c2;
}
.tlds-btn:disabled {
opacity: 0.5;
pointer-events: none;
cursor: default;
}
.tlds-form-submit {
position: relative;
}
.tlds-form-submit .tlds-cf-spinner {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
.rc-group {
display: none;
}
.rc-page .back-to-top {
bottom: 90px;
}
.tlds-cf-spinner {
display: none;
}
.form-sent {
font-size: 1.2rem;
}
.block-op .op-wrapper {
padding-top: 2rem !important;
padding-bottom: 6rem !important;
}
.wp-block-heading-other-projects {
margin-top: 0;
margin-bottom: 2rem;
}
.portfolio-other-projects li svg {
margin-left: 10px;
position: relative;
top: 3px;
}
@media (min-width: 768px) {
.tlds-row {
display: flex;
justify-content: space-between;
gap: 24px;
}
.tlds-row > div[class^="tlds-col-"] {
flex: 1;
}
.portfolio-other-projects {
--op-gap: 16px;
display: block;
margin: 0 calc(var(--op-gap) / -2) !important;
padding: 0;
}
.portfolio-other-projects li {
display: inline-block;
width: calc((100% / 2) - var(--op-gap));
padding: calc(var(--op-gap) / 2);
}
}
@media (min-width: 992px) {
.portfolio-data {
display: flex;
gap: 50px;
}
.portfolio-data .data {
width: 50%;
}
.portfolio-other-projects li {
width: calc((100% / 4) - var(--op-gap));
}
.portfolio-data .portfolio-thumb {
max-height: var(--thumb-max-height);
}
}
@media (max-width: 991px) {
.wp-block-columns.tlds-services,
.wp-block-columns.tlds-process-wrap {
flex-wrap: wrap !important;
padding-top: 0 !important;
}
.wp-block-columns.tlds-process-wrap {
gap: 0 !important;
}
.wp-block-columns.tlds-services .wp-block-column,
.wp-block-columns.tlds-process-wrap .wp-block-column  {
flex-basis: 100% !important;
margin-top: 3rem;
}
}
@media (max-width: 991px) {
.admin-bar .portfolio-close {
top: 60px;
}
.portfolio-content {
margin: 60px 30px 30px 30px;
padding: 20px 30px;
}
.portfolio-info {
margin-top: 30px;
}
}
@media (max-width: 600px) {
.project-details ul li {
grid-template-columns: auto;
gap: 0;
padding-bottom: var(--mtb);
}
}