:root {
    --tone-gray: #ececec;
    --tone-dark-gray: #e2e2e2;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1 auto;
    height: 100%;
}

header {
    display: flex;
    flex-direction: row;
    flex-grow: 0;
    height: 150px;
    background: url(/resources/images/header_background.webp) no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: white;
}

header #header_logo {
    height: 96px;
    width: 153px;
}

#header_phn_logo {
    width: 150px;
}

#header_welcome {
    display: none;
}

#header_context_container {
    display: flex;
    flex: 1;
    align-items: center;
    background: url(/resources/images/header_context_container.png) no-repeat;
    background-position-y: -50px;
    background-position-x: -150px;
}

#header_context {
    display: flex;
    flex-direction: column;
    max-width: 350px;
    padding: 30px;
    font-size: 1.2em;
}

#header_context img {
    object-fit: contain;
}

#header_signout_container {
    display: flex;
    align-items: flex-end;
}

#header_signout_content {
    width: auto;
    display: flex;
    padding: 20px;
    border-top-left-radius: 50px;
    background-color: rgba(0, 0, 0, 0.5);
}

#btn_sign_out {
    color: white;
    text-decoration: none;
    font-size: 13px;
    padding-top: 8px;
    margin-left: 18px;
    margin-right: 18px;
    white-space: nowrap;
}

#btn_sign_out:hover {
    text-decoration: underline !important;
}

#feedback_link {
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 13px;
}

#feedback_link:hover {
    text-decoration: underline !important;
}

#btn_account {
    display: block;
    min-width: 30px;
    width: 30px;
    height: 30px;
    background-image: url(/resources/images/user.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 6px;
    margin-right: 6px;
    border: 2px solid transparent;
}

#btn_account:hover {
    border: 2px solid white;
}

.btn-icon {
    display: block;
    min-width: 30px;
    width: 30px;
    height: 30px;
    margin-left: 6px;
    margin-right: 6px;
    border: 2px solid transparent;
}

.btn-icon:hover {
    border: 2px solid white;
    border-radius: 50%;
}

#overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #003f6b;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-image: url(/resources/images/login_background.webp);
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF;
    text-align: center;
}

#overlay img {
    max-height: 130px;
}

#overlay h1 {
    margin-bottom: 10px;
}

#overlay h2 {
    font-weight: normal;
    margin-top: 0px;
}

#acknowledgement {
    text-align: left;
    background-color: #00345b;
    margin: auto;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1em;
    color: #FFF;
    height: 15vh;
    overflow-y: auto;
    border-top: solid 2px #67c4b3;
}

#acknowledgement h1 {
    margin: 0px;
    margin-bottom: 5px;
    font-size: 14pt;
}

#acknowledgement p {
    padding: 0px;
    margin: 0px;
}

#btn-signin {
    font-size: 1.2rem;
    padding: 10px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 200px;
    background-color: #fba628;
    color: black;
    transition: all 0.2s ease;
    border: none;
}

#btn-signin:hover {
    cursor: pointer;
    color: white;
    background-color: #eb4134;
}

content {
    display: flex;
    flex-direction: row;
    flex: 1;
    flex-grow: inherit;
    overflow: hidden;
    padding: 10px;
    gap: 10px;
    overflow-y: auto;
}

#progress_bar {
    background: rgb(240, 240, 240);
    margin-left: 33%;
    margin-right: 33%;
    margin-top: 15%;
    height: 8px;
    border-radius: 10px;
}

#progress_bar>div {
    background: #003E6A;
    height: 100%;
    opacity: 0.25;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

#not_loading_ios {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    #not_loading_ios {
        display: inline;
    }
}

#not_loading {
    display: inline-block;
    color: #888888;
    text-align: center;
    width: 100%;
    animation: fadeIn 20s;
    -webkit-animation: fadeIn 20s;
    -moz-animation: fadeIn 20s;
    -o-animation: fadeIn 20s;
    -ms-animation: fadeIn 20s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.container {
    display: flex;
    flex-direction: column;
    flex: 1 0 33.33%;
}

content #quick_links_container {
    display: flex;
    flex-direction: column;
    flex: 0 0;
}

content #quick_links_container>#static_landing_page_container {
    display: flex;
    margin-bottom: 5px;
}

content #quick_links_container>#static_landing_page_container .tile {
    text-align: center;
    text-decoration: none !important;
    margin-top: 0px;
}

content #quick_links_container>#static_landing_page_container .tile:hover .tile-content {
    background-color: var(--tone-dark-gray);
}

content #quick_links_container>#static_landing_page_container .tile img {
    height: 50px;
    width: auto;
    padding-bottom: 10px;
}

content #quick_links_container>#dynamic_landing_page_container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    width: 480px;
    height: 480px;
}

content #quick_links_container>#landing_page_container {
    display: block;
}

content #landing_page_container>#dynamic_landing_page_container {
    display: flex;
    flex-wrap: wrap;
}

content #quick_links_container>#dynamic_landing_page_container .tile {
    color: white;
    background-color: #ffffff;
}

content #quick_links_container>#landing_page_container .tile {
    color: white;
}

content #quick_links_container>#dynamic_landing_page_container .tile img {
    height: 50px;
    width: auto;
}

content #quick_links_container>#landing_page_container .tile img {
    padding-bottom: 10px;
    height: 50px;
    width: auto;
}

content #landing_page_container>#dynamic_landing_page_container .tile img {
    padding-bottom: 10px;
    height: 50px;
    width: auto;
}

content #microsoft_container {
    display: flex;
}

#heading-rfs {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    color: #003E6A;
    font-weight: 700;
    font-size: 0.8em;
    padding: 5px;
}

.rfs-entry {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    padding: 5px;
    flex-direction: column;
}

.rfs-entry:hover {
    background-color: #0c0d0e0f;
}


.rfs-request {
    display: flex;
    justify-content: space-between;
}

.rfs-request-link {
    text-decoration: none;
    color: #0d3e69;
    font-size: 0.9em;
}

.rfs-request-link:hover {
    text-decoration: underline !important;
}

#list-rfs .rfs-tasks {
    display: none;
    padding-left: 10px;
}

#documents_list,
#projects_list,
#tasks_list,
#software_list {
    min-height: 400px;
}

#linkedin_screen {
    width: 100%;
}

.tab_content .icon {
    height: 18px;
    margin-right: 8px;
}

#tab_yammer img,
#tab_viva_engage img,
#tab_facebook img,
#tab_twitter img,
#tab_linkedin img,
.tab_social_img {
    height: 20px;
    margin-right: 8px;
}

#microsoft_container .tab,
#social_container .tab {
    font-size: 14px;
    flex-grow: 1;
    font-size: 0.8em;
}

#microsoft_container .tab_content {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 60px);
}

#microsoft_container .entry a {
    display: flex;
    color: #003E6A;
    text-decoration: none;
    align-items: center;
}

.yj-bd {
    overflow: hidden !important;
}

#yammer_content {
    height: calc(100% - 4px);
}

#viva_engage_content {
    height: calc(100% - 4px);
}

#facebook_content {
    height: calc(100% - 4px);
}

#tab_yammer img,
#tab_viva_engage img,
#tab_facebook img,
#tab_twitter img {
    height: 20px;
    margin-right: 8px;
}

#static_document_link_container {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#static_document_link_container .static_tile {
    flex: 1 0 45%;
    min-height: 35px;
    transition: all 0.1s ease-in-out 0s;
}

#static_document_link_container .static_tile>a:hover {
    background-color: var(--tone-dark-gray);
}

#static_document_link_container a {
    display: flex;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: var(--tone-gray);
    color: #003E6A;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    transition: all 0.1s ease-in-out 0s;
}

#static_document_link_container .a:hover {
    cursor: pointer;
    color: #003E6A;
}

content #social_container {
    display: flex;
}

content #yammer_feed {
    height: 100%;
    border: 1px solid rgba(0, 0, 0, .1);
}

#yammer_heading {
    height: 32px;
    padding: 4px;
    font-size: 0.8em;
    padding-left: 10px;
    justify-content: left;
    cursor: default;
}

#yammer_feed .publisher-placeholder--text {
    font-size: 0.8em;
}

content .tile {
    height: 120px;
    width: 120px;
    font-weight: 600;
    font-size: 0.8em;
    color: #003E6A;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.1s ease-in-out 0s;
}

.tile-content {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.1s ease-in-out 0s;
}

#static_landing_page_container .tile-content {
    background-color: var(--tone-gray);
}

.tile:hover>.tile-content {
    transform: scale(0.9);
    border-radius: 3px;
}

.tile-content span {
    padding: 5px;
}

#main_modal .tab_container {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    flex-direction: row;
}

.tab_container {
    display: flex;
}

content .tab_container {
    gap: 3px;
}

.tab {
    background-color: var(--tone-gray);
    border-bottom: 2px solid #f1f1f1;
    height: 40px;
    text-align: center;
    color: #003E6A;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.1s ease-in-out 0s;
}

.tab:hover {
    background-color: var(--tone-dark-gray);
}

.tab_container span.material-symbols-outlined {
    margin-right: 3px;
}

content .tab.active {
    border-bottom: 2px solid #3491c2;
}

.tab_content {
    border: solid 1px #D6D6D6;
    overflow-y: auto;
    height: 100%;
    background: white;
}

.tab_content ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.tab_content_entry {
    display: none;
}

.tab_content_entry.active {
    display: block;
}

.container .tab_content .entry {
    padding: 4px;
    padding-left: 10px;
    display: flex;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    text-decoration: none;
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    color: #0d3e69;
    font-size: 0.9em;
}

.container .tab_content .entry:hover {
    background-color: #1a679f0f;
    text-decoration: underline;
}

.container .tab_content #projects_list .entry {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.lbl_no_results {
    display: none;
    text-align: center;
    padding: 10px;
}

a.resource {
    text-decoration: none;
}

.modal {
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.modal_background {
    display: block;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    height: 90%;
    margin: auto;
    overflow-y: hidden;
    background-color: white;
    box-shadow: 0 0 1000px 1000px rgba(0, 0, 0, 0.25), 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.modal_body {
    height: 100%;
}

.modal_close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.modal_close .x span {
    font-size: 30px;
}

.modal_close span.mobile {
    display: none;
}

.modal_body {
    display: flex;
    flex-direction: column;
}

#main_modal .tab_content {
    border: none;
}

#main_modal .tab_content_entry {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white;
    padding: 15px;
}

#main_modal .tab {
    padding: 10px;
    color: white;
    font-size: 14px;
    border-bottom: none;
    width: 130px;
}

#main_modal .tab.active {
    box-shadow: inset 0em 0em 0em 10em rgba(0, 0, 0, 0.3);
}

#main_modal .tab:hover {
    box-shadow: inset 0em 0em 0em 10em rgba(0, 0, 0, 0.3);
}

#main_modal .tab:first {
    margin-left: 0px;
    background-color: green !important;
}

.modal_content_heading {
    justify-content: space-between;
    padding-bottom: 16px;
}

.modal_content_heading h2 {
    margin: 0px;
}

.modal_content_body {
    padding: 0;
    overflow-y: auto;
    height: 100%;
}

.left_panel {
    display: inline-block;
    vertical-align: top;
    width: 33%;
}

.right_panel {
    display: inline-block;
    vertical-align: top;
    width: 66%;
    column-count: 2;
    column-gap: 8px;
    column-rule: solid;
    column-rule-width: 1px;
    column-rule-color: rgba(0, 0, 0, 0.25);
    border-left: 1px solid rgba(0, 0, 0, 0.25);
}

.btn_close_modal {
    height: 30px;
    width: 30px;
    font-weight: bold;
    background-color: #f2f2f2;
    border: solid 1px black;
    cursor: pointer;
}

.btn_close_modal:hover {
    background-color: #FFFFFF;
}

.category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.category_label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 20px;
    color: #003E6A;
}

.category_label[href="#"] {
    text-decoration: none;
    cursor: default;
}

.category.quick_links {
    height: 100%;
}

.link.entry {
    margin-top: 8px;
    margin-bottom: 8px;
}

#searchPages {
    width: 30%;
    height: 20px;
    border: 1px solid gray;
    font-size: 14px;
    padding: 4px;
    padding-left: 8px;
    background-color: rgb(250, 250, 250);
}

.btn_calendar_action {
    border: 0;
    padding: 8px;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.lp_graphic {
    width: 400px;
}

.lc_graphic {
    height: 20px;
    position: relative;
    margin-right: 5px;
}

.link_icon {
    height: 30px;
    transform: translateY(8px);
    position: relative;
}

.right_panel .category:not(.quick_links) {
    display: inline-block;
    padding-bottom: 12px;
    padding-left: 12px;
    min-width: 250px;
}

.category:not(.quick_links) .links {
    line-height: 1.5;
    padding-left: 20px;
}

.category .link:last-child {
    margin-bottom: 10px;
}

.link a {
    color: #003E6A;
    font-size: 12px;
}

.link a:hover {
    color: #007DC5;
    text-decoration: none;
}

/* The box that represents a quick link */
.quick_link {
    height: 130px;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.1s ease-in-out 0s;
}

.quick_link:hover {
    box-shadow: inset 0em 0em 0em 10em rgba(0, 0, 0, 0.3);
}

.hover_shadow:not(.active):hover {
    cursor: pointer;
}

/* Anchor inside a quick link box */
.quick_link a {
    display: flex;
    color: white;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 5px;
}

.modal_content_body_calendar {
    display: flex;
    overflow-y: hidden;
    padding: 16px;
    height: 100%;
}

#calendar_today_container {
    padding: 8px;
}

#calendar_today_container>div {
    background-color: lightgray;
    width: 100px;
    height: 100px;
    color: white;
    margin-bottom: 8px;
    text-align: center;
}

#calendar_today_container>div h1 {
    font-size: 30px;
    padding-top: 20%;
    margin: 0;
}

#calendar_today_container>div h2 {
    font-size: 12px;
    margin: 0;
}

#calendar_today_container>div.active {
    background-color: #de40a3;
}

#calendar_container {
    padding: 8px;
}

#calendar {
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

#calendar_filters {
    padding: 8px;
    padding-top: 72px;
    min-width: 104px;
}

#calendar_filters #filter_by_team {
    border: 1px solid gray;
    padding: 4px;
}

#calendar_filters #filter_by_team h1 {
    font-size: 16px;
    margin: 0;
}

.fc-event {
    font-size: 12px;
}

.fc-right * {
    display: none !important;
}

#filter_by_type span {
    color: white;
    display: block;
    padding: 4px;
    margin-bottom: 4px;
    font-size: 14px;
}

.filter_disabled {
    text-decoration: line-through;
    color: rgb(150, 150, 150);
    opacity: 0.25;
}

.link_no_url a,
.link_no_url a:hover {
    opacity: 0.5;
    cursor: default;
}

/* Laptop */
@media screen and (max-width: 1400px) {
    #main_modal .tab_container {
        display: none;
    }

    content {
        flex-wrap: wrap;
        overflow-y: auto;
    }

    content .tile {
        flex: 1 1 25%;
    }

    .modal {
        position: fixed;
    }

    .modal .tab_content {
        overflow-y: auto;
    }

    .modal_background {
        width: 1000px;
    }

    .left_panel {
        width: 42%;
    }

    .right_panel {
        width: 49%;
        column-count: 1;
    }
}

/* Mobile - Do not modify the width */
@media screen and (max-width: 1050px) {
    content {
        flex-wrap: wrap;
        height: calc(100% - 70px);
        margin: 5px;
    }

    content #quick_links_container>#dynamic_landing_page_container {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        width: 100%;
    }

    content .tile {
        width: 50%;
        height: auto !important;
    }

    .tile:hover>.tile-content {
        transform: scale(1.0);
        border-radius: 3px;
    }

    content #quick_links_container>#static_landing_page_container .tile {
        padding: 10px;
        background-color: var(--tone-gray);
    }

    .modal {
        top: 10px;
        right: 10px;
        left: 10px;
        bottom: 10px;
    }

    .modal_background {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        transform: none;
        width: 100%;
        height: 100%;
    }

    .modal_content_body {
        column-count: 1;
    }

    .category.quick_links {
        border-right: 0;
        height: auto;
    }

    header {
        height: auto;
        background: #003E6A;
        flex-direction: column;
    }

    #header_context {
        padding: 20px;
    }

    #header_context img {
        margin-bottom: 0;
        height: 60px;
    }

    #header_context div {
        display: none;
    }

    #header_signout_content {
        width: 100%;
        padding: 10px;
        border-top-left-radius: 0px;
        overflow: hidden;
    }

    .container {
        flex: 1;
        min-height: 420px !important;
    }

    .modal {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    content #quick_links_container {
        flex: none !important;
        flex-direction: column;
        max-width: 100% !important;
        margin: 0px;
    }

    #calendar_today_container,
    .modal_content_heading .pull-right,
    #calendar_filters {
        display: none;
    }

    #main_modal .tab {
        width: 25%;
        padding: 0;
        height: 40px;
    }

    #main_modal .tab_content_entry {
        padding: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .modal_body {
        padding-top: 40px;
        background-color: rgb(240, 240, 240);
    }

    .modal_content_body {
        padding-bottom: 50px;
        height: auto;
        overflow-y: auto;
        columns: auto;
    }

    .left_panel {
        width: 100%;
        margin-bottom: 25px;
    }

    .right_panel {
        width: 100%;
        border-left: none;
    }

    .lp_graphic {
        display: none;
    }

    .quick_links {
        margin-bottom: 40px;
    }

    .category {
        display: inline-flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .quick_link {
        flex: 1 1 40%;
        height: auto;
        min-height: 80px;
    }

    .right_panel .category:not(.quick_links) {
        padding-left: 0;
    }

    .modal_content_heading {
        padding-bottom: 10px;
    }

    .modal_close {
        top: 0;
        right: 0;
        width: 100%;
        height: 40px;
        color: black;
    }

    .modal_close span.mobile {
        display: inline-block;
        line-height: 2;
        padding-left: 15px;
        margin-top: 3px;
        font-weight: bold;
    }

    .modal_close span.x {
        display: none;
    }

    #static_landing_page_container .tile-content {}

    #dynamic_landing_page_container .tile img {
        display: none;
    }

    content #quick_links_container>#dynamic_landing_page_container .tile {
        flex: 1 1 40% !important;
        min-height: 30px;
        font-size: 1em;
    }

    content #quick_links_container>#static_landing_page_container .tile img {
        height: 30px;
        width: auto;
        padding-bottom: 5px;
    }

    content #quick_links_container>#landing_page_container .tile {
        display: inline-block;
        width: 50% !important;
    }

    content #quick_links_container>#landing_page_container .tile {
        padding: 0 !important;
        padding-top: 10px !important;
        height: 26px !important;
    }
}

@media screen and (max-width: 600px) {
    .content #quick_links_container>#dynamic_landing_page_container .tile {
        height: 52px !important;
        padding-bottom: 10px;
    }

    .content #quick_links_container>#landing_page_container .tile {
        height: 52px !important;
        padding-bottom: 10px;
    }

    .static_tile {
        height: auto !important;
    }
}

@media screen and (max-height: 600px) {
    #acknowledgement {
        display: none;
    }
}