/*
	Theme Name: Akmenės gimnazija
	Author: RJ
	Version: 0.0.2
*/
* {
	padding: 0;
	margin: 0;
	text-decoration: none;
	box-sizing: border-box;
}
body {
	padding: 0;
	margin: 0;
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    font-size: 17px;
	line-height: 1.7rem;
	background-color: #F7F8F9;
}
img.aligncenter, figure.aligncenter, div.aligncenter {
	margin-left: auto;
	margin-right: auto;
}
img.alignleft, figure.alignleft, div.alignleft {
	float: left;
}
img.alignright, figure.alignright, div.alignright {
	float: right;
}
img.alignleft:after, img.alignright:after, figure.alignleft:after, figure.alignright:after {
	clear: both;
	display: block;
	content: "";
}
.wp-block-image figcaption, .wp-block-table figcaption {
	margin-top: 10px;
	margin-bottom: 20px;
	text-align: center;
	font-size: 14px;
  }
h1, h2, h3, h4, h5, h6 {
	font-family: Helvetica,Arial,sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 15px;
}
ul, ol {
	margin: 0 0 20px;
	padding-left: 35px;
}
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
}
.school-header-info {
	max-width: 30%;
	padding: 5px;
	display: flex;
	align-items: center;
}
.school_logo_home {
	min-width: 95px;
	height: 53.4px;
	aspect-ratio: 16 / 9;
	margin-right: 8px;
	background: url(assets/img/page_logo_desktop.png) center / contain no-repeat; 
}
.school-header-text {
	line-height: 1rem;
}
.school-header-text p {
	line-height: 1.1rem;
	font-size: 0.7rem;
	color: #9f9f9f;
}
.site-header h6 {
	display: inline-block;
	font-size: 1rem;
	color: #008AFF;
	line-height: 1.2rem;
	margin: 0;
}
.header-nav {
	padding: 10px;
}
.main-navigation div {
	display: flex;
	align-items: center;
}
.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
}
.main-navigation ul li {
	position: relative;
	z-index: 10;
	color: #3e3e3e;
	display: inline-block;
}
.main-navigation ul li a{
	display: block;
	font-size: 1rem;
	padding: 26px 14px;
	line-height: 1.3rem;
	color: inherit;
	white-space: nowrap;
}
.main-navigation ul .menu-item-has-children {
	background: url(assets/img/arrowhead-down.png) no-repeat right center;
	margin-right: 7px;
}
.main-navigation ul li .sub-menu {
	min-width: 10rem;
	position: absolute;
	background-color: #fff;
}
.main-navigation ul li:last-child .sub-menu,
.main-navigation ul li:nth-last-child(2) .sub-menu {
	right: 0;
}
.main-navigation .sub-menu {
	display: none;
}
.main-navigation .sub-menu li{
	display: block;
}
.sub-menu .current-menu-item a {
	color: #fff;
	background-color: #55595C;
}
.main-navigation .sub-menu li:hover a {
	background-color: #55595C;
	color: #00c6f3;
}
.main-navigation .sub-menu li a {
	font-size: 0.8rem;
	line-height: 1.3rem;
	padding: 13px 20px;
}
.main-navigation ul li:hover .sub-menu {
	display: block;
}
.main-navigation ul li:hover {
	z-index: 11;
}
.main-navigation ul li:hover>a{
	color: #00c6f3;
	transition: color .4s;
}
.main-navigation .menu>li:hover>a::after {
	background-color: #01B6FF;
	transition: .3s;
}
.main-navigation .menu>li a::after {
	position: absolute;
	content: "";
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	display: block;
}
.main-navigation .current-menu-item a::after{
	background-color: #01B6FF;

}
.main-navigation .current-menu-item a {
	color: #00c6f3;
}
.main-navigation .sub-menu .current-menu-item a::after{
	background-color: #55595C;

}
.main-navigation .sub-menu .current-menu-item a {
	color: #fff;
}
.main-navigation .burger-menu {
    display: none;
	cursor: pointer;
}
.main-navigation .burger-menu span {
    display: block;
    width: 25px;
    height: 4px;
    background-color: #515151;
    margin: 4px auto;
}
.sticky-posts {
	position: relative;
	width: 100%;
	height: 500px;
	padding: 0px 10px;
	margin-bottom: 20px;
}

.sticky-posts-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	aspect-ratio: 16 / 9;
}

.sticky-post {
	overflow: hidden;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2;
	opacity: 0;
	transition: opacity 1s 1.6s, z-index 500ms 0s;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sticky-post img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.sticky-post img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.fader {
    opacity: 1;
    z-index: 5;
    transition: opacity 1.4s, z-index 800ms;
}
.sticky-post-background {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	z-index: -2;
	transition: transform 1s 1s ease-in;
}
.sticky-post-background-animation {
	transform: scale(1.15);
	transition: transform 30s ease-out;
}
.sticky-background-overlay {
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,.3);
	width: 100%;
	height: 100%;
	z-index: -1;
}
.sticky-post-summury {
	opacity: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: opacity 600ms 300ms;
	padding: 15px;
}
.text-fader {
	opacity: 1;
	transition: opacity 1.1s 1s;
}
.sticky-post-title {
	font-family: Roboto, Sans-serif;
	margin-bottom: 6px;
	font-size: 2.2rem;
	font-weight: 600;
	line-height: 2.2rem;
	color: #fff;
	display: inline-block;
	text-align: center;
}
.sticky-post-excerpt {
	margin-bottom: 22px;
	font-size: 1rem;
	line-height: 1.4rem;
	color: #fff;
	text-align: center;
}
.sticky-read-more {
	border: 1px solid #fff;
	border-radius: 3px;
	padding: 10px 24px;
	font-size: 15px;
	line-height: 15px;
	color: #fff;
	background-color: rgba(0,0,0,.15);
	cursor: pointer;
}
.search_field_front {
	display: flex;
	justify-content: flex-end;
	margin-right: 6px;
}
.search_field_front_container {
	border-radius: 25px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.search_field_front_container button {
	all: unset;
	cursor: pointer;
	width: 24px;
	height: 24px;
	border: none;
	background: #66BADE;
}
.search_field_front input {
	width: 100px;
	padding: 5px;
	border: none;
	outline: none;
	transition: width .8s ease-out;
}
.search_field_front input:focus {
	width: 250px;
}
.search_field_front input:focus::placeholder{
	color: transparent;
}
.search_field_front svg {
	color: #fff;
	fill: #fff;
	padding: 2px;
	width: 24px;
	height: 24px;
}
#wrapper {
	max-width: 1145px;
	margin: 0 auto;
}
.posts-wrapper {
	display: flex;
	flex-wrap: wrap;
}
.post {
	overflow: hidden;
	width: calc(100% / 3 - 11px);
	text-align: center;
	margin: 5px;
	background-color: #fff;
	position: relative;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	transition: all .25s;
}
.post:hover {
	box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}
.inside-article {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.post-image-link {
	margin-bottom: 20px;
}
.post-thumbnail {
	padding-top: 66.7%;
	position: relative;
	background: center / cover no-repeat;
} 
.post-thumbnail::after {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	content: "";
	background-image: linear-gradient(0deg,rgba(0,0,0,.35),transparent 75%);
	transition: all .3s ease-out;
}
.post:hover .post-thumbnail::after {
	opacity: .5;
}
.post-category {
	text-transform: uppercase;
	position: absolute;
	top: 0;
	right: 0;
	margin: 11px;
	background-color: #61CE70;
	border-radius: 999px;
	line-height: .75rem;
	font-size: .75rem;
}
.post-category .post-category-link {
	display: inline-block;
	font-family: Roboto, Sans-serif;
	color: #fff;
	padding: .45rem .9rem;
}
.post-text {
	padding: 0 30px;
}
.post-title {
	font-size: 14px;
	margin-bottom: 25px;
}
.post-title h2 {
	margin: 0;
}
.post-title a {
	color: #66BADE;
}
.post-summury {
	font-size: 0.9rem;
	line-height: 1.3rem;
	color: #777777;
	margin-bottom: 33px;
}
.post-date {
	color: #adadad;
	padding: 15px 30px;
	border-top: 1px solid #eaeaea;
	margin-top: auto;
	font-size: 0.75rem;
	line-height: 0.95rem;
}
.post-category-li {
	font-family: Roboto, sans-serif;
	font-size: 0.9rem;
	line-height: 1.2rem;
	color: #3e3e3e;
	margin: 0px 6px 10px 5px;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.post-category-li ul {
	display: block;
	z-index: 1;
	text-align: center;
	padding: 0;
	margin: 0;
}
.post-category-li li {
	list-style: none;
	transition: all .4s;
}
.post-category-li li:hover {
	background-color: #55595C;
}
.post-category-li>ul>li:first-of-type {
	text-align: center;
	display: block;
	position: relative;
	padding: 15px 12px 15px 15px;
	margin-right: 20px;
	background: url(assets/img/arrowhead-down.png) no-repeat right center;
}
.post-category-li a {
	display: block;
	padding: 15px;
	color: inherit;
	white-space: nowrap;
}
.post-category-li a:hover {
	color: #00c6f3;
}
.post-category-li li ul {
	background-color: #fff;
	position: absolute;
	right: -20px;
	display: none;
	margin-top: 14px;
	transition: all 1.4s;
}
.post-category-li ul:hover li ul {
	display: block;
}
.category-title {
	padding: 14px 0px;
}
.category-title h1{
	padding-left: 20px;
	color: #808080;
	font-family: Roboto, Sans-serif;
	font-size: 1.1rem;
	line-height: 1.3rem;
	font-weight: 600;
	margin: 0;
}
.no-results {
	display: block;
	width: 98.8%;
	margin: 0 auto;
	text-align: center;
	font-size: 1.3rem;
	padding: 25px;
	background-color: #fff;
	color: #969696;
}
.pagination-cl {
	font-family: Roboto, sans-serif;
	font-size: 0.9rem;
	line-height: 1.2rem;
	color: #3e3e3e;
	background-color: #fff;
	margin: 10px 6px;
	text-align: center;
	padding: 10px;
}
.pagination-cl a {
	color: #3e3e3e;
	padding: 4px;
	margin: 0 3px;
}
.pagination-cl a:hover {
	color: #00c6f3;
	transition: color .4s;
}
.pagination-cl .current {
	margin: 0 7px;
	color: #00c6f3;	
}
.section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 45px;
	margin-bottom: 25px;
}
.section.first-section {
	margin-top: 0px;
	margin-bottom: 7px;	
}
.section.first-section .section-title{
	padding-top: 15px;
}
.section-title-wrapper {
	display: inline-flex;
	align-items: center;
}
.section-title-wrapper:hover .font-awesome-icon-fill {
	transition: fill 0.4s;
	fill: #66BADE;
}
.section-title-wrapper:hover .section-title h1{
	transition: color 0.4s;
	color: #66BADE;
}
.font-awesome-icon {
	display: inline-block;
	width: 29.7px;
	height: 29.7px;
	margin-left: 5px;
	margin-right: 10px;
}
.font-awesome-icon-fill {
	fill: #818a91;
}
.section-title h1{
	color: #424242;
	font-family: Roboto, Sans-serif;
	font-size: 1.5rem;
	line-height: 1.7rem;
	font-weight: 400;
	margin: 0;
}
.links-slider {
	margin-bottom: 5px;
}
.section-title a {
	display: inline-block;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	line-height: inherit;
}
.section-links-slider figure{
	display: flex;
	overflow: hidden;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	min-height: 130px;
	min-width: calc(100% / 5 - 10px);
	background-color: #fff;
	position: relative;
	margin: 0px 5px;
}
.section-links-slider figure a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	position: relative;
}
.section-links-slider figure img {
	max-height: 90%;
	width: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.section-links {
	width: 100%;
	overflow: hidden;
	margin-bottom: 15px;
	margin-top: 15px;
}
.section-links-slider {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	transition: all 1.3s ease-in-out;
}
.last-modified-date {
	margin-right: 10px;
	font-size: 0.9rem;
	line-height: 0.9rem;
	padding-top: 15px;
}
.single-wrapper {
	margin: 0 auto;
	padding: 11px 25px;
	max-width: 1172px;
	background-color: #FDFDFD;
	min-height: 260px;
	margin-bottom: 30px;
	overflow: auto;
}
.single-title h1{
	color: #4b4b4b;
	font-size: 25px;
	font-weight: 600;
	line-height: 30px;
	margin: 0;
}
.single-title.single-page {
	padding-bottom: 4px;
	border-bottom: 1px solid #E1E1E1;
}
.single-title.single-page h1 {
	margin-bottom: 5px;
}
.single-date {
	margin-top: 7px;
	display: flex;
	align-items: center;
	width: 100%;
	padding-bottom: 2px;
	border-bottom: 1px solid #E1E1E1;
}
.single-date-icon {
	display: inline-block;
	width: 14px;
	height: 27.2px;
}
#calendar-svg {
	fill: #B4B4B4;
}
.single-date-text {
	padding-left: 5px;
	color: #b4b4b4;
	font-size: 0.91rem;
	line-height: 1.1rem;
}
.single-content {
	font-size: 1.1rem;
	line-height: 1.32rem;
	text-align: justify;
	color: #4b4b4b;
	padding: 2% 1% 1% 1%;

}
.single-content embed,
.single-content figure iframe{
	width: 100%;
	height: 100%;
	position: absolute;
}
.single-content iframe {
	width: 100%;
}
.single-content table,
.single-content table th,
.single-content table td {
	border: 1px solid #dedee5;
	padding: 8px;
}
.single-content figure > div {
	padding-bottom: 52%;
}
.single-content table th {
	background-color: #66BADE;
	color: #ffffff;
}
.single-content table a {
	color: #4B4B4B;
	transition: color .2s;
}
.single-content table a:hover {
	color: #66BADE;
}
.single-content p {
	margin-bottom: 20px;
}
.single-content a {
	color: #66BADE;
}
.drop-down {
	border-bottom: 1px solid rgba(199, 199, 199, 0);
	transition: border 200ms 200ms;
}
.drop-down-parent-border {
	border-bottom: 1px solid #c7c7c7;
	transition: border 200ms 300ms;
}
.drop-down-title {
	padding: 10px 10px 15px 12px;
	cursor: pointer;
	color: #66BADE;
	line-height: 1.1rem;
	font-weight: 600;
	border-bottom: 1px solid #c7c7c7;
	transition: all 100ms 400ms;
	background: url(assets/img/arrowhead-right.png) no-repeat left center;
}
.drop-down-title-border {
	background: url(assets/img/arrowhead-down.png) no-repeat left center;
	transition: all 200ms;
	border-bottom: 1px solid rgba(199, 199, 199, 0);
}
.drop-down-content{
	height: 0;
	padding: 0px 15px;
    transition: all 0.4s ease-out;
    overflow: hidden;
}
.drop-down-show {
	padding-top: 10px;
	padding-bottom: 10px;
    transition: all 0.4s ease-in;
}
footer {
	margin-top: 10px;
	padding: 10px;
	font-family: Roboto, sans-serif;
	font-size: 0.8rem;
	line-height: 1.1rem;
	background-color: #f1f1f1;
}
.footer_menu {
	max-width: 1145px;
	margin: 0 auto;
	margin-top: 20px;
	padding-bottom: 45px;
	border-bottom: 1px solid #dfdfdf;
}
.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-nav .menu > li {
	margin-top: 25px;
	display: block;
	width: calc(100% / 4);
	border-right: 1px solid #dfdfdf;
	padding-left: 25px;
}
.footer-nav .menu > li > a {
	font-size: 1.05rem;
	font-weight: 600;
	color: #57b5dd;
	display: inline-block;
	margin-bottom: 10px;
}
.footer-nav .sub-menu {
	display: block;
}
.footer-nav .sub-menu li {
	padding-bottom: 4px;
}
.footer-nav .sub-menu li a{
	display: inline-block;
	line-height: 1.2rem;
	padding: 0 0 0 15px;
	color:#616161;
	background: url(assets/img/arrowhead-right.png) no-repeat left center;
}
.footer-nav .sub-menu li a:hover {
	text-decoration: underline;
	color: #66bade
}
.footer-section-two {
	display: flex;
	flex-wrap: wrap;
}
.footer-school-logo {
	justify-content: center;
}
.footer-school-logo img {
	max-width: 130px;
}
.footer-section-two-links {
	margin-top: 15px;
}
.footer-section-two-links a {
	margin-right: 5px;
}
.footer-section-two h3 {
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	color: #57b5dd;
	line-height: 1.2rem;
	margin: 0;
}
.footer-section-two > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: calc(100% / 4);
	border-right: 1px solid #dfdfdf;
	padding-left: 25px;
	color:#616161;
}
.footer-section-two div:first-child {
	align-items: center;
	padding-left: 0px;
}
.footer-section-two div:nth-child(2){
	padding-left: 0;
	align-items: center;
}
.footer-section-two a {
	color: #57b5dd;
}
.footer-section-two a:hover {
	text-decoration: underline;
}
.footer-copy {
	max-width: 1145px;
	margin: 0 auto;
	font-size: 11px;
	padding: 15px;
	color:#b4b4b4;
}
@media screen and (min-width: 900px){
	.sticky-post-summury {
		max-width: 1250px ;
	}
	.footer-nav .menu > li:nth-child(4n+4) {
		border-right: none;
	}
	.footer-section-two div:last-child {
		border-right: none;
	}
}
@media screen and (max-width: 900px) {
	.site-header {
		flex-direction: column;
	}
	.school-header-info {
		max-width: 100%;
	}
	.school_logo_home {
		min-width: 95px;
		height: 53.4px;
	}
	.main-navigation ul li .sub-menu {
		right: 0;
	}
	.sticky-posts {
		height: 400px;
	}
	.sticky-post {
		padding: 15px;
	}
	#wrapper {
		padding: 0 20px;
	}
	.post {
		width: calc(100% / 2 - 11px);
		min-height: 420px;
	}
	.post-thumbnail {
		padding-top: 47%;
	}
	.section-links-slider figure {
		min-width: calc(100% / 4 - 10px);
		margin: 0px 5px 0px 5px;
	}
	.footer-nav .menu > li {
		width: calc(100% / 2);
		margin-bottom: 35px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.footer-nav .menu > li:nth-child(2n+2){
		border: none;
	}
	.footer-section-two > div {
		width: calc(100% / 2);
		margin-bottom: 35px;
		align-items: center;
	}
	.footer-section-two > div:nth-child(2n+2){
		border: none;
	}
}
@media screen and (max-width: 600px) {
	.school-header-info {
		max-width: 100%;
		width: 100%;
		flex-direction: column;
		justify-content: center;
	}
	.school_logo_home {
		width: 28%;
		min-width: 160px;
		height: 90px;
		padding: 0;
		margin: 0 0 8px 0;
		background: url(assets/img/page_logo_mobile.png) center / contain no-repeat; 
	}
	.school-header-text {
		text-align: center;
	}
	.main-navigation .burger-menu {
		display: block;
	}
	.main-navigation div:nth-child(2) {
		height: 0;
		transform: scaleY(0);
		transform-origin: top center;
		transition: all 500ms ease-in-out;
	}
	.header-nav,
	.main-navigation ul {
		width: 100%;
	}
	.main-navigation ul li {
		display: block;
		width: 100%;
	}
	.main-navigation:hover div:nth-child(2) {
		height: 100%;
		transform: scaleY(1);
	}
	.main-navigation ul li .sub-menu {
		display: none;
		position: relative;
	}
	.main-navigation ul li:hover .sub-menu {
		display: block;
	}
	.sticky-posts {
		padding: 0px 4px;
	}
	.post {
		width: 100%;
		min-height: 410px;
	}
	.section-links-slider figure {
		min-width: calc(100% / 2 - 6px);
		margin: 0px 3px 0px 3px;
	}
	.footer-nav .menu > li {
		border: none;
		width: 100%;
		align-items: flex-start;
	}
	.footer-section-two > div {
		padding: 0;
		border: none;
		text-align: center;
		width: 100%;
	}
	.single-wrapper {
		padding: 11px 15px;
	}

}