﻿#menu {
    margin: 0;
    padding: 0px;
    list-style: none;  
    background-color: #4f0925;
    background-image: linear-gradient(#4f0925);
    border-radius: 0px;
    box-shadow: 0 2px 1px #4b4c4c;
}

#menu li {
    float: left;
    padding: 10px;
    position: relative;
}

#menu a {
    float: left;
    height: 25px;
    padding: 0 67px;
    color: #ffffff;
    text-transform: uppercase;
    font: bold 15px/25px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 2px 0 #010101;
}

#menu li:hover > a {
    color: #00ffd2;
}

#menu li a:hover {
    color: #00ffd2;
}

#menu li:hover > ul {
    display: block;
}

#menu ul {
    list-style: none;
    margin: 0;
    padding: 10px;    
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 999999;    
    background-color: #4f0925;   
    background-image: linear-gradient(#4f0925);    
    -moz-border-radius: 5px;
    border-radius: 10px;
}

#menu ul li {
    float: none;
    margin: 0;
    padding: 5px;
    display: block;  
    box-shadow: 0 1px 0 #111111, 
                0 2px 0 #777777;
}

#menu ul li:last-child { 
    box-shadow: none;   
}

#menu ul a {    
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

#menu ul a { 
    height: 10px;
    width: 120px;
}

#menu ul a {   
    height: 10px;
    width: 150px;
}

#menu ul a:hover {
    background-color: #4f0925;
    background-image: linear-gradient(#666666, #232323);
}

#menu ul li:first-child a {
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after {
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

#menu ul li:last-child a {
    border-radius: 0 0 5px 5px;
}

#menu:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

#menu ul li:first-child a:after {
    content: '';
    position: absolute;
    left: 70px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #2d9e9e;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}



<br>
<br>

/* Bordered form */
form {
    border: 3px solid #f1f1f1;
}

/* Full-width inputs */
input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Add a hover effect for buttons */
button:hover {
    opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the avatar image inside this container */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
    width: 40%;
    border-radius: 50%;
}

/* Add padding to containers */
.container {
    padding: 16px;
}

/* The "Forgot password" text */
span.psw {
    float: right;
    padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}