/*
Theme Name:   Groovy Child
Theme URI:    https://1.envato.market/wp-groovy-preview
Author: EstudioPatagon
Author URI: https://1.envato.market/ep-portfolio-themes
Description:  Child theme, based on Groovy
Template: groovy

*/

main.main {
	padding-top: 39px;
}

.rank-math-breadcrumb {
	margin-bottom: 32px;
	font-size: .9rem;
}

.rank-math-breadcrumb .last,
.rank-math-breadcrumb .separator {
	opacity: .4;
	color: #6c757d;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb a:hover {
	color: #000;
}

#single.content {
	margin: 0;
}

#wrapper #header .grid-container {
	padding: 0;
}

#wrapper #header.minimalist .bg-box {
	border: none;
	border-radius: 0;
	padding: 0 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#wrapper #footer {
	margin-top: 0;
	padding-top: 40px;
	padding-bottom: 40px;
}


#footer .widget-title {
	margin-bottom: 16px;
	font-size: 20px;
	padding: 0;
	background: transparent;
	border: none;
	position: static;
	font-weight: 400;
	line-height: 1.5;
}

#wrapper #footer .widget {
	padding-top: 0;
}

#footer .footer_logos_police {
	display: flex;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
	border-top: 1px solid #b2b1b7;
	border-bottom: 1px solid #b2b1b7;
	padding: 24px 0;
	margin-bottom: 24px;
}

#footer .footer_logos_police .item {
	max-width: 75px;
}

#footer .widgets {
	font-size: .7rem;
}

#footer .logo_row {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	grid-gap: 24px;
	margin-bottom: 24px;
}

#footer .logo_row:after {
	content: "";
	display: block;
	height: 1px;
	background-color: #b2b1b7;
}

#footer .custom-logo-link {
	max-width: 100px;
}

#footer ul>li {
	padding-bottom: 0;
	border: none;
	margin-bottom: 5px;
}

#footer .footer_logos_police img {
	width: auto;
	height: 30px;
}

#footer .footer__container2 {
	display: grid;
	grid-template-columns: repeat(2, auto);
	grid-gap: 10px;
	justify-content: space-between;
	margin-bottom: 24px;
}

#footer .footer__container2 .social {
	display: flex;
	gap: 12px;
}

#footer .footer__container2 .social a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	text-decoration: none;
	text-align: center;
	line-height: normal;
	color: #b2b1b7;
}

#footer .footer__container2 .social a:hover {
	color: #3959d9;
}

#footer .social svg {
	width: 18px;
	height: 18px;
	fill: currentcolor;
}

#footer .footer__container2 .footer_payments {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	max-width: 814px;
}

.has-text-align-left {
	text-align: left;
}

main ul li:before {
	font-family: "FontAwesome";
	content: "\f00c";
	position: absolute;
	left: 0;
	top: -2px;
	display: flex;
	width: 27px;
	height: 27px;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	line-height: normal;
	background: #3959d9;
	border-radius: 50%;
}

main ol>li:before {
	position: absolute;
	left: 0;
	top: -2px;
	content: counter(item);
	display: flex;
	width: 27px;
	height: 27px;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	border: 1px solid #3959d9;
	border-radius: 50%;

}

main ol>li {
	counter-increment: item;
}

#page ul li,
#page ol li {
	list-style-type: none;
	position: relative;
	padding-left: 40px;
	margin-bottom: 10px;
}

main div.text ol,
main div.text ul {
	margin: 0;
}

header .group {
	display: flex;
	align-items: center;
}

body #header.minimalist .main-nav {
	float: none;
	margin-left: initial;
}

#header .trp-language-switcher>div,
.mobile .trp-language-switcher>div {
	border: none;
	background: transparent;
	width: auto;
}

#wrapper .trp-ls-disabled-language {
	font-weight: 600;
	color: #3959d9;
}

.trp-ls-disabled-language:after {
	display: inline-block;
	margin-left: 0.255em;
	vertical-align: 0.255em;
	content: "";
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-bottom: 0;
	border-left: 0.3em solid transparent;
}

.trp-language-switcher>.trp-ls-shortcode-language>a:last-child {
	background: white;
	display: block;
	padding: 0.25rem 1rem;
	clear: both;
	font-weight: 400;
	color: #212529;
	text-decoration: none;
	white-space: nowrap;
	margin: 0;
	font-size: 1rem;
	text-align: left;
	list-style: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
}

#header .trp-language-switcher {
	width: auto;
}

.header_group .widget_block:last-child {
	position: fixed;
	bottom: 15px;
	left: 10px;
	right: 10px;
}

.header_group .wp-block-buttons {
	display: grid;
	grid-template-columns: repeat(2, auto);
	grid-gap: 8px;
}

#header .main-nav ul.menu li.current-menu-item>a:after,
.main-nav ul.menu>li.current-menu-ancestor>a:after {
	content: none;
}

#wrapper .wp-block-hc-alternate-group-section {
	margin-bottom: 32px;
}

.wp-block-heading {
	position: relative;
	margin-bottom: 20px;
	margin-top: 42px;
}

.wp-block-heading::before {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	position: absolute;
	top: -10px;
	left: 0;
	background-color: #3959d9;
}



.media_block_v2 .title {
	grid-area: title;
	align-self: flex-end;
	position: relative;
	margin-bottom: 20px;
	margin-top: 42px;
}

#wrapper .media_block_v2>.wp-block-group__inner-container {
	display: grid;
	column-gap: 24px;
	grid-template-areas:
		"title media"
		"content media";
	margin-bottom: 32px;
	grid-template-columns: auto 50%;
}

@media (max-width: 991px) {
	#wrapper .media_block_v2>.wp-block-group__inner-container {
		grid-template-columns: none !important;
		grid-template-areas:
			"title"
			"media"
			"content" !important;
		margin-bottom: 24px;
	}

	.rank-math-breadcrumb {
		margin-bottom: 24px !important;
		padding: 0 20px;
	}

	.media_block_v2 .title {
		margin-top: 15px !important;
	}
}

#wrapper .media_block_v2.left>.wp-block-group__inner-container {
	display: grid;
	column-gap: 24px;
	grid-template-columns: auto 50%;
	grid-template-areas:
		"media title"
		"media content";
}

@media (min-width: 1200px) {

	#wrapper h2,
	#wrapper .h2 {
		font-size: 2rem;
	}
}

.bef_b:before,
.wp-block-hc-alternate-group-section h2:before,
.wp-block-hc-alternate-group-section h3:before {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	position: absolute;
	top: -10px;
	left: 0;
	background-color: #3959d9;
}

#wrapper .media_block_v2 .content {
	grid-area: content;
	align-self: flex-start;
	margin: 0;
}

#wrapper .media_block_v2 .media {
	align-self: center;
	grid-area: media;
	position: relative;
}

#wrapper .wp-block-table table {
	border-collapse: separate;
	border-spacing: 0;
	color: #000;
	margin-bottom: 0;
}

#wrapper .wp-block-table .has-fixed-layout {
	table-layout: fixed;
	width: 100%;
}

#wrapper .wp-block-table table tr th,
#wrapper .wp-block-table table tr td {
	padding: 14px 14px 14px 24px;
	border: none;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
}

#wrapper .wp-block-table table>*:first-child tr:first-child th:first-child,
#wrapper .wp-block-table table>*:first-child tr:first-child td:first-child {
	border-top: 1px solid #000;
	border-top-left-radius: 32px;
}

#wrapper .wp-block-table table tr th:first-child,
#wrapper .wp-block-table table tr td:first-child {
	border-left: 1px solid #000;
}

#wrapper .wp-block-table table tr:last-child td:first-child {
	border-bottom-left-radius: 32px;
}

#wrapper .wp-block-table table>*:first-child tr:first-child th:last-child,
#wrapper .wp-block-table table>*:first-child tr:first-child td:last-child {
	border-top: 1px solid #000;
	border-top-right-radius: 32px;
}

#wrapper .wp-block-table table tr:last-child td:last-child {
	border-bottom-right-radius: 32px;
}

@media screen and (max-width: 991px) {

	#wrapper .wp-block-table table>*:first-child tr:first-child th:first-child,
	#wrapper .wp-block-table table>*:first-child tr:first-child td:first-child {
		border-top: 1px solid #000;
		border-top-left-radius: 12px !important;
	}

	#wrapper .wp-block-table table tr th:first-child,
	#wrapper .wp-block-table table tr td:first-child {
		border-left: 1px solid #000;
	}

	#wrapper .wp-block-table table tr:last-child td:first-child {
		border-bottom-left-radius: 12px !important;
	}

	#wrapper .wp-block-table table>*:first-child tr:first-child th:last-child,
	#wrapper .wp-block-table table>*:first-child tr:first-child td:last-child {
		border-top: 1px solid #000;
		border-top-right-radius: 12px !important;
	}

	#wrapper .wp-block-table table tr:last-child td:last-child {
		border-bottom-right-radius: 12px !important;
	}
}

#wrapper .wp-block-table table th,
#wrapper .wp-block-table table tr:first-child>td {
	border-top: 1px solid #000!important;
}

.welcome-banner {
	border-radius: 10px;
}

#page .welcome-banner {
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: center;
	padding: 1.4rem;
	text-align: right;
	line-height: normal;
	height: max-content;
	position: relative;
	color: #fff;
}

#page .welcome-banner .fon {
	position: absolute;
	bottom: 0px;
	left: 10px;
}

#page .welcome-banner p:first-of-type {
	font-size: 32px;
	font-weight: 600;
	padding: 0;
	margin-bottom: 14px;
	z-index: 1;
}

#page .welcome-banner p:nth-child(2) {
	font-size: 36px;
	font-weight: 900;
	padding: 0;
	margin-bottom: 8px;
	color: #3959d9;
	z-index: 1;
}

#page .welcome-banner p:nth-child(3) {
	font-size: 12px;
	padding: 0;
	margin-bottom: 14px;
	z-index: 1;
}

.wp-block-button__link.has-background:hover {
	color: #fff!important;
}

@media (max-width: 991px) {

	#page .welcome-banner,
	#page .welcome-banner>* {
		align-items: center;
		text-align: center !important;
		padding-bottom: 70px;
	}

	#page .welcome-banner a {
		position: relative;
		z-index: 10;
	}

	#page .welcome-banner .fon {
		bottom: -75px;
		left: 0;
		right: 0;
		z-index: 1;
	}

	#wrapper table>* {
		word-break: keep-all !important;
	}


}

.no-decor:before {
	content: none!important;
}

div.text figure, div.text iframe {
 padding: 0;
 margin: 0;
}


::selection {

background: #3959d9 !important; /* Safari */
color: #fff!important;

}

::-moz-selection {
background: #3959d9!important; /* Firefox */
color: #fff!important;
}

.item h4,
.item p{
    margin: 0!important;
    padding: 0!important;
    line-height: 1,8;
}