﻿/* Form Field Label */
.formElement {
    text-align: left;
    padding-bottom: 10px;
    vertical-align: top;
}
.formElement input,
.formElement textarea,
.formElement select {
    width: 95%;
    padding: 10px;
    padding-top: 25px;
    margin-bottom: 5px;
    border: solid 1px #CCCCCC;
    font-size: 16px;
    color: #231f20;
    height: 60px;
}
.formElement textarea
{
    height: auto;
}
.formElement label {
    font-size: 16px;
    font-weight: normal;
    color: #333333;
    margin-left: .9rem;
}
.formElement label.active {
    position: absolute;
    font-size: 14px;
    margin-top: .1rem;
    color: #231f20;
    background: transparent;
    line-height: 25px;
}
.formElement label.inactive {
    position: absolute;
    margin-top: 1.0rem;
    cursor: text;
    color: #333333;
}
.formElement label.transition {
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}
/* Qty numerical field for the above */
.formElement.productquantity {
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
div.cartWrapper .formElement.productquantity {
    margin-top: 15px;
}
.formElement input[type=number]::-webkit-inner-spin-button,
.formElement input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
.formElement.productquantity input {
    float: left;
    display: block;
    padding-left: 20px;
    border: 1px solid #eee;
}
.formElement.productquantity input:focus {
    outline: 0;
}
.formElement .quantity-nav {
    float: left;
    position: relative;
    height: 58px;
}
.formElement .quantity-button {
    position: relative;
    cursor: pointer;
    border-left: 1px solid #eee;
    width: 20px;
    text-align: center;
    color: #333;
    font-size: 22px;
    font-family: Arial, sans-serif !important;
    line-height: 28px;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.formElement .quantity-button.quantity-up {
    position: absolute;
    height: 50%;
    top: 0;
    border-bottom: 1px solid #eee;
}
.formElement .quantity-button.quantity-down {
    position: absolute;
    bottom: -1px;
    height: 50%;
}
.formElement select {
    cursor: pointer;
    width: 96%;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 29px) calc(2em + 2px), calc(100% - 25px) calc(2em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.formElement select::-ms-expand {
    display: none;
}
.formElement input:focus,
.formElement select:focus{
    border-color: #231f20;
    border: 2px solid #f85d13;
    outline: 0;
}
