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

.pure-menu-item {
	display: contents;
    text-align: center;
}

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
	list-style-type: none;
}


/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#layout {
    position: relative;
    right: 0;
    padding-left: 0;
}
    #layout.active #menu {
        right: 180px;
        width: 180px;
    }

    #layout.active .menu-link {
        right: 180px;
    }

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */
    top: 0;
    right: 0; /* "#menu width" */
    background: #5f205a;
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 10;
    width: 2em;
    height: auto;
    padding: 2.1em 1.6em;
}

    .menu-link:hover,
    .menu-link:focus {
        background: #11233b;
    }

    .menu-link span {
        position: relative;
        display: block;
    }

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        background-color: #fff;
        pointer-events: none;
        width: 100%;
        height: 0.2em;
    }

        .menu-link span:before,
        .menu-link span:after {
            position: absolute;
            margin-top: -0.6em;
            content: " ";
        }

        .menu-link span:after {
            margin-top: 0.6em;
        }
		

/* The container <div> - needed to position the dropdown content */
.dropdown {
  display: inline-block;
  background-color: #11233b;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: block;
  /*position: absolute;*/
  background-color: #11233b;
  min-width: 15%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1001;
}

/* Links inside the dropdown */
.dropdown-content a {
  /*color: black;
  padding: 12px 16px;
  text-decoration: none;*/
  display: block;
  background-color: #11233b;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #5f205a;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
	display: block;
}


/* Change the background color of the dropdown button when the dropdown content is shown */
/*.dropdown:hover .dropbtn {background-color: #3e8e41;}*/

/* -- Responsive Styles (Media Queries) ------------------------------------- */

.pure-menu-list {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}

/*Hides the menu at `48em`, but modify this based on your app's needs.*/

@media (min-width: 768px) {

    .header,
    .content {
        padding-left: 2em;
        padding-right: 2em;
    }

	#menu {
		/*margin-right: -150px; /* "#menu" width */
		/*width: 80%;*/
		position: flex;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1000; /* so the menu or its navicon stays above all content */
		overflow-y: auto;
		display: flex;
	}

	.dropdown-content {
	  display: none; /* bei großer Ansicht im Standard verstecken */
	}
	.dropdown-content {
	  position: absolute;  /* bei großer Ansicht darunter */
	}
	.pure-menu {
		width: 80%;
	}

    #layout {
        /*padding-right: 150px; /* left col width "#menu" */
        right: 0;
    }
	
    .menu-link {
        position: flex;
       /* right: 150px;*/
        display: none;
    }
	
	.pure-menu-list {
		display: flex;
		list-style-type: none;
	}
	
	#layout.active .menu-link {
        right: 180px;
    }

}

@media (max-width: 767.98px) {
    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
	#menu {
		margin-right: -180px; /* "#menu" width */
		width: 180px;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		/*z-index: 1000;  so the menu or its navicon stays above all content */
		background: #11233b;
		overflow-y: auto;
		margin-top: 0;

	}
		
	.pure-menu-list {
		list-style-type: none;
	}
	
    #layout.active {
        position: relative;
        right: 180px;
    }	

}
