/* 
Theme Name:		100AND10% Theme
Theme URI:		https://110percent.co.uk
Description:	'100and10%' theme, created by 100AND10%
Author:			100AND10%
Author URI:		https://110percent.co.uk
Template:		underscores
Version:		1.0.0
*/
/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* GLOBAL */
/*:root {
    --Background-Gradient: radial-gradient(111.7% 101.87% at 91.28% 0.02%, rgba(0, 241, 247, 0.15) 0%, rgba(255, 255, 255, 0.15) 61%, rgba(229, 231, 235, 0.15) 78.19%);
}*/

body {
    /* Apply the gradient and fallback color to the body */
    /*background: var(--Background-Gradient, radial-gradient(111.7% 101.87% at 91.28% 0.02%, rgba(0, 241, 247, 0.15) 0%, rgba(255, 255, 255, 0.15) 61%, rgba(229, 231, 235, 0.15) 78.19%)), #FFF;
    background-repeat: no-repeat;*/
    background-color: #F9FAFB;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
	font-size: 16px;
}


h1, h2, h3, h4, h5, h6 {
	font-family: 'Inter', sans-serif;
	font-style: normal;
	margin-bottom: 24px;
}

h1 {
	font-weight: 600;
    font-size: 30px;
    line-height: 38px;
	color: #101828;
}

h2 {
	font-weight: 600;
	font-size: 18px;
	line-height: 28px;
	color: #101828;
	text-transform: none;
}

h3 {
	color: #101828;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

h4 {
	font-weight: 500;
	font-size: 20px;
	line-height: 120%;
	color: #101828;
}

p, a, li {
	font-family: 'Inter', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
}

p {
	color: #475467;
}

a {
	color: #101828;
	font-weight: bold;
    text-decoration: underline;
}

.btn {
    border-radius: 8px;
    padding: 10px 14px;
    border: none;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
}

.shadow-sm {
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

/* ALERTS */
.alert {
    border-radius: 8px !important;
    font-size: 14px;
}

.alert-success {
    color: #067647;
    background-color: #ECFDF3;
    border-color: #ABEFC6;
}

/* FORMS */
input, select, optgroup, textarea {
    border-radius: 8px !important;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    border: 1px solid #D0D5DD;
    color: #101828;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Inter', sans-serif;
    max-width: 100%;
}

input[type="file"] {
    border-radius: 0 !important;
    box-shadow: none;
}

.form-control {
    border: 1px solid #D0D5DD;
    padding: 10px 14px;
    height: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #101828;
    font-family: 'Inter', sans-serif;
}

label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    font-family: 'Inter', sans-serif;
    color: #344054;
}

.form-check-label {
    font-weight: 500;
}



/* COLOURS */
.btn-primary {
    background-color: #155EEF;
    color: #ffffff;
    border: 1px solid #155EEF;
}

a:hover {
    color: #004EEB;
}

/* HEADER */
header {
    margin: 0 0 48px 0;
    border-bottom: 1px solid #EAECF0;
    background-color: #fff;
}

.template-header h1 {
    margin-bottom: 4px;
}

/* NAVIGATION */
.navbar-brand img {
    height: 32px;
    width: auto;
}

header .navbar {
    padding: 12px 0;
}

#mainNavbar a {
    text-decoration: none;
}

#mainNavbar .nav-link {
    padding: 8px 12px;
    align-content: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

/* FOOTER */
footer {
    margin: 24px 0;
}

/* PAGINATION */
.table-pagination {
    display: flex;
    padding: 12px 24px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-top: 1px solid #EAECF0;
}

.table-pagination a {
    text-decoration: none;
    font-weight: 400;
}

.pag-prev, .pag-next {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 26px;
    font-weight: 600;
    line-height: 20px;
    color: #344054;
    font-size: 14px;
    border-radius: 9px;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.pag-prev.disabled, .pag-next.disabled {
    visibility: hidden;
}

.pag-count {
    display: flex;
    gap: 12px;
}

.pag-count a {
    display: flex;
    width: 40px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    align-self: stretch;
    text-decoration: none;
}

.pag-count a.active {
    border: 1px solid #000;
}

/* BREADCRUMBS */
.breadcrumb {
    background-color: transparent;
    padding: 4px 0;
    margin-bottom: 24px;
}

.breadcrumb-item, .breadcrumb-item a {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: #475467;
    text-decoration: none;
}

.breadcrumb-item.active {
    font-weight: 600;
    color: #344054;
}

.breadcrumb-item a:hover svg path {
    stroke: #004EEB;
}

.breadcrumb-item a:hover {
    color: #004EEB;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 12L10 8L6 4' stroke='%23D0D5DD' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    color: transparent;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 6px;
}



/* NAV TABS */
.nav-tabs {
    border-bottom: 1px solid #EAECF0;
    gap: 12px;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #004EEB;
    background-color: transparent;
    border-color: initial;
    border-bottom: 2px solid #004EEB;
}

.nav-tabs .nav-link {
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #667085;
    padding: 12px 4px;
    text-decoration: none;
}

/* LAYOUT */
.section-header {
    margin: 32px 0 24px 0;
}


/* TABLE STYLING */
.table {
    margin-bottom: 0;
}

.table th, .table td {
    padding: 16px 24px;
    color: #475467;
}

.table th {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    border-top: 1px solid #EAECF0;
    border-bottom: 1px solid #EAECF0 !important;
}

.table td {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border-bottom: none;
    border-top: 1px solid #EAECF0;
}

.table-hover tbody tr:hover {
    cursor: pointer;
}

.table-hover tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px !important;
}

.table-hover tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* FORM CARD STYLING */
.form-card {
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 24px;
}

.form-card-footer {
    padding: 24px 0;
}

.form-footer {
    padding-top: 24px;
    display: flex;
    justify-content: end;
}

/* AUDIT DASHBOARD */
.audit-table {
    margin: 24px 0;
    border: 1px solid #EAECF0;
    border-radius: 8px;
    background-color: #ffffff;
}

.audit-table-header {
    padding: 20px 24px;
}

.audit-table-header h2 {
    margin: 0;
}

.audit-table thead {
    background-color: #F9FAFB;
}

.audit-table th, .audit-table td {
    vertical-align: middle;
}

.audit-due-date-indicator {
    display: none;
}

.audit-title {
    color: #101828 !important;
}

.status {
    border-radius: 6px;
    padding: 2px 6px;
    width: fit-content;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

.status.complete, .status.submitted {
    background-color: #ECFDF3;
    color: #067647;
    border: 1px solid #ABEFC6;
}

.status.missed {
    background-color: #FEF3F2;
    color: #B42318;
    border: 1px solid #FECDCA;
}

.status.incomplete, .status.outstanding {
    background-color: #FFFAEB;
    border: 1px solid #FEDF89;
    color: #B54708;
}

.status.neutral {
    background-color: #000000;
    color: #ffffff;
}

.audit-filter {
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #ffffff;
    box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.10), 0px 2px 4px -2px rgba(0, 0, 0, 0.06);
    padding: 12px 20px;
}

#filter-form {
    display: flex;
    gap: 10px;
    justify-content: end;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

/* SINGLE AUDIT */
.single-audit-card {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #ffffff;
}

.single-audit-card-header {
    padding: 24px;
    border-bottom: 1px solid #E5E7EB;
}

.status-item {
    padding: 24px;
    font-weight: 600;
}

.single-audit-card .status-item:not(:last-child) {
    border-bottom: 1px solid #EAECF0;
}

.single-audit-section-title {
    padding: 24px;
}

/* CREATE AUDIT */
.create-audit-form {
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    background-color: #ffffff;
}

.create-audit-form-header {
    padding: 24px;
    border-bottom: 1px solid #D0D5DD;
}

.create-audit-form-header h2 {
    margin: 0;
}

.create-audit-form form {
    padding: 24px;
}

.create-audit-form .question-container {
    margin: 24px 0;
}

.create-audit-form .question-label {
    font-weight: 700;
    display: block;
}

.question-add-btn, .image-add-btn {
    font-size: 13px !important;
    padding: 2px 10px;
    border: 1px solid lightgrey;
    box-shadow: none;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

/* LOGIN PAGE */
.login-card {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #ffffff;
}

.login-card-header {
    padding: 24px;
}

.login-card h1 {
    margin: 0;
}

.login-card form {
    padding: 24px;
}

/* REPORTING DASHBOARD */
.percentage-missed {
    background-color: #FEF3F2;
}

.percentage-warning {
    background-color: #FFFAEB;
}

.percentage-complete {
    background-color: #ECFDF3;
}

/* MOBILE ONLY AUDIT TABLE STYLE */
@media screen and (max-width: 767px) { 
    .audit-table tr {
        padding: 16px;
        border-top: 1px solid #dee2e6;
        display: block;
    }
    
    .audit-table td {
        border: none;
        display: inline-block;
        padding: 0;
        margin: 10px 5px;
    }
    
    .audit-table thead {
        display: none;
    }
    
    .audit-due-date, .audit-title {
        width: 100%;
    }
    
    .audit-title {
        font-weight: bold;
    }
    
    .audit-due-date-indicator {
        display: initial;
    }
    
    #filter-form {
        flex-direction: column;
    }
}