/* Fonts */
@font-face {
    font-family: 'MuseoSans_100';
    src: url('/custom/fonts/MuseoSans_100-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_100_Italic';
    src: url('/custom/fonts/MuseoSans_100_Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_300';
    src: url('/custom/fonts/MuseoSans_300-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_300_Italic';
    src: url('/custom/fonts/MuseoSans_300_Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_500';
    src: url('/custom/fonts/MuseoSans_500-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_500_Italic';
    src: url('/custom/fonts/MuseoSans_500_Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_700';
    src: url('/custom/fonts/MuseoSans_700-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_700_Italic';
    src: url('/custom/fonts/MuseoSans_700_Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_900';
    src: url('/custom/fonts/MuseoSans_900-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSans_900_Italic';
    src: url('/custom/fonts/MuseoSans_900_Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

main#main{
    padding: 0
}

body.custom-background {
	background-color: #F5F5F5 !important;
}

body,
footer > .site-info,
.entry-content {

}

.site h3 {

}
@media(max-width: 768px) {
	.site h3 {
		max-width: 100% !important;
	}
}

/* Basic Bootstrap funcitons*/
.d-block {
	display: block;
}
.d-none {
	display: none;
}
.position-relative {
	position: relative !important;
}
@media(min-width: 768px) {
	body:not(.wp-admin) .d-md-none {
		display: none;
	}
	body.wp-admin .d-md-none::before,
	body.wp-admin .d-md-none::after {
		content: "!! Info - Mobile only (This text visible only in admin) !!";
		display: block;
		text-align: center;
	}
	body.wp-admin .d-none.d-md-block::before,
	body.wp-admin .d-none.d-md-block::after {
		content: "!! Info - Desktop only (This text visible only in admin) !!";
		display: block;
		text-align: center;
	}
}
.w-80 {
	width: 80%;
}
.pb-5 {
	padding-bottom: 3rem !important;
}
.py-5 {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}

/* Heading */
@media only screen and (max-width: 768px) {
	h3 {
		max-width: 72% !important;
	}
}

/* Map */
#map {
	width: 100%; 
	max-width: 100% !important; 
	margin: 0 !important;
}
#map iframe {
	width: 100%; 
	height: 700px;
}

/* Frontpage Pieteikties text */
.pieteikties-text {
	font-family: 'MuseoSans_500';
}
@media(min-width: 768px) {
	.pieteikties-text {
		font-size: 25px !important;
	}
}

/* Frontpage CTA button */
.site .cta-fp a {
    padding: 13px 38px;
	border: none;
	font-family: 'MuseoSans_500';
	font-size: 1em;
}
.site .wp-block-button.cta-fp a:hover {
	border-color: #086b6c !important;
	color: white !important;
	background-color: #086b6c !important;
}
@media (max-width: 768px) {
	.site .cta-fp a {
		padding: 15px 65px;
	}
} 

.site {
	overflow-x: hidden;
}

/* Frontpage first block */
.site .first-block {
	position: relative;
	padding-bottom: 160px;
}
@media(min-width: 768px) {
	.site .first-block {
		max-width: 60% !important;
	}
	.site .first-block .wp-block-image {
		max-width: 100% !important;
	}
}
@media(max-width: 768px) {
	.site .first-block {
		padding-top: 70px;
	}
}

/* Frontpage explanation block */
.site .fp-read-block {
	position: relative;
	width: 100%; 
	max-width: 100% !important;
	padding: 40px 8% 0 3%;
	margin-bottom: 0 !important;
	
	background-color:#11d7d8; 
	color: white;
}
.site .fp-read-block h3 {
	max-width: 100% !important;
	font-size: 38px;
	font-family: 'MuseoSans_900';
	line-height: 43px;
	padding-bottom: 18px;
}
.site .fp-read-block p {

	padding-bottom: 18px;
}
.site .fp-read-block a {

}
.site #read-more {
	font-family: 'MuseoSans_900';
}
@media(min-width: 768px) {
	.site .fp-read-block {
		display: flex;
	}
	.site .fp-read-block h3 span {
		display: block;
	}
	.site .fp-read-block::before {
		content: "";
		background: url("/wp-content/uploads/2020/12/logo-small.svg");
		background-size: cover;
		width: 258px;
		height: 188px;
		position: absolute;
		right: -168px;
		top: -99px;
	}
	.site .fp-read-block .col-left {
		position: relative;
		order: 1;
		min-width: 335px;
		flex: 0 0 60%;
		margin-left: -15%;
		margin-right: 10%;
	}
	.site .fp-read-block .col-left figure {
		margin-bottom: 0;
		height: 100%;
		display: flex;
	}
	.site .fp-read-block .col-left figure img {
		width: 100%;
		margin: auto auto 0 auto !important;
	}
	.site .fp-read-block .col-right {
		order: 2;
		flex: 0 0 34.5%;
		padding-top: 20px;
	}
}
@media(max-width: 768px) {
	.site .fp-read-block {
		padding: 40px 5% 0 10%;
	}
	.site .fp-read-block .col-left {
		padding-top: 40px;
		margin-left: -33%;
	}
	.site .fp-read-block .col-left figure img {
		width: 100%;
	}
}

/* Frontpage slider overrides */
.slider-button {
	width: 100% !important;
}
.slider-button a div::after {
	content: ' ';
	margin-left: 10px;
	width: 12px;
	height: 8px;
	background: url('/wp-content/uploads/2020/12/arrow.png');
}

/* Frontpage slider on desktop */
@media(max-width: 768px) {
.n2-ss-slider .n2-ss-item-image a {
	display: flex !important;
}
}
@media(min-width: 768px) {
	.wp-block-nextend-smartslider3 {
		width: 100% !important;
		max-width: 1121px !important;
		position: relative;
	}

	.wp-block-nextend-smartslider3 .n2-section-smartslider.fitvidsignore.n2_clear{
		width: 1121px;
		display: flex;
		margin: auto;
		margin-top: 0;
	}

	.wp-block-nextend-smartslider3 .n2-section-smartslider.fitvidsignore.n2_clear .n2-ss-slider-4.n2-ow > div{
		display: block !important;
	}
	.wp-block-nextend-smartslider3::after {
		content: '';
		position: absolute;
    		background: url("/wp-content/uploads/2020/12/blue-fp-block.svg");
  		background-position: top right;
    		width: 300px;
    		height: 650px;
    		bottom: -50%;
    		left: 0;
		z-index: -1;
	}
	.wp-block-nextend-smartslider3::before {
		content: '';
		position: absolute;
    		background: url("/wp-content/uploads/2020/12/gray-fp-block.svg");
  		background-position: top left;
    		width: 370px;
    		height: 200%;
    		top: -120%;
    		right: 0;
    		z-index: -1;
	}
	#n2-ss-2-align {
		width: 90% !important;
		margin-left: 5% !important;
		margin-right: 5% !important;
	}
	.n2-ss-slide {
		transform: none !important;
		width: 25% !important;
		height: auto !important;
		margin: 0 25% !important;
	}
	.n2-ss-slider-4 > :nth-child(2) {
		margin-left: 0% !important;
	}
	.n2-ss-slider-4 > :nth-child(4) {
		margin-left: 50% !important;
	}
	.n2-ss-slider-4 > :nth-child(5) {
		margin-left: 75% !important;
	}
	.n2-ss-layers-container {
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
	}
	.slider-button div {
		font-size: 16px !important;
	}
}
@media(min-width: 1121px) {
	.wp-block-nextend-smartslider3::after {
		left: calc(-50vw + 560px);
	}
	.wp-block-nextend-smartslider3::before {
		right: calc(-50vw + 560px);
	}
}


/* Footer */
@media only screen and (max-width: 481px) {
	.no-widgets .site-footer {
		margin-top: var(--global--spacing-vertical);
	}
}
.site-footer {
	background: black;
	max-width: 100% !important;
	text-align: center;
}
.site-footer::before,
.site-footer::after {
	content: none;
}
.site-footer a,
.site-footer span {
	display: block;
	color: white !important;
}
.site-footer a {
	text-decoration: none;
}
.site-footer span.header {
	color: #11D7D8 !important;
	margin-bottom: 2px;
}
.site-footer .footer-block {
	margin-bottom: 14px;
}

.site-footer .site-name img {
	margin: 42px auto 15px auto;
}
.site-footer .site-name span {
	max-width: 70%;
	margin: 0 auto;
	text-transform: none;
}

.site-footer .footer-block.site-links {
	margin-top: 48px;
}
.site-footer .footer-block.site-links a {
	display: inline-block;
	padding-right: 18px;
}
.site-footer .footer-block.site-links img {
	height: 18px;
}

.site-footer .footer-block.site-copyright {
	margin-top: 48px;
}

@media only screen and (min-width: 768px) {
	.no-widgets .site-footer {
		margin-top: 0 !important;
	}
	.site-footer .site-info {
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
		flex-wrap: wrap;
		padding-top: 80px;
	}

	.site-footer .footer-block.site-email,
	.site-footer .footer-block.site-telephone {
		flex: 0 0 20%; 
		text-align: left;
	}

	.site-footer .footer-block.site-email .header,
	.site-footer .footer-block.site-telephone .header {
		font-size: 18px;
	}

	.site-footer .footer-block.site-email a,
	.site-footer .footer-block.site-telephone a {
		font-size: 20px;
	}

	.site-footer .footer-block.site-links, 
	.site-footer .footer-block.site-copyright {
		flex: 0 0 100%;
	}

	.site-footer .footer-block.site-name {
		order: 1;
		flex: 0 0 60%;
		text-align: left;
	}
	.site-footer .footer-block.site-name span {
		text-align: left;
		font-size: 18px;
		max-width: 85%;
		margin: 0;
	}
	.site-footer .footer-block.site-name img {
		max-width: 192px;
		width: 100%;
		margin: 0 0 38px 0;
	}

	.site-footer .footer-block.site-email {
		order: 2;
		align-self: baseline;
	}
	.site-footer .footer-block.site-telephone {
		order: 3;
		align-self: baseline;
	}
	.site-footer .footer-block.site-links {
		order: 4;
		text-align: left;
	}
	.site-footer .footer-block.site-copyright {
		order: 5;
		margin-top: 60px;
	}
	.site-footer .footer-block.site-copyright span {
		font-size: 18px;
	}
}



/* Header */
.primary-navigation a {
	font-family: 'MuseoSans_500';
	font-size: 15px;
	color: #404248 !important;	
}
.primary-navigation a:hover {
	text-decoration: none;
}
.primary-navigation .current-menu-item > a:first-child {
	text-decoration: none;
    	font-weight: bold;
}
.has-background-white .site #masthead a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	background: none;
	text-decoration: none;
}
.primary-navigation .current-menu-item > a:first-child:hover, 
.primary-navigation .current_page_item > a:first-child:hover {
	text-decoration: none;
}
.custom-logo-link img {
	display: block !important;
}
.custom-logo-link:focus img,
#primary-mobile-menu:focus {
	outline: 0 !important;
}
#masthead {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.menu-item {
	padding-left: 10px;
	padding-right: 10px;
}
#primary-menu-list a{
    font-family: 'MuseoSans_500';
    font-size: 15px;
    text-decoration: none;
	height: 42px;
}

#primary-menu-list li.current-menu-item a {
    font-weight: bold;
}

#primary-menu-list li:last-child a {
	background-color: #11D7D8;
	padding: 13px 38px;
	border-radius: 300rem !important;
	color: white !important;
	text-align: center;
	height: 42px;
}
#primary-menu-list li:last-child a:hover {
	background-color: #086b6c;
}

#primary-menu-list li:last-child a:focus {
	background-color: #11D7D8 !important;
}
#mysticky-nav.wrapfixed {
	opacity: 1 !important;
	transition: none !important;
}
@media (min-width: 768px) {
	.site-branding {
		margin-top: 0 !important;
	}
}
@media (max-width: 768px) {
	#masthead .site-branding .site-logo {
		position: initial;
	}
	#mysticky-nav.wrapfixed #masthead .primary-navigation {
		top: 4px;
		right: -15px;
	}
	.site-logo .custom-logo {
		max-width: 80% !important;
	}
	#primary-menu-list li a {
		font-size: 18px;
	}
	#primary-menu-list .menu-item-type-custom {
		margin-top: 15px;
	}	
}
@media(max-width: 361px) {
	#masthead .site-logo {
		padding-top: 0 !important;
	}
}




/* Up button */
#up-button {
	display: none;
	position: fixed;
	right: 10%;
	bottom: 30px;
	width: 48px;
    height: 48px;
	border-radius: 300rem !important;
	
	background: black;
}
#up-button::after {
	content: "";
	background: url("/wp-content/uploads/2020/12/arrow-2.svg");
	background-size: cover;
	position: absolute;
	top: 19px;
	left: 18px;
	width: 14px;
	height: 8px;
}




/* Specialisti page */
.post-126 .entry-content {
	max-width: 80% !important;
}
@media (min-width: 768px) {
	.post-126 .entry-content {
		text-align: center;
	}
	.post-126 div:not(.block-editor-block-list__layout) > .wp-block-group {
		display: inline-block !important;
		margin: 0 1% 30px !important;
		width: 30% !important;
		max-width: 301px !important;
	}
	.post-126 h3 {
		font-size: 38px !important;
		font-weight: 900 !important;
	}
	.post-126 .entry-content p.has-text-align-center {
		font-size: 20px !important;
		line-height: 28px;
		font-weight: 500 !important;
	}
	.post-126 .entry-content::after {
		content: '';
		position: absolute;
    		background: url("/wp-content/uploads/2020/12/blue-fp-block.svg");
  		background-position: top right;
		background-repeat: no-repeat;
    		width: 360px;
    		height: 1193px;
    		top: 500px;
    		left: 0;
    		z-index: -1;
	}
	.post-126 .entry-content::before {
		content: '';
		position: absolute;
    		background: url("/wp-content/uploads/2020/12/gray-fp-block.svg");
  		background-position: top left;
    		background-repeat: no-repeat;
    		width: 370px;
    		height: 1200px;
    		top: 500px;
    		right: 0;
    		z-index: -1;
	}
}
@media (max-width: 768px) {
	.post-126 div:not(.block-editor-block-list__layout) > div figure {
		display: block;
		max-height: 80vw;
		overflow: hidden;
	}
}
.post-126 .wp-block-group p {
	font-size: 16px;
	color: #585858;
}
.post-126 .wp-block-group p a {
	text-decoration: none;
}
.post-126 .wp-block-group p strong {
	font-size: 22px;
	color: black;
	font-family: 'MuseoSans_900';
}
.post-126 .wp-block-group p em {
	font-family: 'MuseoSans_100';
}
.post-126 .wp-block-group figure {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.post-126 .wp-block-group figure a {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.post-126 .wp-block-group figure::after {
	content: "" !important;
	position: relative !important;
    display: block !important;
    padding-top: 100% !important;
}
.post-126 .wp-block-group figure img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

@media(max-width: 768px) {
	.post-126 .wp-block-group p {
		font-size: 16px;
		margin-bottom: 20px !important;
	}
	.post-126 .wp-block-group p strong {
		font-size: 18px;
	}
}

/* Single specialist page */
.accordion iframe {
	height: 100%;
	width: 100%;
	margin-left: -4px; 
}
.category-specialists .book-to-title-container {
	margin: 0 auto !important;
	border-bottom: 5px solid black;
}
.category-specialists .book-to-title {
	margin: 0 auto !important;
}
.category-specialists .book-to-title h3 {
	margin: 0 auto 28px;
	color: #000;
}
.category-specialists .iframe-widget-full {
	margin-top: 0 !important;
	width: 100%; 
	height: 700px;
	margin-left: -4px
}

.entry-content.specialist-page p.name-surname {
	position: relative;
}
.entry-content.specialist-page p.name-surname strong {
	font-family: 'MuseoSans_900';
}
.entry-content.specialist-page p.lead {
	color: #404248;
}
.entry-content.specialist-page p:not(.name-surname) {
	color: #333333;
}

@media only screen and (min-width: 768px) {
	.entry-content.specialist-page .wp-block-image {
		display: inline-block;
		margin-left: 10% !important;
		margin-right: 0 !important;
		max-width: 40% !important;
	}

	.entry-content.specialist-page {
		position: relative;
	}

	.entry-content.specialist-page .wp-block-image:after {
		content: "";
		background: url("/wp-content/uploads/2020/12/logo-small.svg");
		background-size: cover;
		position: absolute;

		width: 150px;
		height: 203px;
		left: 65%;
		top: 70px;
	}

	.entry-content.specialist-page p.name-surname {
		display: inline-block;
		max-width: 40% !important;
		margin-top: -135px;
		margin-left: 66px !important;
		vertical-align: middle;
		
		color: #585858;	
		font-size: 20px;
	}
	.entry-content.specialist-page p.name-surname strong {
		color: black;	
		font-size: 30px;
	}

	.entry-content.specialist-page p.lead {
		font-size: 20px !important;
		font-weight: 500 !important;
		line-height: 27px !important;
	}
	.entry-content.specialist-page p:not(.name-surname) {
		font-family: 'MuseoSans_100';
		font-size: 16px;
		line-height: 27px;
	}
}

@media only screen and (max-width: 768px) {
	.category-specialists .book-to-title h3 {
		font-size: 23px !important;
		width: 80%;
		max-width: 80% !important;
		margin: 23px 0;
	}
	.entry-content.specialist-page {
		display: flex;
		flex-wrap: wrap;
	}
	.entry-content.specialist-page p {
		flex: 0 0 80%;
	}
	.entry-content.specialist-page .wp-block-image {
		flex: 0 0 100%;
		max-width: 100% !important;
	}
	.entry-content.specialist-page p.name-surname {
		margin: 50px auto 40px auto;
		order: -1;

		font-size: 18px;
		font-weight: 100;
		color: #585858;
	}
	.entry-content.specialist-page p.name-surname strong {
		font-size: 22px;
		color: black;
	}

	.entry-content.specialist-page p.name-surname:before {
		content: "";
		background: url("/wp-content/uploads/2020/12/logo-small.svg");
		background-size: cover;
		position: absolute;
		width: 50px;
		height: 68px;
		right: 0;
		top: 8px;
	}

	.entry-content.specialist-page p.lead {
		font-size: 18px !important;
		font-weight: 500 !important;
		line-height: 25px !important;
	}
	.entry-content.specialist-page p:not(.name-surname) {
		font-size: 16px;
		font-weight: 100;
		line-height: 25px;
	}
}

.accordion-item {
	margin: 1px 0 0 0;
	border: 0px !important;
}


/* For admin previews mobile / desktop */
.post-126 .edit-post-visual-editor.Desktop .block-editor-block-list__layout .wp-block-group {
	display: inline-block !important;
	margin: 0 1% 30px !important;
	width: 30% !important;
}
.post-126 .edit-post-visual-editor.Mobile .block-editor-block-list__layout figure {
	display: block;
	max-height: 80vw;
	overflow: hidden;
}
.post-126 .block-editor-block-list__layout.is-root-container {
	max-width: 80% !important;
	margin-left: auto;
	margin-right: auto;
}
.post-126 .edit-post-visual-editor.Desktop .wp-block-group figure::after,
.post-126 .edit-post-visual-editor.Mobile .wp-block-group figure::after,
.post-126 .edit-post-visual-editor.Tablet .wp-block-group figure::after {
	padding-top: calc(100% - 33px) !important;
}
.post-126 .wp-block-group figure > .components-resizable-box__container {
	position: unset !important;
}



/* FAQ page */
#post-203 h3 {
	font-size: 38px !important;
	font-weight: 900 !important;
}
.qe-faq-toggle .qe-toggle-title {
	background-color: #F5F5F5;
	border: 0;
	border-top: 1px solid black;
}
.qe-faq-toggle .qe-toggle-title h4 {
	display: flex;
	font-family: 'MuseoSans_900';
	font-size: 22px;
	color: #212121;
}
.qe-faq-toggle .qe-toggle-title h4 i.fa {
	margin: auto 0 auto auto;
}
.qae-faqs-container > :last-child .qe-toggle-title {
	border-bottom: 1px solid black;
}
.qae-faqs-container .qe-toggle-content {
	background-color: #F5F5F5 !important;
	border: 0;
	padding: 1.5rem 1.5rem 3rem;
}

.qae-faqs-container .qe-toggle-content p {
	font-family: 'MuseoSans_300';
	font-size: 16px;
	line-height: 22px;
	color: #404248;
}

@media(max-width: 768px) {
	.qae-faqs-container {
		width: 80%;
		max-width: 80% !important;
		margin-left: 10% !important;
	}
	.qae-faqs-container .qe-toggle-content {
		padding: 1.5rem 0;
	}
	.qe-faq-toggle .qe-toggle-title {
		padding-left: 5px;
		padding-right: 5px;
	}
	.qe-faq-toggle .qe-toggle-title h4 {
		font-size: 18px;
		line-height: 22px;
	}
	.qe-faq-toggle .qe-toggle-title h4 i.fa {
		padding-left: 28px;
	}
	.qae-faqs-container .qe-toggle-content p {
		font-size: 14px;
		line-height: 20px;
	}
}




/* Blog page */
.wp-block-latest-posts__list {
	max-width: 100% !important;
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-date {
	margin: 0;
}

.container .wp-block-latest-posts > li > a {
	font-family: 'MuseoSans_900';
	text-decoration: none !important;
}

.container .wp-block-latest-posts > li > time,
.container .wp-block-latest-posts > li > div  {
	font-family: 'MuseoSans_500';
	color: #404248;
}
.container .wp-block-latest-posts > li > div a  {
	text-decoration-style: solid !important;
}
.container .wp-block-latest-posts > li > div a:focus  {
	background: none !important;
}

.wp-block-latest-posts__list .post-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.wp-block-latest-posts__list .post-title {
	font-family: 'MuseoSans_900';
	font-size: 22px;
	line-height: 28px;
}
.post-link:focus {
	background: transparent !important;
}
@media(max-width: 768px) {
	.wp-block-latest-posts__list {
		max-width: 100% !important;
	}
	.wp-block-latest-posts__list .wp-block-latest-posts__post-excerpt {
		font-family: 'MuseoSans_100';
	}
	.wp-block-latest-posts__list > li {
		margin: 0 0 20px !important;
	}
}


/* Custom layout changes */
.cta-block {
	background: #dcdbdb;
    border-radius: 1em;
    padding: 1em;
    text-align: center;
}

.cta-block .cta-fp {
	margin: 0 auto !important;
}

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce) {
	max-width: 80% !important;
}

#post-13 > div > div.wp-container-6.wp-block-columns.partners-block {
	max-width: 65% !important;
}
