.adminnav{
margin-top: 1em;
}

.dropbtn {

    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;

    /* margin:0;
     flex-grow: 1;
     background-color: #4CAF50;
     color: white;
     padding: 0.6em;
     font-size: 1em;
     border: none;
     cursor: pointer;
     display: block;

     border-top-left-radius: 1em;
     border-top-right-radius: 1em;
     border-left: 0.1em solid #D5D3D8;
     border-right: 0.1em solid #D5D3D8;
     border-top: 0.1em solid #D5D3D8;
     border-bottom: 0.1em solid #eee;
 */
    outline: none;
    position: relative;
    cursor: pointer;


}


.dropdown {
    outline: none;

    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;

    position: relative;
    min-width: 10em;
    /*display: inline-block;*/
}

.dropdown-content {
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    margin-left: calc(-0.3em - 1px);
    margin-top: 0.3em;
    display: block;
    position: absolute;
    background-color: #eeeeee;
    background-image: -webkit-linear-gradient(0deg, rgba(255,255,255,1),rgba(255,255,255,0));
    background-image: -moz-linear-gradient(0deg, rgba(255,255,255,1),rgba(255,255,255,0));
    background-image: -o-linear-gradient(0deg, rgba(255,255,255,1),rgba(255,255,255,0));
    background-image: linear-gradient(0deg, rgba(255,255,255,1),rgba(255,255,255,0));
    border: 1px solid #aaaaaa;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    visibility: hidden;
    opacity: 0.7;
    max-height: 0;
    overflow: hidden;
    width:100%;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    text-shadow: none;
    z-index: 4000;
    -webkit-transition: all 0.7s ease; /* Firefox */
    -moz-transition: all 0.7s ease; /* WebKit */
    -o-transition: all 0.7s ease; /* Opera */
    transition: all 0.7s ease; /* Standard */
    vertical-align: bottom;


}


.dropdown-content a {
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;

    position: relative;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    z-index: 5000;
    outline:none;
    vertical-align: bottom;


}

.dropdown-content a:hover {
    background-color: #c8e3f7;
    background-image: -webkit-linear-gradient(0deg, rgba(255,255,255,0.7),rgba(255,255,255,0), rgba(255,255,255,0.7));
    background-image: -moz-linear-gradient(0deg, rgba(255,255,255,0.7),rgba(255,255,255,0), rgba(255,255,255,0.7));
    background-image: -o-linear-gradient(0deg, rgba(255,255,255,0.7),rgba(255,255,255,0), rgba(255,255,255,0.7));
    background-image: linear-gradient(0deg, rgba(255,255,255,0.7),rgba(255,255,255,0), rgba(255,255,255,0.7));
    position: relative;
    z-index: 5000;
    -webkit-transition: all 0.3s ease; /* Firefox */
    -moz-transition: all 0.3s ease; /* WebKit */
    -o-transition: all 0.3s ease; /* Opera */
    transition: all 0.3s ease; /* Standard */
}
div.dropdown-content a:last-child {
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

.dropdown:hover .dropdown-content, .dropdown:focus .dropdown-content, .dropdown:active .dropdown-content {
    -webkit-transition: all 0.7s ease; /* Firefox */
    -moz-transition: all 0.7s ease; /* WebKit */
    -o-transition: all 0.7s ease; /* Opera */
    transition: all 0.7s ease; /* Standard */
    display: block;
    position: absolute;
    z-index: 4000;
    visibility: visible;
    opacity: 1;
    max-height: 50em;



}
.dropbtn:hover .dropdown-content, .dropbtn:focus .dropdown-content, .dropbtn:active .dropdown-content {
    -webkit-transition: all 0.3s ease; /* Firefox */
    -moz-transition: all 0.3s ease; /* WebKit */
    -o-transition: all 0.3s ease; /* Opera */
    transition: all 0.3s ease; /* Standard */
    display: block;
    position: absolute;
    z-index: 4000;
    visibility: visible;
    max-height: 50em;

    opacity: 1;

}






