/* NAVIGATION */

.navigation {
    float: left;
    height: 190px;
}


/* SIDE-NAV */

.side-nav {
    float: right;
    margin: 1em 1em 2em 0;
}
.side-nav li {
    float: left;
}
.side-nav li:hover,
.side-nav li:active {
    text-decoration: underline;
}
.side-nav a {
    display: block;
    border-right: 1px solid black;
    line-height: 1.2em;
    font-size: 75%;
    color: #646363;
    padding: 0 0.8em;
    text-decoration: none;
}
.side-nav a:hover,
.side-nav a:active {
    text-decoration: underline;
}
.facebook a {
    color: #3b5998;
    font-weight: bold;
}
.side-nav :last-child > a {
    border-right: 0px;
}


/* MAIN-NAV */

.main-nav {
    font-size: 95%;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clear: both;
    position: relative;
    z-index: 999;
}

.main-nav a {
    display: block;
    background-color: #b70e0c;
    color: white;
    text-decoration: none;
    text-align: center;
    width: 200px;
    font-weight: normal;
    border-right: 3px dotted white;
    margin: 0.5em 0;
    padding: 0;
    font-size: 100%;
}
.main-nav > ul > li:last-child > a {
    border-right: 0px;
}
.main-nav a:hover,
.main-nav a:active {
    font-weight: bold;
}

.main-nav ul ul a {
    background: #646363;
    color: white;
    font-size: 95%;
    border-right: 0;
    text-align: left;
    padding: 0 0 0 1em;
    border-bottom: 1px solid white;
    width: 250px;
    padding: 0.5em 0 0.5em 1em;
    margin: 0;
}
.main-nav ul ul > li:last-child > a {
    border-bottom: 0;
}
.main-nav ul ul a:hover,
.main-nav ul ul a:active {
    font-weight: normal;
    background-color: #7a7a7a;
    -webkit-transition: background-color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out;
}
.main-nav ul ul ul,
.main-nav ul ul ul a {
	font-size: 1em;
}


.main-nav li {
    position: relative;
}
.main-nav > ul {
    float: left;
    padding: 0;
    background: #b70e0c;
}
.main-nav > ul > li {
    float: left;
    background-color: #b70e0c;
    line-height: 1.8em;
}
.main-nav li > ul {
    position: absolute;
    display: none;
    background-color: #646363;
    width: 250px;
    left: 0;
    top: 100%;
}
.main-nav > ul > li li > ul {
    left: 100%;
    top: 0;
}
.main-nav > ul > li:last-child ul {
    left: auto;
    right: 0;
}
.main-nav > ul > li:last-child li > ul {
    right: 100%;
}

.main-nav li:hover > ul {
    display: block;
}

.main-nav .dropdown-toggle,
.main-nav .dropdown-toggle ~ label {
    display: none;
}
.main-nav .dropdown-toggle ~ label {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.8em;
    height: 2.8em;
    cursor: pointer;
}
.main-nav .dropdown-toggle ~ label:after {
	content: "";
	display: block;
    position: absolute;
    top: 1.2em;
    right: 1em;
    border-top: solid .7em white;
    border-right: solid .5em transparent;
    border-left: solid .5em transparent;
    cursor: pointer;
}
.main-nav .dropdown-toggle:checked ~ label:after {
	border-top: 0;
	border-bottom: solid .7em white;
}



/* MENU TOGGLE */
#menuToggle,
#menuToggle ~ label {
    display: none;
}
#menuToggle ~ label:hover {
    cursor: pointer;
}
#menuToggle ~ label:after {
	content: "";
	display: inline-block;
	width: 30px;
	height: 30px;
	background-image: url("../Images/Menu_Mobile.svg");
	background-position: center;
	background-repeat: no-repeat;
	margin: 1.5em;
}
#menuToggle:checked ~ label:after {
    background-image: url("../Images/Menu_Mobile_Checked.svg");
}
#menuToggle:checked ~ ul {
    display: block;
}


@media (max-width: 1220px) {
    .navigation {
        width: 100%;
        position: relative;
        height: 0;
    }
	#menuToggle ~ label {
	    display: block;
	}
	.side-nav,
	.main-nav ul {
		display: none;
	}
	.main-nav {
	    font-size: .95em;
	    color: white;
	    text-transform: uppercase;
	    letter-spacing: 0.05em;
	    float: right;
	    margin: 0;
	    min-width: 300px;
	    text-align: center;
	}
	.main-nav ul {
	    float: none;
	}
	.main-nav a {
	    width: 100%;
	    border-right: 0;
	    margin: 0;
	    padding: 0.5em;
	    border-top: 1px solid white;
	    font-size: 110%;
	}
	.main-nav > ul > li {
	    float: none;
	}
	.main-nav li > ul {
	    position: static;
	    width: 100%;
	}
	.main-nav ul ul a {
	    font-size: 105%;
	    text-align: center;
	    border-bottom: 1px solid #7a7a7a;
	    width: 100%;
	    padding: 0.5em 0;
	}
	.main-nav ul ul ul a {
		background-color: #7a7a7a;
	}
	.main-nav ul ul ul a:hover,
	.main-nav ul ul ul a:active {
	    background-color: #909090;
	}
	.main-nav ul ul ul ul a {
		background-color: #909090;
	}
	.main-nav ul ul ul ul a:hover,
	.main-nav ul ul ul ul a:active {
	    background-color: #a4a3a3;
	}
	.main-nav > ul::before {
	    display: block;
	    content: "Menü";
	    padding: 0.5em;
	    width: 100%;
	    text-align: center;
	    font-size: 110%;
	    background-color: #e20613;
	    color: white;
	}
	.main-nav li:hover > ul {
	    display: none;
	}
	.main-nav .dropdown-toggle ~ label,
	.main-nav .dropdown-toggle:checked ~ ul {
		display: block;
	}
    .facebook a {
	    background-color: #3b5998;
	    color: white;
	    font-weight: bold;
	    letter-spacing: 0.03em;
	}
    
    .facebook a:hover,
    .facebook a:active {
        background-color: #30487c;
        text-decoration: none;
        -webkit-transition: background-color 0.25s ease-in-out;
	    transition: background-color 0.25s ease-in-out;
    }
}

@media (max-width: 600px) {
    .navigation {
        height: auto;
        float: none;
    }
	.main-nav {
	    float: none;
	}
	#menuToggle ~ label {
		position: relative;
		top: 0;
	}
    .logo {
        width: 70%;
        margin: 0 auto;
        float: none;
        display: block;
    }
}