*{
    box-sizing:border-box;
}

body {
    font-family: 'Cantarell', sans-serif;
    background: #ec6c6a; /* Old Browsers */
    background: -webkit-radial-gradient(center,#555555,#888585); /*Safari 5.1-6*/
    background: -o-radial-gradient(center,#555555,#888585); /*Opera 11.1-12*/
    background: -moz-radial-gradient(center,#555555,#888585); /*Fx 3.6-15*/
    background: radial-gradient(ellipse at center, #555555, #888585);

    -webkit-font-smoothing: antialiased;
    /*background-image: url('../images/bg7.jpg');*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.logo_driving,
.logo_qdrive{
    text-align: center;
}
.logo_driving img {
    width: 80px;
    transition: all .2s ease;
}
.logo_qdrive img {
    width: 90px;
    transition: all .2s ease;
}

.logo_driving img:hover,
.logo_qdrive img:hover{
    opacity: .83;
}

.logo_driving img:focus , footer a:focus {
    outline: none;
}

hgroup {
    text-align:center;
    margin-top: 4em;
}

h1, h3 {
    font-weight: 300;
}
h1 {
    color: #636363;
    font-size: 1.4em;
    text-align: center;
}

h3 {
    color: #4a89dc;
}

.box {
    -webkit-box-shadow: 3px 3px 60px 0px rgba(0,0,0,1);
    -moz-box-shadow: 3px 3px 60px 0px rgba(0,0,0,1);
    box-shadow: 3px 3px 60px 0px rgba(0,0,0,1);
    max-width: 430px;
    margin: auto;
    border: 1px solid #ebebeb;
    margin-top: 4em;

}

form {
    padding: 1em 2em 2em 2em;
    background: #fafafa;
}
.bottomcard {
    max-width: 430px;
    padding: 1.5em 2em 1.5em 2em;
    margin: auto;
    margin-botton: 4em;
    display: table;
    background: #eaeaea;
    text-align: center;
}

.bottomcard  > div {
    width: 40%;
    display: table-cell;
}

.group {
    position: relative;
    margin-bottom: 30px;
}

a {
    color: black;
}

select, input {
    font-family: 'Cantarell', sans-serif;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    -webkit-appearance: none;
    display: block;
    background: #fafafa;
    color: #636363;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #757575;
}

select,input:focus {
    outline: none;
}

select, button, input[type="button"], input[type="reset"], input[type="submit"], input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
}

select {
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(rgb(0, 150, 136), rgb(0, 150, 136)), linear-gradient(rgb(210, 210, 210), rgb(210, 210, 210));
    background-position: 50% 100%, 50% calc(-1px + 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 0px 2px, 100% 1px;
    border-bottom-color: rgb(85, 85, 85);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-image-outset: 0px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(85, 85, 85);
    border-left-style: none;
    border-left-width: 0px;
    border-right-color: rgb(85, 85, 85);
    border-right-style: none;
    border-right-width: 0px;
    border-top-color: rgb(85, 85, 85);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top-style: none;
    border-top-width: 0px;
    box-shadow: none;
    box-sizing: border-box;
    color: rgb(85, 85, 85);
    cursor: default;
    display: block;
    float: none;
    font-family: 'Cantarell', sans-serif;
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    height: 38px;
    letter-spacing: normal;
    line-height: 22.8571px;
    margin-bottom: 7px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 7px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 7px;
    text-align: start;
    text-indent: 0px;
    text-rendering: auto;
    text-shadow: none;
    text-transform: none;
    transition-delay: 0s;
    transition-duration: 0s;
    transition-property: background;
    transition-timing-function: ease-out;
    white-space: pre;
    word-spacing: 0px;
    writing-mode: horizontal-tb;
    -webkit-appearance: none;
    -webkit-rtl-ordering: logical;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: all 0.2s ease;
}

input:focus ~ label, input.used ~ label {
    top: -20px;
    transform: scale(.75); left: -2px;
    color: #EF5350;
}

.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #EF5350;
    transition: all 0.2s ease;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

input:focus ~ .bar:before, input:focus ~ .bar:after {
    width: 50%;
}

.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

input:focus ~ .highlight {
    animation: inputHighlighter 0.3s ease;
}

@keyframes inputHighlighter {
    from { background: #4a89dc; }
    to 	{ width: 0; background: transparent; }
}

.button {
    font-family: 'Cantarell', sans-serif;
    position: relative;
    font-weight: bold;
    display: inline-block;
    padding: 12px 24px;
    margin: .3em 0 1em 0;
    width: 100%;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all 0.15s ease;
}
.button:focus {
    outline: 0;
}

.buttonBlue {
  background: #ef5350; /* Old Browsers */
  text-shadow: 1px 1px 0 rgba(39, 110, 204, .5);
}

.buttonBlue:hover {
    background: #eb7b79; /* Old Browsers */
    background: -webkit-linear-gradient(right,#eb7b79,#f44336); /*Safari 5.1-6*/
    background: -o-linear-gradient(right,#eb7b79,#f44336); /*Opera 11.1-12*/
    background: -moz-linear-gradient(right,#eb7b79,#f44336); /*Fx 3.6-15*/
    background: linear-gradient(to left, #eb7b79, #f44336); /*Standard*/
}

.buttonOrange {
    background: #388e3c; /* Old Browsers */
    background: -webkit-linear-gradient(left,#388e3c,#5e8f60); /*Safari 5.1-6*/
    background: -o-linear-gradient(left,#388e3c,#5e8f60); /*Opera 11.1-12*/
    background: -moz-linear-gradient(left,#388e3c,#5e8f60); /*Fx 3.6-15*/
    background: linear-gradient(to right, #388e3c, #5e8f60); /*Standard*/

}

.buttonOrange:hover {
    background: #1a6b1d; /* Old Browsers */
    background: -webkit-linear-gradient(left,#1a6b1d,#5e8f60); /*Safari 5.1-6*/
    background: -o-linear-gradient(left,#1a6b1d,#5e8f60); /*Opera 11.1-12*/
    background: -moz-linear-gradient(left,#1a6b1d,#5e8f60); /*Fx 3.6-15*/
    background: linear-gradient(to right, #1a6b1d, #5e8f60); /*Standard*/
}


.ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.ripplesCircle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.ripples.is-active .ripplesCircle {
  animation: ripples .4s ease-in;
}

@keyframes ripples {
    0% { opacity: 0; }

    25% { opacity: 1; }

    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}


p, span {
    font-size: 0.9em;
    display: block;
}

footer {
    text-align: center;
}

footer p {
    color: #FFF;
    font-size: 13px;
    letter-spacing: .4px;
}

footer a {
    color: #CCC;
    text-decoration: none;
    transition: all .2s ease;
}

footer a:hover {
    color: #666;
    text-decoration: underline;
}

footer img {
    width: 150px;
    transition: all .2s ease;
}

footer img:hover {
    opacity: .83;
}

footer img:focus , footer a:focus {
    outline: none;
}

.errorMessage{
    color: #F44336!important;
    font-size: 0.8em;
    padding: 4px 0 4px 0;
}

.error {
    padding-bottom: 8px;
    border-bottom: 1px solid #F44336!important;
}


.flash{
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #d9edf7;
    border-color: #bce8f1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
