/*
	Theme Name: Želdynai
	Theme URI: https://zeldynai.biip.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.1
	Stable tag: 1.0
	Requires at least: 4.7
	Tested up to: 5.9
	Requires PHP: 5.6
	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;
}

:root {
	/*--am-typography-text-font-family: 'Manrope';*/
	--am-typography-text-font-family: 'Atkinson Hyperlegible', sans-serif;
	--am-typography-text-font-weight: 400;
	--am-primary-color: rgb(25, 70, 5);
	--am-background-color: rgb(25 70 5 / 4%);
	--am-focus-color: rgb(25 70 5 / 20%);
	--am-secondary-color: rgb(0, 110, 130);
	--am-box-shadow: rgb(25 70 5 / 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:rgba(245, 248, 240, 1);
	/*icon*/
	--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='%23194605'%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 {
	font-family: var(--am-typography-text-font-family), sans-serif;
	font-weight: var(--am-typography-text-font-weight);
	font-size: 1rem;
}

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

::selection {
	color: #fff;
	background-color: var(--am-primary-color);
}
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;
}
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;
}
h2{
	font-size: 1.5rem;
}
@media(max-width:768px){
	h1 {
		font-size: 1.75rem;
	}
	h2{
		font-size: 1.25rem;
	}
}

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

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

footer {
	margin-top: auto;
}

 /* Sticky header */
 .sticky-header {
    position: relative;
    z-index: 2;
    transition: transform 0.4s;
}
.scroll-down .sticky-header {
    transform: translate3d(0, -100%, 0);
}
.scroll-up .sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}
.sticky-header .elementor-widget-wrap {
    flex-wrap: nowrap 
}
.main-nav .hfe-nav-menu li a{
    border-radius: 9999px;
	text-shadow: 0px 0px 0px #000;
}
.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-nav-hover-color) !important;
}
.main-nav .hfe-nav-menu li ul.sub-menu {
    padding: 8px 8px 4px 8px;
}
.main-nav .hfe-nav-menu li ul.sub-menu a{
    border-radius: 8px;
    padding: 12px 16px !important;
    margin-bottom:4px;
}
.main-nav .hfe-nav-menu li ul.sub-menu a:hover{
    background-color: var(--am-nav-hover-color) !important;
}

.main-nav .hfe-nav-menu .sub-menu li.menu-item,
.main-nav .hfe-nav-menu  .sub-menu li.menu-item{
overflow: visible !important;
}
 /* Sticky header end*/


  /*Mobile nav icon*/
  .hfe-nav-menu-icon,
  .hfe-nav-menu-icon::after,
  .hfe-nav-menu-icon::before {
   box-sizing: border-box;
   position: relative;
   display: block;
   width: 20px;
   height: 2px;
   border-radius: 3px;
   background: var(--am-primary-color)
  }
  
  .hfe-nav-menu-icon::after,
  .hfe-nav-menu-icon::before {
   content: "";
   position: absolute;
   top: -6px
  }
  
  .hfe-nav-menu-icon::after {
   top: 6px
  } 
/*Mobile nav icon end*/
.list .elementor-icon-list-item a,
.list .elementor-icon-list-item {
	justify-content: space-between !important
}

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

.elementor-widget .elementor-icon-list-item,
.elementor-widget .elementor-icon-list-item a {
    align-items: flex-start!important
}
.elementor-widget .elementor-icon-list-icon {
    margin-top: 6px!important
}



td {
	padding: 8px 0;
}

tr {
	border-bottom: 1px solid #CDD5DF;
}

.sticky-sidebar {
	position: sticky;
	position: -webkit-sticky;
	top: 50px;
}

.sticky-head {
	position: sticky;
	position: -webkit-sticky;
	top: 0px;
	background-color: #fff;
	z-index: 2;
}

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

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

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

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

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

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

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

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

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

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

/*Search results*/
.search-head-wrap {
	background-color: #f5f8f0;
	padding: 64px 20px 24px 20px;
}

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

.search-head .search-form {
	margin: 0;
}

.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: #f5f8f0;
}
/* Pagination */
  
.pagination {
	display: flex;
    justify-content: center;
	margin: 32px 0;
	gap: 4px;
  }
  
  .pagination .page-numbers {
	color: var( --e-global-color-primary );
	padding: 8px 16px;
	text-decoration: none;
  }
  
  .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 */


table[border="1"] {
margin: 27px 0 37px 0;
border: none;
width: 100%;
}

table[border="1"] {
border: 1px solid #dedede;
}

table[border="1"] th,
table[border="1"] td {
border: none;
font-size: 0.8em; /*14*/
color: #121926;
}
table[border="1"] th {
color: var(--e-global-color-accent );
font-weight: 600;
font-size: 1em; /*16*/
line-height: 2.000em; /*32*/
padding: 12px 0 12px 20px;
}

table td {
line-height: 1.95em;
letter-spacing: 0.01em;
}

table[border="1"] td {
padding: 3px 0 3px 20px;
background-color: #EEF8F2;
line-height: 2.071em; /*29px*/
}
table[border="1"] tr th:last-child,
table[border="1"] tr td:last-child {
padding-right: 20px;
}
table th, table td {
	border: 1px solid #dedede;
}
table td p {
color: inherit;
}
table tbody tr:nth-child(even) td {
background-color: #ffffff;
}