.gecco-navbar, .gecco-flyout {
    --lightestGrey: #fbfaf6;
    --lightestGreyAlpha: rgba(251, 250, 246, 0.2);
    --lightGrey: #e4e3df;
    --lightGreyAlpha: rgba(228, 227, 223, 0.2);
    --midGrey: #8c8b88;
    --midGreyAlpha: rgba(140, 139, 136, 0.21);
    --darkGrey: #57584c;
    --darkGreyAlpha: rgba(87, 88, 76, 0.2);
    /*shadows*/
    --navbarShadow: 0 4px 32px -12px rgba(72, 73, 56, 0.5);
    --gecco: #50a559;
    --geccoDark: #0F6037;
    --geccoLight: #b9dbbd;
    --dark: #343a40;
    --white: #fff;
    --red: #dd3377;
    --primary: var(--geccoLight);
    --btnPrimary: #1b8da5;

    font-size: 16px;
}
.gecco-navbar *,
.gecco-navbar ::after,
.gecco-navbar ::before,
.gecco-flyout *,
.gecco-flyout ::after,
.gecco-flyout ::before {
    box-sizing: border-box;
}

.gecco-flyout-overlay {
    /*display:none;*/
    visibility:hidden;
    opacity:0;
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    z-index:1030;
    cursor: pointer;
    background-color:#000000;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 1s 0.4s;
}
.gecco-flyout.open ~ .gecco-flyout-overlay {
    /*display:block;*/
    visibility:visible;
    opacity: 0.2;
}

.gecco-navbar a,
.gecco-flyout a {
    text-decoration: none !important;
    background-color: transparent;
}
.w-fixed-member-navigation {
    padding-top:56px;
}


/*override the member navigation fonts between projects*/
.member-navigation {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    height:56px;
}

.member-navigation h6 {
    font-size: 0.8rem !important;
    font-weight:700 !important;
}
.member-navigation .navbar-nav {
    /*this is to reset the min height for page-nav navs*/
    min-height:initial;
}
.page-nav {
    min-width:0;
}
.member-navigation .gecco-nav-item {
    position:relative;
}
.member-navigation-active::after {
    content:'';
    width:100%;
    height:2px;
    background-color: var(--midGrey);
    position:absolute;
    bottom:0;
    left:0;
}


.member-navigation .bg-secondary { background-color: var(--midGrey) !important }

.bg-gecco {
    background-color:var(--gecco)
}
.bg-gecco-dark {
    background-color:var(--geccoDark);
}


#GeccoNav {
    color: var(--white);
    background-color:var(--dark);
    width: 400px;
    height:100vh;
    position:fixed;
    left:-400px;
    transform: perspective(800px) translate3d(-50px, 0px, -200px) scale(1.2);
    top:0;
    padding:0 0 .5rem 0;
    z-index:1040;
    opacity:0;
    visibility: hidden;
    box-shadow:3px 0 16px var(--darkGrey);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    overflow-y: auto;
}
#GeccoNav a[role="button"] {
    cursor: pointer
}

#GeccoNav .member-nav-item i.fas,
#GeccoNav .member-nav-item i.far,
#GeccoNav .member-nav-item i.fab {
    margin-right:.75rem;
    text-align:center;
    width: 1.25em;
    min-width:1.25em
}
#GeccoNav>* {
    opacity:0;
    transition: opacity 0.2s 0.2s;
}
.nav-row {
    flex-grow: 1;
}
.nav-image {
    width: 40px;
    height: 40px;
}
/* dynasearch override for navbar (ie. make smaller) */
.nav-input::placeholder {
    font-style:italic !important;
}
.nav-input {
    background-color: var(--geccoLight) !important;
    border: 1px solid #ced4da !important;
}



.nav-notification {
    font-family: "Roboto",sans-serif;
    position: absolute;
    left: 28px;
}
.nav-dropdown {
    border-radius: 0;
}
.member-nav-item {
    width:100%;
}
.member-nav-item a {
    padding:.5rem;
    display:block;
    border-radius:4px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}
.member-nav-item a:hover {
    text-decoration: none;
}
.member-nav-item a:hover >i {
    color: var(--lightGrey);
}
.member-nav-item a:hover,
.member-nav-item .show a {
    color: var(--lightGrey);
    background-color: var(--darkGrey);
}
.member-nav-item h6 {
    color: var(--midGrey);
    font-weight: bold;
}
.member-nav-item a>i {
    color: var(--midGrey);
}
.member-nav-item a {
    font-weight: 500;
    font-size: 1rem;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    color:var(--white);
    display:flex;
    align-items:center;
}

.member-nav-item a > span {
    display:block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-nav-settings {

}
.gecco-dropdown-menu {
    width:auto;
    background-color:var(--white);
    color:var(--dark);
    position:absolute;
    top:100%;
    z-index:1000;
    display:none;
    visibility:hidden;
    opacity:0;
    box-shadow: var(--navbarShadow);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    padding: .5rem 0;
}
.gecco-dropdown-menu-right {
    right:0;
    left: initial;
}
.gecco-dropdown-menu.open {
    display:block;
    visibility: visible;
    opacity:1;
}
.gecco-dropdown-heading {
    padding: 0 1.5rem;
    font-size: 0.8rem !important;
    font-weight:700 !important;
    margin:0 !important;
}
.gecco-dropdown-container {
    max-height:300px;
    overflow-y: scroll;
}
.member-nav--children {
    list-style: none;
    margin:0;
    padding:0;
}
.member-nav--children__child>a {
    padding: .5rem;
    margin-left: 5px;
    margin-right: 5px;
    color:var(--white)
}
.member-nav--children__child>a:hover {
    background-color:var(--dark)
}

.navigation-grey {
    color: var(--midGrey);
    font-weight: bold;
}
h6.navigation-grey {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

#GeccoNav [data-toggle="gecco-flyout"] {
    opacity: 0;
    -webkit-transition: all 0.1s 0.3s;
    -moz-transition: all 0.1s 0.3s;
    -ms-transition: all 0.1s 0.3s;
    -o-transition: all 0.1s 0.3s;
    transition: all 0.1s 0.3s;
}

#GeccoNav.open {
    opacity:1;
    visibility: visible;
    transform: perspective(0) translate3d(400px, 0, 0) scale(1);
}

#GeccoNav.open>* {
    opacity:1;
}
#GeccoNav.open [data-toggle="gecco-flyout"] {
    opacity: 1;
}

.navigation-dynasearch > label {
    background-color: var(--lightestGrey);
    border: 1px solid var(--lightGrey);
    border-radius: 3px;
    padding: 0 0.4rem;
    opacity: 0.8;
    position: absolute;
    top: 0.4rem;
    font-size: 0.8rem;
    right: 0.4rem;
    height: calc(100% - 0.8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darkGrey);
}

.navigation-dynasearch>input:focus ~ label {
    visibility:hidden
}

.gecco-page {
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
.gecco-page > .main {
    background-color:var(--lightestGrey);
    flex-grow:1;
}

/* body {
    background:rebeccapurple;
} */
.navbar-white-shadow {
    background:#fff;
    box-shadow:var(--navbarShadow)
}

/* deprecated */
#ProfileNav .nav-item.active .underline {
    /* content:''; */
    width:100%;
    height:3px;
    position:absolute;
    bottom:0;
    background:rebeccapurple;
    background:currentColor;
}
/* end deprecated: to be replaced by below */

#ProfileNav {
    z-index:1010
}
.profile-content {
    background-color:var(--lightestGrey)
}
.profile-nav-item {
    position:relative;
    margin:0 8px;
}
.profile-nav-item a {
    white-space:nowrap
}


.activeborder {
    color:var(--accentColor)
}
.nav-item.current .activeborder.bottom {
    width:100%;
    height:3px;
    position:absolute;
    bottom:0;
    background:rebeccapurple;
    background:currentColor;
}
/* move active border to left if. Used if in sidebar OR moved to dropdown */
.dropdown-menu .nav-item.current .activeborder {
    width: 3px;
    height: 100%;
    left: -8px;
}
.nav-item.current .activeborder.left {
    width:3px;
    height:100%;
    position:absolute;
    bottom:0;
    left:0;
    background:rebeccapurple;
    background:currentColor;
}


.list-group-item.current .activeborder.left {
    width: 3px;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rebeccapurple;
    background: currentColor;
}


.dynasearch {
    position:relative
}
#dynasearch-input {
    padding:12px;
    font-size:18px;
    font-style:italic;
}
.dynasearch-container {
    display:block;
    position:absolute;
    z-index:-1;
    visibility:hidden;
    display: none;
    opacity:0;
    transform:translateY(12px);
    -webkit-transform: translateY(12px);
    -moz-transform: translateY(12px);
    -ms-transform: translateY(12px);
    -o-transform: translateY(12px);
    transform: translateY(12px);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}
.dynasearch-container.show {
    z-index:1000;
    visibility:visible;
    display: block;
    opacity:1;
    transform:translateY(0)
}
.dynasearch-scroll {
    height:100%;
    position:relative;
    overflow:auto;
    max-height:480px !important;
    width:360px;
    box-shadow:0 4px 32px -8px rgba(0,0,0,0.5);
}
.dynasearch-container .default-item {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    text-align:center;
    min-height:120px;
}
.dynasearch-container .default-item > * {
    width:100%;
}
.dynasearch-container .member-item {
    overflow:hidden;
}

.member-item.inactive {
    background:var(--lightGrey);
}
.member-item.inactive * {
    color:var(--darkGrey) !important;
}
.member-item.inactive .profile-pic {
    background: var(--lightestGrey) !important;
    filter: grayscale(100%);
}
.dynasearch-container .member-item > .group-identifier {
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:8px;
    height:100%;
    transform:translateX(-4px);
    transition:all 0.2s;
}
.dynasearch-container .member-item.admin > .group-identifier {
    background:rebeccapurple;
}
.dynasearch-container .member-item.admin .group-identifier:hover {
    transform:translateX(-1px);
}


.member-header {
    padding-top:3rem;
    padding-bottom:3rem;
}
.member-header *, .member-header {
    transition:all 0.2s;
}
.member-header.smaller {
    padding-top:0;
    padding-bottom:0;
}
.member-header.smaller .profile-pic {
    transform:scale(0.5);
    margin-left:-25%;
}
.member-header.smaller .profile-name-holder {
    margin-left:-40px;
}
.member-header.smaller h1 {
    font-size:1.8rem
}



.full-header {
    min-height:220px;
    background-size:cover;
    background-position:center;
    position:relative;
}
.full-header > .container {
    position:relative;
}
.full-header::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(183deg, transparent, rgba(0,0,0,0.5) 80%);
}

/*pagenav*/
.page-nav {
    z-index:1010;
}
.page-nav .navbar-nav {
    min-height:56px;
}
.page-nav {
    min-width:0;
}


/*sitetree nav for the Gecco dashboard*/
.menu-1, .menu-2, .menu-3, .menu-4 { border:none } /*fixes issue with border not appearing unless on hover */
.menu-2::before,
.menu-3::before,
.menu-4::before {
    content:'';
    position:absolute;
    left:16px;
    bottom:50%;
    height:100%;
    width:12px;
    /*border-left: 2px solid;*/
    border-bottom:2px solid;
    border-color:var(--lightGrey)
}
/*.menu-2:not(:last-of-type)::after,*/
/*.menu-3:not(:last-of-type)::after,*/
/*.menu-4:not(:last-of-type)::after {*/
/*content:'';*/
/*position:absolute;*/
/*left:16px;*/
/*height:100%;*/
/*bottom:0;*/
/*}*/
.menu-2:first-of-type::before {
    height:50%;
}
.menu-2 > * { margin-left:20px; }
.menu-3::before { left:28px; }
.menu-3 > * { margin-left:36px; }
.menu-4::before { left:40px; }
.menu-4 > * { margin-left:48px; }

.site-tree-children {
    position:relative;
}
.site-tree-children::before {
    content:'';
    position:absolute;
    z-index:1010;
    left:16px;
    border-left:2px solid var(--lightGrey);
    bottom:28.5px;
    height:calc(100% - 28.5px);
}
/*.site-tree-children::before {*/
/*z-index:1000;*/
/*background:red;*/
/*width:20px;*/
/*}*/
.site-tree-children.level-3::before { left: 28px; }
.site-tree-children.level-4::before { left: 40px; }
.site-tree-children.level-5::before { left: 52px; }

.site-tree-children.level-3::before,
.site-tree-children.level-4::before,
.site-tree-children.level-5::before {
    height:100%;
}

[aria-expanded="true"] > .fa-caret-down {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}




/*custom fields*/
form .field.FULL {
    background:var(--lightGrey);
    padding:1.5rem 1rem 1rem 1rem;
    border:1px solid var(--darkGreyAlpha);
    border-radius:0.25rem;
}
form .field.FULL::before {
    content:'Visible to users with FULL access privileges';
    color:var(--darkGrey);
    display:block;
    font-size:0.8rem;
    text-align:right;
}
form .field.PARTIAL {
    background:var(--lightestGrey);
    padding:1.5rem 1rem 1rem 1rem;
    border:1px solid var(--midGreyAlpha);
    border-radius:0.25rem;
}
form .field.PARTIAL::before {
    content:'Visible to users with PARTIAL access privileges';
    color:var(--midGrey);
    display:block;
    font-size:0.8rem;
    text-align:right;
}



/*cards*/
.card .card-body .card-break {
    background-color:var(--lightestGrey);
    margin: 0 -1.25rem;
    padding:1.25rem;
}

/* Form messages */
.message.required {
    color: #EE2222;
}


/* Toast */

.toast {
    --bs-toast-zindex: 1090;
    --bs-toast-padding-x: 0.75rem;
    --bs-toast-padding-y: 0.5rem;
    --bs-toast-spacing: 1.5rem;
    --bs-toast-max-width: 350px;
    --bs-toast-font-size: 0.875rem;
    --bs-toast-color: ;
    --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);
    --bs-toast-border-width: var(--bs-border-width);
    --bs-toast-border-color: var(--bs-border-color-translucent);
    --bs-toast-border-radius: var(--bs-border-radius);
    --bs-toast-box-shadow: var(--bs-box-shadow);
    --bs-toast-header-color: var(--bs-secondary-color);
    --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);
    --bs-toast-header-border-color: var(--bs-border-color-translucent);
    width: var(--bs-toast-max-width);
    max-width: 100%;
    font-size: var(--bs-toast-font-size);
    color: var(--bs-toast-color);
    pointer-events: auto;
    background-color: var(--bs-toast-bg);
    background-clip: padding-box;
    border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);
    box-shadow: var(--bs-toast-box-shadow);
    border-radius: var(--bs-toast-border-radius);
  }
  .toast.showing {
    opacity: 0;
  }
  .toast:not(.show) {
    display: none;
  }

  .toast-container {
    --bs-toast-zindex: 1090;
    position: absolute;
    z-index: var(--bs-toast-zindex);
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none;
  }
  .toast-container > :not(:last-child) {
    margin-bottom: var(--bs-toast-spacing);
  }

  .toast-header {
    display: flex;
    align-items: center;
    padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);
    color: var(--bs-toast-header-color);
    background-color: var(--bs-toast-header-bg);
    background-clip: padding-box;
    border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);
    border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
    border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
  }
  .toast-header .btn-close {
    margin-right: calc(-0.5 * var(--bs-toast-padding-x));
    margin-left: var(--bs-toast-padding-x);
  }

  .toast-body {
    padding: var(--bs-toast-padding-x);
    word-wrap: break-word;
  }

  /* ----- */

.gecco-navbar {
    color: #FFF;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;

    display: flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
    align-items: center;

    box-sizing: border-box;
    padding: .25rem 0;
}

.gecco-nav-row {
    width:100%;
    display: flex !important;
    flex-wrap: wrap;
    padding-left:15px;
    padding-right:15px;
}

.gecco-nav-col {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 50%;
    max-width: 50%;
}

.gecco-nav-col-end {
    justify-content: flex-end !important;
}

.gecco-nav-col-start {
    justify-content: flex-start !important;
}

.gecco-logo {
    vertical-align: middle;
    border-style: none;
    width:32px;
    height:32px;
}

.gecco-search-form {
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-clip: padding-box; !important
    border: 1px solid #ced4da !important;
    border-radius:4px !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #495057 !important;
}

.gecco-nav-grey {
    color: var(--midGrey);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: .5rem;
    line-height: 1.2;
    margin-top: 0;
}

.gecco-nav-button {
    cursor: pointer;
    color: #fff !important;
    margin-right: 1rem !important;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.gecco-nav-button:hover {
    background-color: rgba(0,0,0,0.1);
}

.gecco-member-nav-column {
    padding: 0 !important;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    flex-grow:1;
    display:flex;
    justify-content: space-between;
}
.gecco-member-nav-column h6 {
    margin: 24px 0;
}
.gecco-profile-dropdown {
    display: block;
    right: 0;
    left: auto;
    position: absolute;
    top: 100%;
    z-index: 1000;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
}

.gecco-dropdown-item {
    display: block;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.gecco-dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #e9ecef;
}

.gecco-dropdown-divider {
    height: 0;
    margin: .5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}


.gecco-nav-button.profile-button {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.profile-button .nav-name {
    display:flex;
    flex-direction: column;
    margin-right:1rem;
}

.profile-button .nav-name p {
    color:var(--white);
    margin:0
}
.profile-button .nav-name .gecco-badge {
    background-color:var(--darkGrey);
    border-radius:4px;
    padding:0 .5rem;
}



.gecco-logout-text {
    text-align: right !important;
    font-size: 80%;
}

.gecco-bookmark-modal {
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    transition: opacity .15s linear;
}

.gecco-bookmark-modal:not(.show) {
    opacity:0
}

.gecco-modal-dialog
{
    max-width: 500px;
    margin: 1.75rem auto;
    position: relative;
    width: auto;
    pointer-events: none;
}

.gecco-modal-content
{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}


[data-toggle="gecco-dropdown"] > *,
[data-toggle="gecco-flyout"] > * {
    pointer-events: none;
}

/*flyout*/

.gecco-flyout-toggle {
    cursor: pointer;
    color: #fff !important;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding:.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-decoration: none;
}

.gecco-flyout .gecco-dropdown-menu {
    background-color:var(--darkGrey);
    border-radius: 4px;
}

.gecco-flyout-container {
    height: 100% !important;
}

.gecco-flyout-row {
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
}

.gecco-flyout-header {
    justify-content: space-between !important;
    display: flex !important;
    flex: 0 0 100%;
    max-width: 100%;
}

.gecco-flyout-flex {
    padding: .5rem !important;
    flex-direction: column !important;
    display: flex !important;
}

.gecco-close-flyout-button {
    cursor: pointer;
    align-self: flex-start !important;
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    text-decoration: none;
}

.gecco-close-flyout-button:hover {
    color: #212529;
    text-decoration: none;
}

.gecco-flyout-margin {
    margin-top: 3rem !important;
}

.gecco-flyout-column {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}


.gecco-flyout-header {
    height:56px;
    padding: .25rem 0 !important;
}

/*notifications*/

.notifications-dropdown-menu {
    width: 300px;
    right: 0;
    background-color:var(--white);
    color:var(--dark);
    padding-bottom: 36px;
    border:1px solid var(--lightGrey)
}

.notifications-dropdown {
    max-height: 420px;
    overflow-y:auto
}

.notification-item {
    position:relative;
    border-bottom: 1px solid var(--lightGrey);
    padding:.75rem;
}
.notification-item p {
    margin-top:0;
}

.notification-item a {
    position:absolute;
    z-index:1;
    width:100%;
    height:100%;
    top:0;
    left:0;
}

.notification-item a:hover {
    background-color:rgba(0,0,0,0.1);
}

.notification-item .dismiss {
    position: absolute;
    z-index:2;
    top: .75rem;
    right: .75rem;
}
.notification-item .dismiss:hover {
    color: var(--midGrey);
    cursor:pointer;
}

.notifications-dropdown-menu .dropdown-footer {
    position:absolute;
    width:100%;
    height: 36px;
    bottom:0;
    display:flex;
    align-items: center;
    justify-content:center;
    padding:0;
    background-color:var(--lightGrey);
}

.notification-badge {
    display:flex;
    justify-content:center;
    align-items: center;
    overflow: hidden;
    position:absolute;
    top:2px;
    right:2px;
    background-color:var(--red);
    width:18px;
    height:18px;
    font-size:60%;
    border-radius:100%;
    box-shadow:0 2px 4px rgba(0,0,0,0.4);
}

.loader-container {
    display:flex;
    align-items:center;
    justify-content: center;
}
.loader-container:hover {
    background-color:initial;
}


.gecco-navbar .small, .gecco-navbar small {
    font-size: 80%;
    font-weight: 400;
}



/*search*/
.dynasearch-container .member-item {
    overflow: hidden;
}
.dynasearch-list-group {
    color:var(--dark)
}
.dynasearch-list-group .list-group-item {
    background-color:var(--white);
}

.dynasearch-list-group .list-group-item:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}


.dynasearch-container .member-item.admin > .group-identifier {
    background: rebeccapurple;
}
.dynasearch-container .member-item > .group-identifier {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    transform: translateX(-4px);
    transition: all 0.2s;
}
.dynasearch-scroll {
    height: 100%;
    position: relative;
    overflow: auto;
    max-height: 480px !important;
    width: 360px;
    box-shadow: 0 4px 32px -8px rgba(0,0,0,0.5);
}
.dynasearch-container.show {
    z-index: 1000;
    visibility: visible;
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dynasearch-container {
    position: absolute;
    z-index: -1;
    visibility: hidden;
    display: none;
    opacity: 0;
    transform: translateY(12px);
    -webkit-transform: translateY(12px);
    -moz-transform: translateY(12px);
    -ms-transform: translateY(12px);
    -o-transform: translateY(12px);
    transform: translateY(12px);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}
.gecco-navbar .list-group {
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: .25rem;
}


.gecco-navbar .list-group-item:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}
.gecco-navbar .list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}
.gecco-navbar .list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.gecco-navbar .list-group-item a {
    color: var(--btnPrimary);
}
.gecco-navbar .text-white {
    color: #fff !important;
}
.mr-1, .mx-1 {
    margin-right: .25rem !important;
}
.gecco-navbar .badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem;
}
.gecco-navbar .badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#GeccoNav a:visited {
    color: white;
}
.gecco-navbar a:visited {
    color: inherit !important
}

/* hide searchbar, name on mobile */
@media screen and (max-width: 768px) {
    .nav-input {
        display: none;
    }
}



@media screen and (max-width: 768px) {
    .navigation-dynasearch > label {
        display:none;
    }

    .gecco-nav-col {
        max-width: 80%;
        flex-basis: 80%;
    }
    .gecco-nav-col-end {
        max-width: 20%;
        flex-basis: 20%;
    }
}



@media screen and (max-width: 991px) {
    .navbar-expand-lg .member-navigation-active::after {
        width:4px;
        height:100%;
        top:0;
        left:-16px;
    }

    .profile-button .nav-name {
        display:none;
    }
}

/*TODO: Add modal for bookmarks*/


/*utilities*/
.gecco-navbar .bg-grey, .gecco-flyout .bg-grey {
    background: var(--lightGrey) !important;
}
.gecco-navbar .d-flex, .gecco-flyout .d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
.gecco-navbar .flex-wrap, .gecco-flyout .flex-wrap {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}
.gecco-navbar .align-items-center, .gecco-flyout .align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}
.gecco-navbar .ml-2, .gecco-flyout .ml-2,
.gecco-navbar .mx-2, .gecco-flyout .mx-2 {
    margin-left: .5rem !important;
}
.gecco-navbar .text-muted, .gecco-flyout .text-muted {
    color: #6c757d !important;
}
.gecco-navbar .w-100, .gecco-flyout .w-100 {
    width: 100% !important;
}
