/* 
Theme Name:		 speedwell
Theme URI:		 http://childtheme-generator.com/
Description:	 speedwell is a child theme of Hello Elementor, created by ChildTheme-Generator.com
Author:			 CODE-EVOLUTION
Author URI:		 http://childtheme-generator.com/
Template:		 hello-elementor
Version:		 1.0.0
Text Domain:	 speedwell
*/


/*
    Add your custom styles here
*/
body .gform-theme--foundation .gform_fields {
    column-gap: 12px;
    row-gap: 12px;
}
.form-shortcode input[type="text"],
.form-shortcode input[type="tel"],
.form-shortcode input[type="email"] {
    height: 58px !important;
}
.form-shortcode input[type="text"],
.form-shortcode input[type="tel"],
.form-shortcode input[type="email"],
.form-shortcode textarea {
    border-radius: 0;
    border: 1px solid #fff !important;
    box-shadow: none !important;
    background: #fff !important;
}
.form-shortcode input.gform_button {
    background: #ED1B34 !important;
    width: 100% !important;
    height: 54px !important;
    font-size: 16px !important;
    font-family: roboto !important;
    border-radius: 0 !important;
}
.form-shortcode .gform-theme--foundation .gform_footer,
.form-shortcode .gform-theme--foundation .gform_page_footer {
    margin-block-start: 12px;
}
.form-shortcode input::placeholder,
.form-shortcode textarea::placeholder {
    font-family: Roboto;
    color: #525963 !important;
    opacity: 1;
}
.form-shortcode input::-webkit-input-placeholder,
.form-shortcode textarea::-webkit-input-placeholder { /* Chrome, Safari */
    font-family: Roboto;
    color: #525963 !important;
    opacity: 1;
}

.form-shortcode input:-moz-placeholder,
.form-shortcode textarea:-moz-placeholder { /* Firefox 4-18 */
    font-family: Roboto;
    color: #525963 !important;
    opacity: 1;
}

.form-shortcode input::-moz-placeholder,
.form-shortcode textarea::-moz-placeholder { /* Firefox 19+ */
    font-family: Roboto;
    color: #525963 !important;
    opacity: 1;
}

.form-shortcode input:-ms-input-placeholder,
.form-shortcode textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-family: Roboto;
    color: #525963 !important;
    opacity: 1;
}

.form-shortcode input::-ms-input-placeholder,
.form-shortcode textarea::-ms-input-placeholder { /* Microsoft Edge */
    font-family: Roboto;
    color: #525963 !important;
    opacity: 1;
}
.form-shortcode.red-bg input.gform_button {
    background: #DCDCDC !important;
    width: 100% !important;
    height: 54px !important;
    font-size: 16px !important;
    font-family: roboto !important;
    border-radius: 0 !important;
    color: #525963 !important;
    text-shadow: none !important;
}
.form-shortcode.red-bg .gform-theme--framework .gform_validation_errors {
    background-color: #fff;
}
.form-shortcode.red-bg .gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    color: #fff !important;
}
/* Filter component styles */
.filter-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.filter-box.projects {
    background: #F8F8F8;
    padding: 20px 20px;
    margin-top: 18px;
    margin-bottom: 50px;
}
.filter-component-taxfilters {
    gap: 15px;
    max-width: 990px;
    display: flex;
    flex-direction: row;
}
span.filter-component-span {
    font-size: 34px;
    color: #ED1B34;
}
.filter-component-taxfilters select {
    font-size: 16px;
    font-weight: 700;
}
.filter-component-taxfilters span.select2.select2-container.select2-container--default {
    flex: 1;
    height: 52px;
}
.filter-component-taxfilters .select2-container--default .select2-selection--single {
    border: 1px solid #525963;
    border-radius: 0 !important;
    display: flex;
    height: 52px !important;
    align-items: center;
    background-color: #525963 !important;
    color: #fff !important;
}
.filter-component-taxfilters .select2-container--default .select2-selection--single .select2-selection__placeholder,
.filter-component-taxfilters .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
}
.filter-component-taxfilters .select2-container--open .select2-dropdown {
    margin-top: 32px;
}
.filter-component-taxfilters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
}
.filter-component-taxfilters .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 41px;
}
div#active-filters.hidden {
    display: none;
}
div#active-filters {
    background: #F8F8F8;
    padding: 19px 19px 15px 19px;
    margin-bottom: 20px;
}
.parent-projects {
    display: grid;
    grid-template-columns: 49.49%;
    grid-auto-flow: column dense;
    gap: 18px;
}
.parent-projects.child-4-items .project-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}
.parent-projects.child-4-items .project-item:nth-child(2) {
    grid-column: 2 / 4;
}
.project-item .cover-project img {
    object-fit: cover;
}
div#projects-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.project-item {
    position: relative;
}
.project-item .project-details {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #2223;
}
.project-item .project-details span.project-title {
    font-family: 'Josefin Sans';
    font-weight: 400;
    font-size: 40px;
    color: #F8F8F8;
}
.project-item span.dev-type-tax {
    text-transform: uppercase;
    color: #F8F8F8;
    margin-bottom: 36px;
    font-family: 'Roboto';
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 1.6px;
}
.project-details a {
    background: #F8F8F8;
    color: var(--e-global-color-secondary);
    padding: 6px 16px;
    margin-top: 35px;
    border: 5px solid #F8F8F8;
    transition: 0.3s ease;
}
.project-details-extra a {
    background: #F8F8F8;
    color: var(--e-global-color-secondary);
    padding: 6px 16px;
    margin-top: 5px;
    border: 5px solid #F8F8F8;
    transition: 0.3s ease;
}
.project-details a:hover,
.project-details-extra a:hover {
    background-color: transparent;
    color: #F8F8F8;
}
span.dev-type-tax {
    margin-top: 30px;
}
.filter-component-taxfilters .select2-selection__clear span {
    font-family: serif;
    font-size: 22px;
    line-height: 1;
}
.filter-component-taxfilters .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #f0f0f0 transparent transparent transparent;
    border-style: solid;
    border-width: 7px 6px 0 6px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}
.project-details-extra {
    background: #00000047;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
}
.project-details-extra p img {
    width: 38px;
    object-fit: contain;
}
.project-details-extra p {
    display: flex;
    align-items: center;
    color: #fff;
    height: 100%;
    justify-content: flex-start;
    flex-direction: row;
    font-size: 16px;
    line-height: 1.3;
    gap: 14px;
    width: 100%;
    max-width: 285px;
}
.project-details-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.project-details-extra p span {
    text-align: left;
}
.cta-reveal {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}
.cta-reveal .reveal-parent {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.cta-reveal .project-details-extra {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateY(180deg);
}
.cta-reveal:hover .reveal-parent {
    transform: rotateY(180deg);
}
.cta-reveal .elementor-button-text {
    text-align: left;
}
.cta-reveal .elementor-button-icon {
    position: absolute;
    background: var(--e-global-color-text);
    padding: 10px;
    font-size: 21px;
    position: absolute;
    right: 10px;
    bottom: 13px;
}
.project-item.cta-reveal:hover .project-details * {
    opacity: 0;
}

span.dev-type-tax.status-label {
    margin-bottom: 0;
    font-size: 10px;
    background: #ccc;
    padding: 0 13px;
}
span.dev-type-tax.status-label.upcoming,
span.dev-type-tax.status-label.upcoming-pl,
span.dev-type-tax.status-label.upcoming-ro {
    background: #e39800;
}
span.dev-type-tax.status-label.completed,
span.dev-type-tax.status-label.completed-pl,
span.dev-type-tax.status-label.completed-ro {
    background: #038303;
}
span.dev-type-tax.status-label.now-selling,
span.dev-type-tax.status-label.now-selling-pl,
span.dev-type-tax.status-label.now-selling-ro {
    background: #b50101;
}

@media(min-width: 992px){
    .parent-projects {
        min-height: 767px;
        height: auto;
    }
    .parent-projects .project-item:nth-child(3) .cover-project img,
    .parent-projects .project-item:nth-child(4) .cover-project img {
        min-height: 313px;
    }
    .parent-projects .project-item .cover-project img {
        object-fit: cover;
        display: flex;
        position: absolute;
        height: 100%;
        width: 100%;
        object-position: center center;
    }
    .parent-projects.child-4-items:nth-child(even) {
        direction: rtl;
    }
    .parent-projects.child-4-items:nth-child(even) .project-details-extra p {
        flex-direction: row-reverse;
    }
}

@media(max-width: 991px){
    .filter-component-taxfilters {
        padding-top: 25px;
        flex-direction: column;
        width: 100%;
    }
    .filter-box.projects {
        flex-direction: column;
    }
    .project-item .project-details span.project-title {
        font-size: 28px;
    }
    .project-item span.dev-type-tax {
        margin-bottom: 16px;
    }
    .parent-projects {
        grid-auto-flow: row;
        grid-template-columns: 100%;
    }
    .parent-projects.child-4-items .project-item:nth-child(2) {
        grid-column: 1;
    }
    div#projects-list {
        gap: 18px;
    }
    .parent-projects .project-item {
        min-height: 313px;
    }
    .parent-projects .project-item .cover-project img {
        object-fit: cover;
        display: flex;
        position: absolute;
        height: 100%;
        width: 100%;
        object-position: center center;
    }
}

@media(max-width: 767px){
    .filter-box.projects {
        padding: 40px 20px;
    }
}