/*=== Envelope icon for wpcf7 ===*/

.newsletter input.wpcf7-email {
    height: 50px;
    border: 1px solid #e8e8e8;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 280px;
    padding-left: 40px;
    background: #fff url(/wp-content/uploads/2025/07/close-envelope.png) no-repeat 10px 50%;
}

/*=== Contact form 7 ===*/

.ronka-contact7 p,
.ronka-newsletter p,
input.wpcf7-form-control,
select.wpcf7-form-control,
textarea.wpcf7-form-control {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Geometria';
    border-radius: none;
}

.ronka-contact7 select:focus,
.ronka-contact7 textarea:focus,
.ronka-contact7 input:focus,
.ronka-newsletter input:focus {
    outline: none !important;
    border: 1px solid #F1F1F1;
}

.ronka-contact7 p,
.ronka-newsletter p {
    margin-bottom: 20px;
}

.ronka-contact7 p:last-child,
.ronka-newsletter p:last-child {
    margin-bottom: 0;
}    

.ronka-newsletter input.wpcf7-email {
    height: 50px;
    border: 1px solid #e8e8e8;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding-left: 40px;
    background: #fff url(./images/close-envelope.png) no-repeat 10px 50%;
    border-radius: 0;
}

.ronka-newsletter input.wpcf7-submit {
    height: 50px;
    border: none;
    color: #fff;
    text-align: left;
    padding: 0 15px;
    text-transform: uppercase;
    background: #64a70b url(./images/right-arrow-ser.png) no-repeat 90% center;
    border-radius: 0;
}

.ronka-contact7 span.wpcf7-list-item-label:before,
.ronka-newsletter span.wpcf7-list-item-label:before {
    background: #FFFFFF;
    border: 1px solid #e8e8e8;
    display: inline-block;
    width: 16px;
    height: 16px;
    left: 0;
    position: absolute;
    top: 2px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.ronka-contact7 .wpcf7-acceptance>span,
.ronka-newsletter .wpcf7-acceptance>span {
    position: relative;
    padding-left: 25px;
    margin: 0 !important;
}

.ronka-contact7 label input[type="checkbox"],
.ronka-newsletter label input[type="checkbox"] {
    display: none;
}

.ronka-contact7 .wpcf7-list-item input:checked+span.wpcf7-list-item-label::before,
.ronka-newsletter .wpcf7-list-item input:checked+span.wpcf7-list-item-label::before {
    content: "";
    background: #64a70b;
    -webkit-box-shadow: 0 0 0 3px #fff inset;
    box-shadow: 0 0 0 3px #fff inset;
}

.ronka-contact7 span.wpcf7-list-item-label,
.ronka-newsletter span.wpcf7-list-item-label {
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    line-height: 14px;
    color: #999999;
    display: inline-block;
}

.ronka-contact7 span.wpcf7-not-valid-tip,
.ronka-newsletter span.wpcf7-not-valid-tip {
    position: absolute;
    display: none !important;
}

.ronka-newsletter .wpcf7-spinner {
    display: none !important;
}

.ronka-contact7 form textarea {
    padding: 15px;
    border: 1px solid #f1f1f1;
    height: 150px;
    width: 100%;
    max-width: 100%;
}

.ronka-contact7 form input,
.ronka-contact7 form select {
    height: 44px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    line-height: 44px;
    border: 1px solid #F1F1F1;
    border-radius: 0;
}

.ronka-contact7 input[type="file"] {
    cursor: pointer;
    border-color: #518b16;
    text-align: center;
    color: #888888;
    padding: 0;
    height: auto;
    -webkit-appearence: none;
}

.ronka-contact7 input[type=file]::-webkit-file-upload-button {
    border: 1px solid #518b16;
    background: #518b16;
    color: #fff;
}

.ronka-contact7 input.wpcf7-submit {
    background: #64a70b;
    color: #fff;
    -webkit-text-decoration: uppercase;
    text-decoration: uppercase;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border-color: #64a70b;
    border-radius: 0;
}

/*=== Contact form 7 Two Columns ===*/

.ronka-newsletter > p {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    gap: 0;

}

.ronka-newsletter > p > * {

    flex: 1 1 auto;
    width: 50%;

}

.wpcf7-doubler {
    margin-bottom: 20px;
}

.wpcf7-doubler br {
    display: none !important;
}

.wpcf7-doubler > p {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    
    gap: 20px;
}

.wpcf7-doubler p > .wpcf7-form-control-wrap {

    width: auto;
    flex: 1 1 auto;

}

@media (max-width: 1024px) {

    .ronka-newsletter > p {

        flex-direction: column;

        gap: 20px;

    }

    .ronka-newsletter > p > * {

        width: 100%;

    }
    
}

@media (max-width: 768px) {

    .wpcf7-doubler > p {
        flex-direction: column;
        gap: 20px;
    }

    .wpcf7-doubler > p > * {
        width: 100% !important;
    }

}

/*=== Elementor Fixes ===*/

.elementor-widget-text-editor {

    color: #333333;
    font-size: 14px;
    font-family: 'Geometria';

}

.elementor-widget-text-editor > p,
.elementor-widget-text-editor > ol,
.elementor-widget-text-editor > ul,
.elementor-widget-text-editor > div {
    margin-bottom: 20px;    
}

.elementor-widget-text-editor > p:last-child,
.elementor-widget-text-editor > ol:last-child,
.elementor-widget-text-editor > ul:last-child,
.elementor-widget-text-editor > div:last-child {
    margin-bottom: 0;    
}

.elementor-widget-text-editor a {
    color: #64a70b;
    font-weight: bold;
}

.elementor-widget-image-box-rowed.elementor-widget-image-box .elementor-image-box-wrapper {
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    
    gap: 5px;

}

.elementor-widget-image-box-rowed.elementor-widget-image-box .elementor-image-box-img {
    
    flex: 0 0 auto;
    
}

.elementor-widget-image-box-rowed.elementor-widget-image-box .elementor-image-box-contentr {
    
    flex: 1 1 auto;
    
}