/*
Theme Name: Berenio klinika
Author: mValauskas
Author URI: https://mvalauskas.lt
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berenio-klinika
*/
/*Helpers*/
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mt-auto {
    margin-top: auto !important;
}
.ml-auto {
    margin-left: auto !important;
}
.mt-0, footer.wp-block-template-part {
    margin-top: 0;
}
.mr-10 {
	margin-right: 10px !important;
}
.mb-0 {
    margin-bottom: 0;
}
.br-5 {
	border-radius: 5px;
}
.d-flex, .wp-block-button.d-flex a {
    display: flex;
}
.align-items-center, .wp-block-button.align-items-center a {
    align-items: center;
}
.justify-content-center {
	justify-content: center;
}
.gap-10, .wp-block-button.gap-10 a {
    gap: 10px;
}
.flex-1 {
	flex: 1;
}
.position-relative {
	position: relative;
}
.w-100 {
	width: 100%;
}
.h-100 {
	height: 100%;
}


/*Theme*/
li.wp-block-navigation-item:hover > a {
    color: var(--wp--preset--color--custom-text) !important;
}
.bg-vector {
	background-size: 35% !important;
}
.gmap-iframe {
	min-height: 400px;
}
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    background-position: center;
    background: linear-gradient(180deg, rgba(21, 81, 43, 0) 14.64%, #15512B 114.44%);
    z-index: 0;
    width: 100%;
    height: 50%;
    left: 0;
    bottom: 0;
}
.cta-banner > *,
.bg-overlay > * {
  position: relative;
  z-index: 1;
}
[id] { scroll-margin-top: 80px; }
.btn-esveikata span {
	padding: 10px 0 10px 24px;
}
.service-wrapper {
	border: 1px solid transparent;
	border-radius: 8px;
}
.service-wrapper:hover {
	border-color: var(--wp--preset--color--custom-primary);
}
.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #e3d0bf;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}
.wp-block-list.list-arrow {
    list-style: none;
	padding: 0;
}
.wp-block-list.list-arrow li {
    margin-bottom: 5px;
	padding-left: 1.5rem;
	position: relative;
}
.wp-block-list.list-arrow li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-image: url('img/icon-arrow-right.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/*Header*/
 .logo-wrapper, #top-bar, .site-header-inner {
    position: relative;
    z-index: 2;
}
#top-bar::before, .site-header-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100%;
    background: var(--wp--preset--color--custom-primary);
    z-index: 0;
}
#top-bar {
    box-shadow: 900px 0 0 0 var(--wp--preset--color--custom-primary);
}
.site-header-inner .logo-wrapper {
    z-index: 3;
}

body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}
body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

/*BTN*/
.wp-block-buttons .wp-block-button__link:hover, .frm_button_submit:hover {
	background-color: #fff !important;
	color: var(--wp--preset--color--custom-primary) !important;
}
.wp-block-button.is-style-outline a:hover  {
	background-color: var(--wp--preset--color--custom-primary) !important;
	color: #ffffff !important;
	border-color: var(--wp--preset--color--custom-primary) !important;
}
.wp-block-buttons .wp-block-button__link.has-white-background-color {
	border: 1px solid transparent !important;
}
.wp-block-buttons .wp-block-button__link.has-white-background-color:hover {
	border-color: var(--wp--preset--color--custom-primary) !important;

}
.frm_button_submit {
	width: 100%;
}

/*Tables*/
.table-prices {
	border: none !important;
}
.table-prices tr:nth-child(odd) {
	background-color: #F8F8F8 !important;
}
.table-prices tr:hover {
	background-color: var(--wp--preset--color--custom-main-bg) !important;
}
.table-prices tr td:first-child {
	font-weight: 700;
	color: var(--wp--preset--color--custom-primary);
}
.table-prices tr td:last-child {
	font-weight: 600;
	font-size: 22px;
	color: var(--wp--preset--color--custom-primary);
	white-space: nowrap;
	text-align: right;
}


/*FORMS*/
input, textarea {
	-webkit-border-radius: 0px;
	font-family: inherit;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="url"],
textarea {
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	outline: none;
	box-sizing: border-box;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="url"],
textarea {
	padding: 1%;
	border: 1px solid transparent;
	line-height: 20px;
	width: 95%;
	margin: 0 0 30px;
	border-radius: 3px;
	margin-bottom: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus {
	border: 1px solid var(--wp--preset--color--custom-primary);
}

input.s {
	width: 85%;
	padding: 4px 54px 4px 10px;
	height: 46px;
	color: #777777;
	background-color: #ffffff;
	margin: 0;
	border: 1px solid #eaeaea;
}

input.s:focus {
	padding-left: 10px;
	border-color: #eaeaea;
	text-indent: 0;
}


input[type="reset"],
input[type="button"],
input[type="submit"] {
	margin-bottom: 30px;
	padding: 10px 20px;
	background-color: var(--wp--preset--color--custom-primary);
	border: 0px;
	-webkit-transition: background-color 0.3s linear 0s;
	transition: background-color 0.3s linear 0s;
	border-radius: 3px;
	font-size: 18px;
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
	display: inline-block;
	color: #ffffff;
}

#search-form input[type="submit"] {
	border-radius: 0;
	margin-left: -8px;
	margin-bottom: 0;
	padding: 6px 10px 5px;
	font-size: 18px;
}

/*Responsive*/
@media (max-width: 1240px) { 
	#top-bar {
		box-shadow: 500px 0 0 0 var(--wp--preset--color--custom-primary);
	}
}
@media (max-width: 1100px) {
	.header-navigation ul {
		gap: 20px;
	}
}
@media (min-width: 992px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;;
	}
	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
    }
	ul.wp-block-navigation__submenu-container {
		margin-top: 25px;
		border: none;
		box-shadow: 0px 4px 20px 0px #15512B26;
		padding: 24px;
	}
	ul.wp-block-navigation__submenu-container a{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.wp-block-navigation-item.has-child::after {
		content: '';
		position: absolute;
		bottom: -25px;
		left: 0;
		width: 100%;
		height: 25px; 
	}
}
@media (max-width: 991px) {
	.hide-tablet {
		display: none !important;
	}
	#main-header > .wp-block-group {
		justify-content: flex-end;
	}
	
}
@media (min-width:768px){

}
@media (max-width:781px){
	.mobile-col-reverse {
		flex-direction: column-reverse;
	}
	.single-gydytojai .wp-block-column .wp-block-post-featured-image img {
		max-width: 100%;
		width: auto;
		height: auto;
		display: block;
	}
}



@media (max-width:767px){
	.hide-mobile {
		display: none !important;
	}
	.header-wrappers {
		justify-content: center;
	}
	h1 {
		font-size: 35px;
		line-height: 1.1em;
	}
	h2 {
		font-size: 30px;
		line-height: 1.3em;
	}
	.table-prices tr {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.steps-block, .steps-block .wp-block-group {
		flex-direction: column;
		align-items: center;
	}
	.service-group .service-icon {
		flex: 1 0 24px;
        max-width: 24px;
	}
	.cta-banner {
		padding: 50px 30px !important;
	}

	footer .wp-block-group {
		justify-content: center;
		text-align: center;
	}
}
  
