﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

body {
    display: flex;
    height: 100vh;
    width: 100%;
}

.header {
    grid-area: header;
    height: 50px;
    display: flex;
    justify-content:space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 25px 10px 25px;
    background-color: rgba(255, 255, 255, 0);
}

.menu {
    grid-area: menu;
    background-color: rgba(221 186 138 0) !important;
}

.menu.reduced {
    overflow: hidden;
}

.menu.reduced span {
    display: none;
}

.menu.reduced:hover span {
    display: inherit;
}

.main {
    grid-area: main;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    overflow: auto !important;
    /*background: url(/img/bg-blue.png);*/
    background-color: white;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-top-left-radius: 90px;
    border-color: transparent;
    box-shadow: inset 1px 1px 15px 0px rgba(89, 167, 197, 1);
    /*display: flex;*/
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding-right: 40px;
    padding-left: 40px;
}

.main .container-fluid {
    margin: 20px 0px 20px 0px;
}

.footer {
    grid-area: footer;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.grid-container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: auto 1fr auto auto auto auto;
    grid-template-areas:
        'menu header header header header header'
        'menu main main main main main'
        'menu footer footer footer footer footer';
    gap: 2px;
    /*
    background: rgb(247,184,134);
    background: linear-gradient(180deg, rgba(247,184,134,1) 40%, rgba(228,146,116,1) 58%, rgba(225,147,113,1) 70%, rgba(210,117,98,1) 100%);
    
    background: rgb(247,184,134);
    background: linear-gradient(180deg, rgba(247,184,134,1) 12%, rgba(240,117,19,1) 40%, #70380a 100%);
    */
    /*background: linear-gradient(181deg, rgb(69 93 102) 0%, rgba(46,56,86,1) 50%, rgba(97,132,145,1) 100%);*/
    background: linear-gradient(181deg, rgb(49 126 155) 0%, rgba(46,56,86,1) 100%);
    width: 100%;
    height: 100%;
}

/*
.grid-container > div {
    background-color: rgba(244, 244, 244, 0.90);
    text-align: center;
}
*/

.menu-list ul {
    align-items: start;
    margin: 10px;
    font-size: 1em;
}

.menu-list ul li {
    border-radius: 20px;
    padding: 0px 10px 0px 10px;
    margin: 5px 0px 5px 0px;
    background-color: white;
    /*
box-shadow: inset 1.42px 1.41px 2.83px -0.35px rgba(199, 116, 0, 0.15),
inset -2.13px -2.11px 2.83px -0.35px rgba(199, 116, 0, 0.3),
4.27px 4.22px 2.12px -1.06px rgba(199, 116, 0, 0.6);
*/
    box-shadow: inset 1.42px 1.41px 2.83px -0.35px rgba(69, 93, 102, 0.15), 
        inset -2.13px -2.11px 2.83px -0.35px rgba(69, 93, 102, 0.3), 
        4.27px 4.22px 2.12px -1.06px rgba(89, 167, 197, 0.45);
    transition: 0.25s;
    width: 100%;
}


.menu-list ul li:hover {
    background-color: #86C5F7;
    transform: scale(1.05) !important;
}

.menu-list ul li:hover a {
    color: white !important;
}

.nav-link:hover {
    color: white !important;
}

.menu-list ul li:hover .nav-sub-link {
    color: #86C5F7 !important;
}


.menu-list ul li a {
    display: flex;
    align-items: center;
    /*color: #f7b886;*/
    color: rgb(89, 167, 197);
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    letter-spacing: 2px;
}

.menu-list ul li a i {
    font-size: 1.3em;
    padding: 1px 10px 1px 1px;
}

.section-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-logo img {
    width: 100%;
    height: 120px;
}

.header ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}

.header ul li a {
    color: white;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 2px;
}

.header ul li a i {
    padding: 0px 5px 0px 5px;
}

.logged-section {
    color: white;
    position: fixed;
    bottom: 0;
    padding: 0px 10px 10px 10px;
}

.btn-collapse {
    font-size: 35px;
    color: white;
    transition: 0.25s;
}

.btn-collapse i {
    border-radius: 10px;
    background-color: white;
    padding: 5px;
    color: rgb(89, 167, 197);
    transition: 0.25s;
    box-shadow: inset 1.42px 1.41px 2.83px -0.35px rgba(89, 167, 197, 0.45), inset -2.13px -2.11px 2.83px -0.35px rgba(89, 167, 197, 0.45), 4.27px 4.22px 2.12px -1.06px rgba(89, 167, 197, 0.45);
}

.btn-collapse:hover i {
    color: white;
    background-color: #86C5F7;
    border-radius: 10px;
    padding: 5px;
}

#openlist #list {
    max-height: 0;
    transition: max-height 0.15s ease-out;
    overflow: hidden;
    background-color: transparent;
}

#openlist:hover #list {
    max-height: 500px;
    transition: max-height 0.25s ease-in;
}

#list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-list ul .nav-item {
    min-width: 200px;
}

.menu-list ul #openlist:hover {
    color: #f7b886 !important;
}

.menu-list ul #openlist:hover a {
    color: white;
}

.dropdown-menu {
    width: 100%;
}

.nested-li {
    color: #f7b886;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    justify-content: center;
}

.privacy-link {
    text-decoration: none;
    color: #f7b886;
}

.archivet {
    color: white;
    font-size: 30px;
}

.card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 20px 20px 40px #d9d9d9, -20px -20px 40px #ffffff;
}

.card-header {
    background: linear-gradient(181deg, rgb(49 126 155) 0%, rgba(46,56,86,1) 100%);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.card-footer {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.custom-title {
    font-size: 22px;
    font-weight: 400;
    margin: 10px;
    color: #f0f0f0;
}

.custom-title span {
    font-size: 32px;
    font-weight: 500;
}

.form-floating-group input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

@media (max-width: 767px) {
    .main {
        padding-right: 0px;
        padding-left: 0px;
        border-top-left-radius: 0px;
    }

    .navbar-nav ul li{
        display: none;
    }

    .header {
        padding: 0px !important;
    }
}