
form .form-wrapper {
    width: 100%;
}

form legend,
form .description,
form .resizable-textarea .grippie {
    display: none;
}

form fieldset {
    border: none;
    display: inline-block;
    width: 48% !important;
}

form fieldset:nth-of-type(2) {
    float: right;
}

form label {
    font-size: 17px;
    padding-top: 40px;
    padding-bottom: 20px;
}

form input {
    border: 1px solid #c6c6c6;
    color: rgb(154, 0, 39);
}

form select {
    background-color: white;
    color: #707070;
    border: 1px solid #c6c6c6;

}

form input,
form select {
    padding: 15px;
    font-size: 16px;
    height: 50px;
    width: 100%;
}

form select,
form input[type='submit'] {
    cursor: pointer !important;
}

form .field-name-field-phone, 
form .field-name-field-quantity-of-requested-subs {
    float: right;
}

form .field-name-field-phone,
form .field-name-field-quantity-of-requested-subs,
form .field-name-field-state,
form .field-name-field-organization-size {
    width: 46%;
    display: inline-block;
}


form input[type='checkbox'] {
   width: auto;
}

form textarea {
    border: 1px solid #c6c6c6;
    padding: 15px;
    font-size: 16px;
    color: rgb(154, 0, 39);
    height: 200px;
}

form .field-name-field-additional-information {
    margin-bottom: 65px;
}

form input[type='checkbox']+label {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

form .captcha {
    margin-top: 55px;
    margin-bottom: 55px;
}

form input[type='submit'] {
    border: 2px solid rgb(154, 0, 39);
    color: black;
    font-weight: 700;
    font-size: 20px;
    width: auto;
}

.clean_field {
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

/* CHECKBOX */
form .form-type-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

form .form-type-checkbox label {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    padding-top: 3px;
}

form .form-type-checkbox label::before,
form .form-type-checkbox label::after {
    position: absolute;
    content: "";
    
    /*Needed for the line-height to take effect*/
    display: inline-block;
}

/*Outer box of the fake checkbox*/
form .form-type-checkbox label::before{
    height: 23px;
    width: 23px;
    
    border: 2px solid #c6c6c6;
    left: 0px;
    top: 0px;
}

/*Checkmark of the fake checkbox*/
form .form-type-checkbox label::after {
    height: 17px;
    width: 17px;
    background-color: rgb(154, 0, 39);
    left: 5px;
    top: 5px;
}

/*Hide the checkmark by default*/
form .form-type-checkbox input[type="checkbox"] + label::after {
    content: none;
}

/*Unhide on the checked state*/
form .form-type-checkbox input[type="checkbox"]:checked + label::after {
    content: "";
}

form .form-type-radio label {
    display: inline !important;
}

form input[type="radio"] {
    height: initial;
    padding: initial;
    width: initial;
    vertical-align: top;
}

form .form-type-radio  {
    margin-bottom: 10px !important;
}

.form-select[multiple] {
    height: 100px;
    background: none !important;
}

form .form-submit {
    color: white !important;
    margin: 20px 0;
    background-color: rgb(154, 0, 39);
}

form {
  padding: 10px;
}

@media (max-width: 700px) {
    form .form-type-checkbox label::before {
        top: 3px;
    }

    form .form-type-checkbox label::after {
        top: 8px;
    }
}

/* END CHECKBOX */

/* SELECT */
form .form-type-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(/sites/all/themes/memrimodern/img/arrow-select.png) 96% / 10px no-repeat #ffffff;
}


/* CAUTION: IE hackery ahead */

form .form-type-select select::-ms-expand { 
    display: none; /* remove default arrow in IE 10 and 11 */
}

/* target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
    form .form-type-select select {
        background:none\9;
        padding: 5px\9;
    }
}
/* END SELECT */

/* standart sizes */
@media (max-width: 1024px) {

}


@media (max-width: 600px) {

    form fieldset {
        display: block !important;
        width: 100% !important;
    }

    form fieldset:nth-of-type(2) {
        clear: both !important;
        float: none !important;
    }

    form label {
        font-size: 16px;
    }
}