/**************************************************
Contact forms */

.jb-form {
    position: relative;
    padding-right: 2em;
}
.jb-form abbr {
    color: #7B0101;
    font-size: 165%;
    font-weight: bold;
    line-height: 1;
    padding: 0 1px;
    vertical-align: middle;
    border: none;
    text-decoration: none;
}
.jb-form label abbr {
    padding: 0;
    position: absolute;
    right: 10px;
}
.jb-form label:first-child,
.jb-form .label:first-child {
    float: left;
    font: 105%/1.4 Arial, Helvetica, sans-serif;
    margin: 0 0 0 -10em;
    width: 9em;
    text-align: right;
}
.jb-form p {
    clear: left;
    background: rgba(20, 20, 20, 0.03);
    color: #666;
    margin: 0 0 1em 10em;
    padding: 0.5em;
    border-radius: 0.4em;
}
.jb-form p.note {
    background: none;
    font-size: 90%;
	margin: 1em 0 1em 10em;
}
.jb-form p.note.error {
	text-align: center;
	font-size: 14px;
}
.jb-form p.buttons,
.form-style.buttons,
.form-style .buttons {
    background: none;
    text-align: center;
    /* Swap margin for padding to fix an ugly IE7 glitch */
    margin-left: 0;
    padding-left: 10em;
}
.jb-form input[type="text"],
.jb-form input[type="tel"],
.jb-form input[type="email"],
.jb-form textarea,
.jb-form select {
    display: block;
    color: #333;
    font: 115%/1.2 Arial, Helvetica, sans-serif;
    margin: 0;
    width: 100%;
    padding: 0.3em 0.4em;
    background: #fefefe;
    border: 1px solid #ccc;
    border-radius: 0.3em;
    box-shadow: inset 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.1);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.jb-form p input[type="text"] + input[type="text"] {
	margin-top: 8px;
}
.jb-form input[type="text"]:focus,
.jb-form input[type="tel"]:focus,
.jb-form input[type="email"]:focus,
.jb-form textarea:focus,
.jb-form select:focus {
    border-color: #aaa;
    box-shadow: inset 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.05);
}
.jb-form select {
    width: auto;
}
.jb-form textarea {
    height: 7em;
}
.jb-form .button,
.form-style.buttons,
.form-style .buttons {
    font-size: 125%;
}
.jb-form .captcha img {
    max-width: 100%;
    vertical-align: middle;
    margin: 0.5em 0;
}
div.captcha.recaptcha {
    margin: 1em 0 2em 10em;
    text-align: center;
}
div.captcha.recaptcha .g-recaptcha {
    display: inline-block;
    vertical-align: middle;
}
.jb-form #code {
    width: 8em;
    display: inline;
    margin-left: 0.6em;
}
.jb-form input.OK {
    /*background-color:#CFC;*/
}
.jb-form input.error {
    background-color: #FCC;
    cursor: help;
}
#pay-card-expyear,#pay-card-expmonth {
	display: inline-block;
}
.notreq {

    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
   
}
/************************************************************
RESPONSIVE */
/* Mobile(ish) */

@media screen and (max-width: 670px) {
	
    .jb-form,
    #fancy-form {
        padding-right: 0;
        padding-left: 0;
    }
    .jb-form p,
    #fancy-form p {
        margin: 1em 0 0 0;
    }
    .jb-form p.buttons,
    #fancy-form p.buttons {
        padding: 0;
    }
    .jb-form p label:first-child,
    #fancy-form p label:first-child {
        float: none;
        display: block;
        position: relative;
        width: auto;
        text-align: left;
        margin: 0;
    }
    .jb-form p label abbr,
    #fancy-form p label abbr {
        position: static;
    }
    #content > article .col.side {
        margin-left: auto;
        margin-right: auto;
        max-width: 280px;
    }
    
}
