@charset "UTF-8";

html{box-sizing: border-box}*, *:before, *:after{box-sizing: inherit}img{max-width: 100%; height: auto; min-height: 1px}img.alignright{float:right;margin:0 0 1em 1em}img.alignleft{float:left;margin:0 1em 1em 0}img.aligncenter{display:block;margin-left:auto;margin-right:auto}.alignright{float:right}.alignleft{float:left}.aligncenter{display:block;margin-left:auto;margin-right:auto}a, button, input, textarea, select{outline: none!important}*:focus{outline:none!important;text-decoration:none!important}

body{background-color: #51459f}
#wrapper{background-color: #fff; overflow: hidden}

#cookie-notice .cn-button.btn{min-width: auto; padding: 5px 24px; font-size: 13px; line-height: 18px}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button{-webkit-appearance: none; margin: 0}
input[type=number], input[type=date]{-moz-appearance: textfield}

.read-more{
	display: inline-block;
	vertical-align: baseline;
	position: relative;
	padding-right: 20px;
	text-transform: uppercase;
	font-weight: 600;
	color: #51459f;
	font-size: 16px
}
	.read-more > i{
		position: absolute;
		font-size: 28px;
		top: -4px;
		right: 0;
	}

.editor-content ul{margin: 0; padding: 0; list-style: none}
.editor-content ul li{position: relative; padding-left: 50px}
.editor-content ul li + li{margin-top: 15px}
.editor-content ul li:before{
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	background-color: #ed8520;
	position: absolute;
	top: 7px;
	left: 24px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%
}

.editor-content * + p,
.editor-content p + *,
.editor-content * + ul,
.editor-content ul + *{margin-top: 20px}

.editor-content * + h1,
.editor-content * + h2,
.editor-content * + h3,
.editor-content * + h4,
.editor-content * + h5,
.editor-content * + h6{margin-top: 35px}

.editor-content h1{font-size: 30px} /*27px*/
.editor-content h2{font-size: 28px} /*24px*/
.editor-content h3{font-family: 'Open Sans', sans-serif; font-size: 21px; color: #4836BF; line-height: 27px}
.editor-content h4{font-size: 19px}
.editor-content h5{font-size: 18px; line-height: 24px;}
.editor-content h6{font-family: 'Open Sans', sans-serif; font-weight: 700; color: inherit; font-size: 16px; line-height: 24px}

/* h5, h6 */
.editor-content h5, .editor-content h6{color:#000; font-weight: 700}

.btn-transparent{
	border-color: #7d74b7;
	color: #fff
}
.btn-transparent:hover{
	border-color: #7d74b7;
	background-color: #7d74b7;
	color: #fff
}

.contact-map iframe{display: block!important; margin: 0!important; width: 100%!important}

.sub-menu-widget{background-color: #edebfc; font-weight: 700}
.sub-menu-widget ul{margin: 0 -15px; list-style: none; padding: 0; overflow: hidden}
	.sub-menu-widget ul > li{display: table; height: 60px; float: left; border-right: 1px solid rgba(255, 255, 255, 0.75)}
	.sub-menu-widget ul > li:last-child{border: none}
		.sub-menu-widget ul > li > a{display: table-cell; vertical-align: middle; padding: 5px 15px}

		.sub-menu-widget ul > li:hover > a,
		.sub-menu-widget ul > li.current-menu-item > a,
		.sub-menu-widget ul > li.current-menu-parent > a,
		.sub-menu-widget ul > li.current-menu-ancestor > a{color: #fff; background-color: #51459f; text-decoration: none}


/* */

#footer-toetusfond {
	background-color:#51459f;
	color: #fff;
}
#footer-toetusfond .container {
	position: relative;
    padding: 55px 15px;
}
body.post-type-archive-projektid #header,
body.post-type-archive-projektid #site-navigation, 
body.post-type-archive-projektid .accessibility-notice {
	display: none;
}

body.tax-projekti-rubriik #header,
body.tax-projekti-rubriik #site-navigation,
body.tax-projekti-rubriik .accessibility-notice {
	display: none;
}

body.single-projektid #header,
body.single-projektid #site-navigation,
body.single-projektid .accessibility-notice {
	display: none;
}

body.page-template-tpl-toetusfond #header, 
body.page-template-tpl-toetusfond #site-navigation, 
body.page-template-tpl-toetusfond .accessibility-notice {
    display: none;
}

body.page-template-tpl-toetusfond {
    background-color: #ffffff;
}



.toetusfond-menu-container {
    background-color: #fff;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1440px;
    width: 100%;
}

.toetusfond-menu-container .menu-logo {
    margin-right: auto;
}

.toetusfond-menu-container ul {
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    justify-content: center;
    flex-wrap: wrap;
}

.toetusfond-menu-container li {
    margin: 0 10px;
}

.toetusfond-menu-container a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
}

.toetusfond-menu-container .menu-item a:hover,
.toetusfond-menu-container .menu-item a:focus,
.toetusfond-menu-container .current-menu-item a {
    background-color: #51459f;
    color: #fff; 
}

.menu-logo {
    width: 300px;
}


.menu-toggle {
    display: none;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: #51459f; 
}

@media (max-width: 1199px) {
    .toetusfond-menu-container {
        background-color: #fff;
        flex-direction: row;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .offcanvas {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        background-color: #51459f;
        overflow-x: hidden;
        transition: 0.5s;
        transform: translateX(-100%);
        z-index: 9999;
        padding-top: 60px;
    }

    .offcanvas a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 15px;
        color: #fff;
        display: block;
        transition: 0.3s;
    }

    .offcanvas a:hover {
        color: #f1f1f1;
    }

    .offcanvas.open {
        transform: translateX(0);
    }
	
	.toetusfond-menu-container ul {
		display: block

}
	
	
.menu-logo {
    width: 190px;
}
	
.menu-toggle {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='%2351459f'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath d='M20 7L4 7' stroke='%2351459f' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M20 12L4 12' stroke='%2351459f' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M20 17L4 17' stroke='%2351459f' stroke-width='1.5' stroke-linecap='round'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px;
	}
	
}
/* =============================================================================
   max mega menu
   ========================================================================== */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row{max-width: 1440px; margin: 0 auto; float: none}

/* hide submenu on homepage */
/*body.home #mega-menu-wrap-primary #mega-menu-primary.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
body.home #mega-menu-wrap-primary #mega-menu-primary.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
body.home #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
  visibility: hidden;
}
*/
/* hide submenu on homepage */

.mega-menu-item > .mega-sub-menu{
	-webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.25)!important;
	-moz-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.25)!important;
	box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.25)!important;
}

.mega-block-title{
	font-family: 'Lora', sans-serif!important;
	font-weight: 400!important;
	font-size: 36px!important;
	line-height: 1em!important;
	margin: 0 0 30px 0!important
}

.mega-sub-menu .menu{list-style: circle; padding: 0 20px; margin: 0; overflow: hidden; color: #fff!important; font-size: 15px!important; line-height: 21px!important}
	.mega-sub-menu .menu > li{float: left; width: 50%; padding-left: 0; padding-right: 15px}
	.mega-sub-menu .menu > li:nth-child(n+3){margin-top: 15px}
	.mega-sub-menu .menu > li:nth-child(2n+1){clear: left;}
		.mega-sub-menu .menu a{color: inherit!important}

.ama-widgets > ul.mega-sub-menu{
    display: -ms-flexbox!important;
    display: -webkit-flex!important;
    display: flex!important;
    -webkit-flex-direction: row!important;
    -ms-flex-direction: row!important;
    flex-direction: row!important;
    -webkit-flex-wrap: wrap!important;
    -ms-flex-wrap: wrap!important;
    flex-wrap: wrap!important;
    -webkit-justify-content: flex-start!important;
    -ms-flex-pack: start!important;
    justify-content: flex-start!important;
    -webkit-align-content: stretch!important;
    -ms-flex-line-pack: stretch!important;
    align-content: stretch!important;
    -webkit-align-items: stretch!important;
    -ms-flex-align: stretch!important;
    align-items: stretch!important;
	margin: 0!important
}
	.ama-widgets > ul.mega-sub-menu > li{
		-webkit-order: 0!important;
		-ms-flex-order: 0!important;
		order: 0!important;
		-webkit-flex: 0 1 33.3334%!important;
		-ms-flex: 0 1 33.3334%!important;
		flex: 0 1 33.3334%!important;
		width: 33.3334%!important;
		flex: 0 0 auto\0!important;
		-webkit-align-self: auto!important;
		-ms-flex-item-align: auto!important;
		align-self: auto!important;
		padding: 15px!important;
	}

	.ama-widgets.ama-widgets-4 > ul.mega-sub-menu > li{
		-webkit-flex: 0 1 25%!important;
		-ms-flex: 0 1 25%!important;
		flex: 0 1 25%!important;
		width: 25%!important;
	}

	.ama-widgets.ama-widgets-3 > ul.mega-sub-menu > li{
		-webkit-flex: 0 1 33.3334%!important;
		-ms-flex: 0 1 33.3334%!important;
		flex: 0 1 33.3334%!important;
		width: 33.3334%!important;
	}

	.ama-widgets.ama-widgets-2 > ul.mega-sub-menu > li{
		-webkit-flex: 0 1 50%!important;
		-ms-flex: 0 1 50%!important;
		flex: 0 1 50%!important;
		width: 50%!important;
	}

	.ama-widgets.ama-widgets-1 > ul.mega-sub-menu > li{
		-webkit-flex: 0 1 100%!important;
		-ms-flex: 0 1 100%!important;
		flex: 0 1 100%!important;
		width: 100%!important;
	}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu{min-width: 100%; width: auto!important; white-space: nowrap!important}

.ama-media-widget.flex-center{
	background-color: #fff;
    position: relative;
    height: 100%;
    text-align: center;
    color: #51459f;
    font-size: 16px;
    line-height: 21px;
	font-weight: 600;
	padding-top: 220px
}

	.ama-media-widget.flex-center > .ama-media-thumb{
		display: block;
		margin: 0 auto;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 220px;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat
	}

	.ama-media-widget.flex-center > .flex-item{padding: 15px 10px}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu{margin: 0 -15px!important}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li{padding: 0 15px!important}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title{text-transform:none;}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu{
	background-image: url(../images/dark-purple-bg.png);
	background-position: center 100px;
	background-repeat: no-repeat
}

/* =============================================================================
   flex
   ========================================================================== */
.flex-stretch{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch
}
.flex-center{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center
}
.flex-centered{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.flex-end{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}
	.flex-item{
		-webkit-order: 0;
		-ms-flex-order: 0;
		order: 0;
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
		-webkit-align-self: auto;
		-ms-flex-item-align: auto;
		align-self: auto
	}

	.block-buttons .flex-center > .flex-item,
	.flex-end > .flex-item,
	.flex-centered > .flex-item{
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		width: auto;
		flex: 0 0 auto\0;
	}

.flex-fill{display: flex; flex-wrap: wrap}.flex-fill-item{flex: 1}

/* =============================================================================
   header
   ========================================================================== */
#header{background-color: #fff; position: relative; z-index: 100}
	.header-top{font-size: 13px; line-height: 40px; text-align: right; min-height: 40px}
		.header-top ul{margin: 0; padding: 0; list-style: none; display: inline-block; overflow: hidden; vertical-align: middle}
		.header-top ul > li{float: left}
		.header-top ul > li + li{margin-left: 25px}
			.header-top ul > li > a{display: block; color: inherit}
			.header-top ul > li.current-menu-item > a,
			.header-top ul > li.current-menu-parent > a,
			.header-top ul > li.current-menu-ancestor > a,
			.header-top ul > li.current-page-item > a,
			.header-top ul > li.current-page-parent > a,
			.header-top ul > li.current-page-ancestor > a{font-weight: 700}

	.flex-logo,
	.flex-header-items{padding: 0 15px}

	.flex-logo{
		overflow: hidden;
		 -webkit-flex: 0 1 403px;
		-ms-flex: 0 1 403px;
		flex: 0 1 403px;
		width: 403px;
		flex: 0 0 auto\0
	}
		.flex-logo > a,
		.flex-logo img{display: block}
		.flex-logo > a{float: left}

	.equass-logo{
		overflow: hidden;
		flex: 0 1 133px;
		width: 133px;
		
	
	}

	.flex-other-items{flex: 1}
		.flex-other-items > .flex-end > .flex-item + .flex-item{margin-left: 45px}
		.flex-other-items > .flex-end > .flex-item + .flex-item.flex-lang{margin-left: 15px}
			.flex-other-items .flex-item.flex-contacts  + .flex-item.flex-contacts{margin-left: 25px}
			.flex-other-items .flex-item.flex-contacts > .flex-center{padding-left: 65px; height: 48px; font-size: 13px; line-height: 16px; position: relative}
				.flex-other-items .flex-item.flex-contacts > .flex-center:before{
					content: '';
					display: block;
					width: 48px;
					height: 48px;
					position: absolute;
					top: 50%;
					margin-top: -24px;
					left: 0;
					background-image: url(../images/contact-icons.png);
					background-repeat: no-repeat
				}
				.flex-other-items .flex-item.flex-contacts > .flex-center.icon_1:before{background-position: 0 0}
				.flex-other-items .flex-item.flex-contacts > .flex-center.icon_2:before{background-position: -48px 0}
				.flex-other-items .flex-item.flex-contacts > .flex-center.icon_3:before{background-position: -96px 0}

					.flex-other-items .flex-item.flex-contacts > .flex-center a{text-decoration: underline; color: inherit}
					.flex-other-items .flex-item.flex-contacts > .flex-center a:hover{text-decoration: none}


				.flex-other-items .flex-item.flex-social > .flex-center{float: left}
				.flex-other-items .flex-item.flex-social > .flex-center + .flex-center{margin-left: 10px}

	.wpml-ls ul{list-style: none; padding: 0; margin: 0}
		.wpml-ls ul > li{position: relative}
			.wpml-ls ul > li > a{
				position: relative;
				display: block;
				width: 90px;
				height: 40px;
				line-height: 38px;
				font-size: 14px;
				color: #000;
				text-transform: uppercase;
				border: 1px solid #d2cdca;
				background-color: #fff;
				-webkit-border-radius: 100px;
				-moz-border-radius: 100px;
				border-radius: 100px;
				text-align: center
			}
				.wpml-ls ul > li > a.wpml-ls-item-toggle:after{
					content: "\f3d0";
					display: inline-block;
					vertical-align: middle;
					font-family: "Ionicons";
					speak: none;
					font-style: normal;
					font-weight: normal;
					font-variant: normal;
					text-transform: none;
					text-rendering: auto;
					line-height: 1;
					-webkit-font-smoothing: antialiased;
					-moz-osx-font-smoothing: grayscale;
					margin-left: 10px;
					position: relative;
					top: -1px;
					color: #51459f
				}
			.wpml-ls ul > li > ul{position: absolute; top: 100%; left: 0; width: 100%; display: none}
				.wpml-ls ul > li > ul > li{margin-top: 1px}

			.wpml-ls ul > li:hover > a{background-color: #51459f; border: 1px solid #51459f; color: #fff; text-decoration: none}
				.wpml-ls ul > li:hover > a.wpml-ls-item-toggle:after{color: inherit}

	.flex-social a{
		display: block;
		width: 48px;
		height: 48px;
		line-height: 44px;
		color: inherit;
		border: 2px solid #fff;
		text-align: center;
		font-size: 24px;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%
	}
	.flex-social a:hover{
		border-color: #51459f;
		color: #51459f;
		text-decoration: none;
		opacity: 0.5;
	}

/* =============================================================================
   site navigation
   ========================================================================== */
#primary-menu{text-align: center}
	#primary-menu > ul{margin: 0; padding: 0; list-style: none; display: inline-block; vertical-align: top}
		#primary-menu > ul > li{display: table; height: 50px; float: left}
			#primary-menu > ul > li > a{font-size: 18px; display: table-cell; vertical-align: middle; padding: 5px 15px; text-transform: uppercase; font-weight: 700; color: #000}
			#primary-menu > ul > li:hover > a{
				text-decoration: none;
				color: #fff;
				background-color: #51459f
			}
.submenu-widget{margin-bottom:15px;}

/* =============================================================================
   builder elements
   ========================================================================== */
.builder-element-inner{padding: 80px 0}

.builder-element-title{margin-bottom: 35px}
	.builder-element-title > h2{font-size: 48px; float: left}
	.builder-element-title > .element-title-link{float: right; text-transform: uppercase; font-size: 16px; line-height: 24px; padding-top: 14px}
		.builder-element-title > .element-title-link > a{display: inline-block; vertical-align: baseline; padding: 2px 0; border-bottom: 1px solid #fff}
		.builder-element-title > .element-title-link > a:hover{text-decoration: none; font-weight: 600}

.builder-element-btn{margin-top: 45px; text-align: center}

/* element hero */
.builder-element-hero > .builder-element-inner{padding: 0; position: relative; background-color: #e4e1f7}
	.builder-element-hero > .builder-element-inner > .container{position: relative; z-index: 1}
	.builder-element-hero > .builder-element-inner .container > .row > .col-md-5,
	.builder-element-hero > .builder-element-inner .container > .row > .col-md-6{background-color: #e4e1f7}
		.builder-element-hero > .builder-element-inner .container > .row > .col-md-5:after,
		.builder-element-hero > .builder-element-inner .container > .row > .col-md-6:after{
			content: '';
			display: block;
			width: 450px;
			height: 100%;
			position: absolute;
			top: 0;
			right: -450px;
			background: -moz-linear-gradient(left, rgba(228,225,247,1) 0%, rgba(255,255,255,0) 100%);
			background: -webkit-linear-gradient(left, rgba(228,225,247,1) 0%,rgba(255,255,255,0) 100%);
			background: linear-gradient(to right, rgba(228,225,247,1) 0%,rgba(255,255,255,0) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e1f7', endColorstr='#00ffffff',GradientType=1 );
		}

		.builder-element-hero .hero-content{position: relative; z-index: 1; height: 415px; font-size: 18px; line-height: 24px; padding-bottom: 70px}
			.builder-element-hero .hero-content h1{font-size: 48px; line-height: 0.9em}
			.builder-element-hero .hero-content h1 + *{margin-top: 35px}
			.builder-element-hero .hero-content strong{font-weight: 600}
			.builder-element-hero .hero-content p + *{margin-top: 10px}
			.builder-element-hero .hero-content .hero-contacts{font-size: 16px; line-height: 24px; font-weight: 700}
				.builder-element-hero .hero-content .hero-contacts > .hero-contact{display: block; padding-left: 35px; color: inherit; background-position: left center; background-repeat: no-repeat}
				.builder-element-hero .hero-content .hero-contacts > .hero-contact + .hero-contact{margin-top: 15px}
					.builder-element-hero .hero-content .hero-contacts > .hero-contact.contact_phone{background-image: url(../images/hero-phone.png)}
					.builder-element-hero .hero-content .hero-contacts > .hero-contact.contact_mail{background-image: url(../images/hero-mail.png)}
			
			.builder-element-hero .hero-content .hero-contacts + *{margin-top: 20px}

	.builder-element-hero .container + .hero-slider{position: absolute; top: 0; left: 0; width: 100%; height: 100%}
		.builder-element-hero .container + .hero-slider > .slick-list, .builder-element-hero .container + .hero-slider > .slick-list > .slick-track, .builder-element-hero .container + .hero-slider > .slick-list > .slick-track > .hero-slide{position: relative; height: 100%}.builder-element-hero .hero-slider .hero-slide{background-position: right center; background-repeat: no-repeat}

		.hero-slider .slick-arrow{
			display: block;
			width: 50px;
			height: 50px;
			border: none;
			background-color: rgba(0, 0, 0, 0.45);
			color: #fff;
			text-align: center;
			position: absolute;
			top: 50%;
			margin-top: -25px;
			z-index: 10;
			font-size: 30px
		}
			.hero-slider .slick-arrow.slick-prev{left: 15px}
			.hero-slider .slick-arrow.slick-next{right: 15px}

/* element posts category */
.builder-posts-category{background-color: #51459f; overflow: hidden}
	.builder-posts-category .builder-element-title{color: #fff}
		.builder-posts-category .builder-element-title *{color: inherit}

.builder-posts-category.bg-light{background-color: #edebfc}
	.builder-posts-category.bg-light .container{position: relative}
		.builder-posts-category.bg-light .container > *{position: relative}
		.builder-posts-category.bg-light .container:before{
			content: '';
			display: block;
			width: 1000px;
			height: 1000px;
			position: absolute;
			top: -30px;
			right: -205px;
			background-image: url(../images/light-purple-bg.png);
			background-position: right bottom;
			background-repeat: no-repeat
		}
			.builder-posts-category.bg-light .builder-element-title{color: #51459f}
			.builder-posts-category.bg-light .posts-grid > .posts-grid-item > a.posts-grid-inner-inner{background-color: #fff}

	.builder-posts-category.bg-light .element-title-link > a{color: #000; border-color: #51459f}

/* posts grid */
.posts-grid{margin: 0 -15px}
	.posts-grid > .posts-grid-item{
		-webkit-flex: 0 1 25%;
		-ms-flex: 0 1 25%;
		flex: 0 1 25%;
		width: 25%;
		flex: 0 0 auto\0;
		padding: 0 15px
	}
	.posts-grid > .posts-grid-item:nth-child(n+5){margin-top: 30px}
	
		.posts-grid > .posts-grid-item > a.posts-grid-inner-inner{
			background-color: #f2f0ff;
			display: block;
			color: #000;
			min-height: 100%;
			font-size: 14px;
			line-height: 21px
		}
		.posts-grid-item-info{padding: 40px 35px}
			.posts-grid-item-info h3{font-size: 21px; line-height: 27px; margin-bottom: 10px}
			.posts-grid-item-info .read-more{margin-top: 15px}

.post-date{font-size: 14px; line-height: 21px; color: #5e5e5e; margin-bottom: 5px}

/* posts grid wide */
.posts-grid.posts-grid-wide > .posts-grid-item{
	-webkit-flex: 0 1 50%;
	-ms-flex: 0 1 50%;
	flex: 0 1 50%;
	width: 50%;
	flex: 0 0 auto\0;
}
.posts-grid.posts-grid-wide > .posts-grid-item:nth-child(n+3){margin-top: 30px}

.category-button{margin-top: 30px}

/* element regular */
.builder-element-regular .flex-fill{margin: 0 -15px}
	.builder-element-regular .flex-fill > .flex-fill-item{padding: 0 15px; min-width: 33.3334%}

.builder-element-regular.bg-light{background-color: #edebfc; overflow: hidden}
	.builder-element-regular.bg-light .container{position: relative}
		.builder-element-regular.bg-light .container:before{
			content: '';
			display: block;
			width: 1000px;
			height: 1000px;
			position: absolute;
			top: -30px;
			right: -205px;
			background-image: url(../images/light-purple-bg.png);
			background-position: right bottom;
			background-repeat: no-repeat;
		}
		.builder-element-regular.bg-light .container > .builder-element-title,
		.builder-element-regular.bg-light .container > .builder-element-content,
		.builder-element-regular.bg-light .container > .builder-element-btn{position: relative}


.builder-element-regular.bg-dark{color: #fff; background-color: #51459f}

.builder-element-regular.bg-dark a{color: inherit; text-decoration: underline}
.builder-element-regular.bg-dark a:hover{text-decoration: none}

.builder-element-regular.bg-dark h1,
.builder-element-regular.bg-dark h2,
.builder-element-regular.bg-dark h3,
.builder-element-regular.bg-dark h4,
.builder-element-regular.bg-dark h5,
.builder-element-regular.bg-dark h6{color: inherit}

/* element cta */
.builder-element-cta{background-color: #51459f; color: #fff}
	.builder-element-cta h2{color: inherit}
		.builder-element-cta .flex-fill{margin: 0 -15px}
			.builder-element-cta .flex-fill .flex-fill-item{padding: 0 15px; min-width: 50%}
				.builder-element-cta .btn-default{border: 1px solid #fff; background-color: transparent; color: #fff; padding: 12px 23px}
					.builder-element-cta .flex-centered{margin: -15px}
						.builder-element-cta .flex-centered > .flex-item{padding: 15px}

/* element blocks */
.block-element + .block-element{margin-top: 45px}
.block-element.block-regular + .block-element.block-buttons,
.block-element.block-buttons + .block-element.block-regular{margin-top: 37px}

	.block-buttons .block-content > *{margin: -10px -15px}
		.block-buttons .flex-item{padding: 10px 15px}

.block-title{margin-bottom: 25px}
	.block-title h2{font-size: 48px}
.block-btn{margin-top: 30px; text-align: center}

.builder-element-blocks .container > .flex-stretch{margin: 0 -15px}
	.builder-element-blocks .container > .flex-stretch > .flex-item{padding: 0 15px}
	.builder-element-blocks .container > .flex-stretch.has-secondary .element-blocks-main{
		-webkit-flex: 0 1 50%;
		-ms-flex: 0 1 50%;
		flex: 0 1 50%;
		width: 50%;
		flex: 0 0 auto\0
	}
	.builder-element-blocks .container > .flex-stretch.has-secondary .element-blocks-secondary{
		-webkit-flex: 0 1 41.66666667%;
		-ms-flex: 0 1 41.66666667%;
		flex: 0 1 41.66666667%;
		width: 41.66666667%;
		flex: 0 0 auto\0;
		margin-left: 8.33333333%
	}

	.builder-element-blocks .container > .flex-stretch.has-secondary.reverse-width .element-blocks-main{
		-webkit-flex: 0 1 41.66666667%;
		-ms-flex: 0 1 41.66666667%;
		flex: 0 1 41.66666667%;
		width: 41.66666667%;
		flex: 0 0 auto\0
	}
	.builder-element-blocks .container > .flex-stretch.has-secondary.reverse-width .element-blocks-secondary{
		-webkit-flex: 0 1 50%;
		-ms-flex: 0 1 50%;
		flex: 0 1 50%;
		width: 50%;
		flex: 0 0 auto\0;
		margin-left: 8.33333333%
	}

/* events calendar */
* + .events-calendar{margin-top: 25px}
	.events-calendar-item + .events-calendar-item{margin-top: 20px}
		.events-calendar-item .calendar-item-date{
			-webkit-flex: 0 1 70px;
			-ms-flex: 0 1 70px;
			flex: 0 1 70px;
			width: 70px;
			flex: 0 0 auto\0;
			border: 2px solid #d3d0e7;
			color: #51459f;
			font-family: 'Lora', sans-serif;
			font-size: 18px;
			line-height: 1em;
		}
			.events-calendar-item .calendar-item-date > .flex-center{
				text-align: center;
				height: 66px;
				width: 100%;
				padding: 10px;
			}
		.events-calendar-item .calendar-item-info{flex: 1; padding-left: 20px; color: #000; font-size: 14px; line-height: 21px; font-weight: 700}

.events-calendar-item:hover{text-decoration: none}
	.events-calendar-item:hover .calendar-item-date{border-color: #51459f; background-color: #51459f; color: #fff}
	.events-calendar-item:hover .calendar-item-info{color: #51459f}

.calendar-grid{
	margin: -15px
}
	.calendar-grid > .events-calendar-item{
		padding: 15px;
		-webkit-flex: 0 1 25%;
		-ms-flex: 0 1 25%;
		flex: 0 1 25%;
		width: 25%;
		flex: 0 0 auto\0;
	}
		.calendar-grid > .events-calendar-item > a{
			display: block;
			position: relative;
			height: 100%;
			border: 1px solid #ece5db;
			transition: 0.25s ease;
			transition-timing-function: cubic-bezier(.75,0,.29,1.01)
		}

	.calendar-grid > .events-calendar-item + .events-calendar-item{margin-top: -1px}
		.calendar-grid > .events-calendar-item .calendar-item-date{
			border-color: #51459f;
			background-color: #51459f;
			color: #fff;
			text-align: center;
			padding: 10px 15px;
			width: 100%
		}
			.calendar-grid > .events-calendar-item .calendar-item-date > .flex-center{height: auto}
				.calendar-grid > .events-calendar-item .calendar-item-date .item-date-dm,
				.calendar-grid > .events-calendar-item .calendar-item-date .item-date-y{display: inline-block; vertical-align: baseline}
					.calendar-grid > .events-calendar-item .calendar-item-date .item-date-y:before{content: '.'}

		.calendar-grid > .events-calendar-item .calendar-item-info{padding: 15px 20px}

	.calendar-grid > .events-calendar-item > a:hover{box-shadow: 0 0 35px -2px rgba(0, 0, 0, 0.15)}

/* charity block */
.block-charity .block-content .flex-stretch > .flex-item:first-child{flex: 1; padding-right: 30px}
.block-charity .block-content .flex-stretch > .flex-item.charity-logo{
	margin-top: -40px;
	-webkit-flex: 0 1 210px;
    -ms-flex: 0 1 210px;
    flex: 0 1 210px;
    width: 210px;
    flex: 0 0 auto\0
}
	.block-charity .block-content .flex-stretch > .flex-item.charity-logo > img{display: block; margin: 0 auto}

.block-charity .block-content .flex-stretch + *{margin-top: 30px}

/* element links block */
.builder-element-links{color: #fff; background-color: #51459f; position: relative; z-index: 1}
.builder-element-links > .builder-element-inner{padding: 50px 0}
	.builder-element-links .links-element-title > h2{color: inherit; font-size: 36px; line-height: 1em; margin-bottom: 25px}

	.builder-element-links .builder-element-content > .flex-fill{margin: 0 -15px}
		.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item{min-width: 50%; padding: 0 15px; position: relative}
		.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item.has_button{padding-bottom: 90px}
		.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item + .flex-fill-item{min-width: 41.66666667%}
		.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item + .flex-fill-item{margin-left: 8.33333333%}
			.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item.has_button > .links-element-btn{position: absolute; left: 0; right: 0; bottom: 0}

.links-with-imgs{margin: 0 -15px}
	.links-with-imgs > .flex-item{
		-webkit-flex: 0 1 33.3334%;
		-ms-flex: 0 1 33.3334%;
		flex: 0 1 33.3334%;
		width: 33.3334%;
		flex: 0 0 auto\0;
		padding: 0 15px
	}
		.links-with-imgs > .flex-item > .flex-center{background-color: #fff; position: relative; height: 100%; text-align: center; padding-top: 220px; color: #51459f; font-size: 16px; line-height: 21px}
			.links-with-imgs > .flex-item > .flex-center > img{display: block; margin: 0 auto; position: absolute; top: 0; left: 0}
			.links-with-imgs > .flex-item > .flex-center > .flex-item{
				font-weight: 600;
				padding: 15px 10px;
			}

.builder-element-hero + .builder-element-links .links-with-imgs{margin-top: -120px}

	.builder-element-links ul{margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 21px}
		.builder-element-links ul > li + li{margin-top: 10px}
			.builder-element-links ul > li > a{color: inherit}

			.links-underlined a{border-bottom: 1px solid #b6b2d3}
			.links-underlined a:hover{text-decoration: none; border-color: #fff}
			.links-bold{font-weight: 600}

/* element imglink block */
.builder-element-imglink{color: #fff; background-color: #fff; position: relative; z-index: 1}
.builder-element-imglink > .builder-element-inner{padding: 50px 0}

	.builder-element-imglink .builder-element-content > .grid-container{margin: 0 -15px}

		.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item{min-width: 100%; padding: 0 15px; position: relative}

		.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item > .imgs-with-links{display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin: 0 -15px;}

.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item > .imgs-with-links > .grid-item{background-color: #51459f; position: relative; text-align: center;}

		.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item.has_button{padding-bottom: 90px}

		.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item + .grid-container-item{min-width: 41.66666667%}
		.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item + .grid-container-item{margin-left: 8.33333333%}
			.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item.has_button > .imglink-element-btn{position: absolute; left: 0; right: 0; bottom: 0}

			.imgs-with-links > .grid-item > .grid-center > .grid-item{
				font-weight: 600;
				padding: 15px 10px;
			}

a.grid-center {
    color: #fff;
}

@media (max-width: 1200px) {
    .builder-element-imglink .builder-element-content > .grid-container > .grid-container-item > .imgs-with-links {
        grid-template-columns: repeat(3, 1fr);
		margin-left: auto;
   		margin-right: auto;
    }
}

@media (max-width: 992px) {
    .builder-element-imglink .builder-element-content > .grid-container > .grid-container-item > .imgs-with-links {
        grid-template-columns: repeat(2, 1fr);
		margin-left: auto;
   		margin-right: auto;
    }
}

@media (max-width: 768px) {
    .builder-element-imglink .builder-element-content > .grid-container > .grid-container-item > .imgs-with-links {
		  margin-left: auto;
  		  margin-right: auto;
		grid-template-columns: repeat(1, 1fr);
    }
	    .grid-center img {
			display:none;
    }
    .builder-element-imglink .builder-element-content > .grid-container > .grid-container-item.has_button {
        padding-bottom: 50px;
    }   
}
	



/* Element logos block */
.builder-element-logos {
    color: #fff;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.builder-element-logos > .builder-element-inner {
    padding: 50px 0;
}

.builder-element-content {
    position: relative;
}


.slick-track {
    display: flex;
    align-items: center;
}


.logo-item {
    padding: .3125rem .625rem; 
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
   
    margin: 0 auto;
}

.logo-item a {
    display: block;
}

.slick-arrow {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev::before, .slick-next::before {
    content: none;
}

.slick-prev svg, .slick-next svg {
    fill: currentColor;
}

.text-center {
	text-align:center;
}




/* element text + img */
.builder-element-txtimg .builder-element-inner{padding: 0}
.builder-element-txtimg .builder-element-inner:nth-child(odd){background-color: #edebfc}
.builder-element-txtimg .builder-element-inner:nth-child(even){background-color: #fff}

	.builder-element-txtimg .builder-element-inner > .container > .flex-stretch{min-height: 450px; margin: 0 -15px}
		.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item{
			padding: 0 15px;
			position: relative;
			-webkit-flex: 0 1 50%;
			-ms-flex: 0 1 50%;
			flex: 0 1 50%;
			width: 50%;
			flex: 0 0 auto\0
		}
		.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item.txtimg-editor{z-index: 1}
			.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item.txtimg-editor > .txtimg-editor-inner{padding: 70px 0}

		.builder-element-txtimg .builder-element-inner:nth-child(even) > .container > .flex-stretch > .flex-item.txtimg-editor{-webkit-order: 1; -ms-flex-order: 1; order: 1}
			.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item > .txtimg-media-wrap{
				position: absolute;
				top: 0;
				height: 100%;
				background-position: center;
				background-repeat: no-repeat;
				background-size: cover
			}
				.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item > .txtimg-media-wrap:before{
					content: '';
					display: block;
					width: 350px;
					height: 100%;
					background-position: 0 0;
					background-repeat: repeat-y;
					position: absolute;
					top: 0
				}
			.builder-element-txtimg .builder-element-inner:nth-child(odd) > .container > .flex-stretch > .flex-item > .txtimg-media-wrap{left: 0; right: -30px}
			.builder-element-txtimg .builder-element-inner:nth-child(even) > .container > .flex-stretch > .flex-item > .txtimg-media-wrap{right: 0; left: -30px}
				.builder-element-txtimg .builder-element-inner:nth-child(odd) > .container > .flex-stretch > .flex-item > .txtimg-media-wrap:before{
					background-image: url(../images/right-overlay.png);
					left: -100px
				}
				.builder-element-txtimg .builder-element-inner:nth-child(even) > .container > .flex-stretch > .flex-item > .txtimg-media-wrap:before{
					background-image: url(../images/left-overlay.png);
					right: -100px
				}

		.txtimg-btn{margin-top: 35px}

/* gallery */
.gallery{overflow: hidden; margin: 0 -15px}
	.gallery .gallery-item{width: 33.3334%; float: left; padding: 0 15px}
	.gallery .gallery-item:nth-child(n+4){margin-top: 30px}
		.gallery .gallery-item a,
		.gallery .gallery-item img{display: block}
		.gallery .gallery-item img{width: 100%; height: auto}
		.gallery .gallery-item a{position: relative}
			.gallery .gallery-item a:before{
				content: '';
				display: block;
				width: 100%;
				height: 100%;
				position: absolute;
				top: 0;
				left: 0;
				background-color: #51459f
			}
			.gallery .gallery-item a > .flex-center{
				padding: 15px;
				position: absolute;
				top: 15px;
				left: 15px;
				bottom: 15px;
				right: 15px;
				border: 2px solid #fff;
				text-align: center;
				color: #fff;
				font-size: 16px;
				line-height: 24px
			}
			.gallery .gallery-item a:before,
			.gallery .gallery-item a > .flex-center{
				opacity: 0;
				-webkit-transition: opacity 0.25s ease-in-out;
				-moz-transition: opacity 0.25s ease-in-out;
				-ms-transition: opacity 0.25s ease-in-out;
				-o-transition: opacity 0.25s ease-in-out;
				transition: opacity 0.25s ease-in-out
			}
			.gallery .gallery-item a:hover:before{opacity: 0.8}
			.gallery .gallery-item a:hover > .flex-center{opacity: 1}

/* =============================================================================
   entry content
   ========================================================================== */
.entry-header-image{background-color: #edebfc; overflow: hidden}
	.entry-header-image > .container{position: relative; height: 220px; background-position: center; background-repeat: no-repeat; background-size: cover; max-width: 1500px}
		.entry-header-image > .container:before,
		.entry-header-image > .container:after{
			content: '';
			display: block;
			height: 100%;
			width: 235px;
			position: absolute;
			top: 0;
		}
		.entry-header-image > .container:before{
			left: 0;
			background: -moz-linear-gradient(left, rgba(237,235,252,1) 0%, rgba(241,239,253,1) 20%, rgba(255,255,255,0) 100%);
			background: -webkit-linear-gradient(left, rgba(237,235,252,1) 0%,rgba(241,239,253,1) 20%,rgba(255,255,255,0) 100%);
			background: linear-gradient(to right, rgba(237,235,252,1) 0%,rgba(241,239,253,1) 20%,rgba(255,255,255,0) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edebfc', endColorstr='#00ffffff',GradientType=1 );
		}
		.entry-header-image > .container:after{
			right: 0;
			background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(241,239,253,1) 80%, rgba(237,235,252,1) 100%);
			background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(241,239,253,1) 80%,rgba(237,235,252,1) 100%);
			background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(241,239,253,1) 80%,rgba(237,235,252,1) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#edebfc',GradientType=1 );
		}

.entry-header{padding: 45px 0; /*border-bottom: solid 1px rgb(237, 235, 252);*/}
	.entry-header h1{font-size: 48px; line-height: 65px}

.entry-regular-content{padding-bottom: 50px}

.entry-header + .builder-elements > .builder-element-regular.bg-default:first-child > .builder-element-inner,
.builder-element-regular.bg-default + .builder-element-regular.bg-default > .builder-element-inner{padding-top: 0}


/* Tabby Responsive tabs */

.responsive-tabs .responsive-tabs__panel{
	background:transparent!important;
	border:none!important;
	border-top:1px solid #EDEBFC!important;
}

.responsive-tabs .responsive-tabs__list__item--active,
.responsive-tabs .responsive-tabs__list__item--active:hover{
	border-color:#edebfc!important;
}

.responsive-tabs-wrapper ul li::before{display:none;}

/* =============================================================================
   wpcf7
   ========================================================================== */
.wpcf7 h1,
.wpcf7 h2,
.wpcf7 h3,
.wpcf7 h4,
.wpcf7 h5,
.wpcf7 h6{margin: 0!important}

.bg-dark .wpcf7 .btn-primary{border-color: #fff}

* + .form-group{margin-top: 15px}
label + .form-group{margin-top: 0}

.wpcf7 .wpcf7-form{padding: 0; background: none}

.wpcf7 .wpcf7-form input:not([type]),
.wpcf7 .wpcf7-form input[type=text]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=password]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=email]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=url]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=time]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=date]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=datetime]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=datetime-local]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=tel]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=number]:not(.browser-default),
.wpcf7 .wpcf7-form input[type=search]:not(.browser-default),
.wpcf7 .wpcf7-form textarea.materialize-textarea{
	box-sizing: border-box!important;
	margin: 0!important;
	background-color: #fff!important;
	padding-left: 15px!important;
	padding-right: 15px!important;
	color: #51459f!important
}
.wpcf7 .wpcf7-form .input-field label{padding: 0 15px!important}
.wpcf7 .wpcf7-form .input-field label:not(.label-icon).active{transform: translateY(-22px) scale(0.8)!important}

.wpcf7 .wpcf7-form .input-field.file-field label{top: -40px!important; line-height: 28px!important; font-size: 15px!important; color: inherit!important; margin: 0!important; height: auto!important}

.wpcf7 .wpcf7-form textarea.materialize-textarea{min-height: 140px!important}

.wpcf7 .wpcf7-form .input-field{margin: 0!important}

.wpcf7 .row{margin: 0 -15px!important}
.wpcf7 .row > div{padding: 0 15px!important}

.wpcf7 .wpcf7-form-control-wrap > .wpcf7-checkbox{margin: 0 -15px!important}

.wpcf7 .wpcf7-form small{display: block; margin-bottom: 5px}

.wpcf7 .wpcf7-form [type="checkbox"].filled-in:not(:checked)+label:after{border-color: rgba(0, 0, 0, 0.5)}

.bg-dark .wpcf7 .wpcf7-form .input-field label:not(.label-icon).active,
.bg-dark .wpcf7 .wpcf7-form [type="checkbox"]+label,
.wpcf7 .wpcf7-form small{color: #fff!important}

.wpcf7 .wpcf7-form [type="checkbox"].filled-in:not(:checked)+label:after,
.wpcf7 .wpcf7-form [type="checkbox"].filled-in:checked+label:before{top: 3px}

.wpcf7 .wpcf7-form input.select-dropdownmaterial[readonly]{color: #51459f!important}

.dropdown-content li{padding-left: 0!important; padding-right: 0!important}
.dropdown-content li:before{display: none!important}

.wpcf7 p + p{margin-top: 2rem!important}

.bg-dark .wpcf7 .wpcf7-form .wpcf7-submit,
.bg-dark .wpcf7 .wpcf7-form .btn-large,
.bg-dark .wpcf7 .wpcf7-form .btn{border: 1px solid #fff!important}

.wpcf7 .wpcf7-form .wpcf7-submit,
.wpcf7 .wpcf7-form .btn-large,
.wpcf7 .wpcf7-form .btn{
	box-shadow: none!important;
	border: 1px solid transparent!important;
	padding: 12px 23px!important;
	height: auto;
	font-size: 16px;
    line-height: 24px;
    border-radius: 100px;
}
.wpcf7 .wpcf7-form .btn > span{position: relative; top: -12px}

.wpcf7 p.explanation{margin-top:-0.5rem!important;}

.wpcf7 .input-field .wpcf7-not-valid-tip{margin-top: 0!important}

.wpcf7 .wpcf7-form .wpcf7-acceptance .wpcf7-list-item{padding: 0 0 0 30px !important}

.bg-dark .wpcf7 .wpcf7-form [type="checkbox"]+label:before,
.bg-dark .wpcf7 .wpcf7-form [type="checkbox"]:not(.filled-in)+label:after{border-color: #fff}

.bg-dark .wpcf7 .wpcf7-form [type=checkbox]:checked+label:before{
	border-top: 0;
	border-left: 0;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.wpcf7 p.terms-link + p{margin-top: 0.75rem!important}

/* =============================================================================
   prefooter
   ========================================================================== */
#prefooter{
	background-color: #fff;
	text-align: center;
	font-family: 'Lora', sans-serif!important;
	font-style: italic;
	padding: 0 0 75px 0;
	font-size: 36px;
	line-height: 1.25em;
	color: #51459f;
	font-weight: 400
}
	#prefooter .container{padding-left: 115px; padding-right: 115px}
	#prefooter .slogan-outer{
		max-width: 870px;
		padding: 30px;
		/*border: 5px solid #b2b2b2;*/
		margin: 0 auto
	}
	#prefooter .slogan-outer > span{display: block; margin: 0 -65px; background-color: #fff; padding: 25px 60px; position: relative}

	#prefooter .slogan-outer > span:before,
	#prefooter .slogan-outer > span:after{
		content: '';
		display: block;
		width: 36px;
		height: 36px;
		position: absolute;
		background-repeat: no-repeat;
		background-position: center;
	}
	#prefooter .slogan-outer > span:before{top: 15px; left: 0; background-image: url(../images/quote-start.png)}
	#prefooter .slogan-outer > span:after{bottom: 15px; right: 0; background-image: url(../images/quote-end.png)}

/* =============================================================================
   footer
   ========================================================================== */
#footer{background-color: #51459f; color: #fff}
	#footer .container{position: relative; padding: 55px 15px}

	#footer a{color: inherit}
	#footer .flex-other-items .flex-item.flex-contacts > .flex-center.icon_1:before{background-position: 0 -48px}
	#footer .flex-other-items .flex-item.flex-contacts > .flex-center.icon_2:before{background-position: -48px -48px}
	#footer .flex-other-items .flex-item.flex-contacts > .flex-center.icon_3:before{background-position: -96px -48px}

/*	originaalis 3 ikooni jaluses ja margin 100px #footer .flex-other-items > .flex-end > .flex-item + .flex-item{margin-left: 100px}
*/

	#footer .flex-other-items > .flex-end > .flex-item + .flex-item{margin-left: 50px}

a#ama{
	font-size: 14px;
	line-height: 14px;
	display: block;
	float: right;
	position: absolute;
	bottom: 25px;
	right: 15px;
	opacity: 0.9
}

/* =============================================================================
   searchform
   ========================================================================== */
.center-element:before{content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -0.25em}.center-element > .centered{display: inline-block; vertical-align: middle; width: 99%}

#searchform{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(81, 69, 159, 0.75);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
	#searchform .center-element{
		height: 100%;
		position: relative;
		width: 100%;
	}
		#searchform .searchform-wrap{
			max-width: 60em;
			width: 100%;
			margin: 0 auto;
			position: relative;
			padding-top: 4em;
			padding-bottom: 8em;
			padding-left: 15px;
			padding-right: 15px;
		}
			#searchform .searchform-wrap #close-search{
				background: none;
				outline: none;
				border: none;
				padding: 0;
				width: 20px;
				height: 20px;
				position: absolute;
				cursor: pointer;
				z-index: 10;
				background-size: 100% auto;
				background-position: 0 0;
				background-image: url(../images/icons/close-icon.png);
				text-indent: -5000px;
				top: 0;
				right: 12px;
				-webkit-transition: all 0.3s ease;
				-moz-transition: all 0.3s ease;
				-ms-transition: all 0.3s ease;
				-o-transition: all 0.3s ease;
				transition: all 0.3s ease;
				opacity: 1;
			}
			#searchform .searchform-wrap #close-search:hover{opacity: 0.5}

#searchform.search-visible{
	opacity: 1;
	visibility: visible;
}
#searchform .searchbox{font-size: 3.6666666666666665em; position: relative; /*55px*/}
	#searchform .searchbox .searchbox-input{
		border: none;
		background: none;
		color: #fff;
		font-weight: 700;
		border-bottom: 1px solid #fff;
		width: 100%;
		padding: 0.2727272727272727em 2.309090909090909em 0.2727272727272727em 0;
		height: 1.7636363636363634em
	}
	#searchform .searchbox .searchbox-input::-webkit-input-placeholder{color: #fff; opacity: 1}
	#searchform .searchbox .searchbox-input:-moz-placeholder{color: #fff; opacity: 1}
	#searchform .searchbox .searchbox-input::-moz-placeholder{color: #fff; opacity: 1}
	#searchform .searchbox .searchbox-input:-ms-input-placeholder{color: #fff; opacity: 1}
	#searchform .searchbox .searchbox-input:focus::-webkit-input-placeholder{opacity: 0}
	#searchform .searchbox .searchbox-input:focus:-moz-placeholder{opacity: 0}
	#searchform .searchbox .searchbox-input:focus::-moz-placeholder{opacity: 0}
	#searchform .searchbox .searchbox-input:focus:-ms-input-placeholder{opacity: 0}

	#searchform .searchbox .searchbox-submit{
		position: absolute;
		background-color: #fff;
		top: 0;
		right: 0;
		border: none;
		height: 2.9393939393939394em;
		width: 2.9393939393939394em;
		font-size: 0.6em;
		padding: 0;
		-webkit-transition: background 0.3s ease;
		-moz-transition: background 0.3s ease;
		-ms-transition: background 0.3s ease;
		-o-transition: background 0.3s ease;
		transition: background 0.3s ease;
	}
	#searchform .searchbox .searchbox-submit:hover{color: #fff; background-color: #323232;}

.search-result-item + .search-result-item{margin-top: 20px; padding-top: 20px; border-top: 1px solid #d5d5d5}
	.search-result-item .btn{min-width: inherit; margin-top: 15px}
	.search-result-item h3 + *{margin-top: 30px}

.pagi-nav{margin-top: 30px; text-align: center}
	.pagi-nav ul{margin: 0; padding: 0; list-style: none; overflow: hidden; display: inline-block; vertical-align: top}
		.pagi-nav ul li{float: left; padding: 5px}
			.pagi-nav ul li a,
			.pagi-nav ul li span{display: block; width: 40px; height: 40px; border: 1px solid #d5d5d5; color: #d5d5d5; line-height: 38px; text-align: center; font-size: 21px}
			.pagi-nav ul li a:hover,
			.pagi-nav ul li span{color: #51459f; border-color: #51459f; text-decoration: none}


.post-item-thumbnail{text-align:center!important;}

#mega-menu-wrap-primary .mega-menu-toggle{
    -webkit-border-radius: 0!important;
    -moz-border-radius: 0!important;
    -ms-border-radius: 0!important;
    -o-border-radius: 0!important;
    border-radius: 0!important;	
}

/* =============================================================================
   media query
   ========================================================================== */
@media (max-width: 1366px){
	.flex-logo{overflow: hidden; -webkit-flex: 0 1 350px; -ms-flex: 0 1 350px; flex: 0 1 350px; width: 350px; flex: 0 0 auto\0}
}
@media (max-width: 1260px){
	.header-top{text-align: center}

		#header > .container > .flex-center{margin-left: -15px; margin-right: -15px}
		.flex-other-items{padding-right: 15px}

	.entry-header-image{display: none}

	.entry-header{padding: 20px 0}

	.builder-element-hero .hero-content h1,
	.entry-header h1{font-size: 32px; line-height: 1em}

	.builder-element-links .links-element-title > h2,
	.block-title h2,
	.builder-element-title > h2{font-size: 28px; line-height: 1em}

	.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item + .flex-fill-item{margin-top: 30px}

	.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item + .grid-container-item{margin-top: 30px}
	
	.builder-element-inner{padding: 40px 0}
	.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item.txtimg-editor > .txtimg-editor-inner{padding: 30px 0}

	.hero-slide{background-image: none!important}

	.builder-element-hero .hero-content{height: auto; padding-top: 30px; padding-bottom: 100px}
	.builder-element-hero .hero-content h1 + *{margin-top: 15px}
	.builder-element-hero > .builder-element-inner .col-md-5{width: 100%; text-align: center}

	#header{padding: 0 0 15px 0}

		.flex-logo{overflow: hidden; -webkit-flex: 0 1 175px; -ms-flex: 0 1 175px; flex: 0 1 175px; width: 175px; flex: 0 0 auto\0}
		.flex-other-items .flex-item.flex-contacts > .flex-center{padding-left: 0}
			.flex-other-items .flex-item.flex-contacts > .flex-center:before{display: none}

	.builder-element-blocks .container > .flex-stretch.has-secondary > .flex-item + .flex-item{margin-top: 30px}

	.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item + .flex-fill-item{margin-left: 0; min-width: 50%}

	.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item + .grid-container-item{margin-left: 0; min-width: 50%}
	
	.builder-element-blocks .container > .flex-stretch.has-secondary .element-blocks-main,
	.builder-element-blocks .container > .flex-stretch.has-secondary .element-blocks-secondary,
	.builder-element-blocks .container > .flex-stretch.has-secondary.reverse-width .element-blocks-main{
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
		margin-left: 0;
	}
	.builder-element-blocks .container > .flex-stretch.has-secondary.reverse-width .element-blocks-secondary{
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
		margin-left: 0;
	}

	.posts-grid-item-info{padding: 15px 20px}
		.posts-grid-item-info h3{font-size: 18px; line-height: 24px}

	.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item{min-width: 100%}
		.builder-element-hero + .builder-element-links .links-with-imgs{max-width: 720px; margin-left: auto; margin-right: auto}
	
		.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item{min-width: 100%}
		.builder-element-hero + .builder-element-imglink .imgs-with-links{max-width: 720px; margin-left: auto; margin-right: auto}
	

	.posts-grid > .posts-grid-item{
		-webkit-flex: 0 1 50%;
		-ms-flex: 0 1 50%;
		flex: 0 1 50%;
		width: 50%;
		flex: 0 0 auto\0;
	}
	.posts-grid > .posts-grid-item:nth-child(n+3){margin-top: 30px}

		.post-item-thumbnail img{width: 100%; height: auto;}

	.builder-element-title{text-align: center}
	.builder-element-title > h2,
	.builder-element-title > .element-title-link{float: none}

	.flex-other-items .flex-item.flex-contacts + .flex-item.flex-contacts,
	#footer .flex-other-items > .flex-end > .flex-item + .flex-item{margin-left: 25px}

	.post-item-thumbnail{display: none}
}
@media (min-width: 993px){
	.flex-mobile-toggle{display: none!important}
}
@media (max-width: 992px){
	#header{padding: 80px 0 10px 0}
	
	.flex-social a{width: 40px; height: 40px; line-height: 36px}
	
	.header-top{
		position: absolute;
		background-color :#fff;
		top: 100%;
		left: 0;
		width: 100%;
		border-top: 1px solid #ddd;
		padding: 20px;
		text-align: left;
		display: none
	}
		.header-top.show-menu{display: block!important}
		.header-top ul,
		.header-top ul > li{display: block!important; float: none!important}
		.header-top ul > li + li{margin-left: 0!important; margin-top: 10px!important}
	
	#mobile-toggle{
		width: 40px;
		height: 40px;
		display: block;
		padding: 0;
		border: 2px solid #51459f;
		opacity: 0.5;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		position: relative;
		background: none
	}
		#mobile-toggle .menui {
			width: 24px;
			left: 50%;
			margin-left: -12px;
			height: 1px;
			background: #51459f;
			transition: 0.6s ease;
			transition-timing-function: cubic-bezier(.75,0,.29,1.01);
			position: absolute;
		}
		#mobile-toggle .top-menu{top: 13px}
		#mobile-toggle .mid-menu{top: 18px}
		#mobile-toggle .bot-menu{top: 23px}
		#mobile-toggle .top-menu.animate{top: 18px!important; -webkit-transform: rotate(45deg); transform: rotate(45deg)}
		#mobile-toggle .mid-menu.animate{opacity: 0}
		#mobile-toggle .bot-menu.animate{top: 18px!important; -webkit-transform: rotate(-225deg); transform: rotate(-225deg)}
	
	.header-top{font-size: 11px; line-height: 25px; min-height: inherit}

	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{padding: 0!important}

	.builder-element-regular .flex-fill > .flex-fill-item{min-width: 100%}
	.builder-element-regular .flex-fill > .flex-fill-item + .flex-fill-item{margin-top: 30px}

	.mega-block-title{font-size: 18px!important; display: none!important}

	.mega-sub-menu .menu > li{width: 100%!important; float: none!important}
	.mega-sub-menu .menu > li + li{margin-top: 15px}

	#header .flex-other-items .flex-item.flex-contacts{
		top: 0;
		padding: 10px;
		left: 0;
		position: absolute;	
		-webkit-flex: 0 1 25%;
		-ms-flex: 0 1 25%;
		flex: 0 1 25%;
		width: 25%;
		flex: 0 0 auto\0;
		text-align: center
	}
	#header .flex-other-items .flex-item.flex-contacts > .flex-center{font-size: 11px; line-height: 18px}
	#header .flex-other-items .flex-item.flex-contacts.flex-contact2{left: 25%}
	#header .flex-other-items .flex-item.flex-contacts.flex-contact3{left: 50%}
	#header .flex-other-items .flex-item.flex-contacts.flex-contact4{left: inherit; right: 0}

	#searchform .searchbox{font-size: 2em}
	
	.wpml-ls ul > li > a{width: 50px; font-size: 12px}
	.wpml-ls ul > li > a.wpml-ls-item-toggle:after{margin-left: 5px}
	
	.flex-other-items .flex-item.flex-social > .flex-center + .flex-center,
	.flex-other-items > .flex-end > .flex-item + .flex-item,
	.flex-other-items > .flex-end > .flex-item + .flex-item.flex-lang{margin-left: 5px}
	.flex-other-items > .flex-end > .flex-item.flex-contacts + .flex-item{margin-left: 0}
}
@media (max-width: 767px){
	.builder-element-links .builder-element-content > .flex-fill > .flex-fill-item.has_button{padding-bottom: 75px}
	
	.builder-element-imglink .builder-element-content > .grid-container > .grid-container-item.has_button{padding-bottom: 75px}
	
	
	.col-sm-6 + .col-sm-6{margin-top: 30px}
	
	.wpcf7-form .picker__frame{width: 100%!important; max-width: 90%!important}

	.wpcf7 .wpcf7-form .wpcf7-checkbox{display: block!important}
	.wpcf7 .wpcf7-form .wpcf7-checkbox .wpcf7-list-item{display: block!important; width: 100%!important; float: none!important; clear: both}

	.builder-element-hero .hero-content .hero-contacts{font-size: 16px; font-weight: 400}

	.links-with-imgs > .flex-item > .flex-center > img{display: none}
	.links-with-imgs > .flex-item > .flex-center{padding-top: 0}
	.links-with-imgs > .flex-item {
		padding-left: 0;
		padding-right: 0;
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
	}
	.links-with-imgs > .flex-item + .flex-item{margin-top: 19px}

	.wpcf7 .row > .col-sm-4,
	.wpcf7 .row > .col-sm-6{margin-top: 30px!important}

	.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item{
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
	}
	.builder-element-txtimg .builder-element-inner > .container > .flex-stretch > .flex-item.txtimg-media{display: none!important}

	.builder-element-cta{text-align: center}
	.builder-element-cta .flex-fill .flex-fill-item{min-width: 100%}
	.builder-element-cta .flex-fill .flex-fill-item + .flex-fill-item{margin-top: 30px}

	.sub-menu-widget ul > li > a{padding: 5px 10px}

	.posts-grid > .posts-grid-item{-webkit-flex: 0 1 100%; -ms-flex: 0 1 100%; flex: 0 1 100%; width: 100%; flex: 0 0 auto\0}
		.posts-grid > .posts-grid-item + .posts-grid-item{margin-top: 30px}

	#prefooter {
		padding: 30px 0 60px 0;
		font-size: 24px;
		line-height: 24px;
	}
	#footer .flex-logo{
		overflow: hidden;
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
	}
	#footer{text-align: center}
	#footer .flex-logo img{max-width: 175px; margin: 0 auto}

	#footer .block-buttons .flex-center > .flex-item,
	#footer .flex-end > .flex-item,
	#footer .flex-centered > .flex-item{
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
		flex: 0 0 auto\0;
	}

	#footer .flex-social a{margin: 0 auto}

	#footer .flex-item + .flex-item{margin-top: 30px; margin-left: 0}

	#footer .flex-other-items .flex-item.flex-contacts + .flex-item.flex-contacts,
	#footer .flex-other-items > .flex-end > .flex-item + .flex-item{margin-left: 0}

	.col-xs-6{width: 100%}
	.col-xs-6 + .col-xs-6{margin-top: 30px}
	
	#prefooter .container{padding-left: 40px; padding-right: 40px}
}

.block-events .block-content{margin-bottom: 2rem}
.events-title{margin-top: 1rem;}
.btn-secondary{border: 2px solid #d3d0e7}
.btn-secondary:hover {
    color: #fff;
    background-color: #51459f;
    border-color: #51459f;
}
.block-events .text-center{width: 100%; margin-top: 1rem}
.events-calendar-item .calendar-item-info.no-date{padding-left: 0}
.join-course h2{margin-bottom: 2rem}
.join-course{padding-bottom: 2rem}

.pdfemb-viewer div.pdfemb-toolbar div {
	color: white;
}
.pdfemb-viewer div.pdfemb-toolbar {
	background-color: #595959
}

p > a {
	text-decoration: underline;
}

.bg-light .editor-content a{
	text-decoration: underline;
}

/* Accessibility Notice */
.accessibility-notice{
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
	text-decoration: underline;
}
@media (min-width: 992px){
	.accessibility-notice{
		display: none;
	}
}
/* END Accessibility Notice */

@media (max-width: 991px){
	.calendar-grid > .events-calendar-item{
		-webkit-flex: 0 1 33.3334%;
		-ms-flex: 0 1 33.3334%;
		flex: 0 1 33.3334%;
		width: 33.3334%;
	}
}
@media (max-width: 767px){
	.calendar-grid > .events-calendar-item{
		-webkit-flex: 0 1 50%;
		-ms-flex: 0 1 50%;
		flex: 0 1 50%;
		width: 50%;
	}
}

@media (max-width: 576px){
	.calendar-grid > .events-calendar-item{
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		width: 100%;
	}
	
	#header{padding-top: 10px}
	#header .flex-other-items .flex-item.flex-contacts{display: none!important}
}

/* 2024 contact form 7 */
:root{
	--ama-input-font-size: 16px;
	--ama-input-line-height: 20px;

	--ama-input-color: #000;
	--ama-input-background-color: #fff;

	--ama-input-border-width: 1px;
	--ama-input-border-color: #51459f;
	--ama-input-border-radius: 5px;

	--ama-input-padding-y: calc(10px - var(--ama-input-border-width));
	--ama-input-padding-x: calc(20px - var(--ama-input-border-width));

	--ama-input-border-color-focus: #000;
}

.wpcf7-form-control-wrap > .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit){
	display: block;
	width: 100%;
	padding: var(--ama-input-padding-y) var(--ama-input-padding-x);
	font-size: var(--ama-input-font-size);
	font-weight: var(--ama-input-font-weight);
	line-height: var(--ama-input-line-height);
	color: var(--ama-input-color);
	background-color: var(--ama-input-background-color);
	background-clip: padding-box;
	border: var(--ama-input-border-width) solid;
	border-color: var(--ama-input-border-color);
	appearance: none;
	border-radius: var(--ama-input-border-radius);
	transition: border-color .3s ease-in-out, box-shadow .3s ease-in-out
}

.wpcf7-form-control-wrap > .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit):focus{
	color: var(--ama-input-color);
	background-color: var(--ama-input-background-color);
	border-color: var(--ama-input-border-color-focus);
	outline: 0
}

.wpcf7-form-control-wrap > .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit)::placeholder{
	color: var(--ama-input-placeholder-color);
	opacity: 1
}

.wpcf7-form-control-wrap > .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit):disabled,
.wpcf7-form-control-wrap > .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit)[readonly]{
	background-color: #e9ecef;
	opacity: 1
}

.wpcf7-form-control::file-selector-button{
	padding: 0.375rem 0.75rem;
	margin: -0.375rem -0.75rem;
	margin-inline-end: 0.75rem;
	color: #212529;
	background-color: #e9ecef;
	pointer-events: none;
	border-color: inherit;
	border-style: solid;
	border-width: 0;
	border-inline-end-width: 1px;
	border-radius: 0;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out
}

.wpcf7-form-control-wrap > textarea.wpcf7-form-control{
	min-height: 10rem;
	height: 100%;
	max-height: 10rem;
	min-width: 100%!important;
	width: 100%!important;
	max-width: 100%!important
}

.wpcf7-form-control-wrap > select.wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit){
	padding: var(--ama-input-padding-y) var(--ama-input-padding-x) var(--ama-input-padding-y) var(--ama-input-padding-x);
	-moz-padding-start: calc(var(--ama-input-padding-x) - 3px);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right var(--ama-input-padding-x) center;
	background-size: 16px 12px
}

span.wpcf7-not-valid-tip{
	position: absolute;
	top: 100%;
	z-index: 5;
	max-width: 100%;
	padding: 2px 6px;
	margin-top: 1.6px;
	font-size: 12px;
	line-height: 1.25;
	color: #fff;
	background-color: rgba(220, 53, 69, .9);
	border-radius: 5px
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-form-control-wrap > .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit),
	.wpcf7-form-control-wrap > select.wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit),
	.wpcf7-form-control::file-selector-button{transition: none}
}

.wpcf7 p + p{margin-top: 10px!important}
.wpcf7 .row{margin: -15px!important}
.wpcf7 .row > div{padding: 15px!important}
.wpcf7 * + .row{margin-top: 0!important}
.wpcf7 .row + *{margin-top: 30px!important}
.wpcf7 .row + .row{margin-top: 0!important}

.wpcf7 * + p.explanation{margin-top: 5px!important}
.wpcf7 p.explanation{font-size: 12px; line-height: 16px}

.wpcf7-form-control-wrap{display: block}

.wpcf7 .wpcf7-form > * + *:not(.row, .explanation){margin-top: 30px!important}

.wpcf7 .wpcf7-list-item{
	position: relative;
	padding-left: 30px;
}
.wpcf7 .wpcf7-list-item input[type="checkbox"],
.wpcf7 .wpcf7-list-item input[type="radio"]{
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	margin: 0!important;
	z-index: 5;
	cursor: pointer
}
.wpcf7 .wpcf7-list-item input[type="checkbox"] + *,
.wpcf7 .wpcf7-list-item input[type="radio"] + *{display: inline-block}

.wpcf7 .wpcf7-list-item input[type="checkbox"] + *::before,
.wpcf7 .wpcf7-list-item input[type="checkbox"] + *::after,
.wpcf7 .wpcf7-list-item input[type="radio"] + *::before,
.wpcf7 .wpcf7-list-item input[type="radio"] + *::after{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border: 1px solid var(--ama-input-border-color);
	background-color: var(--ama-input-background-color)
}
.wpcf7 .wpcf7-list-item input[type="radio"] + *::before,
.wpcf7 .wpcf7-list-item input[type="radio"] + *::after{border-radius: 50%}

.wpcf7 .wpcf7-list-item input[type="checkbox"] + *::after,
.wpcf7 .wpcf7-list-item input[type="radio"] + *::after{
	background-color: #51459f;
	width: 12px;
	height: 12px;
	top: 4px;
	left: 4px;
	opacity: 0;
}
.wpcf7 .wpcf7-list-item input[type="checkbox"]:checked + *::after,
.wpcf7 .wpcf7-list-item input[type="radio"]:checked + *::after{opacity: 1}

.wpcf7 .wpcf7-form .wpcf7-submit{
	padding: 10px 30px!important
}
.bg-dark .wpcf7 .wpcf7-submit{
	background-color: transparent
}


.wpcf7 .wpcf7-response-output{margin-left: 0; margin-bottom: 0; margin-right: 0; padding: 8px 14px; border-radius: 5px}


.wpcf7 .wpcf7-form small + br{display: none!important}