/*
 These are the official alfaview design colors
 */
:root {
	--color-horizon: #0378CF; /* same as blue 800 */
	--color-blue-400: #52baeb;
	--color-blue-500: #2da8e2;
	--color-blue-600: #1896d8;
	--color-blue-700: #0c87d1;

	--color-gray-50: #f5f6fa;
	--color-gray-300: #dadde3;
	--color-gray-400: #d4d7de;
	--color-gray-500: #5f626a;
	--color-gray-700: #40444c;

	--color-orange-600: #ff8201;
	--color-orange-700: #ff6500;
}

body {
    font-family:monospace,monospace;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
	background-color: var(--color-gray-50)
}

main {
    width: 100%;
    max-width: 800px;
    margin: 20px auto auto;
    min-height: 90vh;
}

h1 {
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.grid-container {
    display: flex;
    flex-direction: row;
    gap: 1px;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.grid-column {
    display: flex;
    flex-direction: column;
    flex: 2;
}

.format-row {
    display: flex;
    flex-direction: row;
}

.grid-cell {
    flex: 1;
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
    color: white;
}


.grid-cell-header {
    background-color: var(--color-gray-700);
}

.json-cell {
    background-color: var(--color-blue-400);
}

.yaml-cell {
    background-color: var(--color-blue-600);
}

.docs-link-cell {
    background-color: var(--color-orange-600);
}

.docs-link-cell:hover {
    background-color: var(--color-orange-700);
}

.json-cell:hover {
    background-color: var(--color-blue-500);
}

.yaml-cell:hover {
    background-color: var(--color-blue-700);
}

.docs-link, .json-link, .yaml-link {
    color: white;
    text-decoration: none;
    display: block;
    flex: 1;
}

.version-badge {
    display: inline-block;
    background-color: var(--color-gray-400);
    color: white;
    font-size: 0.8em;
    padding: 3px 8px;
    border-radius: 8px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Footer CSS */
#footer {
    background-color: var(--color-gray-700);
    height: 70px;
    margin-top: 50px;
}

.row {
    display: flex;
    align-items: center;
    width: 100%;
}

.brand {
    margin-right: auto;
    width: auto;
}

img, svg {
    vertical-align: middle;
}

ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

li {
    margin-left: 1em;
}

.row a{
    text-decoration: none;
    cursor: pointer;
    color: var(--color-gray-300);
    font-size: 14px;
}

#footer .navbar-brand span {
    font-weight: 200;
    margin-left: 8px;
}

li a {
    font-weight: 400;
}

header, footer {
    font-family: "Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;
}

/* HEADER CSS */
header  {
    background-color: var(--color-horizon);
}

#header {
    min-height: 85px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items:center;
    height: 100%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

#navbar {
    display: flex;
    justify-content: center;
    padding-top: 1em;
    padding-bottom: 1em;
    align-self: center;
}

.navbar-brand2 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-right: 1rem;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
    white-space: nowrap;
    align-self: center;
}


.d-flex {
    display: flex !important;
}

.align-items-baseline {
    -webkit-box-align: baseline !important;
    align-items: baseline !important;
}

header a {
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
}

#header .navbar-brand2 span {
    font-size: 1.8rem;
    margin-left: 16px;
    font-weight: 200;
}

