﻿/*================================
    Site.master Styling
==================================*/

.modalBackground {
    background-color: black;
    filter: opacity(60);
    opacity: 0.6;
}

.modalPopup {
    background-color: #FFFFFF;
    width: 300px;
    border: 3px solid #ffc217;
    border-radius: 12px;
    padding: 0 0 .5em 0;
}

    .modalPopup .header__panel {
        background-color: #ffc217;
        height: 30px;
        color: white;
        line-height: 30px;
        text-align: center;
        font-weight: bold;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .modalPopup .body__panel {
        padding: 10px;
        min-height: 50px;
        text-align: center;
        font-weight: bold;
    }

    .modalPopup .footer__panel {
        padding: 6px;
    }

    .modalPopup .yes__btn {
        margin-left: 1em;
        background-color: #2FBDF1;
        border: 1px solid #0DA9D0;
    }

    .modalPopup .yes__btn {
        background-color: #9F9F9F;
        border: 1px solid #5C5C5C;
    }

.testBkColor {
    background-color: #79edf7;
    color: #616161;
    font-weight: bold;
    padding: .5em 0;
    text-align: center;
}

    .testBkColor p {
        margin-top: 0;
        margin-bottom: 0;
    }

.testBorder {
    /*border: 3px solid #79edf7;*/
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 2%;
    z-index: 99;
    border: none;
    background-color: dimgray;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: large;
}

body {
    background-color: #f2f2f2;
    width: 100%;
    height: 100vh;
}

h1 {
    margin: 0;
    font-weight: 100;
    font-size: 17px !important;
}

h2 {
    color: white;
}

#global-header {
    background-color: #3b3b3b;
}

#global-header__utility {
    background-color: #1f1f1f;
    height: 2em;
}

#global-header__logo {
    /*margin: 1.25rem;*/
}

.navbar {
    padding: 10px;
}

.hamburger-menu {
    font-size: 0px;
}

.hamburger-menu .fa-bars {
    font-size: 25px !important;
}

.logo {
    width: 70%;
    padding: .5em;
}

.logo img {
    width: 210px;
    padding: 1em 0 .5em 1em;
}

.logo__desktop {
    display: none;
}

#global-header__main {
    /*display: flex;*/
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* Style the navigation menu */
.desktop-nav {
    display: none;
}

.topnav {
    overflow: hidden;
    /*position: relative;*/
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #navLinks {
    display: none;
}

/* Style navigation menu links */
.topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    /*font-size: 17px;*/
    display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
    height: 100%;
    display: block;
    /*position: absolute;*/
    right: 0;
    top: 0;
}

a.icon fa {
    position: relative;
    top: 20px;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
    /*background-color: #ddd;
    color: black;*/
}

/* Style the active link (or home/logo) */
.active {
    border-bottom: 2px solid #ffc217;
}

.subnav {
    display: grid;
    background-color: #636363;
    grid-template-areas:
        "accordion accordion"
        "user-profile-img__container user-name__container";
}

.user-info {
    display: inline-flex;
    padding: .5em 0 .5em 0;
    align-items: center;
}

/* Profile Image Styling */

/* Dropdown Button */
.dropbtn {
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

/*----------------------------
    SUBMENU ACCORDION
----------------------------*/


.accordion {
    width: 100%;
    overflow: hidden;
    background-color: #ffc217;
    grid-area: accordion;
}

.accordion__intro {
    position: relative;
    cursor: pointer;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    will-change: max-height;
    transition: all 0.25s ease-out;
    color: #f1f1f1;
    opacity: 0;
}

.accordion__active {
}

.accordion__intro p {
    margin: 0 .5em;
    font-size: 30px;
    text-align: right;
}

.accordion__content {
    opacity: 1;
}

.user-flags__dropdown {
    padding: 0;
    font-size: 16px;
    border: 1px solid #767676;
    border-radius: 5px;
}

.user-flags__dropdown li {
    padding: .5em;
}

.user-flags__dropdown li:nth-child(even) {
    background-color: #c8c8c8;
}

.user-name__container {
    display: flex;
    justify-content: end;
    grid-area: user-name__container;
    margin-right: 0;
    margin-left: 1em;
    padding-right: 1em;
}

.user-name__container p {
    color: #fff;
    align-self: flex-end;
}

.user-name__container p {
    font-size: 18px;
}

.user-profile-img__container {
    display: flex;
    justify-content: start;
    grid-area: user-profile-img__container;
    padding-left: 1em;
}

.user-profile__img {
    width: 45px;
}

.utility-icons {
    display: grid;
    font-size: 12px;
    margin-top: .5em;
    margin-bottom: .5em;
    grid-area: utility-icons;
    grid-row-gap: .5em;
    grid-template-areas:
        "Office365 Email OneStop Bboard"
        "ePermits directory AtoZ LogOut";
}

    .utility-icons div {
        display: flex;
        margin: 0 auto;
        /*position: relative;*/
        text-align: center;
        background-repeat: no-repeat;
        background-position: top;
        height: 50px;
    }

    .utility-icons a {
        display: flex;
    }

    .utility-icons p {
        color: black;
        text-decoration: none;
        margin: 0;
        /*position: absolute;
    bottom: 0;*/
        align-self: flex-end;
    }

.tablet-desktop {
    display: none;
}

.Office365 {
    grid-area: Office365;
    background-image: url("../Images/Office365_email_icon_02.png");
}

.Email {
    grid-area: Email;
    background-image: url("../Images/mywsu_7_email.png");
}

.OneStop {
    grid-area: OneStop;
    background-image: url("../Images/mywsu_onestop_icon_rounded.png");
}

.Bboard {
    grid-area: Bboard;
    background-image: url("../Images/mywsu_6_blackboard-logo.png");
}

.ePermits {
    grid-area: ePermits;
    background-image: url("../Images/Parking.png");
}

.directory {
    grid-area: directory;
    background-image: url("../Images/mywsu_2_directory_book.png");
}

.AtoZ {
    grid-area: AtoZ;
    background-image: url("../Images/mywsu_3_A-Z.png");
}

.LogOut {
    grid-area: LogOut;
    display: inline !important;
}

#logoutBtn,
#logoutBtnMobile {
    grid-area: LogOut;
    background-image: url("../Images/mywsu_1_logout.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 35px;
    width: 35px;
    border: none;
    border-radius: 4px;
    font-size: 0;
}

#mobileTabDisplayContainer {
    padding: .5em 0 .5em .5em;
    display: flex;
    justify-content: space-between;
}

#mobileTabDisplay {
    margin: .5em;
}
/*================================
    Channel Styling
==================================*/
.channels__container,
.channel-section__container {
    margin: 1em;
}

.channel__grid {
    border: 1px solid #4c4c4c;
    border-radius: 5px;
    background-color: #fff;
    margin-bottom: 1em;
}


/*================================
    Element Styling
==================================*/
h3, h3 {
    font: normal 18px "Roboto", sans-serif;
    background-color: #4c4c4c;
    color: white;
    padding: .5em;
    border-radius: 5px;
    margin: 0;
}

body {
    margin: 0;
    font: normal 16px "Roboto", sans-serif;
}

li {
    text-decoration: none;
    list-style: none;
}

a {
    display: block;
    text-decoration: none;
}

a:visited, a:hover, a:focus {
    text-decoration: none;
    /*color: #000;*/
}

input[type=submit] {
    cursor: pointer;
}

iframe {
    height: 100%;
    width: 100%;
    border: none;
}

.float-right {
    float: right;
}

#footer {
    margin-top: 1em;
}

/*================================
    Legacy Styling
==================================*/

@media only screen and (max-width: 1200px) {
}

#content {
    width: 100%;
}

#container,
.container {
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 80px;
}

#header {
    border-radius: 0px !important;
    background-color: #3b3b3b !important;
    padding-left: 10%;
    padding-right: 10%;
    border-bottom: solid 6px !important;
    border-bottom-color: #fcd116 !important;
    height: auto !important;
}

#footer {
    display: block;
}

#footer a:visited, a:hover, a:focus {
    text-decoration: none;
    /*color: #fff;*/
}


hr {
    border: 1px solid #fcd116;
}


@media only screen and (max-width: 1200px) {
    h1 {
        /*font-size: 1.4em !important;*/
    }

    #header {
        padding-left: 2%;
        padding-right: 2%;
    }

    #container,
    .container {
        padding-left: 2%;
        padding-right: 2%;
        padding-bottom: 80px;
    }

    #footer {
        font-size: xx-small;
    }
}

/*==================================
==================================
    TABLET VIEW STYLING
==================================
==================================*/

@media (min-width: 768px) {
    .logo {
        padding: .5em 0 .5em 1em;
    }

    .logo img {
        width: 245px;
    }

    .utility-icons {
        display: flex;
        margin-top: .5em;
    }

    .user-profile__img {
        
    }

    .user-name__container p {
        font-size: 16px;
    }

    /*.channels__container {
        column-count: 2;
        column-fill: balance;
    }*/

    .channel__multi-column {
        break-inside: avoid-column;
    }

    .tablet-desktop {
        display: none;
    }
}

/*==================================
==================================
    DESKTOP VIEW STYLING
==================================
==================================*/

@media (min-width: 1024px) {

/*================================
    Element Styling
==================================*/
    h1 {
        font-size: 18px !important;
    }

    h3 {
        font-size: 18px;
    }

    body {
        margin: 0;
        font: normal 16px "Roboto", sans-serif;
    }

    .body-content-container {
        /*min-height: calc(100vh - 307px);*/
        padding-bottom: 50px;
    }

    div[class$="iframe__container"] {
        height: 100%;
    }

    #footer {
        display: flex;
        border-radius: 0px !important;
        height: 50px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        position: absolute !important;
        position: static !important;
        bottom: 0;
        width: 100%;
        justify-content: center;
    }

    /*================================
    Channel Styling
==================================*/

    /*.channels__container {
        grid-gap: 1em;
        display: block !important;
        column-count: 3;
        column-fill: balance;
    }*/

    /*================================
    Site.master Styling
==================================*/
    .mobile-nav {
        display: none !important;
    }

    .desktop-nav {
        display: flex !important;
    }

    .logo {
        display: none;
    }

    .logo__desktop {
        display: block;
        padding: 1.5em 0 1em 2em;
    }

        .logo__desktop img {
            height: 70px;
        }

    #global-header__utility {
        height: 100%;
    }

    /* NAVBAR STYLING STARTS */
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        /*width: 100%;*/
    }

    .nav-links a {
        color: #fff !important;
    }

    /* NAVBAR MENU */
    .menu {
        display: flex;
        gap: 1em;
        font-size: 18px;
        flex: 1.5 0;
        justify-content: end;
    }

    .menu li,
    .menu h1,
    .navLinks li,
    .navLinks h1 {
        padding: 5px 14px;
        list-style: none;
        border-bottom-color: #3b3b3b;
    }

    .menu li a:hover {
        border-bottom-color: #ffc217;
        transition: 0.3s ease;
    }

    .menu a,
    .menu a:visited,
    .menu a:hover,
    .menu a:focus {
        text-decoration: none;
        color: white;
    }

    .menu li a:hover {
        border-bottom-color: #ffc217;
        transition: 0.3s ease;
    }

    .subnav {
        display: flex;
        justify-content: end;
    }

    .utility-icons {
        display: flex;
        text-align: center;
        font-size: 12px;
        margin-bottom: .5em;
    }

    .utility-icons div {
        display: flex;
        margin: 0 1em 0 0;
    }

    .utility-icons a {
        display: flex;
    }

    .utility-icons p {
        margin: 0;
        color: white;
        align-self: flex-end;
    }

    #mobileTabDisplayContainer {
        display: none;
    }

    .user-profile-img__container {
        background-color: transparent;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        width: 100px;
    }

    .user-info {
        margin-right: auto;
    }

    .user-profile__img {
        width: 40%;
        height: 70%;
    }

    .user-name__container {
        
    }

    .user-name__container p {
        font-size: 18px;
        margin: 0;
    }

    .user-flags__dropdown {
        left: 50%;
        top: 75%;
    }

    .accordion {
        display: none;
    }

    .tablet-desktop {
        display: flex !important;
    }
}

#footer {
    /*position: fixed;*/
    clear: both;
    overflow: hidden;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}


/*==================================
==================================
    EXTENDED DESKTOP VIEW STYLING
==================================
==================================*/
@media (min-width: 1440px) {
    .logo img {
        width: 60%;
    }
}