﻿@media screen and (max-width: 1100px) {
	
	.primary-menu {
		background:#f8f9fa;
	}
	
    .primary-menu .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
		column-gap: 20px;
		row-gap: 0;
    }

    .primary-menu .menu li {
        flex: 0 0 calc(25% - 20px);
        text-align: center;
    }
	
	.primary-menu .menu li:after {
		display:none;
	}
	
	.primary-menu .menu li a img {
		margin-bottom:-5px;
	}
	
	.primary-menu .menu li a {
		font-size:15px;
	}
	
	.primary-menu .menu li a:hover {
		background:#eef0f2;
	}
}


@media screen and (max-width: 991px) {
	
	.subbottom {
		flex-direction: column;
	}
	
	.subbottom,
	.subbottom-content {
		padding-left:15px;
		padding-right:15px;
		text-align:left;
	}
	
	.subbottom-column {
		margin-top:15px;
		margin-bottom:15px;
		width:100%;
	}
	
	.subbottom-title {
		white-space: wrap;
	}
	
	main {
		left:auto;
		right:auto;
		padding-left:0px;
		padding-right:0px;
	}
	
	.top-bar {
		padding-left:15px;
		padding-right:15px;
	}
	
    .orakel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
	
	.top-menu {
		display:none;
	}
	
	.top-bar * {
		font-size:10px !important;
		line-height:22px !important;
	}
	
	.burger-menu {
		display:block;
		font-size: 15px !important;
		width: 100%;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		text-decoration:none;
		padding-top:10px;
		padding-bottom:10px;
	}
	
	.burger-menu:hover {
		background:#eef0f2;
	}
	
	
	.menu-primary-menu-container {
		display:none;
	}
	
	.menu-primary-menu-container.is-open {
		display: block;
	}
	.primary-menu .menu {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.primary-menu .menu li {
		flex: 0 0 auto;
		width: 100%;
		text-align: center;
	}
		
	.primary-menu .menu li a {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 6px;
		font-size: 16px;
		text-align: left;
		white-space: wrap;
		text-decoration: none;
		padding-top:15px;
		padding-bottom:15px;
		padding-left:70px;
	}
	
	.primary-menu .menu-item-image {
	  height: 30px;
	  max-width: 40px;
	  width: auto;
	  display: block;
	  flex-shrink: 0;
	  left:15px;
	  top:50%;
	  transform:translateY(-50%);
	  position:absolute;
	}
	
	#menu-item-9 .menu-item-image {
		left:12px;
	}
	
	#menu-item-10 .menu-item-image {
		left:9px;
	}
	#menu-item-13 .menu-item-image {
		left:7px;
	}
	
	
	.primary-menu {
		display:none !important;
	}
		
	.mobile-menu {
		display:block;
	}
		
		
	/* Mobile Menu v2 */	
		
	.mobile-menu .mm-firstlevel-wrapper {
		display: flex;
		width: 100%;
		padding-top:15px;
	}

	.mobile-menu .mm-firstlevel {
		width: 25%;
	}

	.mobile-menu .mm-firstlevel a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0px 10px;
		color: #fff;
		text-decoration: none;
		font-size: 14px;
		font-weight: 600;
		height: 100%;
	}
	
	.mobile-menu .mm-firstlevel a:hover {
		opacity:0.8;
	}

	.mobile-menu .mm-firstlevel img {
		display: block;
		margin-bottom: 8px;
		max-width: 32px;
		height: auto;
	}

	.mobile-menu .mm-firstlevel-1 a {
		color: #611c83;
		border-right:1px solid #eee5de;
	}

	.mobile-menu .mm-firstlevel-2 a {
		color: #fd980d;
		border-right:1px solid #eee5de;
	}

	.mobile-menu .mm-firstlevel-3 a {
		color: #00525c;
		border-right:1px solid #eee5de;
	}

	.mobile-menu .mm-firstlevel-4 a {
		color: #00525c;
	}



	.mobile-menu .mm-burger-menu {
		position: relative;
	}

	/* active bottom line */
	.mobile-menu .mm-burger-menu.is-open::after {
		content: "";
		position: absolute;
		left: 20px;
		bottom: -10px;
		width: calc(100% - 40px);
		height: 2px;
		background: #00525c;
	}
	
	

	.mobile-menu {
		position: relative;
	}

	/* dropdown */
	.mobile-menu .mm-menu-list {
		display:none;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		width: 100%;
		background: #fff;
		border: 1px solid #e3dad2;
		border-radius: 20px;
		box-shadow: 0 8px 25px rgba(0,0,0,0.08);
		padding: 10px 0;
		z-index: 999;
	}

	/* reset */
	.mobile-menu .mm-menu-list ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.mobile-menu .mm-menu-list li {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #f3ebe4;
	}


	/* link */
	.mobile-menu .mm-menu-list li a {
		display: flex;
		align-items: center;
		gap: 20px;
		padding: 16px 20px;
		color: #000;
		text-decoration: none;
		font-size: 15px;
		font-weight: 500;
		position: relative;
	}

	.mobile-menu .mm-menu-list li a:hover {
		opacity:0.8;
	}

	/* icon */
	.mobile-menu .mm-menu-list li a img {
		width: 24px;
		height: 24px;
		object-fit: contain;
		flex-shrink: 0;
	}

	/* chevron */
	.mobile-menu .mm-menu-list li a::after {
		content: "›";
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 22px;
		color: #4e4136;
		line-height: 1;
	}

	/* footer */
	.mobile-menu-footer {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 16px 20px 6px;
		gap: 14px;
		border
	}

	.mobile-menu-footer a {
		color: #4e4136;
		text-decoration: none;
		font-size: 14px;
		position: relative;
	}
	
	.mobile-menu-footer a:hover {
		opacity:0.8;
	}
	
	/* separator */
	.mobile-menu-footer a:not(:last-child)::after {
		content: "";
		position: absolute;
		right: -8px;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
		height: 14px;
		background: #4e4136;
	}	
}


@media screen and (max-width: 680px) {
	.mobile-menu .mm-firstlevel a {
		font-size:12px;
	}
}


@media screen and (max-width: 575px) {
	
    .orakel-grid {
        grid-template-columns: 1fr;
    }

    .orakel-item {
        flex-direction: row;
    }
	
	.mobile-menu .mm-firstlevel a {
		font-size:10px;
		line-height:100%;
	}
}

@media screen and (max-width: 480px) {
}

@media screen and (max-width: 440px) {
	
	.top-bar * {
		font-size:8px !important;
		line-height:22px !important;
	}
}

@media screen and (max-width: 375px) {
	.mobile-menu .mm-firstlevel a {
		font-size:9px;
	}
}

@media screen and (max-width: 360px) {
	.top-bar * {
		font-size:7px !important;
		line-height:22px !important;
	}
}

@media screen and (max-width: 300px) {
	.top-bar {
		display:none;
	}
}
