.one_half_first {
    width: 45%;
    display: inline-block;
    float: left;
}

.one_half_second {
    width: 45%;
    display: inline-block;
    border: 0;
}

.one_third {
    width: 28%;
    display: inline-block;
}

.one_third_fix {
    width: 302px;
    display: inline-block;
}

.one_fourth {
    width: 21%;
    display: inline-block;
    vertical-align: top;
}


h3 {
    text-transform: uppercase;
}


.acf-fields > .acf-field {
    vertical-align: bottom;
    border-top: 0 !important;
}

.acf-fields>.acf-field.c-selgroup,
.acf-fields>.acf-field.l-selgroup,
.acf-fields>.acf-field.x-selgroup {
    position: absolute;
    left: -999999px;
}

.acf-fields>.acf-field.c-selgroup.active,
.acf-fields>.acf-field.l-selgroup.active,
.acf-fields>.acf-field.x-selgroup.active {
    position: relative;
    left: 0;
}

.acf-field input[readonly='readonly'] {
    opacity: 0.5;
}

.acf-checkbox-list label.no-unchecking {
    background-color: #eee;
}

.af-field-general-information .one_third {
    width: auto !important;
    display: block !important;
}

#form_two .af-field-general-information .acf-field-form-fields-two-general-information-gender,
#form_two .af-field-general-information .acf-field-form-fields-two-general-information-gender .selectric-items {
    opacity: 0.5;
}

#form_two .af-field-general-information .acf-field-form-fields-two-general-information-gender .selectric-wrapper {
    pointer-events: none;
}

/*
    cyan: #83c7c6;
    cyan 20 % darker #509493

    blue #1690ce

    orange: #f07932
    oranger 20% darker #BD4600
*/

.acf-input > .acf-notice.-error {
    position: absolute;
    top: 30px;
    z-index: 1;
    background: #dc96a4 !important;
}

.acf-error .acf-input-wrap {
    border-left: 3px solid #bd4600;
}

.af-form > .acf-notice.acf-error-message {
    background-color: #f07932;
    border-color: #bd4600;
}

.acf-field .acf-input > .acf-notice.-error {
    background-color: rgba( 240, 121, 50, 0.7 );
    border-color: #bd4600;
    color: black;
}

.af-page-button.current {
    color: #1690ce
}

.af-previous-button[disabled='disabled'] {
    opacity: 0.5;
}


.group-wrapper {
    margin-bottom: 36px;
}

.group-wrapper div {
    margin-bottom: 12px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 6px 0;
}

.group-wrapper strong {
}

span.na {
    opacity: 0.5;
}

/* .answer-table th {
    width: 200px;
}

.answer-table caption {
    color: #3c6871;
    font-size: 1.2rem;
    line-height: 1.5;
    font-family: 'HelveticaNeueW01-77BdCn_692722';
    font-weight: 400;
    text-align: left;
}
 */
.dataTables_wrapper {
    margin: 2rem 0;
}

td.patient-id {
    font-weight: bold;
}

.tq.entries-table a {
    color: #3c6871;
    font-weight: 400;
}

.tq.entries-table a:hover {
    color: black;
}

.tq.entries-table .separator {
    margin: 0 10px;
}

table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
    background-color: #f9fced;
}

table.dataTable tbody th,
table.dataTable tbody td,
table.dataTable thead th, table.dataTable thead td,
table.dataTable.no-footer {
    border-color: #BBCF01;
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom-width: 2px;
    background-color: #eff3c5;
}

table.dataTable thead th:hover,
table.dataTable thead td:hover {
    background-color: #f9fced;
}

.dataTables_length,
.dataTables_filter {
    margin-bottom: 0.5rem;
}

.dataTables_paginate {
    padding-top: 0;
    margin-top: 0.5rem;
}

a.tq {
    color: #ffffff;
    border-color: #99b700;
    background-color: #99b700;
    border-radius: 0;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
}

a.tq:hover,
.af-submit button:hover {
    color: #ffffff;
    background-color: #99b700;
    border-color: #99b700;
    background-color: #97AD24;
    background-image: -webkit-linear-gradient(top,#b9cf02,#97AD24) !important;
    background-image: -moz-linear-gradient(top,#b9cf02,#97AD24) !important;
    background-image: -ms-linear-gradient(top,#b9cf02,#97AD24) !important;
    background-image: -o-linear-gradient(top,#b9cf02,#97AD24) !important;
    background-image: linear-gradient(to bottom,#b9cf02,#97AD24);
    filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#b9cf02,endColorstr=#97AD24) !important;
    box-shadow: none;
    -o-box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}


/* https://www.cssscript.com/elegant-alerts-notices-css/ */
.alert {
    width: 100%;
    padding: 15px;
    margin: 2rem 0;
    position: relative;
    border-left: 8px solid #bababa;
    background: #ededed;
    color: #a1a1a1;
    border-radius: 4px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: left;
    font-size: 16px
}

.alert .alert--icon {
    width: 20px;
    height: 20px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

.alert .alert--icon_absolute {
    position: absolute;
    top: 10px;
    right: 10px;
    -ms-flex-align: start;
    align-items: flex-start;
    height: auto
}

.alert .alert--icon {
    margin-right: 10px
}

.alert .alert--content {
    width: 100%;
    line-height: 1.5
}

.alert_success {
    border-color: #509493;
    background: #83c7c6;
    color: black;
}

.alert_danger {
    border-color: #ff4757;
    background: #ffe0e3;
    color: #ff4757
}

.alert_warning {
    border-color: #ffa502;
    background: #ffdb9b;
    color: #ce8500
}

.alert_warning .hr {
    background: #ce8500
}

.alert_info {
    border-color: #71c9ff;
    background: #d7f0ff;
    color: #3eb6ff
}

.alert_info .hr {
    background: #3eb6ff
}


/*======================================
  Selectric v1.13.0
======================================*/

.selectric-wrapper {
    position: relative;
    cursor: pointer;
}

.selectric-responsive {
    width: 100%;
}

.selectric {
    border: 1px solid #DDD;
    border-radius: 2px;
    background: #F8F8F8;
    position: relative;
    overflow: hidden;
}

.selectric .label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 27px 0 10px;
    /* font-size: 12px; */
    line-height: 27px;
    color: #666;
    height: 27px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric .selectric-button {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 27px;
    height: 27px;
    line-height: 22px;
    background-color: #F8f8f8;
    color: #BBB;
    text-align: center;
    /* font: 0/0 a;
    *font: 20px/27px Lucida Sans Unicode, Arial Unicode MS, Arial; */
}

.selectric .selectric-button:after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: #BBB;
    border-bottom: none;
}

.selectric-focus .selectric {
    border-color: #aaaaaa;
}

.selectric-hover .selectric {
    border-color: #c4c4c4;
}

.selectric-hover .selectric .selectric-button {
    color: #a2a2a2;
}

.selectric-hover .selectric .selectric-button:after {
    border-top-color: #a2a2a2;
}

.selectric-open {
    z-index: 9999;
}

.selectric-open .selectric {
border-color: #c4c4c4;
}

.selectric-open .selectric-items {
    display: block;
}

.selectric-disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-hide-select {
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
}

.selectric-hide-select select {
    position: absolute;
    left: -100%;
}

.selectric-hide-select.selectric-is-native {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.selectric-hide-select.selectric-is-native select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border: none;
    z-index: 1;
    box-sizing: border-box;
    opacity: 0;
}

.selectric-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 1px !important;
    height: 1px !important;
    outline: none !important;
    border: none !important;
    *font: 0/0 a !important;
    background: none !important;
}

.selectric-temp-show {
    position: absolute !important;
    visibility: hidden !important;
    display: block !important;
}

/* Items box */
.selectric-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #F8F8F8;
    border: 1px solid #c4c4c4;
    z-index: -1;
    box-shadow: 0 0 10px -6px;
}

.selectric-items .selectric-scroll {
    height: 100%;
    overflow: auto;
}

.selectric-above .selectric-items {
    top: auto;
    bottom: 100%;
}

.selectric-items ul, .selectric-items li {
    list-style: none;
    padding: 0;
    margin: 0;
    /* font-size: 12px; */
    line-height: 20px;
    min-height: 20px;
}

.selectric-items li {
    display: block;
    padding: 10px;
    color: #222;
    cursor: pointer;
}

.selectric-items li.selected {
    background: #E0E0E0;
    color: #000;
}

.selectric-items li.highlighted {
    background: #D0D0D0;
    color: #000;
}

.selectric-items li:hover {
    background: #D5D5D5;
    color: #000;
}

.selectric-items .disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default !important;
    background: none !important;
    color: #222 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
    font-weight: bold;
    padding-left: 10px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: none;
    color: #000;
}

.selectric-items .selectric-group.disabled li {
    filter: alpha(opacity=100);
    opacity: 1;
}

.selectric-items .selectric-group li {
    padding-left: 25px;
}

.pain-select li[data-index='0'] {
    background-color: #65b165;
}

.pain-select li[data-index='1'],
.pain-select li[data-index='2'],
.pain-select li[data-index='3'] {
    background-color: #c7c77d;
}

.pain-select li[data-index='4'],
.pain-select li[data-index='5'],
.pain-select li[data-index='6'] {
    background-color: #c8933e;
}

.pain-select li[data-index='7'],
.pain-select li[data-index='8'],
.pain-select li[data-index='9'] {
    background-color: #c85a54;
}

.pain-select li.highlighted {
    border: 1px solid #444;
}

.pain-select li:hover {
    background-color: #ddd;
}

.pain-select li.selected {
    font-weight: bold;
}

.pain-select li {
    padding: 4px 10px;
}
