/*!
Theme Name: maytra_theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maytra_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

maytra_theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

@font-face {
    font-family: 'Poppins-Medium';
	src:url('../maytra_theme/fonts/Poppins-Medium.ttf');
}
@font-face {
    font-family: 'Poppins-Bold';
	src:url('../maytra_theme/fonts/Poppins-Bold.ttf');
}
@font-face {
    font-family: 'Poppins-Light';
	src:url('../maytra_theme/fonts/Poppins-Light.ttf');
}

:root {
    --primary-color: #bc9ca7;
    --secondary-color: #e2bfba; 
	--third-color: rgb(105, 89, 166);
	--fourth-color:#5e6278;
    --background-color: #ffe6d3; 
    --text-color: #2f4858; 
	--white-color: #fff;
	--grey-color: #c7c5c5;
	--font-family-light: 'Poppins-Light';
	--font-family-medium: 'Poppins-Medium';
	--font-family-bold: 'Poppins-Bold';
	--transparent-bg: rgba(255,230,211,0.2);
	--transparent-third-color: rgba(105, 89, 166, 0.1);

}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}


body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	width: 100%;
	margin: 2rem 0;
}


pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/



/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--text-color);
	font-family: var(--font-family-light);
	font-size: 1rem;
	line-height: 1.5;
}

/*p,div{
	text-align: justify;
}*/

h1,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-family-bold);
}


h2, h3 {
	clear: both;
	font-family: var(--font-family-light);
}

h2{
	text-transform: uppercase;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: var(--grey-color);
	border: 0;
	height: 1px;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--fourth-color);
}

a:visited {
	color: var(--background-color);
}

a:hover,
a:focus,
a:active {
	color: var(--background-color);
	transition: 0.3s;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/



.home {
    width: 100vw; 
    margin: 0 auto;
}

.site-header{
    width: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-between;
    background-color: var(--transparent-bg);
	position: fixed; 
	top: 0;
	left: 0;
	z-index: 100;
	
}

.site-header.scrolled {
    background: var(--background-color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
	transition: 0.3s;
}

.site-branding, 
.main-navigation{
	padding: 0rem 2rem;
}

.custom-logo-link{
	width: 60px;
}

.site-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navigation
--------------------------------------------- */
.main-navigation {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: end;
	width: 100%;
	padding: 0;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 9px rgba(150, 82, 82, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation .menu li {
	position: relative;
}

.main-navigation .menu li a{
	padding: 1.2rem 1.5rem;
}

.main-navigation ul.menu li:hover{
    background-color: var(--secondary-color);
	transition: 0.3s;
}

.main-navigation .sub-menu li {
	padding: 0;
	border-bottom: 1px solid var(--grey-color);
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

ul.menu a{
	color:var(--text-color);
	word-wrap: normal;
	font-family: var(--font-family-medium);
}

ul.menu ul.sub-menu{
	display: flex;
	flex-direction: column;
	padding: 0;
	border-radius: 5px;
	width: 100%;
 }

 ul.menu ul.sub-menu li{
	background-color: var(--background-color);
 }

 ul.menu ul.sub-menu a{
	color: var(--text-color);
	padding: 0.5rem 1.5rem;
	font-size: 0.83rem;
 }

 ul.menu ul.sub-menu li:hover{
	background-color: var(--primary-color);
	transition: 0.3s;
 }

 ul.menu ul.sub-menu li:hover a{
	color: var(--background-color);
	transition: 0.3s;
 }

/* Small menu. */

.menu-toggle {
    font-size: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
	color: var(--text-color);
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-item-has-children{
	display: flex;
}

.sub-menu-icon {
    background: none;
    border: none;
    cursor: pointer;
	display: flex;
	align-self: center;
	
}

.sub-menu-icon span {
	position: relative;
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 0.15em solid var(--text-color);
	border-top: 0.15em solid var(--text-color);
	transform: rotate(135deg);
	margin-bottom: 0.5rem;
	margin-right: 1.5em;
}


/* Almenü nyíl aktiváláskor */
.sub-menu-icon.open span {
    transform: rotate(-45deg);
    top: 3px;
}

@media screen and (min-width: 768px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

@media screen and (max-width: 768px) {
	.menu-toggle {
		display: flex;
		align-self: end;
	}

	.main-navigation {
		flex-direction: column;
	}
	
	.menu {
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		flex-direction: column;
		display: none;
		text-align: center;
		padding: 0;
		box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
		background-color: var(--secondary-color);
	}
	
	.menu.active {
		display: flex;
	}
	
	.menu li {
		padding: 0;
		border-bottom: 1px solid var(--grey-color);
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.main-navigation .menu li:hover .sub-menu {
		display: none;
	}

	.main-navigation button{
		background-color: transparent;
	}
	
	/* Almenü alapból rejtve */
	.menu-item-has-children{
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.menu-item-has-children .sub-menu {
		display: block;
		flex-direction: column;
		background: rgba(240, 240, 240, 0.9);
		padding: 10px 0;
	}
	
	/* Ha az almenü aktív, akkor jelenjen meg */
	ul.menu ul.sub-menu.active {
		display: flex !important;
		flex-direction: column;
		left:0;
		top: 0;
		position: relative;
	}

	ul.menu ul.sub-menu li {
		background-color: var(--primary-color);
	}

	ul.menu ul.sub-menu li:hover {
		background-color: var(--primary-color);
	}

	.sub-menu-icon span {
		margin-right: 0;
	}
	
}


.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

-------


*{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary{display: block;}
audio,
canvas,
video{display: inline-block;}
audio:not([controls]){display: none; height: 0;}
[hidden]{display: none;}
html{font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}

html,
button,
input,
select,
textarea{font-family: var(--font-family-light), sans-serif;}

body{margin: 0; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

figure a{display:inline-block;}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration-style: solid;
}


h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a{color: inherit; text-decoration:none;}

h1{font-size: 48px; margin: 33px 0;}
h2{font-size: 30px; margin: 25px 0;}
h3{font-size: 22px; margin: 22px 0;}
h4{font-size: 20px; margin: 25px 0;}
h5{font-size: 18px; margin: 30px 0;}
h6{font-size: 16px; margin: 36px 0;}

p{margin:0;}

img{border: none; max-width: 100%; -ms-interpolation-mode: bicubic; border: 0; vertical-align: middle;}

address{font-style: italic; margin: 0 0 24px;}
abbr[title]{border-bottom: 1px dotted;}
b,
strong{font-weight: bold;}
dfn{font-style: italic;}
mark{background: #ff0; color: #000;}
code,
kbd,
pre,
samp{font-family: monospace, serif; font-size: 14px; hyphens: none;}
pre{background: #f5f5f5; color: #666; font-family: monospace; font-size: 14px; margin: 20px 0; overflow: auto; padding: 20px; white-space: pre; white-space: pre-wrap; word-wrap: break-word;}
blockquote, q{hyphens: none; quotes: none;}
blockquote:before,
blockquote:after,
q:before,
q:after{content: ""; content: none;}
blockquote{font-size: 18px; font-style: italic; font-weight: 300; margin: 24px 40px;}
blockquote blockquote{margin-right: 0;}
blockquote cite,
blockquote small{font-size: 14px; font-weight: normal; text-transform: uppercase;}
blockquote em,
blockquote i{font-style: normal; font-weight: 300;}
blockquote strong,
blockquote b{font-weight: 400;}
small{font-size: smaller;}
sub,
sup{font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sup{top: -0.5em;}
sub{bottom: -0.25em;}
dl{margin: 0 20px;}
dt{font-weight: bold;}
dd{margin: 0 0 20px;}
menu,
ol,
ul{margin: 16px 0; padding: 0 0 0 15px;}
ul{list-style-type: square;}
nav ul,
nav ol{list-style: none; list-style-image: none;}
li > ul,
li > ol{margin: 0;}
svg:not(:root){overflow: hidden;}
figure{margin: 0;}
form{margin: 0;}
fieldset{border: 1px solid #c0c0c0; margin: 0 2px; min-width: inherit; padding: 0.35em 0.625em 0.75em;}
legend{border: 0; padding: 0; white-space: normal;}

button,
input,
select,
textarea{font-size: 100%; margin: 0; max-width: 100%; vertical-align: baseline;}
button,
input{line-height: normal;}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"]{-webkit-appearance: button; cursor: pointer;}
button[disabled],
input[disabled]{cursor: default;}
input[type="checkbox"],
input[type="radio"]{padding: 0;}
input[type="search"]{-webkit-appearance: textfield; padding-right: 2px; width: 270px;}
input[type="search"]::-webkit-search-decoration{-webkit-appearance: none;}
button::-moz-focus-inner,
input::-moz-focus-inner{border: 0; padding: 0;}
textarea{overflow: auto; vertical-align: top; resize: none; min-height: 120px;}

table{border-bottom: 1px solid #ededed; border-collapse: collapse; border-spacing: 0; line-height: 2; margin: 0 0 20px;	width: 100%;}
caption,
th,
td{font-weight: normal; text-align: left;}
caption{font-size: 16px; margin: 20px 0;}
th{font-weight: bold; text-transform: uppercase;}
td{border-top: 1px solid #ededed; padding: 6px 10px 6px 0;}
del{color: #333;}
ins{background: #fff9c0; text-decoration: none;}

/* Form fields styles. */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea{border: 1px solid #efefef; width: 100%; border-radius: 8px; padding: 13px; outline: none;}

select{background: transparent; border: 1px solid #00b5e2; width: 100%; border-radius: 8px; padding: 13px; outline: none;}

.credlink{color:#ffac47;}
.credlink:hover{color:#FFF;} 

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"]{background-color: #606060; border: none; border-radius: 50px; color: #fff; display: inline-block; font-size: 20px; font-weight: 500; padding: 18px 50px; text-decoration: none; transition: all 0.2s;}

input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover{background-color: #222;}

/* Placeholder text color -- selectors need to be separate to work. */
::placeholder{color: #595959; opacity: 1;}
:-ms-input-placeholder{color: #595959;}
::-ms-input-placeholder{color: #595959;}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}

.entry-header{
	display: none;
}

.full-width {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
}

.full-width-wo-leftright {
	position: relative;
    width: 100vw;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.w-100{
	width: 100%;
	height:
}

.custom-header{
	padding-top: 29px !important;
}

@media screen and (max-width: 1026px){
	.custom-header{
		padding-top: 86px !important;
	}
}

@media screen and (max-width: 767px){
	.custom-header{
		padding-top: 70px !important;
	}
}

.wp-block-button__link{
	background-color: var(--third-color);
	color: var(--background-color);
}

.wp-block-button__link:hover{
	color: var(--white-color);
	background-color: var(--fourth-color);
	transition: 0.3s;
}

.uagb-slider-container .swiper-button-next,
.uagb-slider-container .swiper-button-prev {
	background-color: var(--third-color);
	color: var(--background-color) !important;
	opacity: 0.7;
}
.wp-block-button__link:hover,
.wp-block-button__link:hover .uagb-button__icon-position-after,
.wp-block-button__link:hover .uagb-button__link,
#services .box1:hover .wp-block-button__link,
#services .box1:hover .wp-block-button__link .uagb-button__link,
#services .box1:hover .wp-block-button__link .uagb-button__icon-position-after{
	-moz-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
	transition: 0.3s;
}

.wp-block-button__link:not(:hover) .uagb-button__icon-position-after,
.wp-block-button__link:not(:hover) .uagb-button__link{
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	transition: 0.3s;
}

#container-slider{
   padding-top: 0;
}

#container-slider .uagb-ifb-icon-wrap svg{
    fill: var(--background-color);
	opacity: 0.7;
}
#container-slider h3{
	color: var(--background-color) !important;
	font-family: var(--font-family-bold) !important;
	opacity: 0.7;
}

#services{
	background-color: var(--background-color) ;
}

#services .wp-block-button__link:hover,
#services .box1:hover .wp-block-button__link{
	color: var(--text-color);
	background-color: var(--background-color);
	border: thin solid var(--grey-color);
	transition: 0.3s;
}

#services .wp-block-button__link svg{
	fill: var(--background-color);
}

#services .wp-block-button__link:hover svg,
#services .box1:hover .wp-block-button__link svg{
	fill: var(--text-color);
}

#services .box1{
	border-color: var(--primary-color);
	-webkit-box-shadow: 0px -1px 15px 1px rgba(0,0,0,0.1); 
    box-shadow: 0px -1px 15px 1px rgba(0,0,0,0.1);
}

#services .box1:hover{
	cursor: pointer;
}

#services .uagb-container__shape-bottom{
	bottom: -30px;
}

#post-462 .entry-content,
#post-506 .entry-content,
#post-531 .entry-content,
#post-838 .entry-content{
    margin-top: 34px;
}

@media screen and (max-width: 1027px){
	#post-462 .entry-content,
	#post-506 .entry-content,
	#post-531 .entry-content,
	#post-838 .entry-content{
		margin-top: 0px;
	}
}

#events {
	background-color: var(--background-color);
}

#energetika, 
#bg{
	background-color: var(--background-color);
}


#contact {
	background-color: var(--primary-color);
}
#contact .icon svg{
	fill: var(--fourth-color);
}

#contact .icon svg:hover{
	fill: var(--secondary-color);
	transition: 0.3s;
}

#contact h2{
	color: var(--background-color);
}

.uagb-faq-item.uagb-faq-item-active .uagb-question{
	color: var(--third-color) !important;
}

.uagb-google-map__iframe{
	border-radius: 6px;
}

.uagb-faq-item .uagb-question:hover{
	color: var(--third-color) !important;
}

.uagb-faq-item {
	border-bottom-color: var(--grey-color);
}

.bg-color-line{
	background-color: var(--background-color);
}

.bg-color-line .uagb-ifb-icon-wrap svg{
	fill: var(--text-color) !important;
}

.site-footer{
	background-color: var(--text-color);
	padding: 1rem 0;
	text-align: center;
}

.site-footer a{
	color: var(--background-color);
	text-decoration: none;
}

.site-footer a:hover{
	color: var(--primary-color);
	text-decoration: none;
}
/* event calendar styles */
.desc_trig_outter a{
	background-color: var(--third-color)!important;
}

.ajde_evcal_calendar .calendar_header p.evo_month_title{
	font-family: var(--font-family-light) !important;
}

.ajde_evcal_calendar #evcal_head.calendar_header #evcal_cur, .ajde_evcal_calendar .evcal_month_line p, .ajde_evcal_calendar .evo_footer_nav p.evo_month_title {
    color: var(--text-color);
}

@media screen and (max-width: 700px){
	.grid-1-column{
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
}

@media screen and (max-width: 768px){
	.uagb-container__shape{
		display: none;
	}

	h1{
		font-size: 2em;
	}
}

/* ----------- Amelia design ----------- */

.amelia-v2-booking .am-fs__main-heading-inner-title,
.amelia-v2-booking .am-fs__init-form__label,
.amelia-v2-booking #amelia-container .am-fs__congrats-info-customer * {
	font-family: var(--font-family-light) !important;
}

.amelia-v2-booking .am-fs__info-form__label,
.amelia-v2-booking .am-fs-sb__step-heading,
.amelia-v2-booking .am-fs__congrats-main-heading {
	font-family: var(--font-family-medium) !important;
}

.amelia-v2-booking #amelia-container .am-fs-sb{
	background-color: var(--third-color) !important;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper{
	margin: 30px auto;
}

.amelia-v2-booking button{
	background-color: var(--third-color) !important;
	border-radius: 999px !important;
	font-family: var(--font-family-medium) !important;
}

.amelia-v2-booking #amelia-container .am-select .el-input__inner:focus,
.amelia-v2-booking #amelia-container .am-select .el-input__inner:active{
	border-color: var(--third-color) !important;
}

.amelia-v2-booking #amelia-container .am-button.am-button--filled{
	border: 0px !important;
}

.amelia-v2-booking #amelia-container .am-fs-sb__step-checker{
	background-color: var(--primary-color) !important;
	border: 1px solid var(--background-color) !important;
}

.amelia-v2-booking #amelia-container .am-fs-sb__step-heading{
	max-width: 140px !important;
}

.amelia-v2-booking #amelia-container .am-fs-sb__step-checker .am-icon-check {
	background-color: var(--background-color) !important;
}

.amelia-v2-booking #amelia-container .am-button.am-button--plain{
	color: var(--background-color) !important;
	border: 0px !important;
}

.amelia-v2-booking .m-select-input__toggle-button,
.amelia-v2-booking .m-select-list-item {
	background-color: unset !important;
}

.amelia-v2-booking #amelia-container .am-fs__main .am-progress-bar .am-passed-step{
	background: var(--third-color) !important;
}

.am-lite-footer{
	display: none;
}

.am-ec{
	box-shadow: rgb(209, 213, 215) 0px 2px 2px -1px, 
	rgba(209, 213, 215, 0.3) 0px 0px 11px, 
	var(--primary-color) 8px 0px 0px inset !important;
}

/*   ------------------  Amelia events design ------------------   */

#amelia-container.am-elf {
    max-width: 1002px !important;
}

.am-ev-empty p{
	font-family: var(--font-family-light) !important;
}

p.am-ec__info-name,
p .am-ec__period-date__day,
p.am-ec__info-availability,
p.am-ec__info-capacity span,
p .am-button__inner, 
div.el-tabs__item,
p.am-eli__timetable-title,
p .am-eli__timetable-main__date,
p.am-eli__description-title,
p.am-eli__organizer-name,
div .am-el__header-inner__title,
div .am-ff__item-label,
div.am-congrats__main-heading-waiting-list,
div.am-congrats__info-title,
div .am-congrats__info-item__label,
div.am-atc-event,
p.am-ec__info-price,
div.am-elf__bringing-heading
{
	font-family: var(--font-family-medium) !important;
}

p .am-ec__period-date__month,
p.am-ec__period-time,
p.am-ec__info-capacity .am-ec__info-capacity__text,
p .am-eli__timetable-main__time,
p.am-eli__description-text,
div.am-congrats__main,
div .am-congrats__info-item__value,
div.am-eli__organizer-rank,
p.am-ec__info-location{
	font-family: var(--font-family-light) !important;
}

div.am-ec__period{
	padding-left: 15px !important;
	padding-top: 5px !important;
}

div.am-ec__info{
	padding-left: 15px !important;
}
