:root {
    --primary: #093b6d;
    --secondary: #1d70b5;
    --white: #f5f5f5;
    --flag-yellow: #ffdb04;
    --flag-blue: #1d70b5;
    --flag-red: #bc1823;
}

body {
    background-color: var(--primary);
    font-family: "Arial", "Helvetica", sans-serif;
    margin: 0;
}

a {
    color: #0557ae;
}

#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1;
}


/** HEADER **/
.banner {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

.banner-img {
    max-height: 120px;
    max-width: 100%;
}

/** NAVBAR **/
.navbar {
    background-color: var(--secondary);
    border: none;
    margin-bottom: 0;
    border-radius: 0;
}

.navbar .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #f7fbfd;
    /*font-weight: bold;*/
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    background-color: #f7fbfd;
}

/** FOOTER **/
#footer {
    margin-top: 5rem;
}

/* Small devices (tablets, 768px and up) */
@media (max-width: 1291px) {
    .footer-logos {
        flex-direction: column !important;
    }
}

.footer-logos {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.footer-banner-image {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.footer-partners {
    background: white;
    border-radius: 75px;
    padding: 3rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    align-items: center;
    margin: 0 3rem;
    max-width: 100%;
    justify-content: space-evenly;
}

.footer-partners img {
    max-height: 60px;
}

.footer-card {
    margin-top: 5rem;
    text-align: center;
    padding: 1rem;
    color: white;
    background: var(--secondary);
}

.footer-card a {
    color: var(--primary);
}

/** CONTENT **/
.content {
    padding: 2rem;
    background: var(--white);
    /*border-radius: 10px;*/
    /*box-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px 0;*/
    border: 1px solid rgba(9, 43, 69, 0.08);
    box-shadow: 0 14px 35px rgba(6, 58, 91, 0.09);
}

.content > h1:first-child {
    margin-top: 0;
}

.header {
    color: var(--primary);
    font-weight: bold;
    letter-spacing: -1px;
}

.header.underlined {
    border-bottom: 1px solid gainsboro;
    padding-bottom: 2px;
}

#quickstats {
    text-align: right;
}

#quickstats > .header {
    margin-top: 0;
    letter-spacing: 0
}

/** BOOTSTRAP **/
.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 25px;
}

/** Flags **/
.flag {
    background-color: transparent;
    height: 20px;
    width: 20px;
}

.lan {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
}

.flag.lan-eng {
    background-image: url('https://www.eu-nomen.eu/portal/images/flags/flagshome/UK.png');
}

.flag.lan-es {
    background-image: url('https://www.eu-nomen.eu/portal/images/flags/flagshome/Spain.png');
}
