﻿

form {
    margin-top: 20px;
}

.form {
    background-color: white;
    border-radius: 9px;
    width: 400px;
    margin: 100px auto 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

    .form label {
        display: block;
        text-align: left;
        padding-left: 35px;
        font-weight: 100;
    }

.link-demo {
    margin-top: 10px;
    margin-bottom: 10px;
}

    .link-demo a {
        float: left;
    }

@media only screen and (max-width:900px) {
    /* For tablets: */
    .form {
        width: 500px;
        margin: 100px auto 100px;
    }
}

@media only screen and (max-width:767px) {
    /* For mobile phones: */
    body {
        background-color: white;
        width: 100%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .form {
        width: 100%;
        height: 100%;
        margin: 0;
    }
}


input[type="text"],
input[type="email"],
input[type="number"],
textarea,
textarea.form-control {
    height: 40px;
    width:100%;
    margin: 0;
    padding: 0 20px;
    vertical-align: middle;
    background: #f8f8f8;
    border: 3px solid #ddd;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 100;
    line-height: 50px;
    color: #888;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

    textarea,
    textarea.form-control {
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 30px;
    }

        input[type="text"]:focus,
        input[type="password"]:focus,
        input[type="email"]:focus,
        input[type="number"]:focus,
        textarea:focus,
        textarea.form-control:focus {
            outline: 0;
            background: #fff;
            border: 3px solid #ccc;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

            input[type="text"]:-moz-placeholder, input[type="email"]:-moz-placeholder,
            input[type="number"]:-moz-placeholder, input[type="password"]:-moz-placeholder,
            textarea:-moz-placeholder, textarea.form-control:-moz-placeholder {
                color: #888;
            }

            input[type="text"]:-ms-input-placeholder, input[type="email"]:-ms-input-placeholder,
            input[type="number"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder,
            textarea:-ms-input-placeholder, textarea.form-control:-ms-input-placeholder {
                color: #888;
            }

            input[type="text"]::-webkit-input-placeholder, input[type="email"]::-webkit-input-placeholder,
            input[type="number"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder,
            textarea::-webkit-input-placeholder, textarea.form-control::-webkit-input-placeholder {
                color: #888;
            }



button.btn {
    height: 50px;
    margin: 0;
    padding: 0 20px;
    vertical-align: middle;
    border: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 50px;
    color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    text-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

    button.btn:hover {
        opacity: 0.7;
        color: #fff;
    }

    button.btn:active {
        outline: 0;
        opacity: 0.6;
        color: #fff;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    button.btn:focus {
        outline: 0;
        opacity: 0.9;
        color: #fff;
    }

    button.btn:active:focus, button.btn.active:focus {
        outline: 0;
        opacity: 0.6;
        color: #fff;
    }
