/*
 Theme Name:   	BIIP
 Theme URI:     https://www.am.lt
 Description:  	Biologinės įvairovės informacinė sistema
 Author:        BIIP
 Author URI:    https://www.am.lt
 Version:       1.1
 License:       GNU General Public License v2 or later
 License URI:   http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          light, responsive-layout
 Text Domain:   pi
*/
*,
::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: #121A55;
	--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: rgb(239, 236, 230);
	--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(--e-global-typography-text-font-family), Sans-serif;
}

.sticky-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	transition: transform 0.4s;
}

body.admin-bar .sticky-header {
	top: 32px !important;
}

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

.scroll-up .sticky-header {
	transform: none;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.main-nav .hfe-nav-menu li a {
	border-radius: 9999px;
}

.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: #01B3E629 !important;
}

.main-nav .hfe-nav-menu li a {
	border-radius: 9999px;
}

.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: #01B3E629 !important;
}

.ilcc-cookie-consent-button {
	padding: 1.25em 1.5em !important;
}

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: #515783;
}

table[border="1"] th {
	color: #121A55;
	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: #F6F9FC;
	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;
}

#page div[data-elementor-type="wp-page"] p a,
#page div[data-elementor-type="wp-page"] ul li a {
	text-decoration: underline;
	color: inherit;
	font-weight: 600;
}

#page div[data-elementor-type="wp-page"] p a:hover,
#page div[data-elementor-type="wp-page"] ul li a:hover {
	color: var(--e-global-color-accent);
}

/*404 page style*/
.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;
	color: var(--am-primary-color);
}

.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-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: 0.5rem 0.75rem;
	-webkit-appearance: none;
	width: 100%;
}