/*
Theme Name: Abolire
Theme URI: https://apusthemes.com/abolire
Author: ApusTheme
Author URI: https://apusthemes.com/
Description: Abolire is clean theme, it's used Apus Framework.
Version: 1.0.20
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: abolire

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.lock {
    overflow-y: hidden;
    overflow-x: hidden;
}

img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 32px 2em;
}
.wp-block-image .alignright{
    margin-left: 2em;
}
.alignleft {
    float: left;
    margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft{
    margin-right: 2em;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}
.wp-block-pullquote{
    border:none;
}
.wp-block-categories-list.aligncenter{
    text-align: center;
}
.header-mobile .box-search.active .search-mobile {
    z-index: 10;
}
rs-module-wrap{
    z-index: 0;
}




#widget-maps-init .marker-cluster {
  width: 34px !important;
  height: 34px !important;
  margin-left: -22px !important;
  margin-top: -22px !important;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
#widget-maps-init .marker-cluster > div {
  width: 30px;
  height: 30px;
  display: inline-block;
  line-height: 30px;
  text-align: center;
  background: #53585a;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
#widget-maps-init .marker-cluster:before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  display: block;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  opacity: 0.25;
  filter: alpha(opacity=25);
  background-color: #53585a;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
}
#widget-maps-init .marker-cluster:hover:before, #widget-maps-init .marker-cluster:focus:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* Projects */

main.archive-projects {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.projects-filters {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 20px;
    position: relative;
}

.projects-filters:before {
    content: "\f0b0";
    font-family: "FontAwesome";
    font-weight: 900;
    color: #53585a;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

.projects-filters .item {
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #53585a;
    color: #ffffff;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.projects-filters .item a {
    text-decoration: none;
    color: inherit;
}

.projects-filters .item:hover,
.projects-filters .item.active {
    background-color: #dcc397;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .projects-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #dcc397 #f0f0f0;
    }

    .projects-filters::-webkit-scrollbar {
        height: 6px;
    }

    .projects-filters::-webkit-scrollbar-track {
        background: #f0f0f0;
    }

    .projects-filters::-webkit-scrollbar-thumb {
        background-color: #dcc397;
        border-radius: 3px;
    }
}

/* Favorite button */
.favorite-btn {
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px;
    z-index: 9;
    background-color: #dcc397;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn:hover,
.favorite-btn:focus-within {
    background-color: #dcc397;
}

.favorite-btn .icon {
    width: 24px;
    height: 24px;
    fill: transparent;
    stroke: #fff;
    stroke-width: 2px;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.favorite-btn .icon.is-favorite,
.favorite-btn:hover .icon {
    fill: #fff;
    stroke: transparent;
}
.favorite-btn:hover .icon.is-favorite {
    fill: transparent;
    stroke: #fff;
}
#mobile-favorite-btn,
.mobile-consultation-btn a {
    font-size: 22px;
}
.mobile-consultation-btn {
    display: flex;
}

.header-favorites svg {
    fill: #53585A;
}

.header_transparent:not(.has-header-sticky):not(.error404) .apus-header .header-favorites svg, .header_transparent .main-sticky-header:not(.sticky-header) .header-favorites svg {
    fill: #fff;
}

/* Services */
.services-posts-list .list-inner {
    display: flex;
    align-items: stretch;
    gap: 40px;
}
.services-posts-list .list-inner .image {
    width: 40%;
    height: 100%;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
}
.services-posts-list .list-inner .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.services-posts-list .list-inner .info-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    width: 60%;
}
.services-posts-list .list-inner .info-inner .title-desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service-btn {
    background-color: #dcc397;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    width: max-content;
    transition: 0.3s all ease-in-out;
}
.service-btn:hover {
    background-color: #cfad71;
    color: #fff;
}
@media screen and (max-width: 768px) {
    .services-posts-list .list-inner {
        flex-direction: column;
        padding: 0 40px;
        gap: 18px;
    }
    .services-posts-list .list-inner .info-inner .title-desc {
        gap: unset;
    }
    .services-posts-list .list-inner .image,
    .services-posts-list .list-inner .info-inner {
        width: 100%;
    }
    .services-posts-list .list-inner .image {
        height: 200px;
    }
}
@media screen and (max-width: 425px) {
    .services-posts-list .list-inner {
        padding: 0 20px;
    }
}

/* Promo */
.promo-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff9900;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 9;
    max-width: calc(100% - 80px);
    transition: all 0.3s ease-in-out;
}
.promo-tag:hover {
    color: #fff;
}

.promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    list-style: none;
    margin: 0;
}

.promo-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-item a {
    display: block;
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: #d6b884;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.promo-item a:hover {
    background-color: #ff9900;
    color: #fff;
}

.promo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Project detail page */
.project-detail .breadcrumb {
    background-color: transparent;
    padding-left: 0;
}
.project-detail .breadcrumb a {
    color: #fff;
}
.project-detail .breadcrumb a:hover,
.project-detail .breadcrumb a:focus,
.project-detail .breadcrumb a:focus-within {
    color: #dcc397;
}
.project-detail .favorite-btn {
    position: inherit;
    right: unset;
    top: 4px;
}

.project-detail-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.project-detail-left {
    flex: 1;
    width: 50%;
}
.project-detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Project Swiper slider */
.project-gallery-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.project-gallery-slider .swiper-pagination {
    display: none;
    height: 50px;
    bottom: -30px;
}
.project-gallery-slider .swiper-pagination .swiper-pagination-bullet-active {
    background: #ff9900;
}
.project-gallery-slider .swiper-slide img {
    width: 100%;
}
.project-thumbs-slider {
    box-sizing: border-box;
    padding: 10px 0;
}
.project-thumbs-slider .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}
.project-thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
}
.project-gallery-slider .swiper-button-next,
.project-gallery-slider .swiper-button-prev {
    color: #dcc397;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
}
.project-gallery-slider .swiper-button-next:after,
.project-gallery-slider .swiper-button-prev:after {
    font-size: 22px;
}
.project-image img {
    max-width: 100%;
    height: auto;
}
.project-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.project-tag {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    color: #808080;
    transition: 0.3s all ease-in-out;
}
.project-tag:hover {
    color: #fff;
    background: #dcc397;
}
.project-price span {
    color: #dcc397;
    font-weight: bold;
    font-size: 1.5rem;
}
.project-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.project-tabs .tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin: 0;
    gap: 10px;
}
.project-tabs .tab-item {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 5px;
}
.project-tabs .tab-item.active {
    background-color: #dcc397;
    color: white;
}
.tab-panel {
    display: none;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
}
.tab-panel.active {
    display: block;
}
.tab-panel ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.project-description {
    margin: 40px 0;
}

@media screen and (max-width: 768px) {
    .project-detail-container {
        flex-direction: column;
    }
    .project-detail-left {
        width: 100%;
    }
}
@media screen and (max-width: 425px) {
    .project-tag {
        white-space: wrap;
    }
    .project-gallery-slider {
        padding-bottom: 30px;
    }
    .project-gallery-slider .swiper-pagination {
        display: block;
    }
    .project-gallery-slider .swiper-button-next,
    .project-gallery-slider .swiper-button-prev {
        display: none;
    }
    .project-thumbs-slider {
        display: none;
    }
}

/* Project popup */
.open-popup-btn {
    width: fit-content;
    background-color: #d6b884;
    color: #fff;
    border: 1px transparent solid;
    border-radius: 5px;
    cursor: pointer;
    text-transform: none;
    font-family: "Inter";
    transition: all 0.3s ease-in-out;
}
.open-popup-btn:hover {
    border-color: #d6b884;
    background-color: #fff;
    color: #d6b884;
}
.popup-form {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    position: relative;
}
.popup-content .wpcf7-form-control-wrap input {
    width: 100%;
}
@media screen and (max-width: 575.98px) {
    .popup-content {
        max-width: calc(100% - 32px);
    }
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}
.popup-title {
    font-weight: 400;
    font-size: 20px;
}
.popup-content .close-popup {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    height: 16px;
    width: 16px;
    min-width: unset;
    padding: 0;
}
.popup-content .close-popup img {
    width: 16px;
    height: 100%;
    object-fit: contain;
}
.popup-content .wpcf7 form .wpcf7-response-output {
    margin-top: 12px !important;
}
.wpcf7-spinner {
    display: none;
    margin: 0 !important;
}
.wpcf7-not-valid-tip {
    color: #E02D3C !important;
    font-size: 80%;
    margin-top: 4px;
    line-height: 1.2;
}
.wpcf7 form .wpcf7-response-output {
    padding: 10px 12px !important;
    border: 1px solid #ccc;
    border-width: 1px !important;
    font-size: 80% !important;
    border-radius: 8px;
    line-height: 1.2;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #E02D3C;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #00b324;
}
.wpcf7-submit {
    border-radius: 5px !important;
}

/* Multi-Step Form */
.fluentform_wrapper_3 {
    border: 1px solid #dcc397;
    border-radius: 25px;
    padding: 20px 35px;
}
.fluentform_wrapper_3 * {
    font-family: "Inter";
}
.fluentform_wrapper_3 .ff-t-container.ff_columns_total_2 .ff-t-column-1 {
    padding-right: 35px;
    border-right: 1px solid #dcc397;
}
.fluentform_wrapper_3 .step-nav button {
    border: 1px solid transparent;
    border-radius: 7px;
}
.fluentform_wrapper_3 .heading-form {
    font-size: calc(1em + 0.6vw);
    font-weight: 500;
}
.fluentform_wrapper_3 .thank-you {
    font-size: calc(1em + 0.2vw);
    color: #dcc397;
}
.discuss-project {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.discuss-project p {
    color: #dcc397;
    font-weight: 700;
    font-size: calc(1em + 0.2vw);
    margin: 0;
}
.discuss-project a {
    font-weight: 700;
}
.step-form-image-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.step-form-image-wrap .item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.widget-features-box .features-box-image.icon {
    height: 80px;
    display: flex;
    align-items: center;
    cursor: default;
}
.widget-features-box .features-box-image.icon:hover {
    animation: none;
}

.top-info-detail-v1.project-detail {
    height: max-content;
    padding: 102px 0;
    margin-bottom: 70px;
}
@media screen and (max-width: 1024px) {
    .top-info-detail-v1.project-detail {
        padding: 60px 0;
        margin-bottom: 58px;
    }
    .fluentform_wrapper_3 .ff-t-container.ff_columns_total_2 .ff-t-column-1 {
        padding-right: 0;
        border-right: none;
        padding-bottom: 35px;
        border-bottom: 1px solid #dcc397;
    }
    .frm-fluent-form .ff-t-container {
        flex-direction: column;
    }
    .fluentform_wrapper_3 .step-nav.ff_step_nav_last {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .discuss-project {
        padding-top: 16px;
    }
    .fluentform_wrapper_3 .ff-btn-submit {
        white-space: normal;
    }
}

.apus-schedule-visit a i:before {
    margin-right: 12px;
}

.error404 .error-home-link {
    margin: 24px 0;
}
@media only screen and (min-width: 1168px) {
    .error404 .home-link:hover {
        color: #fff;
    }
}

.favorites p.empty-fav {
    padding-left: 15px;
    padding-right: 15px;
}

#home-banner-list {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
}
#home-banner-list .home-banner-item-wrapper {
    width: calc(25% - 20px) !important;
}
#home-banner-list .home-banner-list-item {
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media screen and (max-width: 1024px) {
    #home-banner-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media screen and (max-width: 778px) {
    #home-banner-list {
        gap: 10px;
    }
    #home-banner-list .home-banner-item-wrapper {
        width: calc(50% - 10px) !important;
    }
}
@media screen and (max-width: 480px) {
    #home-banner-list {
        flex-direction: column;
    }
    #home-banner-list .home-banner-item-wrapper {
        width: 100% !important;
    }
    #home-banner-list .home-banner-list-item {
        padding: 10px !important;
        background-color: transparent !important;
    }
}

.work-examples .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.work-examples div > a,
.work-examples .image-wrapper {
    height: 100%;
}
.work-examples .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}