/****Form****/

#form input {
    font-size: 12px;
    line-height: 20px;
    border: none;
    color: #979797;
    background: #fbfbfb;
    padding: 5px 11px;
    width: 100%;
    height: 28px;
    float: left;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
}
#form textarea {
    font-size: 12px;
    height: 268px;
    overflow: auto;
    border-radius: 3px;
    background: #fbfbfb;
    border: none;
    color: #979797;
    padding: 10px 11px 10px;
    line-height: 18px;
    width: 100%;
    position: relative;
    resize: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}
#form label {
    position: relative;
    display: block;
    min-height: 38px;
    width: 310px;
    float: left;
    clear: left;
}
.formprot {
	display: none!important;
}
.checkboxlayer {
    min-height: 100px;
    float: left;
}

@media (max-width:985px) {
.checkboxlayer {
    min-height: 130px;
}
}
@media (max-width:475px) {
.checkboxlayer {
    min-height: 200px;
}
}
input#checkbox {
    margin-right: 10px;
    width: auto!important;
    outline: none;
}
label#terms {
    width: 100%;
    float: none;
    display: inline;
}
#form .error, #form .empty {
    color: #FF0000;
    display: none;
    font-size: 11px;
    line-height: 14px;
    width: auto;
    position: absolute;
    z-index: 999;
    right: 5px;
    top: 6px;
    float: left;
}
.noalert {
    display: none;
}
.alert {
    display: block;
    color: red;
    font-weight: bold;
    margin-top: 10px;
}
.link4 {
    color: #b6b6b6;
    font-size: 20px;
    line-height: 24px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Oswald', sans-serif;
}
#form .error-empty {
    display: none;
    float: left;
}
.btns {
    position: relative;
    text-align: right;
    padding-top: 15px;
}
.btns a, input#reset.button2, input#send.button2 {
    cursor: pointer;
    margin-top: 0;
    margin-right: 5px !important;
    margin-bottom: 0;
    margin-left: 20px;
}
.content .btns a:first-child {
    margin-left: 0 !important;
}
#form .message {
    width: 100%;
}
.message br {
    height: 0;
    line-height: 0;
}
#form .success {
    display: none;
    position: absolute;
    width: 310px;
    background: #fbfbfb;
    border: none;
    border-radius: 3px;
    text-align: center;
    padding: 20px 10px;
    z-index: 999;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
}
.success_wrapper {
    position: relative;
}

@media only screen and (max-width: 995px) {
#form label {
    float: none !important;
    width: 100%;
}
#form input {
    margin-bottom: 10px;
}
#form label.message {
    width: 100% !important;
}
#form .success {
    width: 100%;
}
.btns {
    padding-right: 0;
}
#form label.email {
    width: 100%;
    margin: 0;
}
.dl1 span {
    width: auto !important;
}
}

@media only screen and (max-width: 767px) {
.map {
    margin-bottom: 25px;
}
.btns {
    padding-bottom: 0;
}
.dl1 {
    margin-bottom: 30px;
}
#form textarea {
    height: 300px !important;
}
}

@media only screen and (max-width: 480px) {
#form textarea {
    height: 200px !important;
}
.btns a, input#reset.button2, input#send.button2 {
    cursor: pointer;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    margin-left: 0px !important;
}
}
