.cform select {width:auto;}
.cform_desc {font-size: 10px;}
.cform_desc p {margin: 0 0 9px;}
.cform .textarea-autosize(@direction: both) {
    // Options: horizontal, vertical, both
    resize: @direction;
    // Safari fix
    overflow: auto;
}
.cform select {min-width: 200px;}
.checkout_feilds_wrapper {margin-bottom: 10px;}
.cform_desc {font-size: 80%}

.cform_wrapper  {
	padding: 10px 5px;
	background-color: #f6f6f6;
    border: 3px solid #e9e9e9;
}
.cform_wrapper input[type=email],
.cform_wrapper input[type=search],
.cform_wrapper input[type=number],
.cform_wrapper input[type=password],
.cform_wrapper input[type=tel],
.cform_wrapper input[type=text] {
    width: 365px;
    max-width: 100%;
}

.cform_wrapper select,
.cform_wrapper textarea {
    margin-top: 4px;
    width: 365px;
    max-width: 100%;
}

.bestkit_customform_fieldset {
	background-color: #f6f6f6;
    border: 3px solid #e9e9e9;
	padding: 15px;
    margin: 5px;
}
.bestkit_customform_fieldset legend{
	width: auto;
	margin-bottom: 5px;
	padding: 0px 5px 0px 5px;
    border: none;
	font-size: 120%;
}

#cf-header {
    position: relative;
    padding-bottom: 10px !important;
}

#cf-header::before {
    content: '';
    position: absolute;
    left: -50vw;
    top: 0;
    width: 200vw;
    height: 100%;
    background: #1F3461;
    z-index: -1;
}

#content-wrapper .cform_wrapper {
    padding: 4rem;
    border-radius: .3125rem;
    border: none;
    background: #F5F9FC;
}

.cform_wrapper h1.page-heading.product-listing {
    margin-bottom: 2rem;
    color: rgb(64 78 85);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.75rem;
    width: 100%;
    flex: 0 0 100%;
}

.cform_wrapper form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
}

.cform_wrapper span.form_desc {
    display: none;
}

.cform_wrapper .field.cform {
    width: calc(50% - 10px);
    margin-bottom: 0;
}

.cform_wrapper .submit {
    width: 100%;
    flex: 0 0 100%;
}

.cform_wrapper .displayGDPRConsent {
    display: none;
}

.cform_wrapper div.cform input, .cform_wrapper div.cform textarea {
    background: #fff !important;
    margin: 0;
    width: 100%;
    min-height: 60px;
    padding: 30px 10px 10px 10px;
}

.cform_wrapper .text.cform {
    width: 100%;
    flex: 0 0 100%;
}

.cform_wrapper .field.cform:nth-child(8) {
    width: 100%;
    pointer-events: none;
}

.cform_wrapper .field.cform:nth-child(8) input {
    display: none;
}

.cform_wrapper .field.cform:nth-child(8) label {
    margin-bottom: 2rem;
    color: rgb(64 78 85);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-top: calc(2rem - 20px);
}

.cform_wrapper .field.cform, .cform_wrapper .text.cform {
    position: relative;
}

.cform_wrapper .field.cform label, .cform_wrapper .text.cform label {
    position: absolute;
    left: 10px;
    top: 10px;
    pointer-events: none;
    color: rgb(124 135 147) !important;
    text-transform: uppercase;
    font-size: .625rem !important;
    font-weight: 800;
}

.cform_wrapper .field.cform:nth-child(8) label {
    margin-bottom: 2rem;
    color: rgb(64 78 85) !important;
    font-weight: 800;
    font-size: 1.25rem !important;
    line-height: 1.75rem;
    margin-top: calc(2rem - 20px);
    position: unset;
    text-transform: unset;
}

.cform_wrapper div.cform textarea {
    min-height: 140px;
}

.cform_wrapper #submitForm {
    background-color: #203461;
    border-color: #203461;
    color: #fff;
    margin-top: calc(2rem - 20px);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .75rem;
    line-height: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 800;
    padding: .625rem 2.5rem;
    min-height: 50px;
    min-width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cform_wrapper div.cform input {
    line-height: 60px !important;
}

@media (max-width: 991px) {

body #content-wrapper .cform_wrapper {
    padding: 2rem;
}

body .cform_wrapper h1.page-heading.product-listing {
    margin-bottom: 1rem;
}

body .cform_wrapper .field.cform {
    width: 100%;
}

body .cform_wrapper .field.cform:nth-child(8) label {
    margin-bottom: 1rem;
    margin-top: 0;
}

body .cform_wrapper #submitForm {
    min-width: 100%;
}

}