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

/*
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;
}

body {
    padding: 0;
    margin: 0;
    margin-top: 50px;
}

#digiordner-topmenu {
    color: white;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 50px;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    text-overflow: none;
    background-color: dark-blue;
    z-index: 10000;
    white-space: nowrap;
}
#digiordner-topmenu h1 {
    display: inline-block;
    float: left;
    margin: 0;
    margin-right: 10px;
    padding: 0;
    padding-top: 10px;
    height: 100%;
}

#digiordner-topmenu h1 a {
    color: white;
    text-decoration: none;
}

#digiordner-topmenu ul {
    list-style-type: none;
    margin: 0;
    margin-left: 30px;
    margin-top: 0px;
    padding: 0;
    display: inline-block;
    height: 100%;
}

#digiordner-topmenu li {
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    height: 100%;
}

#digiordner-topmenu li a {
    display: inline-block;
    color: white;
    text-align: center;
    line-height: 1.5em;
    padding-top: 13px;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none;
    height: 100%;
}

#digiordner-topmenu li a:hover {
    background: rgba(0, 0, 139, 0.2);
}

#digiordner-topmenu-search-popup {
	position: absolute;
	top: 50px;
	height: 50px;
	left: 10px;
	right: 10px;
	background-color: whitesmoke;
	border-style: solid;
	border-width: 1px;
	border-radius: 3px;
	border-color: gray;
	display: none;
	z-index: 10000;
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

#digiordner-topmenu-search-text-input {
	border-color: light-gray;
	background-color: white;
	border-radius: 3px;
	margin-right: 10px;
	width: 80%;
	max-width: 500px;
}

#digiordner-topmenu-search-form button[type="submit"] {
	border-radius: 3px;
}

@media (max-width: 615px) {
    #digiordner-topmenu {
        white-space: normal;
        overflow-y: initial;
        overflow-x: initial;
    }
    #digiordner-topmenu ul {
       display: none;
       position: fixed;
       left: 0;
       top: 50px;
       right: 0;
       margin-left: 0;
       margin-top: 0;
       height: auto;
       background-color: rgb(200,200,254);
       /* z-index: 5000; */
    }
    #digiordner-topmenu li {
        float: none;
        display: block;
        padding: 0;
        margin: 0;
        height: 35px;
        width: 100%;
    }
    #digiordner-topmenu li a {
        padding-top: 6px;
        color: black;
    }
}

