/**************************************************
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 0 0;
}
.jb-form p.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 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 {
    font-size: 125%;
}
.jb-form .captcha img {
    max-width: 100%;
    vertical-align: middle;
    margin: 0.5em 0;
}
.jb-form .captcha-container {
    margin: 1em 0 2em 10em;
    background-color:transparent;
    text-align: center;
}
.jb-form .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;
}
p.error {
	background-color:transparent;
	font-weight: bold;
}
/************************************************************
RESPONSIVE */
/* Mobile(ish) */

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