nav.greedy {
    position: relative;
    height: 65px;
    display: flex;
    align-items: center;
    /* background: #f2f2f2; */
    /* padding-top: 6px; */
    left: -83px; /*63px*/
}

nav.greedy h1, nav.greedy #logo {
  display: flex;
  align-self: stretch;
  align-items: center;
  /* background: #d8d8d8; */ /* AA_no_need */
  color: #404040;
  /* padding: 0 1.5rem; */ /* AA_commented */
  font-weight: bold;
  border-right: none;
}

/* prevent right border */
#header.full-header nav.greedy #logo {
  border-right: none;
}

nav.greedy button.own {
  align-self: stretch;
  transition: all .4s ease-out;
  padding: 0 1.5rem 0 1.5rem; /* AA_default was-> padding: 0 1rem 0 1.5rem; we need to centering */
  outline: 0;
  border: 0;
  /* font-size: 0.9rem; */
  font-weight: bold;
  background:none;  /* AA_no_need */
  color: #404040;

  /* AA_button into lists-space */
  font-size: 1.3rem;
  position: relative;
  /* right: 3rem; */
  top: -0.4rem;
}

nav.greedy button.hidden {
  transition: none;
  border-right: 0.5rem solid #b6b6b6;
  width: 0;
  padding: 0;
  overflow: hidden;
}

/* nav.greedy button::after {
  content: attr(count);
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: #9f9f9f;
  color: #f2f2f2;
  box-shadow: 0 0 1px 0 rgba(0,0,0,0.8);
  border-radius: 50%;
  font-size: 14px;
  line-height: 14px;
  margin-left: 1rem;
  margin-right: calc(-1rem + -8px);
} */

ul.links {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    overflow: hidden;
    /* margin-right: 3rem; */
    /* text-transform: capitalize; */
    font-weight: 700;
    height: 100%;

}

ul.links li {
    flex: none;
    padding: 0;
    list-style: none;
    border-right: thin solid  rgba(204, 214, 215, 0.11);

}

/* ul.links li::before {
    content:'';
    padding: 5px;

  } */
ul.links li a {
    color: #d5dedf;
    display: block;
    line-height: 22px;
    padding: 20px 22px 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    -webkit-transition: margin .4s ease,padding .4s ease;
    -o-transition: margin .4s ease,padding .4s ease;
    transition: margin .4s ease,padding .4s ease;

}
/*
ul.links li a:hover, ul.hidden-links li a:hover{
     color: #8e9ed4;
}
*/

ul.hidden-links {
  position: absolute;
  background: #0f1841;
  right: 0;
  top: 100%;
    text-transform: capitalize;
    font-weight: 700;
}

ul.hidden-links li a {
    color: #d5dedf;
    display: block;
    line-height: 22px;
    padding: 20px 22px 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    -webkit-transition: margin .4s ease,padding .4s ease;
    -o-transition: margin .4s ease,padding .4s ease;
    transition: margin .4s ease,padding .4s ease;


}

ul.hidden-links.hidden {
  display: none;
}

ul.hidden-links li {
  padding: 0;
  list-style: none;
}
/*
ul.links li:hover  {
     background-color: #2a365e;

}
ul.links li:hover > a{
    color: #8e9ed4;
}
/*
-- Demo Styles
*/
/*
* {
  box-sizing: border-box;
}

html {
  background: #fefefe;
}

body {
  padding: 2rem;
}

h5 {
  text-align: center;
  margin: auto;
  font-size: 0.8rem;
  line-height: 140%;
  margin-top: 1rem;
  max-width: 50ex;
}

p {
  text-align: center;
  margin-top: 3rem;
}

html {
  width: 100%;
  height: 100%;
  font-family: Helvetica, sans-serif;
} */
@media (min-width: 1362px) {
    ul.hidden-links {
        right: -30px;
    }
}
