.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
}

body, h1, h2, h3 {
    font-family: 'Work Sans', sans-serif !important;
}

.widget-header h2 {
    font-size: 2rem;
}

.widget-header h3 {
    font-size: 1.7rem;
}

p, label, input, select, td {
    font-size: 1.3rem!important;
}

.btn {
    font-size: 1.1rem!important;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-color-hover);
}

a:focus, a:active {
    color: var(--primary-color-hover);
}

.a-primary {
    color: var(--primary-color);
    text-decoration: none;
}

.a-primary:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.a-info {
    color: #5bc0de;
    text-decoration: none;
}

.a-info:hover {
    color: #5bc0de;
    text-decoration: underline;
}

.a-danger {
    color: #fe195e;
    text-decoration: none;
}

.a-danger:hover {
    color: #fe195e;
    text-decoration: underline;
}

.a-positive {
    color: green;
    text-decoration: none;
}

.a-positive:hover {
    color: green;
    text-decoration: underline;
}

.compact-sidebar {
    background: var(--primary-color);
    color: #fff;
}

.compact-sidebar a, .compact-sidebar .heading {
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    border-color: var(--primary-color-hover);
    background: var(--primary-color-hover);
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color) !important;
}

.required {
    color: red;
}

.radio-as-buttons {
    list-style-type: none;
    margin: 10px 0 0 0;
    padding: 0;
}

.radio-as-buttons li {
    float: left;
    margin: 0 5px 0 0;
    width: 100px;
    height: 40px;
    position: relative;
    text-align: center;
}

.radio-as-buttons li {
    width: 49%;
}
.radio-as-buttons label, .radio-as-buttons input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.radio-as-buttons input[type="radio"] {
    opacity: 0.011;
}

.radio-as-buttons input[type="radio"]:checked + label {
    background: var(--primary-color-hover);
    color: #fff;
}

.radio-as-buttons .button-positive:checked + label {
    background: green !important;
    color: white;
}

.radio-as-buttons .button-negative:checked + label {
    background: red !important;
    color: white;
}

.radio-as-buttons label {
    padding: 5px;
    border: 1px solid #CCC;
    cursor: pointer;
}

.radio-as-buttons label:hover {
    background: #DDD;
}

.c-positive {
    color: green;
}

.c-neutral {
    color: darkgray;
}

.c-negative {
    color: red;
}

.c-warning {
    color: orange;
}

.c-pointer {
    cursor: pointer;
}

.compact-sidebar>.side-navbar li {
    font-size: .75rem;
}

.bg-primary {
    background: var(--primary-color)!important;
}

summary {
    font-size: 1.4rem;
    background: #f4f4f4;
    padding: 3px 10px;
}

details {
    border: 1px solid #eaeaea;
    margin: 0 0 10px 0;
}

.details-inner {
    padding: 20px;
}

.risk-audit-summary h2 {
    font-size: 1.4rem!important;
    margin-bottom: 25px;
}

.risk-audit-summary h3 {
    font-size: 1.2rem!important;
}

.risk-audit-summary p {
    font-size: 1rem!important;
}

.risk-audit-summary p {
    font-size: 1rem!important;
}

.close-cross {
    float: right;
    color: #f4f4f4;
    margin: 2px 0 0 0;
}

.fileContainer {
    overflow: hidden;
    position: relative;
    width: 100%;
    text-align: center;
}

.fileContainer [type=file] {
    cursor: inherit;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

/* Example stylistic flourishes */

.fileContainer {
    background: #eaeaea;
    border-radius: .5em;
    border: 1px solid #ccc;
    float: left;
    padding: .5em;
}

.fileContainer [type=file] {
    cursor: pointer;
}

.styled-checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    width: 20px;
    height: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 0;
    padding-left: 0;
}

.styled-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.styled-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.styled-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #CCC; 
}

.styled-checkbox .checkmark:after {
    content: "";
    display: none;
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid var(--primary-color-hover);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.col-chkbx {
    max-width: 35px!important;
}

.door-fault-label {
    font-size: 1rem!important;
    padding: 0 15px;
}

.image-actions .btn {
    width: 50%;
}

.hide-question-chbx {
    max-width: 58px!important;
    padding-right: 0;
}

.hide-question-chbx i {
    position: relative;
    top: -2px;
    margin-left: 7px;
    color: var(--primary-color-hover);
}

.hide-question-chbx .styled-checkbox {
    display: inline-block;
}

.hide-question-chbx .styled-checkbox .checkmark {
    top: 3px;
}

.back {
    font-size: 15px;
}

.back i, .back a {
    color: var(--primary-color)!important;
}

.back i {
    top: 1px;
    position: relative;
    left: 5px;
}

.clear-db-info {
    margin-top: 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s;
}

.clear-db-info.expanded {
    max-height: 200px;
}

.clear-db-info p {
    font-size: 13px!important;
}

.signature-area {
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}

#zoom-marker-holder {
    overflow: hidden;
}

.zoom-marker {
    z-index: 2;
    position: absolute;
}

.zoom-marker span {
    position: absolute;
    font-size: 17px;
    left: 50%;
    transform: translate(-50%, 0);
    padding-top: 3px;
}