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,
 .clx-newsletter-error-msg {   
    color: rgba(255, 255, 255, 1);  
    padding: 10px;   
    line-height: 1.1em;
    background-color: rgba(141, 76, 98, 1);
    margin-bottom: 15px;
}

 .clx-newsletter-success-msg {   
    color: rgba(255, 255, 255, 1);  
    padding: 10px;   
    line-height: 1.1em;
    background-color: rgb(17, 142, 1);
    margin-bottom: 15px;
}


#contactDescription {
    display: inline-block;
}

#contactFormError {
    display: none;
    margin: 20px 15px;
}

.text-success {
    border-color: #005E14;  
    background-color: #E8FFED;       
    color: #005E14;  
}

form p,
form > fieldset > div.row {
    display: inline-block;
    width: 100%;
    padding: 0 15px 30px 15px;
    text-align: left;
    position: relative;
    margin: 0;
}

#clx-shop form p {
    display     : inline-block;
    width       : 100%;
    float       : none;
    padding     : 0;
        margin-bottom: 30px;
}


.clx-newsletter-form-fieldset .row {
    display: unset;
    margin-left: -15px;
    margin-right: -15px;
}

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:  rgba(141, 76, 98, 1);
}

form label {
    display: inline;    
    padding: 0;
    text-align: left;       
    color: rgb(74,74,74);                     
    position: absolute;
    top: 10px;
    -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(51,51,51); 
}

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, 0, 0);  
}

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 .form-captcha label {
    display: none;
}

form #coreCaptchaCode {
    width: 80%;
    vertical-align: top;
}

form #coreCaptchaImage {
    margin: 0px 0 0 0px;
    vertical-align: baseline;
    height: 38px;
    width: 20%;
}


form #captcha {
    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: 20px;
}
.contactFormGroup div.radio, 
.contactFormGroup div.checkbox {
    border-bottom: 1px solid rgb(74,74,74);
    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(74,74,74);
    padding: 8px 0px;
    width: 100%;      
    font-weight: 300;   
    margin-bottom: 2px;  
}  

select { 
    padding: 10px 0px;
}  

input.error,
textarea.error,
select.error {         
    border: 0px solid #F1F1F1 !important;                
    border-bottom: 3px solid rgba(141, 76, 98, 1) !important; 
} 



textarea{ 
    height: 100px; 
    margin-bottom: 0px; 
}  

::-webkit-input-placeholder { /* WebKit browsers */
   opacity:  0;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   opacity:  0;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   opacity:  0;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   opacity:  0;
}

input:focus,
textarea:focus,
select:focus,
input.active,
textarea.active,
select.active { 
    border-bottom: 3px solid rgb(0, 0, 0);   
    margin-bottom: 0;
    outline:none;
}   

input[type="submit"] { 
    padding: 10px 20px;                   
    font-family:"Frutiger LT W04_65 Bold";       
    color: rgb(51,51,51);
    border: 0px;
    margin: 0px 10px 10px 0;
    width: 100%;          
    text-transform: uppercase;   
    background-color: #ffffff !important;  
    border: 1px solid rgb(51,51,51) !important;
    box-shadow: none !important;
}

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 {                              
    border: 1px solid rgb(51,51,51, 0.8);                                   
    color: rgb(51,51,51, 0.8);  
}

@media only screen and (min-width: 768px) {
    form p,
    form > fieldset > div.row,
    form > fieldset > div.newsletter {
        width: 50%;
        float: left
    }

    form > fieldset.clx-newsletter-form-fieldset > div.row {
        width: 100%;
        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,
     .clx-buttons {
        text-align: right;
        width: 50%;
        float: right;

     }



    form > fieldset > div.row.form-captcha {
        width: 50%;
    }

    input[type="submit"], 
    input[type="button"], 
    input[type="reset"] { 
        margin: 20px 10px;
        min-width: 250px;
        width: auto;
    }

    form #coreCaptchaCode {
        width: 40%;
        vertical-align: top;
    }

    form #coreCaptchaImage {
        height: 41px;
        width: 10%;
    }
    
    input[type="submit"] { 
        font-size: 1em;
    }
}

@media only screen and (min-width: 1024px) {
    form #coreCaptchaImage {
        height: 44px;
    }
}