
/*  ---  MOBILE NAV  --- */
.RD-mobile-nav {
  /*background: #151462;*/
  background: #FFF;
  width: 100%;
  height: 70px;
  position: relative;
}

#menu-mobile-menu { margin-top:0px!important; }

.RD-mobile-nav a { text-decoration: none!important;  }

.RD-mobile-nav .RD-nav-btn:before {
  width: 36px;
  height: 36px;
  position: absolute;
  margin: 0;
  padding: 0;
  top: 18px;
  right: 30px;
  content: '\e991';
  font-family: "shi-icons";
  font-weight: normal;
  font-style: normal;
  color: #151462;
  cursor: pointer;
  text-align: center;
  font-size: 36px;
  font-size: 3.6rem;
  line-height: 36px;
  line-height: 3.6rem;
  z-index: 998;
}

.RD-mobile-nav .RD-close-btn:before {
  width: 36px;
  height: 36px;
  position: absolute;
  margin: 0;
  padding: 0;
  top: 20px;
  right: 22px;
  content: '\e98e';
  font-family: "shi-icons";
  font-weight: normal;
  font-style: normal;
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 36px;
  font-size: 3.6rem;
  line-height: 36px;
  line-height: 3.6rem;
  z-index: 998;
}

/*
.RD-mobile-nav .RD-nav-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 63px;
  right: 24px;
  padding: 0;
  margin: 0;
  opacity: 1;
  color: #fff;
  font-size: 10px;
  font-size: 1rem;
  line-height: 10px;
  line-height: 1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Readex Pro', Helvetica, Arial, sans-serif !important;
  font-style: normal !important;
  text-decoration: none !important;
}
*/

.RD-mobile-nav .RD-close-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 63px;
  right: 22px;
  padding: 0;
  margin: 0;
  opacity: 1;
  color: #fff;
  font-size: 10px;
  font-size: 1rem;
  line-height: 10px;
  line-height: 1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Readex Pro', Helvetica, Arial, sans-serif !important;
  font-style: normal !important;
  text-decoration: none !important;
}

.RD-mobile-nav .dl-active .RD-nav-btn:before {
  content: "\e98e"; color:#fff;
}

/*
.RD-mobile-nav .dl-active .RD-nav-btn::after {
  content: "Close";
}*/

.RD-mobile-nav .RD-mobile-logo {
 /* height: 64px;
  width: 230px;
  background-image: url('../img/shi-logo.png');
  background-repeat: no-repeat;
  position: absolute;
  left: 18px;
  top: 13px;*/
}
.RD-mobile-nav #RD-search {
  display: none;
}
.RD-mobile-nav.RD-search-visible #RD-search {
  display: block;
}
.RD-mobile-nav #RD-search {
  background-color: #151462;
  width: 100%;
  height: 100vh;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
  overflow: hidden;
}

.RD-mobile-nav #RD-search .search-field,
.RD-mobile-nav #RD-search .search-field:focus {
  font-family: 'Readex Pro', Helvetica, Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400;
  text-decoration: none !important;
  display: block;
  width: 100%;
  margin: 10px 70px 0 0;
  padding: 16px 20px 16px 0;
  height: auto;
  font-size: 32px;
  font-size: 3.2rem;
  line-height: 32px;
  line-height: 3.2rem;
  color: #fff;
  border-width: 0;
  border-bottom: 2px dotted #fff;
  cursor: text;
  outline: 0;
  background-color: #151462;
  background-color: transparent;
  background-image: none;
}
.RD-mobile-nav .search-form {
  margin: 0 20px 0 20px;
}
.RD-mobile-nav input[type="search"] {
  -webkit-appearance: textfield;
}
.RD-mobile-nav input[type="search"]::-webkit-search-decoration,
.RD-mobile-nav input[type="search"]::-webkit-search-cancel-button,
.RD-mobile-nav input[type="search"]::-webkit-search-results-button,
.RD-mobile-nav input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.RD-mobile-nav.RD-menu-open .dl-menuwrapper {
  height: 100vh;
  background-color: #151462;
}

::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}
::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}
:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}
:-moz-placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}

.dl-menu,
.dl-menu a,
.dl-menuwrapper li a {
  font-family: 'Readex Pro', Helvetica, Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400;
  text-decoration: none !important;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 18px;
  line-height: 1.8rem;
}
.dl-menu .dl-back a {
  font-weight: 700;
}
.dl-menuwrapper,
.dl-menu {
  color: #fff;
}
.dl-menuwrapper button,
.dl-menuwrapper button:hover,
.dl-menuwrapper button.dl-active,
.dl-menuwrapper ul {
  background-color: #151462;
}

.dl-menuwrapper {
  width: 100%;
  /*max-width: 768px;*/
  position: relative;
  /* */
  float: left;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  -webkit-perspective-origin: 50% 200%;
  perspective-origin: 50% 200%;
}

.dl-menuwrapper:first-child {
  margin-right: 100px;
}

.dl-menuwrapper ul {
  padding: 0;
  list-style: none;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  /*height: 100vh;*/
}

.dl-menuwrapper li {
  position: relative;
}

.dl-menuwrapper li a {
  display: block;
  position: relative;
  padding: 15px 6px;
  color: #fff;
  outline: none;
}

.no-touch .dl-menuwrapper li a:hover {
  background: #151462;
}

.dl-menuwrapper li.dl-back > a {
  padding-left: 22px;
  background: #151462;
}

.dl-menuwrapper li.dl-back:after,
.dl-menuwrapper li > a:not(:only-child):after {
  position: absolute;
  top: 0;
  line-height: 50px;
  speak: none;
  font-family: "shi-icons";
  font-weight: normal;
  font-style: normal;
  content: "\e97b";
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 50px;
  line-height: 5rem;
}

.dl-menuwrapper li.dl-back:after {
  left: 4px;
  color: rgba(255, 255, 255, 0.5);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.dl-menuwrapper li > a:after {
  right: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.dl-menuwrapper li {
  border-bottom: rgba(255, 255, 255, 0.3) 2px dotted;
}
.dl-menuwrapper li:nth-of-type(1) {
  border-top: rgba(255, 255, 255, 0.3) 2px dotted;
}
.dl-menuwrapper .dl-submenu li:nth-last-of-type(1) {
  border-bottom: 0px;
}

.dl-menuwrapper .dl-menu {
  margin: 0px 0 0 0;
  padding: 0px 22px;
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.dl-menuwrapper .dl-menu.dl-menu-toggle {
  transition: all 0.3s ease;
}

.dl-menuwrapper .dl-menu.dl-menuopen {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

/* Hide the inner submenus */
.dl-menuwrapper li .dl-submenu {
  display: none;
}

/* 
	When a submenu is openend, we will hide all li siblings.
	For that we give a class to the parent menu called "dl-subview".
	We also hide the submenu link. 
	The opened submenu will get the class "dl-subviewopen".
	All this is done for any sub-level being entered.
	*/
.dl-menu.dl-subview li,
.dl-menu.dl-subview li.dl-subviewopen > a,
.dl-menu.dl-subview li.dl-subview > a {
  display: none;
}

.dl-menu.dl-subview li.dl-subview,
.dl-menu.dl-subview li.dl-subview .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen,
.dl-menu.dl-subview li.dl-subviewopen > .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen > .dl-submenu > li {
  display: block;
}

/* Dynamically added submenu outside of the menu context */
.dl-menuwrapper > .dl-submenu {
  position: absolute;
  width: 100%;
  top: 90px; /* position of sub menu */
  left: 0;
  margin: 0;
}

/* Animation classes for moving out and in */

.dl-menu.dl-animate-out-1 {
  -webkit-animation: MenuAnimOut2 0.3s ease-in-out;
  animation: MenuAnimOut2 0.3s ease-in-out;
}

@-webkit-keyframes MenuAnimOut2 {
  0% {
  }
  100% {
    -webkit-transform: translateX(-100%);
    opacity: 1;
  }
}

@keyframes MenuAnimOut2 {
  0% {
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 1;
  }
}

.dl-menu.dl-animate-in-1 {
  -webkit-animation: MenuAnimIn2 0.3s ease-in-out;
  animation: MenuAnimIn2 0.3s ease-in-out;
}

@-webkit-keyframes MenuAnimIn2 {
  0% {
    -webkit-transform: translateX(-100%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes MenuAnimIn2 {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
  }
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-1 {
  -webkit-animation: SubMenuAnimIn2 0.3s ease-in-out;
  animation: SubMenuAnimIn2 0.3s ease-in-out;
}

@-webkit-keyframes SubMenuAnimIn2 {
  0% {
    -webkit-transform: translateX(100%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes SubMenuAnimIn2 {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
  }
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-1 {
  -webkit-animation: SubMenuAnimOut2 0.3s ease-in-out;
  animation: SubMenuAnimOut2 0.3s ease-in-out;
}

@-webkit-keyframes SubMenuAnimOut2 {
  0% {
    -webkit-transform: translateX(0%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(100%);
    opacity: 1;
  }
}

@keyframes SubMenuAnimOut2 {
  0% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 1;
  }
}

/* No JS Fallback */
.no-js .dl-menuwrapper .dl-menu {
  position: relative;
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.no-js .dl-menuwrapper li .dl-submenu {
  display: block;
}

.no-js .dl-menuwrapper li.dl-back {
  display: none;
}

.no-js .dl-menuwrapper li > a:not(:only-child) {
  background: #151462;
}

.no-js .dl-menuwrapper li > a:not(:only-child):after {
  content: "";
}

/*  ---  Small Devices: 600px --- */
@media only screen and (max-width: 600px) {
  /* MOBILE NAV */
  .RD-mobile-nav {
    height: 70px;
  }
  .dl-menuwrapper .dl-menu {
    top: 70px;
    padding: 0px 12px;
  }
  .dl-menuwrapper > .dl-submenu {
    top: 70px;
  }
  .RD-mobile-nav .RD-mobile-logo {
    /*height: 50px;
    width: 179px;
    left: 12px;
    top: 10px;*/
  }
  .RD-mobile-nav #RD-search .search-field,
  .RD-mobile-nav #RD-search .search-field:focus {
    margin: 10px 70px 0 0;
    padding: 9px 20px 9px 0;
  }
  .RD-mobile-nav .RD-nav-btn:before {
    /*top: 18px;
    right: 12px;*/
  }

  .RD-mobile-nav .RD-close-btn:before {
    top: 18px;
    right: 12px;
  }
  .RD-mobile-nav .RD-nav-btn:after {
    opacity: 0;
  }

  .RD-mobile-nav .RD-close-btn:after {
    opacity: 0;
  }
}
