body {
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 18px;
    color: #192845;
    overflow-x: hidden;
}

@media (max-width: 1200px) {
    body {
        font-size: 16px;
    }
}

.wrapper {
    padding: 30px 0;
}

@media (min-width: 1400px) {

    .container {
        max-width: 98%;
    }
}

.clr {
    clear: both;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-image: url(../img/close.svg);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    cursor: pointer;
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

ol,
ul {
    margin: 0;
    padding: 0 0 20px 20px;
}

li {
    padding-left: 10px;
}

a,
a:hover,
a:visited {
    display: inline-block;
    padding: 0 5px;
    color: #f3c022;
    background: #192845;
    text-decoration: none;
}

header a,
header a:hover,
header a:visited {
    display: block !important;
    padding: 0 !important;
    background: none !important;
}

button.sdp,
.button.sdp,
a.button.sdp {
    position: relative;
    display: block;
    margin: 15px auto;
    padding: 5px 15px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: lowercase !important;
    color: #192845 !important;
    text-decoration: none !important;
    background: #f3c022;
    border: none !important;
    border-radius: 6px !important;
}

.editable_field_holder {
    padding-top: 15px;
    border-top: 2px dotted #f3c022;
    border-bottom: 2px dotted #f3c022;
    cursor: pointer;
    transition: transform 0.5s;
}

.editable_field_holder:hover {
    background: #fefbf2;
    transform: scale(1.02);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 3rem;
    font-weight: 700;
}

@media (min-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

h2 {
    margin-bottom: 1rem;
}

b,
strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

pre {
    margin: 0;
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #b9c8e5;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #697895;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f3c022;
}


/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */


img.logo {
    display: block;
    margin: 10px auto 0 auto;
    max-width: 110px;
}


/* ////////////////////////////////////////////////////////////////// */
/* /////////////////////////// HOME ///////////////////////////////// */


.audit_overview_item h6 {
    font-weight: 400;
}

.audit_overview_item a.button.sdp {
    display: block !important;
    margin: 0 auto !important;
}


/* ////////////////////////////////////////////////////////////////// */
/* //////////////////// SINGLE AUDIT BUTTONS //////////////////////// */


#single-audit {
    margin-bottom: 60px;
    background: #fafafa;
}

#audit_parts_buttons {
    position: fixed;
    padding-right: 10px;
    overflow-y: scroll;
    opacity: 0;
}

#audit_parts_buttons a.button.sdp {
    margin: 2px 0 !important;
    padding: 4px 6px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 16px;
    text-transform: none !important;
    color: #192845 !important;
    background: #cbdbfb;
    opacity: 0.65;
    transition: background 0.5s;
}

#audit_parts_buttons a.button.sdp:hover,
#audit_parts_buttons a.button.sdp.active {
    color: #192845 !important;
    background: #f3c022;
    opacity: 1;
}

#audit_parts_buttons .menu_divider {
    margin-top: 20px;
    width: 100%;
    height: 1px;
    background: #192845;
}

#audit_parts_buttons h5 {
    margin: 0 0 8px 0;
    padding: 15px 6px 0 6px;
    font-size: 15px;
}


/* ////////////////////////////////////////////////////////////////// */
/* ///////////////////// SINGLE AUDIT RIGHT ///////////////////////// */


#single-audit-right {
    padding: 20px 0;
}

#acf-form > .acf-fields > .acf-field > .acf-label > label {
    font-weight: 700;
}

.acf-relationship ul {
    min-height: 420px;
}

.acf-field-repeater[data-name=duration] {
    font-size: 16px;
    overflow-x: scroll;
}

#acf-form .acf-fields.-left > .acf-field-repeater > .acf-label {
    display: none;
}

#acf-form .acf-fields.-left > .acf-field-repeater > .acf-input {
    width: 100%;
}

.acf-fields > .acf-field {
    padding: 0 !important;
}

.acf-fields > .acf-field.fat {
    padding: 30px 0 !important;
}

/*.acf-field-repeater .acf-table .acf-row .acf-fields .acf-field {
    display: none;
}
.acf-field-repeater .acf-table .acf-row .acf-fields .acf-field[data-name=reference_id] {
    display: block;
}*/
.acf-field-repeater .acf-table .acf-row .acf-fields .acf-field[data-name=reference_id] label {
    cursor: pointer;
}

ul.acf-radio-list.acf-hl li {
    padding-bottom: 30px;
    max-width: calc(50% - 30px);
}

div[data-name=topics_in_scope] ul.acf-radio-list.acf-hl li {
    padding-bottom: 0px;
}

ul.acf-checkbox-list.acf-hl li {
    padding-bottom: 30px;
    max-width: calc(33% - 30px);
}

.acf-field[data-name=nonconformities_past_repeater] .read_only .wp-editor-container .mce-tinymce {
    height: 0px;
    overflow: hidden;
}

.acf-field[data-name=nonconformities_past_repeater] .read_only .wp-editor-container .textarea_div {
    display: block !important;
    padding: 10px;
    height: 300px;
    font-family: "Montserrat", serif;
    font-size: 14px;
    color: #192845;
    resize: vertical;
    overflow-y: scroll;
    background: #f6faff;
}

input:disabled {
    font-size: 14px !important;
    color: #192845;
    background: #f6faff;
    border: none;
}

.acf-field[data-name=nonconformities_past_repeater] a.acf-repeater-add-row {
    display: none;
}

.acf-field-repeater .acf-field-wysiwyg {
    margin-bottom: 2px;
}

span.acf-row-number {
    padding: 0;
    font-size: 0px;
    opacity: 0;
}

.acf-fields > .acf-field-post-object,
.acf-fields > .acf-field-repeater {
    margin: 15px 5px;
    padding: 5px 0 !important;
}

.acf-repeater .acf-label,
.acf-repeater .acf-input {
    padding-top: 5px !important;
}

.acf-repeater > table {
    margin: 0 0 8px;
    background: #eef4ff;
}

.acf-repeater .acf-table > tbody > tr {
    border-top: 30px solid #f4f4f4;
    border-bottom: 30px solid #f4f4f4;
}

.padded_fields_wrapper #acf-form > .acf-fields > .acf-field {
    margin-bottom: 10px;
    padding: 20px 0 !important;
    border: none;
}

#acf-form > .acf-fields > .acf-field > .acf-label {
    margin: 0;
}

#acf-form > .acf-fields > .acf-field > .acf-label > label {
    display: inline-block;
    margin: 0;
    padding: 10px 20px 6px 20px;
    background: #ddd;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.padded_fields_wrapper .acf-repeater .acf-table > tbody > tr {
    border-top: 3px solid #999;
    border-bottom: 3px solid #999;
}

.acf-field-wysiwyg .acf-label,
.acf-field-wysiwyg .acf-input {
    display: inline-block;
    margin: 0;
    padding: 0 12px;
}

.acf-field-wysiwyg .acf-label {
    margin-right: 20px;
    width: 15%;
}

.acf-field-wysiwyg .acf-input {
    width: 80%;
}

.padded_fields_wrapper .acf-field-text .acf-label, 
.padded_fields_wrapper .acf-field-text .acf-input {
    padding: 0 12px;
}

.padded_fields_wrapper .acf-field-wysiwyg .acf-label,
.padded_fields_wrapper .acf-field-wysiwyg .acf-input {
    width: 100%;
}

.padded_fields_wrapper .acf-field-text .acf-label, 
.padded_fields_wrapper .acf-field-text .acf-input,
.padded_fields_wrapper .acf-field-radio .acf-label,
.padded_fields_wrapper .acf-field-radio .acf-input,
.padded_fields_wrapper .acf-field-post-object .acf-label, 
.padded_fields_wrapper .acf-field-post-object .acf-input  {
    padding: 0 12px;
}

.padded_fields_wrapper .acf-field-radio .acf-label label {
    padding: 10px 0px 6px 0px !important;
    background: none !important;
}

.acf-field-repeater .acf-field-radio .acf-input {
    margin-top: 6px !important;
}

.acf-field-678650150a6e8 .acf-label {
    margin-top: 8px !important;
}

#single-audit p.description {
    position: fixed;
    display: block;
    top: 20px;
    right: -175px;
    padding: 20px;
    height: 30px;
    font-size: 12px;
    color: #f3c022;
    background: #192845;
    -webkit-box-shadow: -2px 2px 20px 2px rgba(180, 90, 180, 0.1);
    -moz-box-shadow: -2px 2px 20px 2px rgba(180, 90, 180, 0.1);
    box-shadow: -2px 2px 20px 2px rgba(180, 90, 180, 0.1);
    border-radius: 6px;
    overflow-y: hidden;
    z-index: 9002;
    transition: right 0.5s;
}

#single-audit p.description:hover {
    right: 0px;
    height: auto;
}

button.switch-tmce,
button.switch-html {
    display: none;
}

.notice {
    text-align: center;
    color: #192845;
    background: #f3c022;
}

#message.updated {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 0 2px 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #f3c022;
    background: #192845;
    z-index: 9001;
}


/* ////////////////////////////////////////////////////////////////// */
/* //////////////////// SINGLE AUDIT FOOTER ///////////////////////// */


.footer_close_wrapper {
    position: fixed;
    left: 1%;
    bottom: 20px;
    z-index: 1001;
}

.footer_close_wrapper a.button.sdp {
    margin: 0 !important;
}

.acf-form-submit {
    position: fixed;
    bottom: 95px;
    left: 1%;
    text-align: center;
    opacity: 0;
}

.footer_link_wrapper {
    position: fixed;
    left: 1%;
    bottom: 65px;
    z-index: 1001;
}

.footer_link_wrapper a.button.sdp,
.footer_link_wrapper button.sdp {
    margin: 0 !important;
}


/* ////////////////////////////////////////////////////////////////// */
/* /////////////////////// SINGLE REPORT //////////////////////////// */


#single-report {
    margin-bottom: 90px;
}

#single-report #reportHtml {
    margin-bottom: 180px;
    padding: 1px 50px 50px 50px;
    border-radius: 10px;
    background: #fff;
}

#single-report #reportHtml .pre_div {
    width: 100%;
    height: 30px;
}

.special_field_form_holder {
    position: fixed;
    top: 0;
    left: 0;
    padding: 60px 0 30px 0;
    width: 100%;
    height: 100%;
    background: #eee;
    z-index: 9003;
    display: none;
}

.special_field_form_holder #acf-form > .acf-fields > .acf-field > .acf-label > label {
    background: #eee;
}

.special_field_form_holder .acf-form-submit {
    position: inherit;
}

.editable_field_holder {
    margin-bottom: 10px;
}

.editable_field_holder > div {
    margin: 0 10px 5px 10px;
    padding: 0 10px 10px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #f3c022;
}

table {
    width: 100%;
}

th,
td {
    padding: 5px 10px;
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
    vertical-align: text-top;
}

th {
    font-weight: 600;
    color: #f3c022;
    background: #192845;
}

tr.even td {
    background: #f0f0f0;
}

tr.odd td {
    background: #fff;
}

span.string_not_valid {
    display: inline-block;
    color: #f5f;
    font-size: 22px;
    font-weight: 600;
}

span.page_break {
    display: block;
    margin: 90px 0px 120px 0px;
    padding: 1px 1px 0px 1px;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
    color: #9cc;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    background: #cff;
    border-radius: 6px;
}
