
@media screen and (orientation: landscape)
{
.modal-openE {
  padding: 10px 0;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  white-space: nowrap;
  outline: none;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
}
@media screen and (orientation: portrait)
{
.modal-openE {
  font-size: 2.3vh;
  padding: 10px 0;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  white-space: nowrap;
  outline: none;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
}
.modal-openE:before, .modal-openE:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 2px;
  transition: width 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-openE:before {
  width: 100%;
  background-color: #9d9d9d;
}
.modal-openE:after {
  width: 0;
  background-color: #505050;
}
.modal-openE:hover:after {
  width: calc(100% + 1px);
}

.modal-boxE {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 2px;
  color: #fff;
  background-color: #505050;
  transition: width 400ms 400ms cubic-bezier(0.165, 0.84, 0.44, 1), left 400ms 400ms cubic-bezier(0.165, 0.84, 0.44, 1), height 400ms 0ms cubic-bezier(0.165, 0.84, 0.44, 1), top 400ms 0ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-boxE.is-open {
  transition: width 400ms 0ms cubic-bezier(0.165, 0.84, 0.44, 1), left 400ms 0ms cubic-bezier(0.165, 0.84, 0.44, 1), height 400ms 400ms cubic-bezier(0.165, 0.84, 0.44, 1), top 400ms 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-boxE.is-open li {
  opacity: 1;
}
.modal-boxE.is-open .modal-closeE {
  opacity: 1;
  transition: all 500ms 700ms;
}
.modal-boxE ul {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 30px;
  list-style-type: none;
  transform: translate(-50%, -50%);
}
@media screen and (orientation: landscape)
{
.modal-boxE li {
  position: relative;
  margin: 20px 0;
  text-align: center;
  opacity: 0;
  transition: all 200ms;
}
}
@media screen and (orientation: portrait)
{
.modal-boxE li {
  position: relative;
  margin: 90px 0;
  text-align: center;
  opacity: 0;
  transition: all 200ms;
}
}

@media screen and (orientation: landscape)
{
.modal-boxE a {
  white-space: nowrap;
  position: relative;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}
}
@media screen and (orientation: portrait)
{
.modal-boxE a {
  font-size: 2.3vh;
  white-space: nowrap;
  position: relative;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}
}
.modal-boxE a:before, .modal-boxE a:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 2px;
  transition: width 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-boxE a:after {
  width: 0;
  background-color: #fff;
}
.modal-boxE a:hover:after {
  width: 100%;
}
.modal-boxE.is-open li:nth-child(1) {
  transition: all 500ms 575ms;
}
.modal-boxE.is-open li:nth-child(2) {
  transition: all 500ms 650ms;
}
.modal-boxE.is-open li:nth-child(3) {
  transition: all 500ms 725ms;
}
.modal-boxE.is-open li:nth-child(4) {
  transition: all 500ms 800ms;
}
.modal-boxE.is-open li:nth-child(5) {
  transition: all 500ms 875ms;
}

.modal-closeE {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  outline: none;
  opacity: 0;
  background-color: transparent;
  transform: rotate(-45deg);
}
@media screen and (orientation: landscape)
{
.modal-closeE:before, .modal-closeE:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 4px;
  background-color: #fff;
  transform: translate(-50%, -50%);
}
.modal-closeE:after {
  width: 4px;
  height: 20px;
}
}
@media screen and (orientation: portrait)
{
.modal-closeE:before, .modal-closeE:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 5px;
  background-color: #fff;
  transform: translate(-50%, -50%);
}
.modal-closeE:after {
  width: 5px;
  height: 40px;
}
}

.visuallyhiddenE {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}