/*
	Theme Name: SRIS
	Theme URI: https://sris.am.lt
	Description: Aplinkos ministerija, A. Jakšto g. 4/9, LT-0115 Vilnius
	Author: Petras Pauliūnas
	Author URI: mailto:petras.pauliunas@am.lt
	Version: 1.0.2
	Stable tag: 1.0
	Requires at least: 4.7
	Tested up to: 6.5.2
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: pi
	Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

*,
::after,
::before {
	box-sizing: border-box;
}
html{scroll-behavior: smooth;}
:root {
	--am-typography-text-font-family: 'Atkinson Hyperlegible', sans-serif;
	--am-typography-text-font-weight: 400;
	--am-primary-color: rgb(7, 86, 61);
	--am-primary-light-color:rgb(242, 250, 245);
	--am-secondary-color: rgb(221, 237, 227);
	--am-box-shadow: rgb(108 96 77 / 20%) 0px 0px 0px 4px;
	--am-text-color: rgb(35, 31, 32);
	--am-border-color: rgb(205, 213, 223);
	--am-label-color: rgb(75, 85, 101);
	--am-nav-hover-color:#F2FAF5;

	--link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24' fill='%2307563D'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E");
	--link-icon-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24' fill='%23ffffff'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E");

}

body,html {
    padding: 0;
    margin: 0;
    height: 100%
}

body {
    font-family: var(--am-typography-text-font-family),sans-serif;
    line-height: 1.6rem
}

body>#page {
    display: flex;
    flex-direction: column;
    height: 100%
}

footer {
    margin-top: auto
}

audio,canvas,embed,iframe,img,object,svg,video {
    display: block;
    vertical-align: middle
}

::selection {
    background-color: var(--am-primary-color);
    color: #fff
}

a{
	color: var( --e-global-color-accent );
}
div[data-elementor-type="wp-page"] .elementor-widget-text-editor a,
.single-new-content a{
	text-decoration: underline;
    text-underline-offset: 4px;
    background-image: linear-gradient(var( --e-global-color-accent ) 0%, var( --e-global-color-accent ) 100%);
    background-position: 0% 110%;
    background-repeat: repeat-x;
    background-size: 0px 0px;
    transition: color 150ms ease 0s, background-size 150ms ease 0s;
    padding: 0px 3px;
    margin: 0px -3px;
    position: relative;
	word-break: break-word;
}
.single-new-content img{
	max-width:100%;
	height: initial;
}
div[data-elementor-type="wp-page"] .elementor-widget-text-editor a:hover,
.single-new-content a:hover{
	text-decoration: none;
    background-size: 2px 100%;
    z-index: 1;
    color: #fff !important;
}
div[data-elementor-type="wp-page"] .elementor-widget-text-editor a[target="_blank"]:after,
.single-new-content  a[target="_blank"]:after{
	content:'';
	background-image: var(--link-icon);
	width: 16px;
    height: 16px;
    display: inline-block;
    background-size: cover;
    vertical-align: -2.5px;
    margin-left: 4px;
}
div[data-elementor-type="wp-page"] .elementor-widget-text-editor a[target="_blank"]:hover:after,
.single-new-content a[target="_blank"]:hover:after{
	background-image: var(--link-icon-hover);
}

h1{
	font-size: 2rem;
	margin:0
}
h2{
	font-size: 1.5rem;
}
@media(max-width:768px){
	h1 {
		font-size: 1.75rem;
	}
	h2{
		font-size: 1.25rem;
	}
}

.sticky-header {
    position: relative;
    transition: transform .4s;
    z-index: 2
}

.scroll-down .sticky-header {
    transform: translate3d(0,-100%,0)
}

.scroll-up .sticky-header {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.08);
    left: 0;
    position: fixed!important;
    right: 0;
    top: 0;
    transform: none
}
.main-nav .hfe-nav-menu li a {
    border-radius: 9999px;
}

.main-nav .hfe-nav-menu li ul.sub-menu a:hover,
.scroll-up .sticky-header .main-nav .hfe-nav-menu>li div a:hover,
.scroll-up .sticky-header .main-nav .hfe-nav-menu>li.current_page_item div a,
.scroll-up .sticky-header .main-nav .hfe-nav-menu>li.current_page_parent div a {
    background-color: var(--am-primary-light-color)!important
}


.main-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
	justify-content: space-between;
}
.main-nav.hfe-nav-menu__align-justify .hfe-nav-menu__layout-horizontal .hfe-nav-menu li.menu-item {
     -webkit-box-flex: unset; 
    -ms-flex-positive: unset;
     -webkit-flex-grow: unset; 
    -moz-box-flex: unset;
    flex-grow: unset;
}
.main-nav .hfe-nav-menu:before, .hfe-nav-menu:after{
	content: none;
    display: none;
    clear: none;
}
.main-nav .hfe-nav-menu li ul.sub-menu {
    padding: 8px 8px 4px
}

.main-nav .hfe-nav-menu li ul.sub-menu a {
    border-radius: 8px;
    margin-bottom: 4px;
    padding: 12px 16px!important
}
@media(max-width:767px){
.biip-nav > .elementor-container > div:nth-child(3){
order:2
}
.biip-nav > .elementor-container > div:nth-child(2){
	order:3
	}
}
.list .elementor-icon-list-item a {
    justify-content: space-between!important
}

.list .elementor-icon-list-icon {
    order: 2
}

.site-content-404 {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    margin: 0 auto;
    max-width: 700px;
    padding: 40px 20px;
    text-align: center
}

.site-content-404 .title {
    font-size: 48px;
    margin: 0
}

.site-content-404 .content {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4
}

.site-content-404 a {
    color: var(--e-global-color-accent)
}

@media (max-width:768px) {
    .site-content-404 .title {
        font-size: 32px
    }

    .site-content-404 .content {
        font-size: 16px
    }
}

.search-form {
    display: grid;
    gap: 16px;
    grid-template-columns: auto 100px;
    margin: 48px auto;
    max-width: 500px
}

.search-form input {
    appearance: none;
    background-color: #fff;
    border: 1px solid var(--am-border-color);
    border-radius: 4px;
    color: var(--am-text-color);
    height: 40px;
    line-height: 27px;
    margin: 0;
    -moz-appearance: none;
    outline: 0;
    padding: .5rem .75rem;
    -webkit-appearance: none;
    width: 100%
}

.search-form input:focus {
    border-color: var(--am-primary-color);
    box-shadow: var(--am-box-shadow)
}

.search-form input.search-submit {
    background-color: var(--am-primary-color);
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    height: 40px;
    padding: 6px 8px;
    width: 100%
}

/*Search results*/
.search-head-wrap {
	background-color: var(--am-nav-hover-color);
	padding: 64px 20px 24px 20px;
}

.search-head {
	max-width: 800px;
	margin: 0 auto;
}

.search-head .search-form {
	margin: 0;
	margin-top: 16px;
}

.search-content-wrap {
	padding: 40px 20px;
}

.search-content {
	max-width: 800px;
	margin: 0 auto;
}

.site-content-search ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-content-search ul li {
	border-bottom: 1px solid #CDD5DF;
	padding: 4px 0 24px 0;
}

.site-content-search ul li p {
	margin: 16px 0 0 0;
	word-break: break-word
}

.site-content-search ul li a {
	color: var(--am-text-color);
	text-decoration: none;
}
.site-content-search ul li a p{
	color: var( --e-global-color-text );
}

.site-content-search ul li .more {
	color: var(--am-primary-color);
	font-weight: 600;
	padding: 8px 8px 8px 0;
	display: flex;
    align-items: center;
}
.site-content-search ul li .more svg{
	margin-left: 8px;
}

.searched-highlight {
	background-color: var(--am-nav-hover-color);;
}
/*START:Search JS-------------------------------------------*/
#search-js {
	cursor: pointer;
}

.am-search-opened {
	overflow: hidden;
}

.am-fill {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

[class*="am-search-full-screen"] {
	position: fixed;
	z-index: 400;
	visibility: hidden;
	opacity: 0;
}

.am-search-full-screen {
	background-color: rgb(17 24 39/ 0.5);
	box-shadow: 0 0 14px rgba(0, 0, 0, 0.08);
	padding: 12px;
	transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s, visibility 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
	transform: translate3d(0, 100%, 0);
}

[class*="am-search-full-screen"].am-opened {
	visibility: visible;
	opacity: 1;
}

.am-search-full-screen.am-opened {
	transition: opacity 0s, visibility 0s, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
	transform: none;
}

/*Search close btn*/
.am-search-full-screen .am-close-search {
	position: absolute;
	top: 0;
	bottom:0;
    right: 0;
    left: 0;
    z-index: 1;
    text-align: center;
}

.am-action-btn>a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
}

.am-action-btn.am-style-icon>a {
	position: relative;
	flex-direction: column;
	width: 50px;
	height: 50px;
	font-weight: 400;
	font-size: 0 !important;
	line-height: 0;
}

.am-search-full-screen .am-close-search>a {
	width: 56px;
	height: 56px;
}

.am-search-full-screen .am-search-icon{
	position: absolute;
	top: 0;
    right: 0;
    z-index: 3;
}
.am-search-full-screen .am-search-icon >a{
	width: 56px;
    height: 56px;
}
.am-search-full-screen .am-search-icon a svg{
	fill: black;
}

/*Search form*/
.searchform {
	position: relative;
}

.am-search-wrap{
	max-width: 560px;
	margin: 48px auto 0;
    position: relative;
	background: #fff;
    border-radius: 8px;
	position: relative;
    z-index: 2;
}
.am-search-full-screen .searchform {
	border-bottom: 1px solid #CDD5DF;
}

.am-search-full-screen .searchform input[type="text"] {
	padding: 0 15px;
	max-width: 100%;
	width: 100%;
	height: 56px;
	border: 1px solid #fff;
	border-radius: 8px 8px 0 0;
	background-color: #fff;
	box-shadow: none;
	color: var(--am-text-color);
	vertical-align: middle;
	font-size: 16px;
	transition: border-color .5s ease;

}

.searchform .searchsubmit {
	position: absolute;
	top: 0;
	right: 2px;
	bottom: 0;
	padding: 0;
	width: 50px;
	border: none;
	background-color: transparent;
	box-shadow: none;
	color: #333;
	font-weight: 400;
	font-size: 0;
}

.am-search-full-screen .searchform .searchsubmit {
	display: none;
}

.am-search-full-screen .am-search-loader {
	z-index: 1002;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	background-color: rgba(255,255,255, 0.8);
	opacity: 0;
	transition: opacity 0.2s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.am-search-full-screen .am-search-loader:after {
	content: "";
	display: inline-block;
	width: 32px;
	height: 32px;
	border: 1px solid transparent;
	border-left-color: #242424;
	border-radius: 50%;
	vertical-align: middle;
}

.am-search-full-screen .search-loading~.am-search-loader {
	top: 110px;
	visibility: visible;
	opacity: 1;
	transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.am-search-full-screen .search-loading~.am-search-loader:after {
	animation: am-rotate 450ms infinite linear;
}

.am-search-full-screen .search-info-text {
	overflow: hidden;
	padding: 16px;
	text-align: center;
	font-size: 16px;
	line-height: 20px;
	transition: all .6s ease;
	background: #fff;
    margin-top: -1px;
	color: var( --e-global-color-text );
	border-radius:0 0 8px 8px
}

/*Search results*/
.am-search-full-screen.am-searched .search-results-wrapper {
	position: absolute;
    top: 57px;
	width: 100%;
}

.search-results-wrapper {
	position: relative;
}

.am-dropdown-results {
	margin: 0 !important;
	overflow: hidden;
	right: calc((0 / 1.5));
	left: calc((0 / 1.5));
}

.am-search-full-screen .am-dropdown-results,
.am-search-full-screen .am-dropdown-results .am-scroll-content {
	max-height: 100%;
	height: 100%;
}

.am-scroll-content {
	overflow: hidden;
	overflow-y: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	max-height: 280px;
	scrollbar-width: thin;
	max-width: 800px;
    margin: 0 auto;
	background-color: #fff;
	border-radius: 0 0 8px 8px;
}

.autocomplete-suggestions {
    display: grid;
    margin-top: -1px;
    margin-right: -1px; 
	padding: 16px 16px 8px 16px;
}
  
.autocomplete-suggestion {
	background-color: #F8FAFC;
	border-radius:8px;
	padding: 16px;
	margin-bottom: 8px;
	cursor: pointer;
	line-height: 1;
	transition: all .25s ease; 
}
.autocomplete-suggestion .am-entities-title {
	color: var( --e-global-color-text );
}
      .autocomplete-suggestion .wd-entities-title strong {
        text-decoration: underline; }
    .autocomplete-suggestion .suggestion-sku {
      font-size: 12px; }
    .autocomplete-suggestion.suggestion-divider {
      width: 100%;
      background-color: #f7f7f7;
      cursor: default; }
      .autocomplete-suggestion.suggestion-divider h5 {
        margin-bottom: 0;
        text-transform: uppercase; }

.autocomplete-suggestion:hover,
.autocomplete-suggestion.autocomplete-selected {
	background-color: #EEF2F6;
}
  
  .view-all-results,
  .suggestion-divider,
  .suggestion-no-found {
    grid-column: 1 / -1; }
  
.view-all-results {
	height: 48px;
    margin-bottom: 8px;
    color: var(--am-primary-color);
	text-decoration: underline;
    text-align: center;
    line-height: 48px;
    cursor: pointer;
    transition: all .25s ease;
}
.view-all-results:hover {
    color: var(--am-secondary-color);
}

[class*="am-search-full-screen"] .autocomplete-suggestions {
	animation: am-fadeInBottomShort 0.6s cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes am-rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes am-fadeInBottomShort {
	from {
		transform: translate3d(0, 20px, 0);
	}

	to {
		transform: none;
	}
}
/*END:Search JS-------------------------------------------*/


/* Pagination */
  
.pagination {
	display: flex;
    justify-content: center;
	margin: 32px 0;
	gap: 4px;
  }
  
  .pagination .page-numbers {
	color: var( --e-global-color-primary );
	padding: 8px 16px;
  }
  
  .pagination .current {
	background-color: var( --e-global-color-accent );
	color: #fff;
	border-radius: 4px;
  }
  
  .pagination .page-numbers:hover:not(.current) {
	background-color: #CDD5DF;
	border-radius: 4px;
  }
  
/* End Pagination */

/* Single page template */
.single-new-wrap {
	background-color:var(--am-primary-light-color);
	padding: 40px 20px 16px 20px;
}

.single-new {
	max-width: 800px;
	margin: 0 auto;
}

.single-new-content-wrap {
	padding: 80px 20px 80px 20px;
}

.single-new-content {
	max-width: 840px;
	margin: 0 auto;
	padding: 40px 20px 0 20px;
	color: var( --e-global-color-text );
}

.single-news time{
	color: var( --e-global-color-accent );
}
.single-news h1{
	color: var( --e-global-color-primary );
	line-height: 40px;
	margin: 8px 0 16px 0;
}
.news_image{
	height: auto;
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.single-news .navigation.post-navigation{
	padding: 0 20px
}
.single-news .nav-links{
	max-width: 800px;
	margin: 48px auto;
	display: flex;
    justify-content: space-between;
	gap:16px;
	border-top:1px solid #CDD5DF;
	padding:16px 0;
}
.nav-links a{
	color: var( --e-global-color-text );
	text-decoration: none;
}
.single-news .nav-links > div{
	max-width: 50%;
}
.nav-links .meta-nav{
	display: flex;
    align-items: center;
}
.nav-links .nav-next{
	text-align: right;
	margin-left: auto;
}

.nav-links .nav-next .meta-nav{
	justify-content: flex-end;
}

.nav-next .meta-nav svg{
	margin-left: 8px;
    height: 16px;
    margin-top: -2px;
}
.nav-previous .meta-nav svg{
	margin-right: 8px;
    height: 16px;
    margin-top: -6px;
}
.nav-next,
.nav-previous{
	min-width: 0;
}
.nav-next .post-title,
.nav-previous .post-title{
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
@media(max-width:768px){
	.single-news h1 {
		line-height: 32px;
	}
}


#biip-v-tabs.elementor-widget-tabs .elementor-tab-title.elementor-active,
#biip-v-tabs.elementor-widget-tabs .elementor-tab-title.elementor-active a{
	background-color:var(--am-primary-light-color);
	border-radius:4px
}
#biip-v-tabs.elementor-widget-tabs .elementor-tab-desktop-title{
	padding: 13px 20px;
}

#biip-v-tabs.elementor-widget-tabs .elementor-tab-content {
    border-left:1px solid #CDD5DF;
    margin-top: -16px;
}
#biip-v-tabs.elementor-widget-tabs .elementor-tabs-wrapper{
    margin-right:16px
}

@media (max-width: 767px)
{#biip-v-tabs.elementor-widget-tabs .elementor-tabs .elementor-tab-content {
    padding: 0 0 10px 0
}}


.elementor-icon-list-item .elementor-icon-list-icon {
	align-self: self-start;
    margin-top: 6px;
}
.elementor-widget .elementor-icon-list-icon+.elementor-icon-list-text {
    padding-left: 0 !important
}