form {
    background: #b4b4b4;
    font-family: 'Open Sans Condensed', sans-serif;

    border: 1px solid #2f2f2f;
    padding: 30px 20px;
    border-radius: 3px;
}

form fieldset {
    background-color: #d5d5d5;
    border-radius: 3px;
}

form legend {
    text-align: center;
    background: #364351;
    width: 100%;
    padding: 30px 0;
    border-radius: 3px 3px 0 0;
    color: white;
    font-size: 2em;
    margin-bottom: 10px;
}

form label {
    margin-left: 5px;
    display: block;
    color: grey;
    text-shadow: 0 1px white;
    font-weight: bold;
}

form input[type=button] {
    display: block;
}

form ::-webkit-input-placeholder {
    text-shadow: 1px 1px 1px white;
    font-weight: bold;
}

form ::-moz-placeholder {
    /* firefox 19+ */
    text-shadow: 0 1px 1px white;
    font-weight: bold;
}

form input[type=text],
form select,
form textarea,
form input[type=checkbox] {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 10px auto;

    padding: 15px 20px;
    border-radius: 1px;
    background-color: #f7f7f7;
    border: 1px solid silver;

    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, .8);

    transition: background-color .5s ease;
}

form input[type=text]:focus,
form textarea:focus {
    outline: none;
    background-color: white;
}

form button,
form input[type=button] {
    text-transform: uppercase;
    width: 100%;
    background-color: #5C8CA7;
    padding: 10px;
    color: white;
    border: 1px solid #3498db;
    border-radius: 3px;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
}

form input[type=button]:hover {
    background-color: #2980b9;
}
