/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap');
body {
    color: #333;
    font-family: 'Poppins', sans-serif;
}
a {
    text-decoration: none;
    /* color: #1b98f8; */
}


/*
 * -- HELPER STYLES --
 * Over-riding some of the .pure-button styles to make my buttons look unique
 */
.primary-button,
.secondary-button {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: 20px;
}
.primary-button {
    color: #fff;
    background: #1b98f8;
    margin: 1em 0;
}
.secondary-button {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    padding: 0.5em 2em;
    font-size: 80%;
}

/*
 * -- LAYOUT STYLES --
 * This layout consists of three main elements, `#nav` (navigation bar), `#list` (email list), and `#main` (email content). All 3 elements are within `#layout`
 */
#layout, #nav, #list, #main {
    margin: 0;
    padding: 0;
}

/* Make the navigation 100% width on phones */
#nav {
    width: 100%;
    height: 40px;
    position: relative;
    background: rgb(37, 42, 58);
    text-align: center;
}
/* Show the "Menu" button on phones */
#nav .nav-menu-button {
    display: block;
    top: 0.5em;
    right: 0.5em;
    position: absolute;
}

/* When "Menu" is clicked, the navbar should be 80% height */
#nav.active {
    height: 80%;
}
/* Don't show the navigation items... */
.nav-inner {
    display: none;
}

/* ...until the "Menu" button is clicked */
#nav.active .nav-inner {
    display: block;
    padding: 2em 0;
}


/*
 * -- NAV BAR STYLES --
 * Styling the default .pure-menu to look a little more unique.
 */
#nav .pure-menu {
    background: transparent;
    border: none;
    text-align: left;
}
    #nav .pure-menu-link:hover,
    #nav .pure-menu-link:focus {
        background: rgb(55, 60, 90);
    }
    #nav .pure-menu-link {
        color: #fff;
        margin-left: 0.5em;
    }
    #nav .pure-menu-heading {
        border-bottom: none;
        font-size:110%;
        color: rgb(75, 113, 151);
    }


/*
 * -- EMAIL STYLES --
 * Styles relevant to the email messages, labels, counts, and more.
 */
.email-count {
    color: rgb(75, 113, 151);
}

.email-label-personal,
.email-label-work,
.email-label-travel {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 0.5em;
    border-radius: 3px;
}
.email-label-personal {
    background: #ffc94c;
}
.email-label-work {
    background: #41ccb4;
}
.email-label-travel {
    background: #40c365;
}


/* Email Item Styles */
.email-item {
    padding: 0.9em 1em;
    border-bottom: 1px solid #ddd;
    border-left: 6px solid transparent;
}
    .email-avatar {
        border-radius: 3px;
        margin-right: 0.5em;
    }
    .email-name,
    .email-subject {
        margin: 0;
    }
    .email-name {
        text-transform: uppercase;
        color: #999;
    }
    .email-desc {
        font-size: 80%;
        margin: 0.4em 0;
    }

.email-item-selected {
    background: #eee;
}
.email-item-unread {
    border-left: 6px solid #1b98f8;
}

/* Email Content Styles */
.email-content-header, .email-content-body, .email-content-footer {
    padding: 1em 2em;
}
    .email-content-header {
        border-bottom: 1px solid #ddd;
    }

        .email-content-title {
            margin: 0.5em 0 0;
        }
        .email-content-subtitle {
            font-size: 1em;
            margin: 0;
            font-weight: normal;
        }
            .email-content-subtitle span {
                color: #999;
            }
    .email-content-controls {
        margin-top: 1em;
        text-align: right;
    }
        .email-content-controls .secondary-button {
            margin-bottom: 0.3em;
        }

    .email-avatar {
        width: 40px;
        height: 40px;
    }


/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 40em) {

    /* Move the layout over so we can fit the nav + list in on the left */
    #layout {
        padding-left:500px; /* "left col (nav + list)" width */
        position: relative;
    }

    /* These are position:fixed; elements that will be in the left 500px of the screen */
    #nav, #list {
        /* position: fixed; */
        top: 0;
        bottom: 0;
        overflow: auto;
    }
    #nav {
        margin-left:-500px; /* "left col (nav + list)" width */
        width:150px;
        height: 100%;
    }

    /* Show the menu items on the larger screen */
    .nav-inner {
        display: block;
        padding: 2em 0;
    }

    /* Hide the "Menu" button on larger screens */
    #nav .nav-menu-button {
        display: none;
    }

    #list {
        margin-left: -350px;
        width: 100%;
        height: 33%;
        border-bottom: 1px solid #ddd;
    }

    #main {
        position: fixed;
        top: 33%;
        right: 0;
        bottom: 0;
        left: 150px;
        overflow: auto;
        width: auto; /* so that it's not 100% */
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 60em) {

    /* This will take up the entire height, and be a little thinner */
    #list {
        margin-left: -350px;
        width:350px;
        height: 100%;
        border-right: 1px solid #ddd;
    }

    /* This will now take up it's own column, so don't need position: fixed; */
    #main {
        position: static;
        margin: 0;
        padding: 0;
    }
}

/*  header logo*/
a {
    text-decoration: none;
}
a:link, a:visited {
    color: #fff;
}
a:hover {
    color: unset;
}
.pure-menu-selected .pure-menu-link, .pure-menu-selected .pure-menu-link:visited{
    color: #fff;
}

.header{
    background: #22386a;
}
.header .pure-menu-horizontal a.pure-menu-heading {
    display: block;
    text-align: center;
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    padding: 20px 15px 10px 15px;
}

.pure-menu-horizontal .pure-menu-list{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pure-menu-horizontal .pure-menu-list li{
    display: inline-block;
    background: transparent;
}
.pure-menu-link{
    background: transparent;
    border-bottom: 2px solid transparent;
    padding: 0 0 10px 0;
    margin: 0 10px;
    text-transform: uppercase;
    color: #cccfd3;
    font-weight: 400;
    display: block;
    letter-spacing: 0.3px;
}
.pure-menu-link:hover,.pure-menu-link:focus {
    color: #44b648 !important;
    background: transparent;
    border-bottom: 2px solid #44b648;
    text-decoration: none;
}
.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after {
    content: "\2304";
    font-size: 1.5rem;
    padding: 0;
    line-height: 0;
}
li.pure-menu-item .pure-menu-children li.pure-menu-item {
    display: block;
    margin-top: 0.4rem;
}
li.pure-menu-item .pure-menu-children {
    background: #22386a;
}
.header .mobile-view {
    display: none;  
}
.main{
    max-width: 100%;
}
.show {
        display: block;
}
.header .pure-menu-horizontal ul.mobile-dd {
    background: #22386a;
    margin: 0;
    width: 200px;
    border-radius: 3px;
    filter: drop-shadow(0 2px 4px #000);    
    padding: 12px;
    position: absolute;
    top: 70px;
    z-index: 50;
    right: 20%;
}
.pure-menu.pure-menu-horizontal ul.mobile-dd li.pure-menu-item {
        display: block !important;
}
li.pure-menu-item.pure-menu-has-children.pure-menu-allow-hover:hover ul.pure-menu-children {
    display: block;
}
.navbar-expand-lg{
    flex-flow: column !important;        
}
.navbar-toggler {
    padding: 0 0.5rem !important;
    line-height: 1.6 !important; 
    background-color: white !important;
}
@media screen and (max-width: 1400px) {
    div.header .pure-menu-link{
        font-size: 14px;
    }
}
@media screen and (max-width: 1250px) {
    .pure-menu-horizontal .pure-menu-list li {
        flex: 0 1 auto;
    }
}
@media screen and (min-width: 992px) {
    .header .pure-menu-horizontal ul.mobile-dd{
        display: none !important;
    }

}
@media screen and (max-width: 991px) {
    .pure-menu-horizontal .pure-menu-list{
        display: none;
    }
    /*.header .pure-menu-horizontal ul.mobile-dd {
        display: flex;
    }*/
    .header .mobile-view {
        display: inline-block;
        font-size: 2rem;
        color: #fff;
        padding-right: 1rem;
    }
    .header .header-logo-hamburger {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    li.pure-menu-item .pure-menu-children {
        background: #ffffff;
        border-radius: 3px;
        margin-left: 2rem;
        filter: drop-shadow(0 2px 3px #fff);
    }
    li.pure-menu-item .pure-menu-children .pure-menu-item a {
        color: #22386a;
    }
    /*.header .pure-menu-horizontal .pure-menu-list{
        display: none;
    }*/
    .header .pure-menu-horizontal a.pure-menu-heading {
        text-align: unset;
    }
    .header .pure-menu-horizontal a.pure-menu-heading img{
        max-width: 70%;
    }
}
/*.footer {
    background: url("../../newdesign/images/img8.jpg");
    text-align: center;
    padding-top: 68px;
    padding-bottom: 70px;
}*/

