:root {
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    --color-primary: #0565ff;
    --color-dark: #212121;
    --blue-brand: #0d6aff;
    --blue-dark: #00008f;
    --blue-light: #bee3ff;
    --font-color: #212121;
}

body, html {
    margin: 0;
}

body {
    --webkit-text-size-adjust: 100%; /*adjusting for IOS 12 or earlier*/
    text-decoration: none;
    background-color: #fff;
    min-height: 100vh;
    font-family: 'Arial', 'sans-serif';
    color: var(--font-color);
    font-size: 1.125rem;
    letter-spacing: 0%;
    line-height: 150%;
    font-style: normal;
}

/*Footer*/
footer {
    clear: both;
    padding-bottom: 0;
}

#foot-logo {
    width: 100%;
    max-width: 10em;
    height: auto;
    margin-bottom: 2rem;
}

body footer a {
    text-decoration: none !important;
    color: #212529;
    line-height: 1.99; 
}

body footer a:hover {
    text-decoration: none !important;
    color: #212529;
    line-height: 1.99; 
}

footer li {
    font-family: 'Arial';
    font-weight: normal;
    color: #212529;
    font-size: 14px;
    line-height: 1.5;
}

footer ul li.f-title {
    font-family: 'Arial Bold';
    color: #212529;
    font-size: 14px;
    line-height: 1.5;
}

footer .cp-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer .cp-container ul li {
    display: inline;
    margin-right: 2em;
    font-size: 14px;
}

footer hr {
    opacity: 20%;
    color: #212529;
    line-height: 1px;
    margin: 1rem 0 1rem 0;
}

footer .copyright  {
    font-family: 'Arial';
    font-size: 14px;
    color: #212529;
}

/*Fonts*/
@font-face {
    font-family: 'Arial Bold';
    src: url('../ext/font-arial-1.0.0/ARIALBD.woff2') format('woff2');
    font-weight: normal;
    font-style: bold;
}

@font-face {
    font-family: 'Arial Bold Italic';
    src: url('../ext/font-arial-1.0.0/ARIALBI.woff2') format('woff2');
    font-weight: normal;
    font-style: bold;
}

@font-face {
    font-family: 'Arial Narrow Bold';
    src: url('../ext/font-arial-1.0.0/ARIALNB.woff2') format('woff2');
    font-weight: normal;
    font-style: bold;
}

@font-face {
    font-family: 'Arial';
    src: url('../ext/font-arial-1.0.0/ARIAL.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Arial Italic';
    src: url('../ext/font-arial-1.0.0/ARIALI.woff2') format('woff2');
    url('../ext/font-arial-1.0.0/ARIALI.woff2') format('woff');
    font-weight: normal;
    font-style: italic;
}

/*Headings*/
h1 {
	font-size: 2rem;
	line-height: 3.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    font-family: 'Arial Bold';
    font-style: normal;
}

h2 {
	font-size: 1.32rem;
	line-height: 1.45rem;
    font-family: 'Arial Bold';
    font-style: bold;
}

h3 {
	font-size: 1.3rem;
	line-height: 1.4rem;
    font-family: 'Arial Bold';
    font-weight: bold;
}

h4 {
	font-size: 1.2rem;
	line-height: 1.3rem;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
}

h5 {
	font-size: 1.15rem;;
	line-height: 1.2rem;
    font-style: normal;
    font-family: 'Arial';
    font-weight: 400;
}

h6 {
	font-size: 1.12rem;
	line-height: 1.12rem;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
}

p {
    font-size: 1.05rem;
    font-family: 'Arial';
    font-weight: 400;
}

header .logo::before {
    content: url("../custom/ves/logo.svg");
    display: inline-block;
    width: 14em;
    padding: 1em;
}

/*Links*/
a:where(:not(.btn)) {
    color: var(--color-primary);
}

a:where(:not(.btn)):hover {
    text-decoration: none !important;
}

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

a.nav-link,a.dropdown-item {
    text-decoration: none !important;
}

.navbar .navbar-nav .nav-link {
  color: var(--color-dark);
}

.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link:focus {
  color: var(--color-primary);
}

/*Login*/
#login-body {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 20px;
}

/*Nav*/
#mainmenu li,
#mainmenu,
nav a {
   font-family: 'Arial', 'sans-serif'; 
}

/*Buttons*/
.btn {
    border-radius: 25px;
    background-color: var(--blue-brand);
    border-color: var(--blue-brand);
    color: #fff;
    outline: none;
    text-decoration: none;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn:active:focus {
    background-color: var(--blue-brand);
    border-color: var(--blue-brand);
    box-shadow: none;
    outline: none;
    color: #fff;
}

.btn:focus-visible, a:focus-visible, .btn:focus-visible, input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-color: var(--color-primary);
    outline-offset: 2px;
}

.btn.btn-primary {
    background-color: var(--blue-brand);
}

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

#btn-v-index {
    background-color: white;
    border: 1px solid var(--blue-brand);
    color: var(--blue-brand);
    margin: 0.5rem;
}

#btn-v-index:hover,
#btn-v-index:active {
    background-color: var(--blue-brand);
    border: 1px solid var(--blue-brand);
    color: white;
}

#btn-print {
    border-radius: 5px;
}

/*Cards*/
#v-card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#v-card .card-title {
    font-family: 'Arial Bold', sans-serif;
    font-size: 1.25rem; /* fs-5 */
    margin-bottom: 1rem; /* mb-3 */
}

#v-card .card-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.05rem;
    color: #212121;
}

/*Tables*/
table th,
table td {
    font-family: 'Arial', 'sans-serif';
}

/*Printing*/
@media print {
    .printable, .printable * {
        visibility: visible;
    }
    /*Header, logo, title*/
    body::before {
        content: url("URL_ROOT/assets/custom/ves/logo.svg");
        display: block;
        text-align: left;
        margin-bottom: 10px;
    }
    .printable {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
    }
    .no-print {
        display: none !important;
    }
    /*Footer and page numbers*/
    body::after {
        content: counter(page) " / " counter(pages);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: right;
        font-size: 12px;
        color: #2b2b2b;
    }
    /*Adding margins*/
    @page {
        margin: 20mm;
    }
}

/*Responsivity*/
#row-title, #report-text {
    padding-left: 0;
}

@media (min-width: 1201px)  {
    #row-title, #report-text {
        padding-left: 3rem;
    }
}

@media (max-width: 1200px)  {
    #row-title, #report-text {
        padding-left: 2.5rem;
    }
}

@media (max-width: 769px)  {
    #row-title, #report-text {
        padding-left: 1.5rem;
    }
}

