            @import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700);

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.form-3 {
    font-family: 'Ubuntu', 'Lato', sans-serif;
    font-weight: 900;
    /* Size and position */
    width: 300px;
    position: relative;
    margin: 60px auto 0px;
    padding: 10px;
    overflow: hidden;

    /* Styles */
    background: #252c46; 
    border-radius: 0.4em;
    border: 1px solid #191919;
    box-shadow: 
        inset 0 0 2px 1px rgba(255,255,255,0.08), 
        0 16px 10px -8px rgba(0, 0, 0, 0.6);
}
.form-3 > p {
        margin: 0;
        width: 48%;
        float: left;
}
.form-3 > p > input[type=text],
.form-3 > p > select {
    /* Size and position */
    width: 100%;
    padding: 8px 5px;
    margin-bottom: 10px;
    font-size: 12px;

    /* Styles */
    background: #1f2124; /* Fallback */
    background: -moz-linear-gradient(#1f2124, #252c46);
    background: -ms-linear-gradient(#1f2124, #252c46);
    background: -o-linear-gradient(#1f2124, #252c46);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#1f2124), to(#252c46));
    background: -webkit-linear-gradient(#1f2124, #252c46);
    background: linear-gradient(#1f2124, #252c46);    
    border: 1px solid #313850;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.1);
    border-radius: 3px;

    /* Font styles */
    font-family: 'Ubuntu', 'Lato', sans-serif;
    color: #fff;

}

.form-3 > p > input[type=text]:hover,
.form-3 > p > select:hover {
    background: #27292c;
}

.form-3 > p > input[type=text]:focus, 
.form-3 > p > select:focus {
    box-shadow: inset 0 0 2px #000;
    background: #494d54;
    border-color: #51cbee;
    outline: none; /* Remove Chrome outline */
}

.form-3 > p:nth-child(odd) {
    float: right;
    margin-left: 10px;
    }

.form-3 > p > select:invalid:not(:focus) {
  color: gray;
}
.form-3 > p > select:invalid:focus {
  color: transparent;
}
.form-3 > p > select:focus option {
  color: initial;
}

.form-3 > p > select {
    height: 31px;
}

.form-3 > p > select option {
    /*font-size: 15px*/
    line-height: 1.5
}


.form-3 > p > input[type=submit] {
    /* Width and position */
    padding: 8px 5px;
  
    /* Styles */
    border: 1px solid #0273dd; /* Fallback */
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 10px 10px rgba(255,255,255,0.1);
    border-radius: 3px;
    background: #0c3b5a;
    text-transform: uppercase;
    cursor:pointer;
  
    /* Font styles */
    font-family: 'Ubuntu', 'Lato', sans-serif;
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.8);
}

.form-3 > p > input[type=submit]:hover { 
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.form-3 > p > input[type=submit]:active { 
    background: #287db5;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.6);
    border-color: #000; /* Fallback */
    border-color: rgba(0,0,0,0.9);
}

.no-boxshadow .form-3 > p > input[type=submit]:hover {
    background: #2a92d8;
}

.form-3:after {
    /* Size and position */
    content: "";
    height: 1px;
    width: 33%;
    position: absolute;
    left: 20%;
    top: 0;

    /* Styles */
    background: -moz-linear-gradient(left, transparent, #444, #b6b6b8, #444, transparent);
    background: -ms-linear-gradient(left, transparent, #444, #b6b6b8, #444, transparent);
    background: -o-linear-gradient(left, transparent, #444, #b6b6b8, #444, transparent);
    background: -webkit-gradient(linear, 0 0, 100% 0, from(transparent), color-stop(0.25, #444), color-stop(0.5, #b6b6b8), color-stop(0.75, #444), to(transparent));
    background: -webkit-linear-gradient(left, transparent, #444, #b6b6b8, #444, transparent);
    background: linear-gradient(left, transparent, #444, #b6b6b8, #444, transparent);
}

.form-3:before {
    /* Size and position */
    content: "";
    width: 8px;
    height: 5px;
    position: absolute;
    left: 34%;
    top: -7px;
    
    /* Styles */
    border-radius: 50%;
    box-shadow: 0 0 6px 4px #fff;
}

.form-3 > h2 {
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
}

.form-3 > h2:before{
    /* Size and position */
    content:"";
    width: 450px;
    height: 130px;
    position: absolute;
    top: 0;
    left: -35px;

    /* Styles */
    -webkit-transform: rotate(75deg);
    -moz-transform: rotate(75deg);
    -ms-transform: rotate(75deg);
    -o-transform: rotate(75deg);
    transform: rotate(75deg);
    background: -moz-linear-gradient(50deg, rgba(255,255,255,0.15), rgba(0,0,0,0));
    background: -ms-linear-gradient(50deg, rgba(255,255,255,0.15), rgba(0,0,0,0));
    background: -o-linear-gradient(50deg, rgba(255,255,255,0.15), rgba(0,0,0,0));
    background: -webkit-linear-gradient(50deg, rgba(255,255,255,0.15), rgba(0,0,0,0));
    background: linear-gradient(50deg, rgba(255,255,255,0.15), rgba(0,0,0,0));
    pointer-events:none;
}

.no-pointerevents .form-3 > p:nth-child(1):before {
    display: none;
}

.sub {
    float: none !important;
    margin: 0 auto !important;
}