/* fieldset forms */
.fieldset-form {
    margin: 0;
    padding: 3px 0;
    border: solid #dadada 1px;
    line-height: 1.0;
}

.fieldset-form legend {
    float: unset;
    width: unset;
    font-family: 'Avenir';
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    color: #242424;
    margin: 0 0 0 8px;
    padding: 0 5px;
    line-height: 1.0;
}

.fieldset-form input[type="text"],
.fieldset-form input[type="text"]:focus,
.fieldset-form input[type="email"],
.fieldset-form input[type="email"]:focus,
.fieldset-form input[type="password"],
.fieldset-form input[type="password"]:focus,
.fieldset-form textarea,
.fieldset-form textarea:focus {
    border: none !important;
    font-family: 'Avenir';
    font-weight: 500;
    font-size: 15px;
}

.fieldset-form .customSelect .dk-selected {
    border: none !important;
    font-family: 'Avenir';
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

.fieldset-form .customSelect .dk-select-options {
    font-family: 'Avenir';
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

.fieldset-form .customSelect .dk-option-selected {
    font-family: 'Avenir';
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

/* inputs */
input[type="submit"] {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    padding: 7px 25px;
    font-weight: 500;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #d7d7d7;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 1px solid #ccc;
}

input[type='text']::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #a4a4a4;
    opacity: 1; /* Firefox */
}

input[type='text']:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #a4a4a4;
}

input[type='text']::-ms-input-placeholder { /* Microsoft Edge */
    color: #a4a4a4;
}

textarea.full-width {
    width: 100%;
    height: 80px;
    padding: 5px;
    font-family: 'Avenir Book';
    font-weight: 400;
    font-style: normal;
}

/* custom checkbox */
.custom-checkbox {
    display: block;
    position: relative;
    font-family: 'Avenir';
    font-weight: 400;
    font-style: normal;
    padding-left: 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.4;
}

.custom-checkbox label {
    cursor: pointer;
}

.custom-checkbox.font11 label {
    font-size: 11px !important;
}

.custom-checkbox.font10 label {
    font-size: 10px !important;
}

/* Hide the browser's default checkbox and radio */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: -22px;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: solid #dadada 1px;
    border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    -webkit-border-radius: 2px 2px 2px 2px;
}

/* On mouse-over, add a grey background color */
.custom-checkbox:hover input ~ .checkmark {
    background-color: #fff;
    border: solid #ccc 1px;
}

/* When the checkbox is checked, add a background */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #fff;
    border: solid #ed1c24 1px;
}

/* When the checkbox is disabled*/
.custom-checkbox.disabled {
    color: #bbb;
    cursor: auto;
}

.custom-checkbox input.disabled ~ .checkmark {
    opacity: 0.5;
}

.custom-checkbox.disabled input ~ .checkmark {
    opacity: 0.5;
}

/* Create the checkmark/indicator (hidden when not checked) */
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ed1c24 1px;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* custom radio buttons */
/* Customize the label (the container) */
.custom-radio {
    display: block;
    position: relative;
    font-family: 'Avenir Book';
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    padding-left: 30px;
    margin: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.4;
}

.custom-radio label {
    cursor: pointer;
}

.custom-radio.font11 label {
    font-size: 11px !important;
}

.custom-radio.font10 label {
    font-size: 10px !important;
}

/* Hide the browser's default radio button */
.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.custom-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: solid #dadada 1px;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.custom-radio:hover input ~ .checkmark {
    background-color: #fff;
    border: solid #ccc 1px;
}

/* When the radio button is checked, add a blue background */
.custom-radio input:checked ~ .checkmark {
    background-color: #fff;
    border: solid #ed1c24 1px;
}

/* When the radio button is disabled */
.custom-radio.disabled {
    color: #bbb;
    cursor: auto;
}

.custom-radio input.disabled ~ .checkmark {
    opacity: 0.5;
}

.custom-radio.disabled input ~ .checkmark {
    opacity: 0.5;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.custom-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.custom-radio input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.custom-radio .checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ed1c24;
}
