:root {
    --text-primary: #606060;
    --text-secondary: #191919;
    --bg-primary: #ffffff;
    --bg-secondary: #3F51B5;
    --bg-secondary-hover: #5f6ebf;
    --bg-tertiary: #f9f9f9;
    --border-radius: 5px;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Albert Sans', sans-serif;
    font-size: 1rem;
}

body {
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    margin: 0;
    padding: 0;
}

.header-wrapper {
    height: 3rem;
    width: auto;
    z-index: 2;
}

.header {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    height: 100%;
}

.header .logo{
    width: 150px;
    padding: 0.5rem;
}

.footer-wrapper {
    position: fixed;
    background: var(--bg-primary);
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2rem;
    padding: 5px;
    z-index: 1;
}

.footer {
    display: flex;
    align-items: center;
    font-size: 11pt;
    text-align: center;
}

.main-content {
    padding: 1rem 3rem 3rem 3rem;
    min-height: calc(100vh - 5rem);
    background: var(--bg-tertiary);
    max-width: 2000px;
    margin: auto;
}

h4 {
    padding: 15px 0 10px 0;
    margin: 0;
}


/* Navbar Content */
.nav-link {
    height: 3rem;
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    background: var(--bg-secondary-hover);
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
}

.nav-item {
    margin: 5px;
}

.nav-link{
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

/* Infex info panel */
.index-info-panel {
    border-radius: var(--border-radius);
    margin: 0 1rem !important;
    padding: 10px;
    background: #e3f2fd;
}

#index-info-close {
    float:right;
    display:inline-block;
    padding:2px 5px;
    cursor: pointer;
}

.picture-title {
    padding: 5px 0 0 5px;
}

/* Small screens */
@media only screen and (max-width: 800px) {
    .nav-link-text{
        display: none;
    }

    .main-content {
        padding: 1rem 1rem 3rem 1rem;
    }

    .header .logo{
        width: 115px;
        padding: 0.5rem;
    }
}

.border-radius-default {
    border-radius: var(--border-radius);
}

/* index */
.card-index {
    border-radius: var(--border-radius);
    height: 100%;
    transition: transform 250ms;
}

/*noinspection ALL*/
.card-index:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 5px -2px rgb(0 0 0 / 20%), 0 7px 10px 1px rgb(0 0 0 / 14%), 0 2px 16px 1px rgb(0 0 0 / 12%);
}

.card-index .ui-card-content {
    padding: 0 !important;
}



