:root {
    /* === Base colors === */
    /* Raw color values without semantic meaning */
    /* ! IMPORTANT " */
    --company-red: #A81A1B;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-green: #27AE60;
    --color-orange: #F39C12;
    --color-grey: #95A5A6;
    --color-purple: #8E44AD;
    --color-blue: #1900ff;

    --color-dark-gray: #d2d2d2; /* Dont ask, lightgray is darker than gray */
    --color-light-gray: #efefef;

    /* === Semantic colors === */
    /* Use these variables in layouts and components */
    /* status true in checks*/
    --status-true: var(--color-green);
    /* status false in checks*/
    --status-false: var(--company-red);
    /* warning in checks  */
    --status-warning: var(--color-orange);
    /* neutral / status none in checks */
    --status-none: var(--color-grey);
    /* critical error in checks */
    --status-error: var(--color-black);
    /* github grey color*/
    --github-grey: #24292e;
}

body {
    font-family: Cambria, Georgia, serif;
    margin: 0;
    color: default;
    background-color: default;
}

.header {
    background-color: #d2d2d2;
}

.header svg {
	margin-left: 3px;
	opacity: 0.8;
}

.content {
    padding: 30px 40px;
}

a, a:visited {
    color: default;
}

html body div.header.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 0;
    font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

#companyName {
    font-size: 2.5rem;
    color: var(--company-red);
    font-weight: 900;
}

#companySlogan {
    font-size: 1rem;
    color: var(--color-black);
    font-weight: 600;
    margin: 0;
    margin-bottom: 1rem;
}

#summary > h1:nth-child(1) {
    margin-bottom: 0;
}

#logo > p:nth-child(2) {
    color: #666;
    margin-top: 0;
}

#logo {
    order: 2;
    padding-top: px; /* No value is being set here */
}

#reportInformation > ul:nth-child(2) {
    padding-left: 0;
}



#reportInformation > ul:nth-child(2) > li:nth-child(1) {
    list-style-type: none;
}

.header svg {
	margin-left: 3px;
	opacity: 0.8;
}
.header svg g path:nth-child(1), /*F*/
.header svg g path:nth-child(2), /*B*/
.header svg g path:nth-child(6), /*G*/
.header svg g path:nth-child(7), /*m*/
.header svg g path:nth-child(8), /*b*/
.header svg g path:nth-child(9) /*H*/
{
    fill: var(--color-black);
}

.header h1 {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Calibri', 'Segoe UI', sans-serif;
}

li a {
	/*display: block;*/
    font-family: Arial, sans-serif;
}

li a:hover {
    background-color: #f2f2f2;
}

.gauge {
    height: 25px;
    background: var(--status-none);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.gauge .gauge-meter {
    height: 100%;
    flex-grow: var(--weight);
    flex-shrink: 0;
    flex-basis: 0;
    transition: flex-grow 0.5s ease;
}

.gauge-info {
    margin: 0;
    padding: 20px 0px 10px 0px;
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.gauge-info .gauge-info-item {
    flex: 1;
    text-align: center;
    line-height: 30px;
}

.gauge-info .gauge-info-item span.auditstatus {
    display: inline;
}

section.collapsed > :not(:first-child) {
    display: none;
}

table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

th,
td {
    padding: 5px 10px;
    text-align: left;
    vertical-align: top;
}

/* audit-info table */
table.audit-info {
    margin-left: 8%;
    margin-right: 8%;
    width: 90%;
}

table.audit-info th,
table.audit-info td {
    border: 1px solid #d2d2d2;
}

table.audit-info th {
	border-bottom-width: 2px;
    background-color: var(--color-dark-gray);
}

table.audit-info tr:nth-child(even) {
    background-color: var(--color-light-gray);
}

/* First column in an audit-info table */
table.audit-info th:nth-child(1),
table.audit-info td:nth-child(1) {
    text-align: left;
    white-space: nowrap;
    width: 40px;
}

/* First column in an audit-info table */
table.audit-info th:nth-child(2),
table.audit-info td:nth-child(2) {
    text-align: left;
    width: 50%;
}

/* Last column in an audit-info table */
table.audit-info th:last-child,
table.audit-info td:last-child {
    text-align: center;
    width: 70px;
}

.error,
.passed,
.green,
.failed,
.red {
    color: var(--color-white);
}

.warning,
.orange {
    color: var(--color-black);
}

.passed,
.green {
	background-color: var(--status-true);
}

.failed,
.red {
	background-color: var(--status-false);
}

.warning,
.orange {
	background-color: var(--status-warning);
}

.none,
.grey {
	background-color: var(--status-none);
}

.error {
	background-color: var(--status-error);
}

h1 span.passed,
h1 span.failed,
h1 span.warning,
h2 span.passed,
h2 span.failed,
h2 span.warning,
h3 span.passed,
h3 span.failed,
h3 span.warning {
    padding: 5px 10px;
    border-radius: 8px;
}

span.auditstatus {
    display: block;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    margin: auto;
}

.sectionAction {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin: 0 0 0 15px;
    padding: 0 8px;
    color: var(--color-black);
    background-color: var(--color-dark-gray);
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition-duration: 500ms;
}

.sectionAction:hover {
    background-color: var(--color-light-gray);
    /* color: var(--color-blue); */
}

#host-information {
    float: left;
}

/* Overall compliance donut chart */

.card {
    float: right;
    margin: 0 100px 0 0;
    width: 250px;
}

.donut-chart {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.donut-chart.chart {
    width: 200px;
    height: 200px;
    background: #c6c9cc;
}

.donut-chart .slice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.donut-chart .chart-center {
    position: absolute;
    border-radius: 50%;
    top: 25px;
    left: 25px;
    width: 150px;
    height: 150px;
    background: var(--color-white);
}

.donut-chart .chart-center span {
    display: block;
    text-align: center;
    font-size: 40px;
    line-height: 150px;
    color: var(--color-black);
}


#navigationButtons {
    margin-top: 15px;
    display: grid;
    grid-template-rows: 50px;
    grid-template-columns: repeat(6, 160px);
}

.navButton{
    transition-duration: 500ms;
    background-color: transparent;
}
.navButton:hover{
    transition-duration: 500ms;
    background-color: var(--color-light-gray);
}

.selectedNavButton{
    transition-duration: 500ms;
    background-color: var(--color-orange) !important;
}

button {
	margin-left: 10px;
    border-radius: 8px;
    font-weight: bold;
}

#riskScore {
    font-family: Arial, sans-serif;
    text-align: center;
}

#CISA, 
#MITRE {
    font-family: Arial, sans-serif;
}

#CISATable {
    margin-right: 15%;
    width: 85%;
    border-collapse: collapse;
    border: 1px solid var(--color-white);
    font-family: Arial, sans-serif;
}

.CISAMitigations {
    width: 60%;
}

.CISAMitreTechniqueIDs {
    width: auto;
    line-height: 1.5;
}

.CISAMitreTechniqueIDs a {
    border-radius: 0.3em;
    background-color: #cc0000;
    color: var(--color-white);
    padding: 0.2em;
    margin: 0.2em;
    text-decoration: none;
}

.CISAMitigationIDs {
	width: auto;
}

.CISAMitigationIDs a {
	color: #000000;
	text-decoration: none;
}

#CISAthead {
    border-bottom-width: 2px;
    background-color: var(--color-dark-gray);
    border: 1px solid #d2d2d2;
}

#CISAtbody tr:nth-child(even) {
    background-color: var(--color-light-gray);
    border: 1px solid #d2d2d2;
}

#CISAtbody tr td {
    border: 1px solid #d2d2d2;
}


#MITRETable {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--color-white);
    font-family: Arial, sans-serif;
	display: flex;
    flex-direction: column;
}

#MITREthead a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: bold;
}

#MITREtbody a {
    color: var(--color-black);
    text-decoration: none;
}

#MITREtbody tr,
#MITREthead tr {
    display: flex;
}

#MITREtbody td,
#MITREthead td {
    min-width: 75px;
    border: 1px solid #cccccc;
    padding: 6px;
    flex: 1;
    flex-basis: 0;
}

#MITREthead td {
    overflow: hidden;
    overflow-wrap: break-word;
}

.MITRETechnique {
    padding: 6px;
    border: 1px solid var(--color-black);
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--color-black);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--color-black);
	color: var(--color-white);
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;

	/* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

#Tip p {
    font-weight: bold;
    padding: 5px;
}

.square-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.square {
	width: 20px;
	height: 20px;
	border: 1px solid var(--color-black);
}

#riskMatrixContainer {
    display: grid;
    position: relative;
    grid-template-columns: 100px repeat(5, 60px);
    grid-template-rows: repeat(6, 60px);
    left: 10%;
    float: left;
    margin-top: 50px;
    text-align: center;
}

#riskMatrixContainer div {
    border: 1px solid var(--color-black);
}


#severity {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 7;
	position: relative;
}

#quantity {
	grid-column-start: 2;
	grid-column-end: 7;
	grid-row-start: 6;
	grid-row-end: 7;
	position: relative;
}

#severityArea {
    text-align: center;
    position: absolute;
    margin: 0;
	top: 50%;
	left: 20%;
}

#quantityArea {
	text-align: center;
	position: absolute;
	margin: 0;
	top: 35%;
	left: 40%;
}

#severityCritical {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 1;
	grid-row-end: 2;
	padding-top: 20px;
}

#severityHigh {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 2;
	grid-row-end: 3;
	padding-top: 20px;
}

#severityMedium {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 3;
	grid-row-end: 4;
	padding-top: 20px;
}

#severityLow {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 4;
	grid-row-end: 5;
	padding-top: 20px;
}

#quantityCritical {
	grid-column-start: 6;
	grid-column-end: 7;
	grid-row-start: 5;
	grid-row-end: 6;
	text-align: center;
	padding-top: 20px;
}

#quantityHigh {
	grid-column-start: 5;
	grid-column-end: 6;
	grid-row-start: 5;
	grid-row-end: 6;
	text-align: center;
	padding-top: 20px;
}

#quantityMedium {
	grid-column-start: 4;
	grid-column-end: 5;
	grid-row-start: 5;
	grid-row-end: 6;
	text-align: center;
	padding-top: 20px;
}

#quantityLow {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 5;
	grid-row-end: 6;
	text-align: center;
	padding-top: 20px;
}

#riskMatrixContainer:nth-child(10) {
	position: relative;
}

#riskMatrixSummary:nth-child(10) {
	position: relative;
}

/* Color for each Risk */
#medium_medium,
#medium_low,
#low_medium {
	background-color: #ffc000;
}

#high_low,
#high_medium,
#high_high,
#medium_high,
#low_high {
	background-color: red;
}

#critical_low,
#critical_medium,
#critical_high,
#critical_critical,
#high_critical,
#medium_critical,
#low_critical {
	background-color: purple;
}


/* Low Risk */
#low_low {
	background-color: #548dd6;
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 4;
	grid-row-end: 5;
}

/* Medium Risk */
#medium_low {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 3;
	grid-row-end: 4;
}

#medium_medium {
	grid-column-start: 4;
	grid-column-end: 5;
	grid-row-start: 3;
	grid-row-end: 4;
}

#low_medium {
	grid-column-start: 4;
	grid-column-end: 5;
	grid-row-start: 4;
	grid-row-end: 5;
}

/* High Risk*/
#high_low {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 2;
	grid-row-end: 3;
}

#high_medium {
	grid-column-start: 4;
	grid-column-end: 5;
	grid-row-start: 2;
	grid-row-end: 3;
}

#high_high {
	grid-column-start: 5;
	grid-column-end: 6;
	grid-row-start: 2;
	grid-row-end: 3;
}

#medium_high {
	grid-column-start: 5;
	grid-column-end: 6;
	grid-row-start: 3;
	grid-row-end: 4;
}

#low_high {
	grid-column-start: 5;
	grid-column-end: 6;
	grid-row-start: 4;
	grid-row-end: 5;
}

/* Critical Risk */
#critical_low {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 1;
	grid-row-end: 2;
}

#critical_medium {
	grid-column-start: 4;
	grid-column-end: 5;
	grid-row-start: 1;
	grid-row-end: 2;
}

#critical_high {
	grid-column-start: 5;
	grid-column-end: 6;
	grid-row-start: 1;
	grid-row-end: 2;
}

#critical_critical {
	grid-column-start: 6;
	grid-column-end: 7;
	grid-row-start: 1;
	grid-row-end: 2;
}

#high_critical {
	grid-column-start: 6;
	grid-column-end: 7;
	grid-row-start: 2;
	grid-row-end: 3;
}

#medium_critical {
	grid-column-start: 6;
	grid-column-end: 7;
	grid-row-start: 3;
	grid-row-end: 4;
}

#low_critical {
	grid-column-start: 6;
	grid-column-end: 7;
	grid-row-start: 4;
	grid-row-end: 5;
}

#severityDetails {
	margin-left: 8%;
	margin-top: 30px;
	border: 1px solid #d2d2d2;
	margin-right: 8%;
	float: right;
	margin-bottom: 40px;
}

#severityDetails td {
	border: 1px solid #d2d2d2;
}

#calculationTables {
	float: right;
	position: relative;
}

.calculationTablesText {
	text-align: left;
	font-family: Arial, sans-serif;
}

#riskScore th {
	background-color: var(--color-dark-gray);
}

#riskScore tr:nth-child(2n) td {
	background-color: var(--color-light-gray);
}


#riskMatrixSummary {
	font-family: Arial, sans-serif;
    display: grid;
    position: relative;
    grid-template-columns: 100px repeat(5, 60px);
    grid-template-rows: repeat(6, 60px);
    right: 10%;
    float: right;
}

#riskMatrixSummary div {
    border: 1px solid var(--color-black);
}

#riskMatrixSummaryArea {
	float: right;
	text-align: center;
	margin-right: 10%;
}

/* System Information Content */
.systemInformationContent>tr>th {
    padding-left: 0;
    padding-right: 0;
}


#testGrid {
    display: grid;
    grid-auto-rows: minmax(auto, auto);
    row-gap: 2px;
    column-gap: 2px;
    font-family: 'Calibri', 'Segoe UI', sans-serif;
    word-break: break-word;
    white-space: normal;
    align-items: start;
}

#testGrid div {
    grid-auto-rows: minmax(auto, auto);
    border: 1px solid #d2d2d2;
    padding: 4px 6px;
    font-size: 18px;
    font-family: 'Calibri', 'Segoe UI', sans-serif;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    background-clip: padding-box;
    height: 100%;
    align-self: stretch;
}


#systemData {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-template-rows: repeat(10, 5%);
}

#hardwareInformation td {
	width: min-content;
}

#systemInformation {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 0;
	grid-row-end: 1;
	margin-top: 0px;
}

#hardwareInformation {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 1;
}

#softwareInformation {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 1;
	grid-row-end: 2;
}

/* Dot Indicators (Positioning must be precise) */
#dotRiskScoreTab, #dotSummaryTab {
    height: 15px;
    width: 15px;
    background-color: var(--color-black);
    border-radius: 50%;
    border-style: dotted;
    display: inline-block;
    position: absolute;
    left: 22px;
    top: 22px; /* Using a single top/left definition for both */
}



/* Quantity and Severity Results Blocks */
#quantityTable, #severityTable {
    margin-right: auto;
    margin-top: 30px;
    border: 1px solid var(--color-black);
}

.severityResultFalse,
.severityResultTrue,
.severityResultNone,
.severityResultError,
.severityResultWarning{
    display: block;
	padding: 5px 10px;
	border-radius: 8px;
	font-weight: bold;
	margin: auto;
}

.severityResultFalse {
	background-color: var(--status-false);
	color: var(--color-white);
}


.severityResultTrue {
	background-color: var(--status-true);
	color: var(--color-white);
}

.severityResultNone{
	background-color: var(--status-none);
	color: var(--color-black);
}

.severityResultError {
	background-color: var(--status-error);
	color: var(--color-light-gray);
}

.severityResultWarning {
	background-color: var(--status-warning);
	color: var(--color-black);
}

.tabContent#riskScore {
	text-align: left;
}

#severityCompliance {
	margin-top: 25%;
	clear: both;
}

#complianceStatus {
    padding: 5px 10px;
	border-radius: 8px;
    color: var(--color-white);
	margin-left: 6%;
	font-weight: bold;
    display: inline;
}

#referencesContainer {
    display: grid;
    grid-template-rows: 280px;
    grid-template-columns: repeat(2, 500px);
}

#referencesContainer div {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


#settingsOverview section {
	margin-left: 2%;
	margin-right: 5%;
}

#invalidOS {
	display: inline;
	padding: 5px 10px;
	border-radius: 8px;
	font-weight: bold;
	margin: auto;
	background-color: #777777;
}

#references p, #summary p, #settingsOverview p {
    font-family: Arial, sans-serif;
}

#foundationData p {
	font-family: Arial, sans-serif;
}

#foundationData section {
    margin-left: 2%;
    margin-right: 5%;
}


#hashTableDiv {
	float: right;
	width: 60%;
	margin-bottom: 30px;
}

#hashTableBody td {
	line-height: 0px;
	vertical-align: middle;
}

#hashTable thead tr th {
	vertical-align: middle;
}

#CurrentATTCKHeatmap {
	display: grid;
	grid-template-columns: 20% 20% 20% 20% 20%;
	grid-template-rows: 20% 20% 20% 20% 20%;
	margin-top: 30px;
	border: 1px solid var(--color-black);
	margin-right: auto;

}

@media only screen and (max-width: 1900px) {
    #hashTableBody td {
        line-height: 17px;
        vertical-align: middle;
    }
}

/* Two-column layout with flexible wrapping in the About Us section*/
.columns-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-around;
    text-align: left;
    overflow-wrap: break-word;
}

/* Left column takes about 2/3 of space */
.left-column {
	flex: 2;
	min-width: 300px;
}

/* Right column takes about 1/3 of space */
.right-column {
	flex: 1;
	min-width: 300px;
}

/* Responsive video container */
.video-wrapper {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16 / 9;
    margin: 20px 0;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/*bulletpoint list in the right column*/
.hardening-ul {
    font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
    line-height: 1.6;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product section layout */
.product-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px;
}

/* Contact section background and padding */
.contact-block {
    background-color: var(--color-white);
    padding: 20px 0;
}

/* Flexbox for contact items */
.contact-flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    line-height: 1.2;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Flexbox in columns for p elements in each contact-item*/
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    margin: 5px 0;
}

/* Compact spacing between paragraphs only in this contact item context*/
.contact-item p {
    margin: 4px 0;
}

/* Button container aligned with contact section */
.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Base button style inside contact section */
.contact-buttons .button-base {
    border-radius: 4px;
    padding: 15px 25px;
    margin-left: 0px;
    color: var(--color-white);
    box-shadow: 2px 2px var(--color-black);
    border: none;
    cursor: pointer;
    font-size: 16px;
    height: auto;
}

/* Contact Us button, that uses the company red color */
#contactUsButton {
	background-color: var(--company-red);
}

/*GitHub button, that uses the dark color of the GitHSub website*/
#githubButton {
	background-color: var(--github-grey);
}

/*this is the link of the company logo in the top right corner*/
#companyLink {
    text-decoration: none;
    cursor: pointer;
}