/*!
Theme Name: Memorial IF
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: memorial-if
Tags: 
*/


.latest-news .swiper-slide {
    height: auto;
}

.post-page__content blockquote p strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 700;
    line-height: 130%;
    margin-top: 12px;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
	line-height: normal;
    margin: -15px 0 15px 3px;
}
.section-with-form__fields .wpcf7-not-valid-tip,
.popup__form-wrap-fields .wpcf7-not-valid-tip {
    margin: -9px 0 15px 3px;
}
.wpcf7 form .wpcf7-response-output {
    border: none;
    font-size: 16px;
    line-height: normal;
    margin: 35px 0 0;
    padding: 0;
    text-align: center;
}
.popup__form-submit {
    border: none;
    cursor: pointer;
    outline: none;
    position: relative;
}
.section-with-form__fields .wpcf7-spinner,
.popup__form .wpcf7-spinner {
    bottom: 15px;
    left: 50%;
    margin: 0;
    position: absolute;
    transform: translateX(-50%);
}
.wpcf7-response-output {
	display: none;
}
.section-with-form__block .service-row .wpcf7-form-control-wrap {
	width: calc(100% - 60px) !important;
}
.section-with-form__block .service-row:first-child .wpcf7-form-control-wrap,
.section-with-form__add-services .select2-container--custom-select {
    width: 100% !important;
}
.section-with-form__block .service-row:first-child .remove-service {
	display: none;
}

.our-services {
    position: relative;
    z-index: 1;
}

.section-with-form__wrap-submit {
	position: relative;
}
.section-with-form__wrap-submit .wpcf7-spinner {
    height: 20px;
    margin: 0;
    position: absolute;
    right: -19px;
    top: -20px;
    width: 20px;
}

@media screen and (max-width: 700px) {
	
	.section-with-form__fields .wpcf7-spinner,
	.popup__form .wpcf7-spinner {
		bottom: 6px;
	}
}
@media screen and (min-width: 576px) {
	
	.section-with-form__fields .wpcf7-form-control-wrap {
		width: calc(33.3333% - 12px);
	}
	.popup__form-wrap-fields .wpcf7-form-control-wrap {
		width: calc(50% - 6px);
	}
	.section-with-form__fields .wpcf7-form-control-wrap,
	.popup__form-wrap-fields .wpcf7-form-control-wrap:nth-child(odd) {
		margin-right: 6px;
	}
	.section-with-form__fields .wpcf7-form-control-wrap,
	.popup__form-wrap-fields .wpcf7-form-control-wrap:nth-child(even) {
		margin-left: 6px;
	}
	.section-with-form__fields .select2-container--custom-select,
	.section-with-form__fields input,
    .popup__form-wrap-fields input {
        width: 100% !important;
    }
	.section-with-form__fields input,
	.popup__form-wrap-fields input:nth-child(odd) {
        margin-right: 0;
    }
	.section-with-form__fields input,
	.popup__form-wrap-fields input:nth-child(even) {
        margin-left: 0;
    }
}
@media screen and (max-width: 575px) {
	
	.first-screen__bg {
		max-height: none;
	}
	
	.section-with-form__fields .wpcf7-not-valid-tip,
	.popup__form-wrap-fields .wpcf7-not-valid-tip {
		margin: -9px 0 15px 3px;
	}
	.wpcf7-not-valid-tip {
		margin: -15px 0 18px 3px;
	}
	.wpcf7 form .wpcf7-response-output {
		font-size: 14px;
		margin: 30px 0 0;
	}

    .post-page__content blockquote p strong {
        font-size: 18px;
        margin-top: 13px;
    }
	
	.post-page .swiper-conteiner {
        margin-left: 0;
        margin-right: 0;
    }
}
@media screen and (max-width: 540px) {
	
	.section-with-form__wrap-submit {
		width: 100%;
	}
	.section-with-form__wrap-submit .wpcf7-spinner {
		bottom: -4px;
		height: 23px;
		right: -20px;
		top: auto;
		width: 23px;
	}
}










/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.wp-caption-text {
	text-align: center;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}
.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
