@media (prefers-reduced-motion: reduce) {
	*, *:after, *:before {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Lotte: anchor scroll smooth */
html {
	min-height: 100vh;
	font-family: Arial,"Segoe UI","Helvetica Neue",sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0;
	text-transform: none;
	scroll-behavior: smooth;
}

html *,
html:after,
html:before {
	box-sizing: border-box
}

/* Lotte: Accessibility Keyboard */
*:focus {
    outline: none
}

*:focus-visible:not(form *) {
	/* position: relative; */
    outline: 2px dashed green;
    outline-offset: 1px;
}

/* Lotte: Noscript styles */
.no-js footer:after {
	content: "(JAVASCRIPT DISABLED)";
	text-align: center;
	display: block;
	padding: 10px;
}

.no-js #mobile-vertical-header:target {
	display: block !important;
	opacity: 1;
	visibility: visible;
}

body {
	position: relative;
	margin: 0;
	background-color: #fff;
	color: #333;
	min-height: 100vh;
	overflow-wrap: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


#page {
	position: relative;
	background-color: #fff;
	min-height: 100vh;
	overflow: auto;
}

.neo-container {
	display: flex;
	flex-wrap: wrap;
	width: 90%;
	margin: 0 auto;
}

/* NOT NEO Builder Pages/Posts or "neo library" template*/
body:not(.page-template-neo_page_template):not(.neo_library-template) main {
	padding: 100px 0;
	width: 70%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0 0 1.5rem;
	color: #333;
	letter-spacing: 0;
	text-transform: none;
	font-style: normal;
	font-family: "Times New Roman", "serif"; 
}

h1 {
	font-size: 35px;
	font-weight: 300;
	line-height: 1.3;
}

h2 {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.4;
}

h3 {
	font-size: 25px;
	font-weight: 300;
	line-height: 1.5;
}


h4 {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
}

h5,h6 {
	font-size: 1rem;
	font-weight: 700
}

p {
	margin: 0 0 1.5rem
}


img,video {
	max-width: 100%;
	height: auto
}

a {
	background-color: transparent;
	text-decoration: none;
	color: #06c;
	transition: background-color .3s,opacity .3s,color .3s
}

a:focus,
a:hover {
	color: #333;
}

ol,
ul {
	margin: 0 0 1.5rem;
	padding-left: 2rem
}

.button, 
button, 
input[type=button],
input[type=reset],
input[type=submit] {
	cursor: pointer;
	padding: 10px;
	background: green;
	border-radius: 2px;
	color: #fff;
	text-align: center;
	display: inline-block;
}

.button:hover, 
button:hover {
	color: white;
}

figure {
	padding: 0;
	margin: 0;
}

figcaption {
	margin: .5em 0 0;
}

input[type=checkbox],
input[type=radio] {
	cursor: pointer;
}

input,
textarea,
select {
/* 	display: inline-block;
	max-width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: all .25s; */
	padding: 10px 12px;
	border-width: 1px;
	border-style: solid;
	border-color: inherit;
	border-radius: 3px;
	color: inherit;
	cursor: text;
	background-color: #fff;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: normal;
	letter-spacing: inherit;
	text-transform: inherit;
	vertical-align: middle
}

.screen-reader-text {
	border: 0;
	clip: rect(1px,1px,1px,1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute!important;
	width: 1px;
	word-wrap: normal!important;
	transition: none
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto!important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000
}

.sidebar {
	flex: 0 0;
	flex-basis: 25%
}


::-moz-selection,
::selection {
	background-color: #06c;
	color: #fff
}


::placeholder {
	color:inherit;
	opacity: 0.75;
}

input:focus::placeholder {
  color: transparent;
}

input:focus,
textarea:focus,
select:focus {
	border-color: #666
}

svg {
	vertical-align: middle;
	fill: currentColor;
}

/* For mobile popup */
.site-header {
	z-index: 1000;
	position: relative;
}

/* Menus */
.menu {
	display: flex; /* remove ws */
	align-items: center;
}

.menu, 
.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-item,
.lang-item {
	display: inline-block;
	position: relative;
	margin: 0 2px;
}

.menu-item a {
	padding: 10px 10px;
}

@media (max-width: 1023px) {
	header .neo-main-nav {
		display:none;
	}
}


/* SUB Menus */
.menu-item-has-children > a:after {	
	content: "▼";
	transform: scale3d(1, 0.5, 1);
	width: 1.5em;
	text-align: right;
	display: inline-block;
}

.neo-main-nav .menu .sub-menu {
	position: absolute;
	z-index: 2;
	top: 2.2em;
	/* top: 100%; */
	left: 0px;
	border-width: 1px;
	border-style: solid;
	box-shadow: 0 5px 5px rgba(0,0,0,.40);
	visibility: hidden;
	opacity: 0;
	transition: opacity .25s,visibility 0s .25s;
	background: #fff;
	text-align: left;
	overflow-y: initial;
	min-width: 200px;
}

.neo-main-nav .menu-item.focus > .sub-menu,
.neo-main-nav .menu-item:hover > .sub-menu {
	visibility: visible;
	opacity: 1;
	transition: opacity .25s,visibility 0s 0s
}

.neo-main-nav .sub-menu .menu-item {
	padding: 0.6em 1em;
	border-bottom: 1px solid #f1f1f1;
	margin: 0;
	font-size: 13px;
	width: 100%;
	transition: background-color .3s;
}

.neo-main-nav .sub-menu .menu-item a {
	padding: 0;
	display: block;
}



/* Mobile Menu */
@media (min-width: 1024px) {
	a.mobile-menu.toggle {
		display: none;
	}
}

@media (max-width: 1023px) {
	a.mobile-menu.toggle {
		text-align: right;
		display: block;
	}
}

.neo-mobile-menu .sub-menu {
	display: block;
	font-size: 13px;
	padding: 10px 0 0 0;
}

.neo-mobile-menu .sub-menu li {
	padding: 5px;
}

/* Add Arrow before subitems mobile menu */
#mobile-vertical-header .sub-menu a:before {
	content: "» ";
	font-size: 20px;
}

.neo-mobile-popup {
	height: 100vh;
	padding: 60px 20px;
	position: fixed;
	z-index: 100;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	display: none;
	transition: opacity .25s,visibility 0s .25s;
	overflow-y: scroll;
}

.neo-popup-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .25s,visibility 0s 0s;
}

.neo-mobile-menu {
	display: table;
	width: 100%;
	height: 100%;
}

nav.neo-mobile-menu ul {
	display: table-cell;
	text-align: center;
	height: 100%;
	vertical-align: middle;
}

.neo-mobile-menu li {
	padding: 12px;
	display: block;
}

.neo-mobile-menu a {
	text-transform: uppercase;
	color: #fff;
}

.mobile-menu.toggle {
	text-transform: uppercase;
	font-size: 1.1em;
	-webkit-hyphens: none;
	hyphens: none;
}
	
/* HAMBURGER ICON */
.mobile-menu.toggle:after {
	content: "☰";
	line-height: 1em;
	margin-left: 8px;
	transform: scale3d(1.3, 1.1, 1);
	/* display: inline-block; */
	font-weight: 600;
	top: -1px;
	position: relative;
}


/* CLOSE ICON */
a.menu-close-icon {
	position: absolute;
	top: 0;
	right: 0;
	padding: 1rem;
	margin: 1rem;
	font-size: 2rem;
	line-height: 1;
	z-index: 1;
	color: #fff;
}

/* WIDGETS */
.widget-title {
	border-left: 4px solid;
	padding-left: 15px;
	line-height: 1em;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 17px;
}

/* Standard Page */
#standard-page  {
	display: flex;
}

#standard-page .neo-container {
	width: 100%;
}

#standard-page #standard-sidebar {
	margin-left: 50px;
	flex: 1 0 25%;
}

/* 404 / Search Results Page */
body.error404,
body.search {
	height: 100vh;
	display: flex;
	flex-direction: column;
}

body.error404 .page-404,
body.search main {
	/* flex: 1 0 auto;
	display: flex;
	padding: 100px 0; */
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.error-404-home-button,
.search-home-button {
	margin: 3rem 0 0
}

.search-no-results main {
	text-align: center;
}

.search article.post {
	margin: 20px 0;
}

.search nav.pagination {
	width: 100%;
	display: flex;
	justify-content: space-between;
	text-transform: uppercase;
}

.search .post .entry-title {
	border-bottom: 1px solid #333;
	padding-bottom: 20px;
	margin-bottom: 30px;
}

@media (min-width: 1024px) {
	
	.search .post-content a {
		margin-right: 40px;
	}
	.search .post-content p {
		flex: 1 0 75%;
	}
	
	.search .post-content {
		display: flex;
	}
}

/* Hide hero section on home page */
.home #hero,
.home .hero-section {
	display: none;
}

/* BREADCRUMBS */
.tops-breadcrumbs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	font-size: .85em;
	color: #fff;
}

.tops-breadcrumbs li {
	display: inline-block;
}

.tops-breadcrumbs li:not(:last-child):after {
	margin: 0.5em;
	content: "\00BB";
}

/* FOOTER MENU */
.bottom-bar-wrap nav li:not(:last-child):after {
	content: '|';
	position: absolute;
}

/* Bottom Bar */
.bottom-bar-wrap,
.bottom-bar-wrap a {
	color: #fff;
	font-size: 14px;
}