/* ****** Z-INDEX GUIDE ********* */
/* Navigation <header>: 1000      */
/* Navigation z-index: 995 - 999  */
/* ****************************** */

/* NAVIGATION */

#nav {
    background:#fff;
    position:relative;
    z-index:999;
    height:auto;
    -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    transition:all .4s ease;
    width: 100%;
}
#menu-divider {
    content:"";
    background:#273548;
    width:100%;
    height:6px;
    display: block;
}
#nav.sticky {
    border-bottom: 1px solid #273548;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    height:auto;
    opacity:1;
}
nav {
    display:inline-block;
    margin-bottom:-5px;
}
#nav .button-tag {
    margin-top:10px;
    margin-bottom:10px;
    margin-right:48px;
}
#nav .button-tag.member_login {
    text-transform: none;
}
#nav .button-tag.member_login:hover {
    text-decoration: none;
    opacity: 0.9;
    transition: all .2s ease;
}
#nav .button-tag.member_login i {
    margin-right: 2px;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 1px 3px;
}
.mobile-nav-toggle {
    position: absolute;
    /*width: 100%;*/
    text-align: center;
    top: 13px;
}
.mobile-nav-toggle .mobile-close {
    display:none;
    position: absolute;
    top: 0;
    background: #fff;
    padding: 0 3px;
    height: 30px;
    /*margin-left:-102px;*/
    transition:none;
}
.mobile-nav-toggle a {
    display: inline-block;
    font-size: 15px;
    color:#273548;
    font-weight:bold;
    text-transform:uppercase;
    height:39px;
    width:100px;
}
.mobile-nav-toggle .fa {
    font-size: 21px;
    left: 0;
    margin-right: 5px;
    position: relative;
    top: 2px;
}

#megamenus .col-md-1, #megamenus .col-md-2, #megamenus .col-md-3, #megamenus .col-md-4, #megamenus .col-md-5, #megamenus .col-md-6, #megamenus .col-md-7, #megamenus .col-md-8, #megamenus .col-md-9, #megamenus .col-md-11, #megamenus .col-md-10, #megamenus .col-md-12 {
    padding: 0 !important;
}

#megamenus, .megamenu, #dashboard {
    z-index:997;
    position:absolute;
    width:100%;
    height:100%;
    min-height:768px;
}
#megamenus.sticky, #dashboard.sticky {
    position: fixed;
    top: 53px;
    height:100%;
}
nav ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
nav ul {
    /* height:50px; */
    height:auto;
    position:relative;
    z-index:999; 
}
nav ul li {
    float:left;
    display:block;
}

#nav nav ul li a {
    display:block;
    font-weight:bold;
    color:#273548;
    padding:24px 18px 22px;
    text-transform:uppercase;
    line-height:1;
    -webkit-transition: .2s all ease-out;
    -moz-transition: .2s all ease-out;
    transition: .2s all ease-out;
}
#nav.sticky nav ul li a {
    padding: 20px 18px 19px;
}
#nav nav ul li a:hover, #nav nav ul li a.active {
    color:#fff;
    text-decoration:none;
    background:#273548;
    opacity:1;
}
#nav nav ul li a.current {
    position: relative;
}
#nav nav ul li a.current::after {
    border-bottom: 6px solid #0A1C33;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 0;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 0;
}
#nav nav ul li a.active {
    background:#0a1c33;
}

.btn-circle {
    background: #337AB7;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    border-radius: 50%;
    padding: 5px 10px;
    position: relative;
    right:35px;
    top:15px;
}

    .btn-circle:hover {
        background: #2378a6;
    }

    .btn-circle:hover,
    .btn-circle:active,
    .btn-circle:focus {
        color: #fff;
    }

#login-popover {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 1;
    background-color: #fff;
    color: #333;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
    border: none;
    border-radius: 0px;
    width: 200px;
    top: 40px;
    right: -20px;
    text-align: center;
}
    
#login-popover:before {
    position: absolute;
    z-index: -1;
    content: "";
    right: calc(50% - 73px);
    top: -8px;
    border-style: solid;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent #337ab7 transparent;
}

#login-popover.show,
#login-popover.show:before {
    opacity: 1;
    visibility: visible;
    transition: all 1s;
}

#login-popover .title {
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    background-color: #337ab7;
    padding: 10px;
}

#login-popover .content {
    font-weight: 500;
    color: #337ab7;
    padding: 10px;
}

#login-message {
    display: flex;
    flex-direction:column;
    float: right;
    justify-content: center;
    height:60px;
    width: 320px;
}

    #login-message div > div {
        display: inline-block;
    }

    #login-message .label {
        color:#999;
        display: inline-block;
        font-weight:normal;
        text-align: left;
        text-transform:uppercase;
        width: 70px;
    }

    #login-message a {
        font-weight:bold;
    }
    
        #login-message a:hover {
            color: #23527c;
        }

    #login-message i {
        margin-right: 5px;
    }
    
    #login-message .fa-user {
        border: 1px solid;
        border-radius: 50%;
        padding: 1px;
    }

#managing {
    margin-top:5px;
}

#loggedin-name {
    display: inline-block;
    vertical-align: middle;
    text-align: right;
    max-width: 170px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#managing-name {
    display: inline-block;
    vertical-align: middle;
    text-align: right;
    max-width: 170px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* MEGAMENU & DASHBOARD */

#megamenus {
    position:absolute;
    left:-100%;
    -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    transition:all .4s ease;
    width:69%;
    top:0;
    background:#142d4c;
}
#megamenus.active {
    left:0;
}
.megamenu {
    display:none;
    background:#142d4c;
}
.megamenu.active {
    display:block;
}
#dashboard .inner,
.megamenu .inner {
    position: relative;
    width:100%;
    margin-top:155px;
    padding-top:65px;
    color:#fff;
    background:url(../images/menus/megamenu-bg.jpg) no-repeat center 0;
    height:100%;
}
#dashboard.sticky .inner {
    margin-top:58px;
    padding-top:0;
}
#dashboard.sticky .inner .close {
    top:-46px;
}
#dashboard h3.dash {font-size: 1.2em;}
.dash-fav li {
    padding-bottom: 11px;
    padding-top: 14px;
    list-style-type:none;
}
.dash-fav button.add-to-dashboard, .dash-fav button.remove-from-dashboard {
    margin: 0;
    position: relative;
    top: -2px;
    margin-left: 7px;
}
.sticky .megamenu .inner {
    width:100%;
    padding-top:58px;
    margin-top:0;
}
#nav-overlay {
    position:fixed;
    z-index:996;
    background:#fff;
    width:100%;
    top:0;
    left:0;
    height:100%;
    display:none;
    -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    transition:all .4s ease;
    opacity:.9;
}
.megamenu a {
    color:#fff;
}
.megamenu .title a {
  pointer-events: none;
}

#dashboard .title,
.megamenu .title {
    font-size:1.6rem;
    font-weight:500;
    background: #113c60;
    padding: 11px 24px 10px;
    margin-bottom:10px;
    display:block;
    white-space: nowrap;
    min-height: 43px;
}
.megamenu ul {
    padding:0;
    padding-left:24px;
    list-style-type:none;
    margin:0;
}
.megamenu ul a {
    padding:6px 0 7px;
    display:block;
    position:relative;
}
.members-only:before {
  background: rgba(0, 0, 0, 0) url("/WGA-Main/images/menus/member-only.svg") no-repeat scroll 0 0 / 23px auto;
  content: "";
  display: block;
  float: left;
  height: 21px;
  margin-right: 4px;
  width: 25px;
}
.menu-callouts {
  background: rgba(98, 122, 155, 0.3) none repeat scroll 0 0;
  clear: both;
  float: left;
  margin-top: 24px;
  padding: 14px 11px;
  width: 100%;
  display: -webkit-flex;
  -wenkit-justify-content:space-around;
  display:flex;
  justify-content:space-around;

}
.menu-callouts > div {
    position:relative;
}
.menu-callouts > div > div {
    position:absolute;
    top:0;
    left:0;
}
.mobile-cta {
    display:none;
}

#dashboard {
    position:absolute;
    right:-31%;
    -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    transition:all .4s ease;
    width:31%;
    top:0;
    background:#337AB7;
}
#dashboard.active, #dashboard.single-active {
    right:0;
}
#dashboard .inner {
    background: none transparent;
}
#dashboard .logged-out,
#dashboard .logged-in {
    padding: 0 0 0 5em;
    display: none;
}
#dashboard .logged-out.active,
#dashboard .logged-in.active {
    display: block;
}
#dashboard .logged-out .dash a {
    color: #fff;
    text-decoration: underline;
}
#dashboard .title {
    background: #0e3151;
    margin-left: -4.35em;
    padding:10px 24px 9px;
}
#dashboard .title h2 {
    color: #2378a6;
    font-size: 2.4rem;
    font-weight: 100;
    line-height: 1;
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 0;
    padding-left: 49px;
    position: relative;
}
#dashboard .title h2 span {
   color:#fff;
}
#dashboard .title h2 a:hover {
    color: hsla(208,56%,61%,1);
}
#dashboard .icon-arrow-circle:before {
    border: 1px solid;
    border-radius: 20px;
    color: #2378a6;
    font-size: 28px;
    left: 7px;
    padding: 1px 0 0 2px;
    position: absolute;
    text-align: center;
    top: -5px;
}
#dashboard ul li {
    position: relative;
    line-height: 1.6em;
    font-size: 17px;
    font-size: 1.7rem;
    font-weight: 400;
    margin: 1em 0;
    margin-right: 40px;
    list-style: none;
}
#dashboard ul.arrowed-list li:before {
    position: absolute;
    top: 50%;
    left: -20px;
    margin-right: 1em;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
#dashboard ul.arrowed-list li a,
#dashboard ul.arrowed-list li a:hover {
    color: #fff;
    display: block;
    width: 85%;
}
#dashboard  ul.arrowed-list li {
    border-bottom: 1px solid #99b1bb;
}
#dashboard ul.arrowed-list li .fa-user {
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 1px 3px;
    font-size: 13px;
}
#dashboard .logged-out ul.arrowed-list {
    margin-top:18px;
    font-weight: 100;
}
    #dashboard .logged-out ul.arrowed-list li i {
        margin-right: 15px;
        opacity: 1;
    }
#dashboard ul.arrowed-list li::before {
    height:16px;
}
#dashboard .logged-in ul li:last-of-type {
    margin-bottom: 0.2em;
}
#dashboard button.icon-minus {
    -webkit-transform: translateY(-65%);
    -moz-transform: translateY(-65%);
    -o-transform: translateY(-65%);
    transform: translateY(-65%);
    background: rgba(100%,100%,100%,0.2);
    border-radius: 20px;
    color: #dd6d6d;
    font-size: 19px;
    line-height: 1;
    margin-left: 0.5em;
    padding: 0;
    position: absolute;
    right: 24px;
    top: 50%;
    vertical-align: middle;
    margin-top:0;
}
#dashboard button.icon-minus:hover {
    color: red;
    background: rgba(100%,100%,100%,0.8);
}
#dashboard ul.secondary-links {
    margin: 5em 0 0;
    padding: 0;
}
#dashboard ul.secondary-links li {
    background: #1d324c none repeat scroll 0 0;
    margin: 1px 0;
    padding: 10px 14px 5px;
}
#dashboard ul.secondary-links li a {
    color: #fff;
}
#dashboard ul.secondary-links li .date {
    font-size: 0.8em;
    color: #2378a6;
    font-weight: 500;
}

#dashboard .close {
    border: none;
    color: #fff;
    font-weight: 300;
    opacity: 1;
    padding: 4px 8px;
    position: absolute;
    top: 15px;
    right: 30px;
}

    #dashboard .close i {
        font-size: 26px;
        opacity: 0.5;
    }

.modal-content .close {
    border: 1px solid #fff;
    border-radius: 20px;
    color: #fff;
    font-weight: 300;
    opacity: 1;
    padding: 4px 8px;
    position: absolute;
    right: 20px;
    top: 15px;
}
.modal-content .close {
    color:#aaa;
    border-color:#aaa;
}
.nav-closes {
    display:none;
}

/* BUSINESS MANAGER DASHBOARD */

a.disabled {
  pointer-events: none;
  cursor: default;
}

#dashboard-flyout #account-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    #dashboard-flyout #account-content ul.arrowed-list li::before {
        height: 28px;
    }

    #dashboard-flyout #account-content ul li a {
        color: #fff;
        display: block;
        padding-bottom: 10px;
    }

        #dashboard-flyout #account-content ul li a i {
            margin-right: 15px;
            opacity: 1;
        }

    #dashbarod-flyout #account-content .title {
        margin-left: -4.3em;
    }

    #dashboard-flyout #account-content .notes {
        color: #2378a6;
        font-size: 2.4rem;
        line-height: 2.6rem;
        height: 43px;
        font-weight: 100;
        margin-bottom: 20px;
        margin-right: 0;
        margin-top: 0;
        padding: 5px 10px 5px 50px;
        position: relative;
        background: #0e3151;
        margin-left: -2.93em;
    }

    #dashboard-flyout #account-content .notes label {
        margin: 0;
        color: #fff;
        font-size: 12px;
    }

    #dashboard-flyout #account-content .notes #user-access {
        color: #fff;
        font-size: 14px;
    }

#dashboard-flyout #account-content a,
#dashboard-flyout #favorites-content a {
    color: #ffffff;
    cursor: pointer;
}

#dashboard-flyout #favorites-content .title {
    margin-top: 15px;
}

#dashboard-flyout #favorites-content a i {
    padding-right: 5px;
}

/* ****************************** */
/* RESPONSIVE */
/* ****************************** */

@media (min-width: 1024px) {
    /*#dashboard.detach-from-menu {*/
    /*    display:none;*/
    /*}*/
}

@media screen and (max-width: 1324px) {
    #megamenus {
        width:100%;
    }   
}

@media (max-width: 1260px) {
    #nav nav ul li a {
        font-size:1.2rem;
        padding: 20px 6px 20px;
    }
}
@media (max-width: 1199px) and  (min-width: 768px){ 
    .mywga-login {
        padding: 10px 0px !important;
    }
}

@media (min-width: 992px) and (max-width: 1309px) {
    /*#nav nav {
        width: 100%;
        border-bottom: 1px solid #ccc;
    }*/
    
    #nav nav ul li a {
        font-size: 1.2rem;
        line-height: 1.75;
    }
    
    /*#dashboard.expand-height {
        top: 60px;
    }*/
}

@media (min-width: 992px) and (max-width: 1062px) {
    #nav nav ul li a {
        padding-top: 25px;
    }
    
    #login-message {
        width: 235px;
    }
    
    #dashboard-link.btn-circle {
        right: 10px;
    }
    
    #loggedin-name,
    #managing-name {
        max-width: 125px;
        font-size: 12px;
    }
}

@media screen and (max-width: 1200px) {
    #nav.sticky nav ul li a {
        font-size: 1.2rem;
        padding: 20px 6px 20px;
    }
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display:none;
    }
    nav {
        display:inline-block;
    }
    .mobile-nav-toggle .mobile-close {
        display:none !important;
    }  
}

@media screen and (max-width: 991px) {
    #dashboard {
        z-index:1000;
    }
    #dashboard .close {display:none; }
    nav {
        background: rgba(39, 53, 72, 0.98) none repeat scroll 0 0;
        display: none;
        position: absolute;
        top: 56px;
        width: 100%;
        height: auto;
        -webkit-transition:top .4s ease;
        -moz-transition:top .4s ease;
        transition:top .4s ease;
    }
    #nav.sticky nav {
        top:53px;
    }
    nav ul {
        height:auto;
        padding-bottom:10px;
    }
    nav ul li {
        float:none;
        text-align:center;
        -webkit-transition:all .4s ease;
        -moz-transition:all .4s ease;
        transition:all .4s ease;
        height:54px;
        overflow:hidden;
    }
    #nav nav ul li a {
        color:#fff;
        font-size:14px;
    }
    #megamenus.active {
        left:0;
    }
    #dashboard {
        right:-450px;
        width:450px;
        max-width:100%;
    }
    #dashboard .inner, .megamenu .inner {
        margin-top:0;
        padding-top:0;
    }
    .megamenu .inner {
        display: -webkit-flex;
        -webkit-flex-flow: row wrap;
        display: flex;
        flex-flow: row wrap;
        width: 100%;
        max-height:850px;
    }
    #nav ul.show-one {
        padding-bottom:0;
    }
    nav ul.show-one li {
        height:0;
    }
    nav ul.show-one li.show-only {
        display:block;
        height:54px;
    }
    nav ul.show-one li.show-only a:before {
        content:" ";
        border-top:6px solid #fff;
        border-left:6px solid transparent;
        border-right:6px solid transparent;
        height:0;
        width:0;
        margin-right:8px;
        transform:scale(.999);
        position:relative;
        top:13px;
    }
    nav ul.show-one li.show-only a:after {
        border: 2px solid #fff;
        border-radius: 15px;
        content: "x";
        font-size: 14px;
        font-weight: 700;
        right: 40px;
        padding: 4px 2px;
        position: absolute;
        text-align: center;
        top: 12px;
        width: 27px;
        z-index: 0;
    }
    #dashboard {
        top:156px;
    }
    #megamenus {
        top:205px;
    }
    .mobile-close .close {
        border: 2px solid #273548;
        border-radius: 1em;
        color: #273548;
        float: left;
        font-size: 14px;
        font-weight: 700;
        margin-right: 6px;
        opacity: 1;
        padding: 3px 6px 3px;
        position: relative;
        top: -2px;
        left: 1px;
    }
    /*#dashboard .title, */
    .megamenu .title {
        border-bottom: 1px solid #aaa;
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 10px;
        margin-left: 24px;
        margin-right: 24px;
        padding: 25px 0 6px;
        background:none;
    }
    .menu-callouts {
        padding-left:24px;
        padding-right:24px;
        display:block;
    }
    .menu-callouts > div {
        border-bottom: 1px dashed;
        padding-bottom: 8px;
        padding-top: 9px;
        position: relative;
        width: 100%;
    }
    .menu-callouts > div > div {position:relative;}
    .menu-callouts .mobile-cta {display:block;}
    .menu-callouts img {display:none;}
    .menu-callouts h4 {
        margin-bottom:4px;
    }
}

@media screen and (max-width: 767px) {
    nav {
        display:none;
    }
    nav ul.show-one li.show-only a:after {
        /*left: 0;*/
        /*margin: auto;*/
        right: 15px;
        top: 10px;
    }
    #nav {
        height: 55px;
    }
    .mobile-nav-toggle, #nav nav ul li a {
        text-align:left;
        padding-left:32px;
    }
    #dashboard {
        top: 160px;
    }
}

@media (max-width: 575px) {
    #nav.expand-height {
        height: 120px !important;
    }

        #nav.expand-height nav {
            z-index: 999;
            top: 60px;
        }

    #dashboard.expand-height {
        top: 165px;
    }
    
    #nav {
        height: 55px !important;
    }

    .btn-circle {
        right: 15px !important;
    }

    .mobile-nav-toggle {
        padding-left: 15px;
        top: 15px;
    }
    
        .mobile-nav-toggle .mobile-close a {
            color: transparent;
        }
        
        .mobile-nav-toggle .mobile-close .fa-times {
            color: #273548;
        }
        
    #nav.expand-height .mobile-nav-toggle .mobile-close a {
        color: inherit;
    }

    #login-message {
        display: unset;
        flex-direction: unset;
        float: unset;
        justify-content: unset;
        height: unset;
        width: 100%;
        position: absolute;
        top: 60px;
        left: unset;
        border-top: 1px solid #cccccc;
        padding: 10px;
    }

    #dashboard .logged-in {
        padding: 0;
    }

    #dashboard-flyout #account-content {
        padding: 0 0 0 40px;
    }

    #dashboard-flyout #favorites-content {
        padding: 20px 0 0 20px;
    }
    
        #dashboard-flyout #favorites-content .title {
            margin-top: 15px;
            border-bottom: none;
            background: #0e3151;
            margin-left: -4.4em;
            margin-right: 0;
            padding: 10px 24px 9px;
        }
}

/*@media (min-width: 568px) {
    nav {
        display:none;
    }
}*/