.input {
    margin: 2px 0 0 0;
    padding: 0;
    color: black;
    padding: 5px 4px;
    font-family: "Andale Mono", "Andale Mono IPA", Consolas, "Bitstream Vera Sans Mono", "Courier New", monospace;
    font-size: 1.1em; _font-size: 0.9em;
    border: solid 2px #999999;
    -webkit-appearance: none;
    border-radius: 0;
}

.input:focus {
    border: solid 2px #ff6600;
}

.submit {
    cursor: pointer;
    border: none;
    background: black;
    color: white;
    font-weight: bold;
    padding-left: 1em;
    padding-right: 0.7em;
    padding-top: 4px;
    padding-bottom: 5px;
    margin-right: 5px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}
.blacksection .submit {
    background: #999999;
}
.cancel {
    background: red;
}
.submit:hover, .submit:focus {
    background: #ff6600;
}



.error {
    background: white;
    color: red;
    border: red 2px solid;
    text-align: left;
}
.error p {
    padding: 10px 25px 10px 25px;
}
span.error {
    padding: 10px 15px 10px 15px;
}
span.error p {
    padding: 0;
}

@media screen and (max-device-width: 667px) {
    div.reading.error p {
        font-size: 42px !important;
        padding: 5px 50px 5px 50px;
    }
}

label {
    background: #999999;
    color: white;
    padding-left: 0.9em;
    padding-right: 0.7em;
    padding-top: 4px;
    padding-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.error_label {
    border-left: solid 10px red;
}

label.custom_label {
    background: #ff6600;
}

label.custom_label.locked,
label.locked {
    background: #bbb;
}

/* non-standard select box styling */

form.customSelect select {
    min-width: 575px;
    margin-top: 9px;
    cursor: pointer;
/*    font-size: 16px; */
}

form.customSelect .customStyleSelectBox {
    border: solid 2px #999999;
    margin-top: 3px;
}

form.customSelect select[id*='custom_'] + span.customStyleSelectBox {
    border: solid 2px #FF6600;
}
form.customSelect select[id*='custom_'].locked + span.customStyleSelectBox,
form.customSelect select.locked + span.customStyleSelectBox { 
    border: solid 2px #bbb;
}

form.customSelect .customStyleSelectBoxInner {
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 30px;
    font-family: "Andale Mono", "Andale Mono IPA", Consolas, "Bitstream Vera Sans Mono", "Courier New", monospace;
    font-size: 1em;
    background: white url(decoration/select-box-arrow.gif) no-repeat center right;
    min-width: 158px;
}

form.customSelect select.locked {
    cursor: default;
}

form.customSelect select.locked + span.customStyleSelectBox span.customStyleSelectBoxInner {
    background: white url(decoration/select-box-locked.gif) no-repeat center right;
}

/* radio boxes */

input[type="radio"] {
    cursor: pointer;
}

.radio-inline {
    display: inline-block;
    background: #ffffff;
    padding: 0;
    color: #999999;
    padding: 2px 10px 4px 10px;
    margin: -2px 0 0 -5px;
    font-size: 1.1em; _font-size: 0.9em;
    border: solid 2px #999999;
    vertical-align: middle;
}
@media (max-width: 700px)
{
    .radio-inline {
        display:block;
        padding: 0 0 5px 10px;
        margin: 5px 0 0 0;
        font-size: 2em;
        width: 4em;
    }
}

.radio-inline.disabled {
    cursor: not-allowed;
    opacity: 0.3
}

.radio-inline.disabled input[type="radio"] {
    cursor: not-allowed;
    opacity: 0.8
}

.radio-inline.locked {
    cursor: not-allowed;
    opacity: 0.5;
    color: #F60
}

.radio-inline.locked input[type="radio"] {
    cursor: not-allowed;
}

/* single line entry */

.text-inline {
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

.text-inline input {
    padding: 4px 10px 3px 10px;
    margin: -1px 0 0 -5px;
}

/* order forms */

#instructions {
    width:580px;
    margin-top: -10px;
    margin-bottom: 10px;
}

#stock, #warranty {
    width:580px;
    margin-top: 10px;
    margin-bottom: 10px;
}

fieldset {
    border:none;
    background: #d5d5d5;
    padding: 10px;
    margin-bottom: 10px;
}

fieldset,
fieldset label {
    -webkit-transition: background-color 0.1s ease;
    -moz-transition: background-color 0.1s ease;
    -ms-transition: background-color 0.1s ease;
    -o-transition: background-color 0.1s ease;
    transition: background-color 0.1s ease;
}

fieldset:hover,
fieldset:focus {
    background: #ddd;
}

fieldset p {
    margin: 3px 0 15px 8px
}

fieldset p:last-child {
    margin: 3px 0 0 8px
}

fieldset:hover label {
    background: #888;
}

fieldset:hover label.custom_label {
    background: #f96500;
}
fieldset:hover label.custom_label.locked,
fieldset:hover label.locked {
    background: #ccc;
}

fieldset:hover .input,
fieldset:hover .customStyleSelectBox {
    border: solid 2px #888;
}

form.customSelect fieldset:hover select[id*='custom_'] + span.customStyleSelectBox {
    border: solid 2px #f96500;
}
form.customSelect fieldset:hover select[id*='custom_'].locked + span.customStyleSelectBox,
form.customSelect fieldset:hover select.locked + span.customStyleSelectBox {
    border: solid 2px #ccc;
}

form.customSelect span.labelConj {
    color: white;
    background-color: #ff6600;
    display: inline-block;
    height: 22px;
    width: 15px;
    padding: 3px 3px 0 6px;
    margin: 0 0 -3px 0;
}
form.customSelect span.labelConj.locked {
    background-color: #bbb;
}

form.customSelect fieldset:hover span.labelConj {
    background-color: #f96500;
}
form.customSelect fieldset:hover span.labelConj.locked {
    background-color: #ccc;
}


input#address2,
input#address3,
input#delivery_address2,
input#delivery_address3 {
    margin-top: -2px;
}

fieldset.subtotal,
fieldset.finance,
fieldset.advanceDeposit
{
    display: none;
}

fieldset.subtotal p.input,
fieldset.finance p.input,
fieldset.advanceDeposit p.input,
input#quote,
input#admin_price,
input#admin_next_payment {
    display: inline-block;
    background: white;
    min-width: 120px;
    margin-left: 0;
    text-align: center;
    font-size: 150%;
}

fieldset.finance.V12 {
    background-image: url('/partners/interface/logos/v12.png');
    background-position: right top;
    background-repeat: no-repeat;
    min-height: 70px
}

fieldset.cycletowork.cycletoworklogos {
    background-image: url('/partners/interface/logos/cycletowork.png');
    background-position: right top;
    background-repeat: no-repeat;
    min-height: 93px
}

fieldset.action.sagepay {
    background-image: url('/partners/interface/logos/SagePay.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    padding-bottom: 20px;
    min-height: 55px;
}

.illustration table
{
  border-collapse: separate;
  border-spacing: 5px 0;
  padding-bottom: 10px;
}

.illustration th.months {
    background: #ccc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top: 1px solid #CCCD00;
    border-left: 1px solid #CCCD00;
    border-right: 1px solid #CCCD00;
    width: 90px;
    height: 40px;
    vertical-align:middle;
    text-align: center;
}

.illustration th.months span {
    color: black;
    font-size: 1.2em;
    font-weight: bold
}

.illustration .perMonth td {
    background: #bbb;
    border-left: 1px solid #CCCD00;
    border-right: 1px solid #CCCD00;
    width: 90px;
    height: 60px;
    vertical-align:middle;
    text-align: center;
}

.illustration .perMonth td span {
    color: black;
    font-size: 1.2em;
    font-weight: bold
}

.illustration .APR td {
    background: #aaa;
    color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 1px solid #CCCD00;
    border-right: 1px solid #CCCD00;
    border-bottom: 1px solid #CCCD00;
    width: 90px;
    height: 40px;
    vertical-align:middle;
    text-align: center;
    font-weight: bold
}

.terms {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: 100%;
}

fieldset.highlight p.input {
    border-color: #FF6600;
}

@-webkit-keyframes throb {
  from { opacity: 1; }
  50% { opacity: 0.8; }
  to { opacity: 1; }
}

.action input.pay,
.action a.submit.pay {
  background: green;
}

fieldset.action input.pay,
fieldset.action a.submit.pay {
  -webkit-animation-name: throb; 
  -webkit-animation-duration: 0.5s; 
  -webkit-animation-iteration-count: 20;
  margin-bottom: 10px;
}

fieldset.action input.knockback,
fieldset.action a.submit.knockback {
  background: #cccccc;
  color: #DDDDDD
}

input.knockbackimp,
a.submit.knockbackimp { 
  background: #999999;
  color: #DDDDDD
}

.action input.pay:hover, .action input.pay:focus,
.action a.submit.pay:hover, .action a.submit.pay:focus,
.action input.knockback:hover, .action input.knockback:focus,
.action a.submit.knockback:hover, .action a.submit.knockback:focus,
input.knockbackimp:hover,
a.submit.knockbackimp:hover
{
  background: #ff6600;
  color: white
}

fieldset.customer label.zzip:after {
    content: "/ZIP"
}

fieldset input[readonly="readonly"],
fieldset input[readonly],
fieldset textarea[readonly="readonly"],
fieldset textarea[readonly]
{
  border: solid 2px #bbb !important;
  color: #ff6600;
  background: #eeeeee;
}

/* reCaptcha */

.captcha * { 
        margin:0px; 
        padding:0px; 
        border:0px; 
        letter-spacing: 0;
}
.captcha_label { 
    background: white !important;
    color: #741711;
    padding-bottom: 2px;
}

@media screen and (max-device-width: 667px) {
    /* reCaptcha on mobile */
    .g-recaptcha {
        transform:scale(2.5);
        -webkit-transform:scale(2.5);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
        max-width: 100px;
    }
    .terms.nowrap {
        display: block;
        margin-top: 20px;
    }
    
    /* fitting elements on small display for order forms */
    form.framebuilder label,
    form.framebuilder .submit {
        letter-spacing: 0.05em;
        font-size: 0.8em
    }
    form.framebuilder submit {
        background: #000000 !important;
    }
    form.customSelect .customStyleSelectBoxInner {
        font-framebuilder: 0.8em;
        padding-right: 10px;
        font-family: sans-serif;
    }
    form.framebuilder .smallprint {
        font-size: 0.8em;
        line-height: normal;
        padding-bottom: 15px;
        font-family: sans-serif;
        padding-right: 250px;
    }
    form.framebuilder .smallprint strong:before {
        content: '\A';
        display: block;
    }
    form.framebuilder .radio-inline {
        font-size: 0.9em;
        margin-left: -10px;
    }
    form.framebuilder br {
        line-height: 0;
    }
    /* ZOOM */
    #instructions.section,
    #stock.section, #warranty.section {
        width:780px;
        padding: 20px 50px 20px 50px;
        margin-left: -440px;
    }
    form.framebuilder .customStyleSelectBoxInner,
    form.framebuilder select {
        min-width: 750px !important;
        max-width: 750px !important;
        width: 750px !important;
    }
    form.framebuilder select {
        font-size: 24px
    }
    form.framebuilder {
        left: 0;
        margin: 0;
        width: 100%;
    }
    form.framebuilder input[type="radio"] {
        -ms-transform: scale(1.5); /* IE 9 */
        -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
        transform: scale(1.5);
    }
    form.framebuilder input[type="radio"]:last-child {
        margin-left: 10px;
    }
    /* mobile buttons fix */
    fieldset.action input.knockback,
    input.knockbackimp {
        background: #000000;
        color: #cccccc;
    }
    fieldset.action input.pay {
        background: #000000;
        color: white;
    }
}

/* user */

#pin {
    font-size: 200%;
    letter-spacing: 0.5em;
    min-width: 4.5em;
}

/* pin the tail on the donkey */
@media (min-width: 1000px) {
    form.framebuilder fieldset.subtotal.keepup {
        position: fixed;
        right: 9px;
        top: 100px;
    }
}
@media (min-width: 1000px) and (max-width: 1080px) {
    form.framebuilder fieldset.subtotal.keepup {
        width: 150px;
    }
}
@media (min-width: 1080px) and (max-width: 1180px) {
    form.framebuilder fieldset.subtotal.keepup {
        width: 200px;
    }
}
@media (min-width: 1180px) and (max-width: 1350px) {
    form.framebuilder fieldset.subtotal.keepup {
        width: 250px;
    }
}

/* brush it under the carpet */
.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 99;
    display: block;
    top: 0;
    left: 0;
}
.greyoverlay {
    background-color: #BCBCBC;
}


