/**************************************************
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;
}
#contact-form input[type=checkbox],
#contact-form input[type=radio] {
	display: inline-block;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	vertical-align: inherit;
}

#contact-form input[type=checkbox] + label,
#contact-form input[type=radio] + label {
	padding-left: 6px;
}

.jb-form p.error {
	background-color:transparent;
    font-weight: bold;
    font-size: 110%;
}

.col.main {
	float:left;
	width:60%;
}
.col.side {
	float:right;
	width:32%;
	margin:0;
	padding:0;
}
.col.side:after {
	left:110%;
}

#contact-form #priceMin,
#contact-form #priceMax {
	display: inline-block;
	width: 21vw;
	max-width: 47%;
}
#contact-form #priceMax {
	margin-left: 6px;
}

#contact-form .nowrap + .nowrap {
	padding-left: 14px;
}

#contact-form .sbHolder {
	height: 34px;
}

#contact-form .sbSelector {
	line-height: 34px;
}

#contact-form  span + select + .sbHolder {
	margin-left: 12px;
}

#contact-form input[type="submit"] {
	background: #11733c !important;
	width: auto;
	display: inline-block;
	height: auto;
	padding: 20px 55px;
	font-size: 22px;
	line-height: 22px;
	color: #FFF;
	text-transform: uppercase;
	border: 2px solid #11733c;
}

#contact-form input[type="submit"]:hover {
	background: #FFF !important;
	color: #11733c;
}
/************************************************************
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;
    }
    
}