/*
Theme Name: Játék
Theme URI: https://jatek.bonsaidigital.hu
Author: BonSAI HorizON
Author URI: https://bonsaidigital.hu
Description: Bootstrap5 Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: mobile ready, bootstrap5, option tree
Text Domain: jatek
*/

@font-face {
	font-family: 'OpenSans';
	src: local("OpenSans"), url('assets/fonts/OpenSans.ttf') format('truetype');
	display: swap;
}

@media (min-width:1180px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}
@media (min-width:1240px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1180px}}

body * {
	box-sizing: border-box;
}
body {
    margin: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
button, input, textarea, select { outline:none!important;}
p {
	margin-top: 0;
}
a.mainlogo-link {
    display: inline-block;
}
div#mobiltoggle {
    display: inline-block;
}
nav.navbar {
    width: 100%;
    left: 0;
    top: 0;
    z-index: 10;
	flex-direction: row;
    transition: .2s;
    border-bottom: 0;
	display: flex;
	align-items: center;
	position: sticky;
	padding:0;
    flex-direction: column;
}
.menuside ul.nav {
    padding: 0;
    list-style: none;
    margin: 0;
	/*opacity: 0;*/
	transition: .4s;
	display: flex;
	align-items: center;
	justify-content: flex-end;
    flex-direction: row;
}
.menuside {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.menuside ul.nav li {
    padding: 12px 10px;
}
.menuside ul.nav li a:hover:after {
    width: calc( 100% - 10px );
    opacity: 1;
    left: 0;
}
.nav li.menu-item a {
    text-decoration: none;
}
.menuside ul li.dropdown {
    position: relative;
}
.menuside ul li.dropdown:hover ul.dropdown-menu {
    opacity: 1;
    bottom: 0;
    top: 40px;
    opacity: 1;
    visibility: visible;
}
.menuside ul.dropdown-menu {
    position: absolute;
    padding: 0;
    list-style: none;
    transition: .4s;
    top: 150px;
    visibility: hidden;
    opacity: 0;
	display: inline-table;
	left: 0px;
	width: 180px;
    border-top: 1px solid #eee;
    min-width: 180px;
    max-width: 180px;
}
ul#menu-main-left ul.dropdown-menu li:first-child {
    padding-left: 15px;
}
.menuside ul.dropdown-menu li a:after {
	display: none;
}
.menuside ul.dropdown-menu li a {
    margin-left: 0;
    font-size: 16px;
    letter-spacing: 0.4px;
    line-height: 19px;
    font-weight: 300;
    padding: 10px 15px;
}
.menuside ul.dropdown-menu li {
    text-align: left;
    padding: 0;
}
ul#menu-fomenu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
ul#menu-fomenu li {
    padding: 0 15px;
}
.menu_icon_side {
    display: flex;
    justify-content: end;
    align-items: center;
}
.logo_box a.mainlogo-link {
    padding: 0;
    display: block;
}
.logo_box a.mainlogo-link img {
    display: block;
}
.mobile_toggle {
    display: none;
}
nav.navbar .col-12 {
    align-items: center;
    display: flex;
}
nav.navbar .mainicons_col {
    justify-content: end;
}
.menu_side {
    display: block;
    width: 100%;
}
.nav li.menu-item.active a {
    color: #43200a;
    font-weight: 700;
}
body nav ul.dropdown-menu li:last-child {
    margin-bottom: 0;
}
body nav ul.dropdown-menu li {
    margin-bottom: 15px;
}
nav.navbar .mainmenu_col {
    padding: 0;
}
.menu_icon.menu_notification {
    margin-left: 8px;
}
.menu_icon {
    margin-left: 6px;
}

@media(min-width: 1100px) {
	.menuside ul.nav.navbar-nav li.toplevelmenu:last-child {
		padding-right: 0;
	}
}


/* 404 page */

body.error404 {
    min-height: 100vh;
    background: #eee;
}
body.error404 .container.main-container {
    background: transparent;
    max-width: 100%;
    padding: 0 15px;
}
body.error404 .errorcontent {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#post-404 .imageblock {
    padding-top: 0px;
	text-align: center;
}
#post-404 h1 {
    font-family: Arial;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.8px;
    font-size: 35px;
    line-height: 1;
    margin: 0 0 15px;
    color: #4d4d4d;
}
img#notfound_page_img {
    position: relative;
    transition: .5s;
	transform: translatey(0px);
	-webkit-animation: float 6s ease-in-out infinite;
	animation: float 6s ease-in-out infinite;
}
@-webkit-keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}
body.error404 .errorcontent p {
    color: #000;
    font-size: 16px;
    margin: 0 0 15px;
}
form.search-form label {
    display: none;
}
a.back_to_home_404:hover {
    background: transparent;
    color: #4d4d4d;
    font-weight: bold;
}
a.back_to_home_404 {
    display: inline-block;
    background: #4d4d4d;
    width: 160px;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    transition: .4s;
    border: 2px solid #4d4d4d;
    text-align: center;
    margin-top: 30px;
}
.copyright_info p {
    margin: 0;
}
footer p, footer a, footer td {
    color: #fff;
	font-size: 10px;
    letter-spacing: unset;
    line-height: 1.3;
}
footer p {
	margin-bottom: 15px;
}
footer#theme_footer {
	clear: both;
    padding: 0;
    margin-top: 0;
	position: relative;
	z-index: 7;
}
footer#theme_footer .top_footer {
	padding: 60px 0;
}

.wpb_text_column.wpb_content_element, 
.vc_btn3-container.vc_btn3-inline.vc_do_btn {
    margin-bottom: 0;
}

a.ytvideokep img {
    width: 100%;
    height: auto;
    display: block;
	aspect-ratio: 16 / 9;
}
a.ytvideokep {
    display: block;
    position: relative;
}
a.ytvideokep span {
    position: absolute;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    top: calc(50% - 25px);
    background: #007ffe;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    max-width: 50px;
    padding-left: 4px;
    box-sizing: border-box;
}
.playing a.ytvideokep {
    display: none;
}
iframe.ytvideokeret {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Theme CSS */

