/*
Theme Name: MyTax Divi Child Theme
Version: 2.2
Description: Basic Child Theme by MyTax.lt
Author: MyTax
Template: Divi
Author URL: https://staging.mytax.lt
*/
 
/*------- Theme Customizations------- */


.et_pb_text_10 {
	color: black !important
}

a:hover {
	color: white !important;
}

.nav .menu-item a:hover, .color_price, .latest-posts:hover a, .latest-posts a:hover {
	color: #d21e2b !important;
	opacity: 1 !important;
}

.prior-section a:hover {
	color: #000 !important;
}

a.latest-post-link:hover, .latest-posts a:hover {
	text-decoration: none !important;
}

.dl-hover-grow:hover {
	transform: unset !important;
	box-shadow: unset !important;
}

.dl-hover-grow:hover .serv-section-2::before {
	background: #d21e2b;
}

.dl-hover-grow:hover .serv-section-2-icon i::before {
	color: #fff;
}

.uslugi-section .service-simple-button a:hover, .latest-posts a:hover {
	text-decoration: none;
}

.last-news-section .mt-20 a:hover {
	text-decoration: none;
	opacity: 0.8;
}

.our-mission-lines li span.et_pb_counter_container, .our-mission-lines li span.et_pb_counter_container .et_pb_counter_amount {
	height: 14px;
	line-height: 14px;
}

.our-mission-lines li span.et_pb_counter_container .et_pb_counter_amount_number {
	position: relative;
	top: -1px;
}

.mytax-btn, .form-section form a {
	border: 2px solid transparent !important;
}

.form-section form .et_pb_newsletter_fields {
	max-width: 485px;
	min-width: 420px;
	flex-wrap: nowrap;
	align-items: baseline;
}

.form-section form .et_pb_newsletter_field {
	max-width: 78%;
	display: inline-block;
}

.form-section form .et_pb_newsletter_field input {
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	outline: 0;
	border: 2px solid #eee;
	min-width: 270px;
	
	
	border-top-left-radius: 30px !important;
	
	border-bottom-left-radius: 30px !important;
	padding: 12px 20px;
}

.form-section form .et_pb_newsletter_button_wrap {
	display: inline-block;
	background: #d21e2b;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	padding: 14px 0;
	min-width: 90px;
	max-width: 21%;
	margin-left: 5px;
	position: relative;
	top: -1px;
}

.form-section form .et_pb_newsletter_button_wrap a {
	display: block;
	padding: 0 !important;
	min-width: unset;
}

.form-section form .et_pb_newsletter_button_wrap a:hover {
	padding: 0 !important;
}

.form-section form a:hover {
	background-color: #d21e2b !important;
	text-decoration: none;
	opacity: 0.8 !important;
	cursor: pointer;
}

.form-section form a:hover {
	border-radius: 26px;
}

#footer-social-icons a:hover, .footer-tags a:hover {
	background-color: #d21e2b !important;
}

.footer-tags a:hover, .footer-links a:hover {
	text-decoration: none !important;
}

.pa-bullet-list-1 li a:hover {
	color: #fff !important;
}

.btn-section {
	display: flex;
	justify-content: center;
}

.btn-section .et_pb_button_module_wrapper {
	margin: 0 !important;
}

.btn-section .et_pb_column {
	width: 100%;
	max-width: 180px;
	margin: 10px !important;
}

body #page-container .et_pb_section .et_pb_button_3 {
	font-size: 12px !important;
}

.prior-section h4 a, .work-stages-section .feature-flex-square-content a {
	color: #000 !important;
}

.prior-section h4 a:hover, .work-stages-section .feature-flex-square-content a:hover {
	text-decoration: none !important;
}

.work-stages-section .feature-flex-square-content p {
	color: #999;
	font-size: 15px;
	font-weight: 400;
}

.work-stages-section .feature-flex-square-content .feature-flex-square-content-button:hover {
	color: #d21e2b !important;
}

#mobile-buttons {
	width: 100% !important;
}

.mytax-btn:hover, .et_pb_button:hover, .form-section form .et_pb_newsletter_button_wrap:hover {
	background-color: #222 !important;
	text-decoration: none !important;
	opacity: 1 !important;
	cursor: pointer;
}

.form-section form .et_pb_newsletter_button_wrap>a {
	transition: all 0s !important;
}

.form-section form .et_pb_newsletter_button_wrap:hover>a {
	background-color: #222 !important;
}

/* скрываем хлебную крошку на главной */

body.home #breadcrumbs {
	display: none;
}

.nav ul li a:hover {
	background-color: unset;
}

.rounded_good {
	vertical-align: middle;
	border-style: none;
}

@media (min-width: 981px) {

	/* company-formation-section */
	.company-formation-column {
		margin-right: 15px !important;
		width: 66.833% !important;
	}

	.company-formation-section .et_pb_column {
		width: 48% !important;
		margin-right: 20px !important;
		max-width: 48% !important;
		flex: 0 0 48% !important;
	}

	/* #et_pb_code_7 {
		margin-top: -80px!important;
	} */
}

@media (max-width: 980px) and (min-width: 600px) {
	.uslugi-section .et_pb_column {
		display: flex;
		justify-content: space-around;
		margin-bottom: 0 !important;
	}

	.uslugi-section .et_pb_column .et_pb_module {
		width: 46%;
		margin-bottom: 5px !important;
	}
}

@media (max-width: 980px) {
	.uslugi-section .nuo, .uslugi-section span.font_p {
		font-size: 1.5rem;
	}
}

@media (max-width: 600px) {
	.uslugi-section .service-box img {
		width: 100%;
	}

	.btn-section {
		flex-wrap: wrap;
		flex-direction: column;
	}

	.btn-section .et_pb_column {
		max-width: unset;
	}

	.btn-section .et_pb_button_module_wrapper {
		text-align: center;
	}

	.form-section form .et_pb_newsletter_fields, .form-section form .et_pb_newsletter_field input {
		min-width: unset;
	}
}

@media (max-width: 500px) {
	#logo {
		max-width: 30% !important;
	}

	#et-top-navigation {
		padding-left: 0 !important;
	}
}

.recentPosts {
	display: flex;
}

.blog-grid {
	margin: 0 !important;
	margin-right: 23px !important;
	max-width: 350px;
}

.fa::before, .fas::before, .fab::before {
	font-family: "Font Awesome 5 Free";
}

.fa, .fas {
	font-weight: 900 !important;
}

.blog-grid__date, .data-box-grid p {
	text-transform: capitalize;
}

@media (max-width: 900px) {
	.recentPosts {
		flex-wrap: wrap;
		justify-content: center;
	}

	.blog-grid {
		margin-bottom: 25px !important;
	}
}





/* NEW HEADER */
#new-header .wrap {
	max-width: 1124px;
	width: 100%;
	padding: 0 12px;
	margin: 0 auto;
}

#new-header ul {
	margin-bottom: 0;
}

#new-header a:hover {
	color: #D11D28 !important; 
}

/* INFO BAR */
#new-header .infobar {
	padding: 12px 0;
	background-color: #F5F5F5;
}

#new-header .infobar .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#new-header .contact-col,
#new-header .nav-col {
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

#new-header .contact-col li:not(:last-child) {
	margin-right: 47px;
}

#new-header .contact-col a {
	display: flex;
	align-items: center;
	font-family: 'Fira Sans';
	font-weight: 300;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0.05em;
	color: #222222;
}

#new-header .contact-col a::before {
	content: "";
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 10px;
}

#new-header .contact-col a[href^="tel:"]::before {
	width: 19px;
	min-width: 19px;
	height: 18px;
	background-image: url("./images/header_phone.svg");
}

#new-header .contact-col a[href^="mailto:"]::before {
	width: 20px;
	min-width: 20px;
	height: 16px;
	background-image: url("./images/header_mail.svg");
}

#new-header .nav-col li:not(:last-child) {
	margin-right: 24px;
}

#new-header .nav-col li:not(:first-child) {
	padding-left: 24px;
	border-left: 1px solid #D9D9D9;
}

#new-header .nav-col a {
	font-family: 'Fira Sans';
	font-weight: 300;
	font-size: 15px;
	line-height: 22px;
	color: #444444;
}

#new-header .language-switcher {
	position: relative;
	width: 38px;
	height: 16px;
}

#new-header .language-switcher:hover ul {
	background-color: #fff;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
}

#new-header .language-switcher:hover ul li:first-child a::after {
	transform: rotate(180deg);
}

#new-header .language-switcher:hover ul li:not(:first-child) {
	visibility: visible;
	opacity: 1;
}

#new-header .language-switcher ul {
	position: absolute;
	width: calc(100% + 10px);
	right: -5px;
	background-color: transparent;
	transition: all .4s;
	padding: 0 6px;
	z-index: 10;
}

#new-header .language-switcher ul li a {
	display: flex;
	align-items: center;
}

#new-header .language-switcher ul li:first-child {
	display: flex;
	align-items: center;
	height: 16px;
}

#new-header .language-switcher ul li:first-child a {
	position: relative;
	width: 100%;
}

#new-header .language-switcher ul li:first-child a::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 1px;
	right: 0px;
	transform: rotate(0deg);
	width: 11px;
	height: 11px;
	background: url("./images/chevron-down.svg") no-repeat center;
	background-size: contain;
	transition: all .4s;
}

#new-header .language-switcher ul li:not(:first-child) {
	padding: 2.5px 0;
	visibility: hidden;
	opacity: 0;
	transition: all .4s;
}

#new-header .language-switcher ul li:last-child {
	padding: 2.5px 0 6px 0;
}

/* MAIN BAR */
#new-header .mainbar {
	padding: 25px 0 0 0;
	background-color: #FFFFFF;
	position: relative;
}

#new-header .headerbar,
#new-header nav ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#new-header .headerbar .logo {
	display: flex;
	width: 170px;
	min-width: 170px;
	height: 43px;
}

#new-header .headerbar .search {
	background: #FFFFFF;
	border: 1px solid #C9C9C9;
	border-radius: 150px;
	display: flex;
	align-items: center;
	padding: 9px 14px;
	width: 100%;
	margin: 0 50px 0 100px;
}

#new-header .headerbar .search input {
	font-family: 'Fira Sans';
	font-weight: 300;
	font-size: 16px;
	line-height: 19px;
	letter-spacing: 0.08em;
	color: #555555;
	width: calc(100% - 20px);
	border: 0;
}

#new-header .headerbar .search button {
	width: 20px;
	min-width: 20px;
	height: 20px;
	cursor: pointer;
	background: url("./images/search.svg") no-repeat center;
	border: 0;
	outline: none;
}

#new-header .headerbar .cart-ico {
	position: relative;
	width: 57px;
	min-width: 57px;
	height: 37px;
	background: url("./images/header_cart.svg") no-repeat left bottom;
}

#new-header nav {
	padding-top: 25px;
}

#new-header nav ul > li {
	padding-bottom: 16px;
}

#new-header nav ul > li:hover > a {
	color: #D11D28 !important; 
	text-decoration: none !important;
}

#new-header nav ul > li:hover > a::before {
	width: 100%;
}

#new-header nav ul > li:hover > a:not(:only-child)::after {
	background-image: url("./images/chevron-down_thin_red.svg");
	transform: translateY(-50%) rotate(180deg);
}

#new-header nav ul > li:hover .megamenu {
	visibility: visible;
	opacity: 1;
}

#new-header nav ul > li > a {
	font-family: 'Fira Sans';
	font-weight: 300;
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	color: #222222;
	position: relative;
}

#new-header nav ul > li > a::before {
	position: absolute;
	content: "";
	width: 0%;
	top: calc(100% + 17px);
	height: 1px;
	background-color: #D11D28;
	transition: all .4s;
}

#new-header nav ul > li > a:not(:only-child) {
	padding-right: 26px;
}

#new-header nav ul > li > a:not(:only-child)::after {
	content: "";
	width: 18px;
	height: 18px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: all .4s;
	background: url("./images/chevron-down_thin.svg") no-repeat center;
}

#new-header nav ul > li .megamenu {
	visibility: hidden;
	opacity: 0;
	transition: all .4s;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 11;
	background: #FFFFFF;
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.20);
	border-top: 1px solid #F5F5F5;
}

#new-header nav ul > li .megamenu .wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 26px;
	padding: 30px 12px 75px 12px;
}

#new-header nav ul > li .megamenu a {
	font-family: 'Fira Sans';
	font-weight: 300;
	font-size: 16px;
	line-height: 22px;
	color: #000000;
}

@media (max-width: 1024px) {
	#new-header .nav-col,
	#new-header nav {
		display: none;
	}
	#new-header .headerbar {
		justify-content: flex-start;
	}
	#new-header .headerbar .search {
		margin: 0 30px 0 50px;
	}
	#new-header .headerbar .cart-ico {
		margin: 0 30px 0 auto;
	}
	#new-header .burger {
		width: 26px;
		min-width: 26px;
		height: 26px;
		cursor: pointer;
		background: url("./images/burger.svg") no-repeat center;
	}
	.mobile-menu, .black-screen {
        position: fixed;
		z-index: 10;
		top: 0;
		left: 0;
		height: 100%;
    }
	.black-screen {
		width: 100%;
		background: rgba(0, 0, 0, 0.25);
		visibility: hidden;
		opacity: 0;
		transition: visibility .4s, opacity .4s;
	}
	.black-screen.active {
		visibility: visible;
		opacity: 1;
	}
	.mobile-menu {
		z-index: 11;
		width: 283px;
		background: #F4F4F4;;
		transform: translateX(-100%);
		transition: all .4s;
		overflow-y: auto;
        overflow-x: hidden;
        padding: 0 0 50px 0; 
	}
	.mobile-menu.active {
		transform: translateX(0);
	}
	.mobile-menu .menu-top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		background: #FFFFFF;
		padding: 24px 12px 24px 25px;
	}
	.mobile-menu .menu-top .logo {
		display: flex;
		width: 96px;
		height: 24px;
	}
	.mobile-menu .menu-top .menu-close {
		width: 22px;
		min-width: 22px;
		height: 22px;
		background: url("./images/x.svg") no-repeat center;
		cursor: pointer;
		position: relative;
	}
	.mobile-menu nav {
		background: #FFFFFF;
	}
	.mobile-menu nav ul > li {
		border-top: 1px solid #E7E7E7;
		padding: 18px 46px 18px 22px;
		position: relative;
	}
	.mobile-menu nav ul > li.has-child {
		cursor: pointer;
	}
	.mobile-menu nav ul > li.has-child::after {
		content: "";
		width: 18px;
		height: 18px;
		position: absolute;
		right: 14px;
		top: 29px;
		transform: translateY(-50%) rotate(0deg);
		transition: all .4s;
		background: url("./images/chevron-down_thin.svg") no-repeat center;
	}
	.mobile-menu nav ul > li.has-child.active > a {
		color: #D11D28 !important;
	}
	.mobile-menu nav ul > li.has-child.active::after {
		background-image: url("./images/chevron-down_thin_red.svg");
		transform: translateY(-50%) rotate(180deg);
	}
	.mobile-menu nav ul > li > a {
		font-family: 'Fira Sans';
		font-weight: 300;
		font-size: 16px;
		line-height: 22px;
		text-transform: uppercase;
		color: #222222;
	}
	.mobile-menu nav ul > li > a:hover {
		color: #D11D28 !important;
		text-decoration: none !important;
	}
	.mobile-menu nav ul  > li .megamenu {
		display: none;
	}
	.mobile-menu nav ul > li .megamenu .wrap {
		display: flex;
		flex-direction: column;
	}
	.mobile-menu nav ul > li .megamenu li {
		margin-top: 15px;
	}
	.mobile-menu nav ul > li .megamenu a {
		font-family: 'Fira Sans';
		font-weight: 300;
		font-size: 15px;
		line-height: 22px;
		color: #000000;
	}
	.mobile-menu nav ul > li .megamenu a:hover {
		color: #D11D28 !important;
	}
	.mobile-menu .nav-col li {
		margin-top: 24px;
		padding: 0 22px;
	}
	.mobile-menu .nav-col a {
		font-family: 'Fira Sans';
		font-weight: 300;
		font-size: 15px;
		line-height: 22px;
		color: #444444;
	}
	.mobile-menu .nav-col a:hover {
		color: #D11D28 !important;
	}
}	

@media (max-width: 600px) {
	#new-header .infobar {
		padding: 10px 0;
		background-color: #FFFFFF;
		border-bottom: 1px solid #E7E7E7;
	}
	#new-header .contact-col li:not(:last-child) {
		margin-right: 20px;
	}
	#new-header .contact-col a {
		font-size: 14px;
		letter-spacing: normal;
	}
	#new-header .contact-col a::before {
		margin-right: 5px;
	}
	#new-header .contact-col a[href^="tel:"]::before {
		width: 16px;
		min-width: 16px;
		height: 15px;
	}
	#new-header .contact-col a[href^="mailto:"]::before {
		width: 16px;
		min-width: 16px;
		height: 12.8px;
	}
	#new-header .headerbar {
		position: relative;
		padding-bottom: 58px;
	}
	#new-header .headerbar .logo {
		display: flex;
		width: 135px;
		min-width: 135px;
		height: 34px;
	}
	#new-header .headerbar .search {
		margin: 0;
		position: absolute;
		left: 0;
		bottom: 0;
	}
	#new-header .headerbar .search input {
		font-size: 14px;
		line-height: 17px;
	}
	#new-header .headerbar .cart-ico {
		width: 50px;
		min-width: 50px;
		height: 34px;
	}
	#new-header .headerbar .cart-ico::after {
		padding: 2px 4px;
	}
}





/* NEW HERO */
.hero {
	width: 100%;
	background: #F2F2F2 url("./images/hero.png") no-repeat center;
	background-size: cover;
}

.hero .et_pb_row {
	padding: 135px 0 180px 0;
}

.hero .et_pb_row ul {
	padding-bottom: 0;
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.hero {
		margin-top: 20px;
	}
}


@media (max-width: 980px) {
	.hero {
		background-size: contain;
		background-position: top center;
		background-image: url("./images/hero_tablet.png");
	}
	.hero .et_pb_row {
		padding: 55vw 0 50px 0;
	}
}
@media (max-width: 600px) {
	.hero {
		background-size: contain;
		background-position: top center;
		background-image: url("./images/hero_mobile.png");
	}
	.hero .et_pb_row {
		padding: 90vw 0 50px 0;
	}
}
/* NEW HOMEPAGE SERVICE CARDS */
.service-cards .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	margin: 0 auto;
	max-width: 1592px;
	padding: 0 12px;
}

@media (max-width: 1200px) {
	.service-cards .wrap {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
}

@media (max-width: 800px) {
	.service-cards .wrap {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

@media (max-width: 500px) {
	.service-cards .wrap {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}	

.service-cards .service-item {
	background: #F5F5F5;
	border-radius: 16px;
	display: flex;
	overflow: hidden;
}

@media (max-width: 500px) {
	.service-cards .service-item {
		flex-direction: column-reverse;
		justify-content: flex-end;
		border-radius: 6px;
	}
}

.service-cards .service-item .text {
	width: 55%;
	padding: 30px 0 30px 30px;
	display: flex;
	flex-direction: column;
}

@media (max-width: 1200px) {
	.service-cards .service-item .text {
		padding: 30px 0 30px 20px;
	}
}

@media (max-width: 800px) {
	.service-cards .service-item .text {
		width: 65%;
	}
}

@media (max-width: 500px) {
	.service-cards .service-item .text {
		width: 100%;
		height: 100%;
		padding: 10px 20px 20px 20px;
	}
}

.service-cards .service-item .text .title {
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	color: #000000;
}

@media (max-width: 500px) {
	.service-cards .service-item .text .title {
		font-family: 'Fira Sans',Helvetica,Arial,Lucida,sans-serif;
		font-size: 20px;
		line-height: 24px;
		text-align: center;
		margin-bottom: 16px;
	}
}

.service-cards .service-item .text ul {
	margin-bottom: 35px;
	padding-bottom: 0;
	padding-left: 0;
	list-style: none;
}

.service-cards .service-item .text li {
	margin-top: 12px;
	font-weight: 300;
	font-size: 14px;
	line-height: 17px;
	color: #000000;
	background: url("./images/check_red.svg") no-repeat;
	background-position-x: left;
	background-position-y: 3px;
	padding-left: 18px;
}

.service-cards .service-item .text .price {
	margin-top: auto;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: #000000;
}

@media (max-width: 500px) {
	.service-cards .service-item .text .price {
		font-size: 15px;
		line-height: 18px;
		margin: auto auto 0 auto;
	}
}

.service-cards .service-item .text .price strong {
	font-weight: 500;
	font-size: 28px;
	line-height: 34px;
	color: #000000;
}

@media (max-width: 500px) {
	.service-cards .service-item .text .price strong {
		font-size: 24px;
		line-height: 28px;
	}
}

/*.service-cards .service-item .text a:nth-child(1) {
	display: flex;
	margin-top: 20px;
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
	color: #FFFFFF;
	background: #D21E2B;
	border-radius: 4px;
	padding: 8px 48px;
	max-width: max-content;
}*/

@media (max-width: 500px) {
	.service-cards .service-item .text a:nth-child(1) {
		margin: 20px auto 0 auto;
		padding: 12px 50px;
		font-size: 15px;
		line-height: 18px;
	}
}

.service-cards .service-item .photo {
	display: flex;
	max-width: 45%;
	max-height: 100%;
}

@media (max-width: 800px) {
	.service-cards .service-item .photo {
		max-width: 35%;
	}
}

@media (max-width: 500px) {
	.service-cards .service-item .photo {
		max-width: 100%;
	}
}

.service-cards .service-item .photo	img {
	margin-left: auto;
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	width: auto;
	object-fit: cover;
	object-position: left;
}

.service-cards .service-item .photo	img.mobile-img {
	display: none;
}

@media (max-width: 500px) {
	.service-cards .service-item .photo	img {
		display: none;
	}
	.service-cards .service-item .photo	img.mobile-img {
		display: block;
		object-fit: unset;
		width: 100%;
		height: auto;
		object-position: unset;
	}
}