form#contactForm {
    /*margin-left: -15px;
    margin-right: -15px;      */
    border: 1px solid rgba(0, 0, 0, 0);  
    display: inline-block;
}
fieldset { border : none; margin: 0; padding: 0;}
 legend { border: none; visibility: hidden; }

 .text-danger,
 .text-success,
 #contactFormError {
    width: 100%;       
    color: #E30613;  
    padding: 10px;   
    line-height: 1.1em;
    border: 1px solid #e30613;
    background-color: #ffeff0;
}

#contactFormError {
    display: none;
    margin-bottom: 20px;
    margin-left: 25px;
    margin-right: 25px;
    width: initial;
}

#contactFormCaptchaError {
    display: none !important;
}

.text-success {
    border-color: #005E14;  
    background-color: #E8FFED;       
    color: #005E14;  
}

form p,
form > fieldset > div.row,
form > fieldset > div.newsletter {
    display: inline-block;
    width: 100%;
    padding: 0 25px 50px 25px;
    text-align: left;
    position: relative;
    margin: 0;
}

form > fieldset > div.row.form-textarea,
form > fieldset > div.row.form-radio,
form > fieldset > div.row.form-checkbox,
form > fieldset > div.row.form-captcha,
form > fieldset > div.row.form-button {
    width: 100%;
}

form .is_required {
    padding: 0 0 0 3px;
    color: rgb(0, 92, 169);
}

form label {
    display: inline;    
    padding: 0;
    text-align: left;            
    color: rgba(0,0,0,1);     
    font-weight: 400;                           
    position: absolute;
    top: 10px;
    left: 26px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;  
}

form label.active {
    top: -18px;
    font-size: 0.7em;
    color: rgb(0, 92, 169);
}

form .radio label,
form .checkbox label {
    position: relative;
    cursor: pointer;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition:none;
    -o-transition: none;
    transition: none;  
}

form .radio label:hover,
form .checkbox label:hover {
    color: rgb(0, 92, 169);
}

form #captcha {
    width: 50%;
}

form label#coreCaptchaLabel {
    width: 100%;
    font-weight: 300;
    margin: 0px 0 10px 0;
    text-align: left;
    color: #000000;  
    display: none;
}

form #coreCaptchaCode {
    width: 80%;
    vertical-align: top;
}

form #coreCaptchaImage {
    margin: 0px 0 0 0px;
    vertical-align: baseline;
    height: 40px;
    width: 20%;
        -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}


form #captcha {
    padding-top: 40px;
    overflow: hidden;
    display: block;
    clear: both;
    height: auto;
    width: 100%;
}

form .contactFormGroup,
form .newsletterFormGroup,
form .shopFormGroup
{
    display: inline-block;  
    width: 100%;   
    font-weight: 300;  
}

form .newsletterFormGroup { 
    padding-top : 10px;
}

fieldset { border: none; }
legend { border: none; visibility: hidden; }

form .contactFormGroup label,
form .newsletterFormGroup label,
form .shopFormGroup label
{                     
    font-weight: 300; 
    width: 100%;   
    color: #000000;  
}

form .contactFormGroup input,
form .newsletterFormGroup input,  
form .shopFormGroup input,
input[type="checkbox"],    
input[type="radio"] 
{
    border: 0 none;
    display: inline-block;
    margin: 0.75% 1% 0 0;
    vertical-align: baseline;
    width: 30px;
}
.contactFormGroup div.radio, 
.contactFormGroup div.checkbox {
    border-bottom: 2px solid rgb(0, 92, 169);
    display: inline-block;
    float: left;
    margin: 25px 0 0 0;
    padding: 10px;
    text-align: left;
    width: 100%;
    height: 55px;
}


input,
textarea,
select { 
    border: 0px solid #F1F1F1;   
    border-bottom: 1px solid rgb(0, 0, 0);
    padding: 8px 0px;
    width: 100%;      
    font-weight: 300;     
    background-color: rgba(255,255,255,0);
}  

textarea{ 
    height: 140px; 
}  

::-webkit-input-placeholder { /* WebKit browsers */
   opacity:  1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   opacity:  1;
}

input:focus,
textarea:focus,
select:focus,
input.active,
textarea.active,
select.active { 
    border-bottom: 1px solid rgb(0, 92, 169);   
    outline:none;
}   

input[type="submit"] { 
    padding: 10px 20px;
    background-color: rgb(0, 92, 169);
    color: #ffffff;
    border: 0px;
    margin: 0px 10px 10px 0;
    width: 100%;
    font-weight: 500;              
    font-size: 0.8em;
}

input[type="button"], 
input[type="reset"] { 
    padding: 10px 20px;
    background-color: rgba(151, 152, 154, 0.25);
    color: #ffffff;
    border: 0px;
    margin: 0 10px 10px 0 ;
    width: 100%;
    font-weight: 300;
}

input[type="reset"] {
    display: none;
}

input[type="submit"]:hover ,
input[type="button"]:hover, 
input[type="reset"]:hover { 
 background-color: rgb(205, 205, 205);  
}

@media only screen and (min-width: 768px) {
    form p,
    form > fieldset > div.row,
    form > fieldset > div.newsletter {
        width: 50%;
        float: left
    }

    .contactFormGroup div.radio, 
    .contactFormGroup div.checkbox {
        width: calc(50% - 15px);
        margin-right: 15px;
        margin-left: 0px;
    }
    
    .contactFormGroup div.radio:nth-of-type(2n), 
    .contactFormGroup div.checkbox:nth-of-type(2n) {
        width: calc(50% - 15px);
        margin-left: 15px;
        margin-right: 0px;
    }

    form > fieldset > div.row.form-textarea,
    form > fieldset > div.row.form-captcha,
    form > fieldset > div.row.form-button {
    }

     form > fieldset > div.row.form-button {
        text-align: center;
     }

    input[type="submit"], 
    input[type="button"], 
    input[type="reset"] { 
        margin: 20px 10px;
        min-width: 250px;
        width: auto;
    }

    form #coreCaptchaCode {
        width: calc(40% - 25px);
        vertical-align: top;
    }

    form #coreCaptchaImage {    
        width: 10%;
    }
    
    input[type="submit"] { 
        font-size: 1em;
    }
}

@media only screen and (min-width: 992px) {      
    
   /* form#contactForm {    
        width: 66.6666%
    }   */
    form p,
    form > fieldset > div.row,
    form > fieldset > div.newsletter {
        width: 33.3333%;  
    }
}