@font-face {
    font-family: "Roboto";
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    font-weight: 300;
}

@font-face {
    font-family: "SegoeUI";
    src: local("Segoe UI"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
    font-weight: 400;
}

:root {
    --color-nwg: #1d396e;
    --color-ocean-blue: #3263bf;
    --color-denim: #224382;
    --color-light-blue: #f1f4f6;
    --color-white: #ffffff;
    --color-snow: #fafafa;
    --color-dark-red: #ef1a1a;
    --color-red: #fc5959;
}

:root {
    --v-space: 30px;
    --h-space: 30px;
}

* {
    box-sizing: border-box;
    font-family: "Roboto";
}

h1 {
    margin-bottom: var(--v-space);
    font-size: 2rem;
}

h2 {
    font-size:18px;
}

@media screen and (min-width: 680px) {
    h1 {
        font-size: 2.5rem;
    }
}

a {
    text-decoration: none;
    color: var(--color-nwg);
}

.container--narrow {
    max-width: 450px;
}

.tab-navigation {
    position: relative;
}

.tab-navigation__list {
    list-style-type: none;
    padding: 0;
}

.text-left {
    text-align:left;
}


.tab-navigation__tab {
    width: 100%;
    text-align: center;
    padding: calc(var(--h-space) / 2) 0;
    border-bottom: 1px solid;
}

.backBtn {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-sizing: border-box;
    margin: 0;
    font-family: inherit;
    line-height: inherit;
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
    display: flex;
    flex-shrink: 0;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 17px;
    background-color: rgb(244, 244, 244);
    text-align: center;
    border: 0px;
    font-size: 16px;
    padding: 0px;
    white-space: nowrap;
    color: rgb(47, 47, 47);
    transition: background-color 0.2s linear 0s;
    cursor: pointer;
}

.backArrow {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-family: inherit;
    line-height: inherit;
    text-transform: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    color: rgb(117, 117, 117);
    display: var(--fa-display, inline-block);
    height: 1em;
    vertical-align: -0.125em;
    font-size: 1em;
    overflow: visible;
    box-sizing: content-box;
}

.backArrowText {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #1D396E;
}

.heading {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 2em;
    line-height: 1.3em;
    color: #000000;
}

.subHeading {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.button {
    background: var(--color-nwg);
    border: 0;
    border-bottom: 4px solid var(--color-ocean-blue);
    color: var(--color-white);
    width: fit-content;
    height: 50px;
    padding: 0 calc(var(--h-space) - 5px);
    font-family: "futura-pt";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

    .button:hover,
    .button:focus {
        background: var(--color-denim);
    }

.button--warning {
    background: var(--color-red);
    border-color: var(--color-dark-red);
}

    .button--warning:hover {
        background: var(--color-dark-red);
        border-color: var(--color-red);
    }

.form-control {
    background: #f5fafe;
}

.footer {
    border-top: 1px solid gray;
    margin-top: var(--h-space);
    padding-top: var(--h-space);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.footer__logo img {
    width: 100px;
}

.topRow {
    justify-content: space-between;
}

@media screen and (max-width: 500px) {
    .topRow {
        flex-direction: column;
        align-items: center;
    }
}

.app__logo_bg {
    border-radius: 15px;
    padding: 15px;
    justify-content: right;
    height: auto;
    display: flex;
}

.app__logo {
    height: 40px;
}

.logo img {
    width: 100px;
}

#main_row {
    width: 100vw;
    margin: 0;
}

main {
    background: var(--color-light-blue);
}



.container-fluid {
    background: linear-gradient( 329deg, var(--color-nwg) 60%, var(--color-denim) 60% );
    height: 100vh;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

@media screen and (min-height: 990px) {
    .container-fluid {
        overflow-y: hidden;
    }
}

.background-color-1 {
    background: var(--color-light-blue);
    height: 93vh;
}

/* Header */
.header {
    background: var(--color-snow);
    width: 100vw;
    padding: calc(var(--h-space) / 2) calc(var(--v-space) / 2);
    z-index: 1;
    border-bottom: 1px solid #ddd;
    align-items: center;
    height: 7vh;
    flex-wrap: nowrap;
}

.header__user {
    display: none;
    flex-direction: column;
    align-items: center;
}

.header__user-picture {
    margin-right: 12px;
}

    .header__user-picture img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 50%;
    }

.profile__user-picture {
    margin-right: 12px;
}

    .profile__user-picture img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 50%;
    }

.header__user_mobile {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: 20px;
    align-items: center;
}

.header__user_mobile-picture {
    margin-right: 12px;
}

    .header__user_mobile-picture img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 50%;
    }

a.header__logout-btn {
    display: flex;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
}

    a.header__logout-btn i {
        padding-right: 3px;
    }

#UserPhoto {
    width: 80px;
    height: 80px;
}

.section {
    background: var(--color-white);
    max-width: 550px;
    margin: 0 auto;
    padding: calc(var(--v-space) * 1);
}

.section_main {
    background: var(--color-light-blue);
    margin: 0 auto;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    min-width: 360px;
    color: #2f2f2f;
}

    .section_main label {
        font-weight: bold;
    }

.section_card {
    margin: 0;
    background: var(--color-light-blue);
    max-width: 800px;
    padding: 0;
}

    .section_card .form-control {
        max-width: 400px;
    }

#profile_picture {
    text-align: inherit;
}

@media screen and (min-width: 768px) {
    #profile_picture {
        text-align: center;
    }
}

#navbar_screen {
    display: none;
    padding-right: 0;
    padding-left: 0;
    height: 93vh;
}

#navbar_offcanvas {
    display: flex;
}

    #navbar_offcanvas img {
        max-width: 100%;
        max-height: 100%;
    }

#navbar_list {
    overflow: auto;
}


@media screen and (min-width: 1200px) {
    #navbar_offcanvas {
        display: none;
    }

    #navbar_screen {
        display: block;
    }

    .header__user {
        display: flex;
        flex-direction: row;
        margin-left: auto;
        margin-right: 20px;
    }
}

@media screen and (min-width: 680px) {
    .section {
        padding: calc(var(--v-space) * 2);
    }
}

.sidebar {
    background: var(--color-snow);
}

.navbar {
    padding: 0;
}

.navbar-vertical {
    flex-basis: 100%;
}

.navbar-toggler {
    border: none;
}

.offcanvas {
    width: fit-content;
    flex-wrap: nowrap;
    overflow-y: auto;
}

.navbar-brand {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
}

.navbar-light .navbar-brand {
    color: var(--color-nwg);
}

.header__user-info {
    font-size: 14px;
}

.header__user_mobile-info {
    font-size: 14px;
}

.sidebar__list {
    padding: 0;
    list-style-type: none;
}

    .sidebar__list li img {
        width: 100px;
    }

.sidebar__list-item {
    border-bottom: 1px solid #eee;
}

#BackDiv {
    border-bottom: 2px solid #D8E4F1;
    padding-bottom: 14px;
}

    #BackDiv a {
        display: block;
        margin-left: 5px;
        color: #1D396E;
    }

        #BackDiv a:hover {
            text-decoration: underline;
        }

@media screen and (min-width: 576px) {

    .sidebar {
        border-right: 1px solid #ddd;
        height: 93vh;
        flex-wrap: nowrap;
        overflow-y: auto;
    }

    #navbarSupportedContent {
        width: 100%;
    }

    .navbar-brand {
        margin-bottom: calc(var(--v-space) / 2);
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }

    .navbar-vertical {
        flex-direction: column;
        align-items: flex-start;
    }


    .sidebar__list-item {
        margin-left: calc(var(--h-space) / 2);
    }
}

.nav-item {
    width: 100%;
}

    .nav-item a {
        text-decoration: none;
        width: 100%;
        display: block;
        padding-left: 10px;
        padding-top:5px;
        padding-bottom:5px;
    }

    .nav-item > div {
        margin-left: calc(var(--h-space) / 6);
        border-radius: 2px;
        width: 100%;
        line-height: 200%;
    }


    .nav-item div:hover {
        background-color: #D8E4F1;
    }

.active-link {
}

    .active-link div {
        background-color: #D8E4F1;
    }

#row_main_header {
    border-bottom: 2px solid #D8E4F1;
    background: var(--color-snow);
    height: fit-content;
}

    #row_main_header i {
        padding: 6px;
        border: 2px solid #D8E4F1;
        border-radius: 10px;
        margin-right: 10px;
    }

@media screen and (min-width: 576px) {
    #row_main_header i {
        padding: 12px;
    }
}

.input-validation-error {
    border: 2px solid red;
}

.field-validation-error {
    color: red;
    font-size: smaller;
}

#upload_image {
    background: #FFFFFF;
    border: 1px solid #013777;
    border-radius: 2px;
    color: #013777;
    margin-bottom: 10px;
}

    #upload_image:hover {
        color: #FFFFFF;
        background: #013777;
    }

.btn-signin {
    background: #FFFFFF;
    border-radius: 2px;
    border: 0;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.24);
    color: rgba(0, 0, 0, 0.54);
    font-weight: 500;
    font-size: 14px;
    height: 40px;
}

    .btn-signin:hover {
        background: #F4F4F4;
    }

    .btn-signin:focus {
        background: #EEEEEE;
    }

.btn-signin-microsoft {
    font-family: "SegoeUI";
    background: #FFFFFF;
    border-radius: 2px;
    border: 0;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.24);
    color: rgba(0, 0, 0, 0.54);
    font-size: 14px;
    height: 40px;
    font-weight: 600;
}

    .btn-signin-microsoft:hover {
        background: #F4F4F4;
    }

    .btn-signin-microsoft:focus {
        background: #EEEEEE;
    }

h6 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 10px 0 20px;
    opacity: 0.7;
}

    h6 span {
        background: #fff;
        padding: 0 10px;
    }

/* Bootstrap overrides */
.badge {
    font-weight: 400;
}

.badge-danger {
    color: var(--color-red);
    background: transparent;
}

.badge-pill {
    padding-left: 0;
    padding-top: 6px;
}

.fal {
    color: #93A9C2;
}

.fas {
    color: #93A9C2;
}

.far {
    color: #93A9C2;
}
