#postbox {
    margin-bottom: 30px;
}

#apply-referral {
    margin: 30px 0 30px 0;
}

.job-add-annual-form,
.back,
.fwp-form {
    max-width: 800px;
    margin: auto;
}

input[type=checkbox] {
    margin-left: 15px;
}

.label {
    margin-left: 4px;
}

.back a.btn {
    font-family: "Montserrat", Sans-serif;
    display: inline-block;
    background-color: #e8e4db;
    padding: 4px 8px;
    margin: 30px 0;
    color: #13385e;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: 600;
}

.back a.btn:hover {
    background-color: #13385e;
    color: white;
}

.field-description {
    color: #808080;
}

.fwp-admin-field {
    background-color: #e3e3e3;
    padding: 4px;
}

/* new post form */
#new_post {
    margin-top: 30px;
}

/* Promo code form */
#check-promo .code {
    display: inline-block;
    width: 40%;
}

#check-promo .code.valid {
    background-color: rgb(181, 223, 181);
}

#check-promo .code.not-valid {
    background-color: rgb(227, 171, 149);
}

#check-promo input[type="submit"] {
    display: inline-block;
    width: auto;
    padding: 8px 16px 8px 16px;
}

/* products */
.product h2 {
    margin-left: 20px;
}

.product h3 .interval {
    font-size: 1.0rem;
}

.product h3 {
    margin-left: 20px;
}

.product h4 {
    font-size: 1.2rem;
    margin: 0;
}

.product .pre {
    display: inline-block;
    width: 20px;
}

.product .label {
    font-weight: 400;
    margin-left: 15px;
}

.product .rule {
    display: inline-block;
    border-top: 1px solid #e3e3e3;
    min-width: 250px;
}

.error {
    color: red;
}

/* add card */
#add_card input {
    margin-bottom: 5px;
    margin-right: 5px;
}

#add_card #number {
    width: 50%;
}

#add_card #exp_month {
    width: 10%;
}

#add_card #cvc {
    width: 10%;
}

#add_card #exp_year {
    width: 10%;
}

#add_card input[type="submit"] #submit-card {
    padding: 5px;
}

/* card on file */
.card-on-file #add_card input {
    margin-bottom: 5px;
    margin-right: 5px;
}

.card-on-file #add_card #number {
    width: 100%;
}

.card-on-file #add_card #exp_month,
.card-on-file #add_card #exp_year,
.card-on-file #add_card #cvc {
    width: 24%;
}

.card-on-file #add_card input[type="submit"] #submit-card {
    padding: 5px;
    width: 24%;
}

/* Edit listing */
#job-edit {
    margin-bottom: 30px;
}

.form-actions h5 {
    font-size: 1.1rem;
}

.job-edit-form,
.back {
    max-width: 100%;
}

.label {
    margin-left: 4px;
}

.back a.btn {
    font-family: "Montserrat", Sans-serif;
    display: inline-block;
    background-color: #e8e4db;
    padding: 4px 8px;
    margin: 30px 0;
    color: #13385e;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: 600;
}

.back a.btn:hover {
    background-color: #13385e;
    color: white;
}

.field-description {
    color: #808080;
}

#job-close input[type="submit"] {
    background-color: red;
}

form.fwp-form input {
    margin: 4px 0 4px 0;
}

form.fwp-form input[name="city"],
form.fwp-form input[name="new_city"] {
    width: 50%;
}

form.fwp-form input[name="state"],
form.fwp-form select[name="state"],
form.fwp-form select#state,
form.fwp-form input[name="new_state"] {
    width: 24% !important;
}


form.fwp-form input[name="zip"],
form.fwp-form input[name="new_zip"] {
    width: 24%;
}

/* Listing change */
#listing-change input[type="submit"] {
    width: 100%;
}

/* Form register */
#fwp-register input,
#fwp-register select {
    margin: 4px 0;
}

.fwp-flex.col-2 {
    border: 8px solid #96B8C2;
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto 30px auto;
}

.fwp-flex div {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 50%;
    width: 100%;
    padding: 2rem;
}

.fwp-flex .right {
    background-image: url('/wp-content/uploads/hero.jpg');
    background-position: center center;
    background-size: cover;
}

.right .login {
    background-color: rgb(255, 255, 255, 0.9);
    padding: 30px;
    margin: auto;
}

.error {
    display: block;
    color: red;
    background-color: #e3e3e3;
    padding: 8px;
    font-weight: 600;
    margin: 8px 0;
}

/* Tiny MCE editor */
.wp-switch-editor {
    background-color: white !important;
    padding: 5px !important;
    color: #abaaaa !important;
}

.wp-switch-editor:hover {
    background-color: #808080 !important;
    color: #e3e3e3 !important;
}

.mce-container button {
    background-color: #e3e3e3 !important;
}

.wp-editor-container input[type="button"] {
    background-color: #808080 !important;
    border-color: transparent !important;
}

.wp-editor-container input[type="button"]:hover {
    background-color: #3d3c3c !important;
    color: #e3e3e3 !important;
}

.mce-container button:hover {
    background-color: #e3e3e3 !important;
    color: black !important;
}

.wp-editor-wrap.html-active button.switch-html,
.wp-editor-wrap.tmce-active button.switch-tmce {
    background-color: #f5f5f5 !important;
    color: black !important;
}

h2.apply-job {
    font-family: "Montserrat", Sans-serif;
    font-size: 24px;
    color: #12385F;
}

.applicant-details {
    padding: 15px;
    background-color: #f4f2ed;
    font-size: 18px;
}

.applicant-details p {
    margin: 0;
}

.applicant-details p .label {
    display: inline-block;
    margin: 0 15px 0 0;
    min-width: 75px;
}

.applicant-registration-form {
    max-width: 800px;
    margin: auto;
}

form.fwp-form {
    max-width: 800px;
    margin: auto;
}

.required:after {
    display: inline-block;
    position: absolute;
    width: 8px;
    content: '*';
    color: red;
    z-index: 2;
}

.form-error {
    color: red;
}

.fwp-form .half {
    display: inline-block;
    width: calc(50% - 4px);
}

.fwp-form label {
    font-size: 1.2rem;
    font-weight: 600;
}

.fwp-form input[type="checkbox"] {
    margin: 0 15px 0 0;
}

.fwp-form input[name="license_type"] {
    width: 15px;
    height: 15px;
    border: 1px solid blue;
    padding: 4px;
}

input[name="resume"],
input[name="cover"] {
    display: inline-block;
    margin: 8px 0 8px 0;
}

.fwp-form input[type="file"] {
    background-color: #e3e3e3;
    padding: 4px;
}

.fwp-form h3 {
    font-size: 1.1rem !important;
    margin: 10px 0 2px 0 !important;
}

.fwp-form .sep {
    display: block;
    width: 100%;
    margin: 1rem 0 1rem 0;
    border-bottom: 1px solid #e3e3e3;
}

/* checkboxes */
.fwp-form .checkboxes {
    margin: 0.5rem 0;
}

.fwp-form input[type="checkbox"] {
    display: none;
}

.fwp-form .checkboxes label {
    padding: 0.2rem 0 0 0;
    margin: 0 0.8rem 0 0;
}

.fwp-form input[type="checkbox"]+*::before {
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.2rem;
    margin: -0.2rem 0.3rem 0.5rem 0;
    border-radius: 10%;
    border-style: solid;
    border-width: 0.1rem;
    border-color: gray;
    flex-shrink: 0;
}

.fwp-form input[type="checkbox"]:checked+* {
    color: #12385F;
}

.fwp-form input[type="checkbox"]:checked+*::before {
    content: "✓";
    color: white;
    text-align: center;
    background: #12385F;
    border-color: #12385F;
}

select#state {
    display: inline-block;
    width: 24% !important;
}