Difference between revisions of "Team:Bordeaux/Template/css"

Line 462: Line 462:
 
/* MENU NAV */
 
/* MENU NAV */
  
.navigation {
+
/* Common styles of menus */
  padding: 0;
+
 
  margin: 0;
+
.dl-menuwrapper {
  border: 0;
+
width: 100%;
  line-height: 1;
+
max-width: 300px;
 +
float: left;
 +
position: relative;
 +
-webkit-perspective: 1000px;
 +
perspective: 1000px;
 +
-webkit-perspective-origin: 50% 200%;
 +
perspective-origin: 50% 200%;
 
}
 
}
  
.navigation ul,
+
.dl-menuwrapper:first-child {
.navigation ul li,
+
margin-right: 100px;
.navigation ul ul {
+
  list-style: none;
+
  margin: 0;
+
  padding: 0;
+
 
}
 
}
  
.navigation ul {
+
.dl-menuwrapper button {
  position: relative;
+
background: #ccc;
  z-index: 500;
+
border: none;
  float: left;
+
width: 48px;
 +
height: 45px;
 +
text-indent: -900em;
 +
overflow: hidden;
 +
position: relative;
 +
cursor: pointer;
 +
outline: none;
 
}
 
}
  
.navigation ul li {
+
.dl-menuwrapper button:hover,
  float: left;
+
.dl-menuwrapper button.dl-active,
  min-height: 0.05em;
+
.dl-menuwrapper ul {
  line-height: 1em;
+
background: #aaa;
  vertical-align: middle;
+
  position: relative;
+
 
}
 
}
  
.navigation ul li.hover,
+
.dl-menuwrapper button:after {
.navigation ul li:hover {
+
content: '';
  position: relative;
+
position: absolute;
  z-index: 510;
+
width: 68%;
  cursor: default;
+
height: 5px;
 +
background: #fff;
 +
top: 10px;
 +
left: 16%;
 +
box-shadow:
 +
0 10px 0 #fff,
 +
0 20px 0 #fff;
 
}
 
}
  
.navigation ul ul {
+
.dl-menuwrapper ul {
  visibility: hidden;
+
padding: 0;
  position: absolute;
+
list-style: none;
  top: 100%;
+
-webkit-transform-style: preserve-3d;
  left: 0px;
+
transform-style: preserve-3d;
  z-index: 520;
+
  width: 100%;
+
 
}
 
}
  
.navigation ul ul li { float: none; }
+
.dl-menuwrapper li {
 +
position: relative;
 +
}
  
.navigation ul ul ul {
+
.dl-menuwrapper li a {
  top: 0;
+
display: block;
  right: 0;
+
position: relative;
 +
padding: 15px 20px;
 +
font-size: 16px;
 +
line-height: 20px;
 +
font-weight: 300;
 +
color: #fff;
 +
outline: none;
 
}
 
}
  
.navigation ul li:hover > ul { visibility: visible; }
+
.no-touch .dl-menuwrapper li a:hover {
 +
background: rgba(255,248,213,0.1);
 +
}
  
.navigation ul ul {
+
.dl-menuwrapper li.dl-back > a {
  top: 0;
+
padding-left: 30px;
  left: 99%;
+
background: rgba(0,0,0,0.1);
 
}
 
}
  
.navigation ul li { float: none; }
+
.dl-menuwrapper li.dl-back:after,
 +
.dl-menuwrapper li > a:not(:only-child):after {
 +
position: absolute;
 +
top: 0;
 +
line-height: 50px;
 +
font-family: 'icomoon';
 +
speak: none;
 +
-webkit-font-smoothing: antialiased;
 +
content: "\e000";
 +
}
  
.navigation ul ul { margin-top: 0.05em; }
+
.dl-menuwrapper li.dl-back:after {
 +
left: 10px;
 +
color: rgba(212,204,198,0.3);
 +
-webkit-transform: rotate(180deg);
 +
transform: rotate(180deg);
 +
}
  
.navigation {
+
.dl-menuwrapper li > a:after {
  width: 13em;
+
right: 10px;
  background: #333333;
+
color: rgba(0,0,0,0.15);
  font-family: 'roboto', Tahoma, Arial, sans-serif;
+
  zoom: 1;
+
 
}
 
}
  
.navigation:before {
+
.dl-menuwrapper .dl-menu {
  content: '';
+
margin: 5px 0 0 0;
  display: block;
+
position: absolute;
 +
width: 100%;
 +
opacity: 0;
 +
pointer-events: none;
 +
-webkit-transform: translateY(10px);
 +
transform: translateY(10px);
 +
-webkit-backface-visibility: hidden;
 +
backface-visibility: hidden;
 
}
 
}
  
.navigation:after {
+
.dl-menuwrapper .dl-menu.dl-menu-toggle {
  content: '';
+
transition: all 0.3s ease;
  display: table;
+
  clear: both;
+
 
}
 
}
  
.navigation a {
+
.dl-menuwrapper .dl-menu.dl-menuopen {
  display: block;
+
opacity: 1;
  padding: 1em 1.3em;
+
pointer-events: auto;
  color: #ffffff;
+
-webkit-transform: translateY(0px);
  text-decoration: none;
+
transform: translateY(0px);
  text-transform: uppercase;
+
 
}
 
}
  
.navigation > ul { width: 13em; }
+
/* Hide the inner submenus */
 +
.dl-menuwrapper li .dl-submenu {
 +
display: none;
 +
}
  
.navigation ul ul { width: 13em; }
+
/*
 +
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;
 +
}
  
.navigation > ul > li > a {
+
.dl-menu.dl-subview li.dl-subview,
  border-right: 0.3em solid #34A65F;
+
.dl-menu.dl-subview li.dl-subview .dl-submenu,
  color: #ffffff;
+
.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;
 
}
 
}
  
.navigation > ul > li > a:hover { color: #ffffff; }
+
/* Dynamically added submenu outside of the menu context */
 +
.dl-menuwrapper > .dl-submenu {
 +
position: absolute;
 +
width: 100%;
 +
top: 50px;
 +
left: 0;
 +
margin: 0;
 +
}
  
.navigation > ul > li a:hover,
+
/* Animation classes for moving out and in */
.navigation > ul > li:hover a { background: #34A65F; }
+
  
.navigation li { position: relative; }
+
.dl-menu.dl-animate-out-1 {
 +
-webkit-animation: MenuAnimOut1 0.4s;
 +
animation: MenuAnimOut1 0.4s;
 +
}
  
.navigation ul li.has-sub > a:after {
+
.dl-menu.dl-animate-out-2 {
  content: '»';
+
-webkit-animation: MenuAnimOut2 0.3s ease-in-out;
  position: absolute;
+
animation: MenuAnimOut2 0.3s ease-in-out;
  right: 1em;
+
 
}
 
}
  
.navigation ul ul li.first {
+
.dl-menu.dl-animate-out-3 {
  -webkit-border-radius: 0 3px 0 0;
+
-webkit-animation: MenuAnimOut3 0.4s ease;
  -moz-border-radius: 0 3px 0 0;
+
animation: MenuAnimOut3 0.4s ease;
  border-radius: 0 3px 0 0;
+
 
}
 
}
  
.navigation ul ul li.last {
+
.dl-menu.dl-animate-out-4 {
  -webkit-border-radius: 0 0 3px 0;
+
-webkit-animation: MenuAnimOut4 0.4s ease;
  -moz-border-radius: 0 0 3px 0;
+
animation: MenuAnimOut4 0.4s ease;
  border-radius: 0 0 3px 0;
+
  border-bottom: 0;
+
 
}
 
}
  
.navigation ul ul {
+
.dl-menu.dl-animate-out-5 {
  -webkit-border-radius: 0 3px 3px 0;
+
-webkit-animation: MenuAnimOut5 0.4s ease;
  -moz-border-radius: 0 3px 3px 0;
+
animation: MenuAnimOut5 0.4s ease;
  border-radius: 0 3px 3px 0;
+
 
}
 
}
  
.navigation ul ul { border: 1px solid #34A65F; }
+
@-webkit-keyframes MenuAnimOut1 {
 +
0% { }
 +
50% {
 +
-webkit-transform: translateZ(-250px) rotateY(30deg);
 +
}
 +
75% {
 +
-webkit-transform: translateZ(-372.5px) rotateY(15deg);
 +
opacity: .5;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(-500px) rotateY(0deg);
 +
opacity: 0;
 +
}
 +
}
  
.navigation ul ul a { color: #ffffff; }
+
@-webkit-keyframes MenuAnimOut2 {
 +
0% { }
 +
100% {
 +
-webkit-transform: translateX(-100%);
 +
opacity: 0;
 +
}
 +
}
  
.navigation ul ul a:hover { color: #ffffff; }
+
@-webkit-keyframes MenuAnimOut3 {
 +
0% { }
 +
100% {
 +
-webkit-transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
}
  
.navigation ul ul li { border-bottom: 1px solid #0F8A5F; }
+
@-webkit-keyframes MenuAnimOut4 {
 +
0% { }
 +
100% {
 +
-webkit-transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
}
  
.navigation ul ul li:hover > a {
+
@-webkit-keyframes MenuAnimOut5 {
  background: #4eb1ff;
+
0% { }
  color: #ffffff;
+
100% {
 +
-webkit-transform: translateY(40%);
 +
opacity: 0;
 +
}
 
}
 
}
  
.navigation.align-right > ul > li > a {
+
@keyframes MenuAnimOut1 {
  border-left: 0.3em solid #34A65F;
+
0% { }
  border-right: none;
+
50% {
 +
-webkit-transform: translateZ(-250px) rotateY(30deg);
 +
transform: translateZ(-250px) rotateY(30deg);
 +
}
 +
75% {
 +
-webkit-transform: translateZ(-372.5px) rotateY(15deg);
 +
transform: translateZ(-372.5px) rotateY(15deg);
 +
opacity: .5;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(-500px) rotateY(0deg);
 +
transform: translateZ(-500px) rotateY(0deg);
 +
opacity: 0;
 +
}
 
}
 
}
  
.navigation.align-right { float: right; }
+
@keyframes MenuAnimOut2 {
 +
0% { }
 +
100% {
 +
-webkit-transform: translateX(-100%);
 +
transform: translateX(-100%);
 +
opacity: 0;
 +
}
 +
}
  
.navigation.align-right li { text-align: right; }
+
@keyframes MenuAnimOut3 {
 +
0% { }
 +
100% {
 +
-webkit-transform: translateZ(300px);
 +
transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
}
  
.navigation.align-right ul li.has-sub > a:before {
+
@keyframes MenuAnimOut4 {
  content: '+';
+
0% { }
  position: absolute;
+
100% {
  top: 50%;
+
-webkit-transform: translateZ(-300px);
  left: 15px;
+
transform: translateZ(-300px);
  margin-top: -6px;
+
opacity: 0;
 +
}
 
}
 
}
  
.navigation.align-right ul li.has-sub > a:after { content: none; }
+
@keyframes MenuAnimOut5 {
 +
0% { }
 +
100% {
 +
-webkit-transform: translateY(40%);
 +
transform: translateY(40%);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
.dl-menu.dl-animate-in-1 {
 +
-webkit-animation: MenuAnimIn1 0.3s;
 +
animation: MenuAnimIn1 0.3s;
 +
}
 +
 
 +
.dl-menu.dl-animate-in-2 {
 +
-webkit-animation: MenuAnimIn2 0.3s ease-in-out;
 +
animation: MenuAnimIn2 0.3s ease-in-out;
 +
}
 +
 
 +
.dl-menu.dl-animate-in-3 {
 +
-webkit-animation: MenuAnimIn3 0.4s ease;
 +
animation: MenuAnimIn3 0.4s ease;
 +
}
 +
 
 +
.dl-menu.dl-animate-in-4 {
 +
-webkit-animation: MenuAnimIn4 0.4s ease;
 +
animation: MenuAnimIn4 0.4s ease;
 +
}
 +
 
 +
.dl-menu.dl-animate-in-5 {
 +
-webkit-animation: MenuAnimIn5 0.4s ease;
 +
animation: MenuAnimIn5 0.4s ease;
 +
}
 +
 
 +
@-webkit-keyframes MenuAnimIn1 {
 +
0% {
 +
-webkit-transform: translateZ(-500px) rotateY(0deg);
 +
opacity: 0;
 +
}
 +
20% {
 +
-webkit-transform: translateZ(-250px) rotateY(30deg);
 +
opacity: 0.5;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px) rotateY(0deg);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes MenuAnimIn2 {
 +
0% {
 +
-webkit-transform: translateX(-100%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateX(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes MenuAnimIn3 {
 +
0% {
 +
-webkit-transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes MenuAnimIn4 {
 +
0% {
 +
-webkit-transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes MenuAnimIn5 {
 +
0% {
 +
-webkit-transform: translateY(40%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateY(0);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes MenuAnimIn1 {
 +
0% {
 +
-webkit-transform: translateZ(-500px) rotateY(0deg);
 +
transform: translateZ(-500px) rotateY(0deg);
 +
opacity: 0;
 +
}
 +
20% {
 +
-webkit-transform: translateZ(-250px) rotateY(30deg);
 +
transform: translateZ(-250px) rotateY(30deg);
 +
opacity: 0.5;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px) rotateY(0deg);
 +
transform: translateZ(0px) rotateY(0deg);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes MenuAnimIn2 {
 +
0% {
 +
-webkit-transform: translateX(-100%);
 +
transform: translateX(-100%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateX(0px);
 +
transform: translateX(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes MenuAnimIn3 {
 +
0% {
 +
-webkit-transform: translateZ(300px);
 +
transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes MenuAnimIn4 {
 +
0% {
 +
-webkit-transform: translateZ(-300px);
 +
transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes MenuAnimIn5 {
 +
0% {
 +
-webkit-transform: translateY(40%);
 +
transform: translateY(40%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateY(0);
 +
transform: translateY(0);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-in-1 {
 +
-webkit-animation: SubMenuAnimIn1 0.4s ease;
 +
animation: SubMenuAnimIn1 0.4s ease;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-in-2 {
 +
-webkit-animation: SubMenuAnimIn2 0.3s ease-in-out;
 +
animation: SubMenuAnimIn2 0.3s ease-in-out;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-in-3 {
 +
-webkit-animation: SubMenuAnimIn3 0.4s ease;
 +
animation: SubMenuAnimIn3 0.4s ease;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-in-4 {
 +
-webkit-animation: SubMenuAnimIn4 0.4s ease;
 +
animation: SubMenuAnimIn4 0.4s ease;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-in-5 {
 +
-webkit-animation: SubMenuAnimIn5 0.4s ease;
 +
animation: SubMenuAnimIn5 0.4s ease;
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimIn1 {
 +
0% {
 +
-webkit-transform: translateX(50%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateX(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimIn2 {
 +
0% {
 +
-webkit-transform: translateX(100%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateX(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimIn3 {
 +
0% {
 +
-webkit-transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimIn4 {
 +
0% {
 +
-webkit-transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimIn5 {
 +
0% {
 +
-webkit-transform: translateZ(-200px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimIn1 {
 +
0% {
 +
-webkit-transform: translateX(50%);
 +
transform: translateX(50%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateX(0px);
 +
transform: translateX(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimIn2 {
 +
0% {
 +
-webkit-transform: translateX(100%);
 +
transform: translateX(100%);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateX(0px);
 +
transform: translateX(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimIn3 {
 +
0% {
 +
-webkit-transform: translateZ(-300px);
 +
transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimIn4 {
 +
0% {
 +
-webkit-transform: translateZ(300px);
 +
transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0px);
 +
transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimIn5 {
 +
0% {
 +
-webkit-transform: translateZ(-200px);
 +
transform: translateZ(-200px);
 +
opacity: 0;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(0);
 +
transform: translateZ(0);
 +
opacity: 1;
 +
}
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-out-1 {
 +
-webkit-animation: SubMenuAnimOut1 0.4s ease;
 +
animation: SubMenuAnimOut1 0.4s ease;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-out-2 {
 +
-webkit-animation: SubMenuAnimOut2 0.3s ease-in-out;
 +
animation: SubMenuAnimOut2 0.3s ease-in-out;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-out-3 {
 +
-webkit-animation: SubMenuAnimOut3 0.4s ease;
 +
animation: SubMenuAnimOut3 0.4s ease;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-out-4 {
 +
-webkit-animation: SubMenuAnimOut4 0.4s ease;
 +
animation: SubMenuAnimOut4 0.4s ease;
 +
}
 +
 
 +
.dl-menuwrapper > .dl-submenu.dl-animate-out-5 {
 +
-webkit-animation: SubMenuAnimOut5 0.4s ease;
 +
animation: SubMenuAnimOut5 0.4s ease;
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimOut1 {
 +
0% {
 +
-webkit-transform: translateX(0%);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateX(50%);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimOut2 {
 +
0% {
 +
-webkit-transform: translateX(0%);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateX(100%);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimOut3 {
 +
0% {
 +
-webkit-transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimOut4 {
 +
0% {
 +
-webkit-transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@-webkit-keyframes SubMenuAnimOut5 {
 +
0% {
 +
-webkit-transform: translateZ(0);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(-200px);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimOut1 {
 +
0% {
 +
-webkit-transform: translateX(0%);
 +
transform: translateX(0%);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateX(50%);
 +
transform: translateX(50%);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimOut2 {
 +
0% {
 +
-webkit-transform: translateX(0%);
 +
transform: translateX(0%);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateX(100%);
 +
transform: translateX(100%);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimOut3 {
 +
0% {
 +
-webkit-transform: translateZ(0px);
 +
transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(-300px);
 +
transform: translateZ(-300px);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimOut4 {
 +
0% {
 +
-webkit-transform: translateZ(0px);
 +
transform: translateZ(0px);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(300px);
 +
transform: translateZ(300px);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
@keyframes SubMenuAnimOut5 {
 +
0% {
 +
-webkit-transform: translateZ(0);
 +
transform: translateZ(0);
 +
opacity: 1;
 +
}
 +
100% {
 +
-webkit-transform: translateZ(-200px);
 +
transform: translateZ(-200px);
 +
opacity: 0;
 +
}
 +
}
 +
 
 +
/* 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: rgba(0,0,0,0.1);
 +
}
 +
 
 +
.no-js .dl-menuwrapper li > a:not(:only-child):after {
 +
content: '';
 +
}
 +
 
 +
/* Colors for demos */
 +
 
 +
/* Demo 1 */
 +
.demo-1 .dl-menuwrapper button {
 +
background: #c62860;
 +
}
 +
 
 +
.demo-1 .dl-menuwrapper button:hover,
 +
.demo-1 .dl-menuwrapper button.dl-active,
 +
.demo-1 .dl-menuwrapper ul {
 +
background: #9e1847;
 +
}
 +
 
 +
/* Demo 2 */
 +
.demo-2 .dl-menuwrapper button {
 +
background: #e86814;
 +
}
 +
 
 +
.demo-2 .dl-menuwrapper button:hover,
 +
.demo-2 .dl-menuwrapper button.dl-active,
 +
.demo-2 .dl-menuwrapper ul {
 +
background: #D35400;
 +
}
 +
 
 +
/* Demo 3 */
 +
.demo-3 .dl-menuwrapper button {
 +
background: #08cbc4;
 +
}
 +
 
 +
.demo-3 .dl-menuwrapper button:hover,
 +
.demo-3 .dl-menuwrapper button.dl-active,
 +
.demo-3 .dl-menuwrapper ul {
 +
background: #00b4ae;
 +
}
  
.navigation.align-right ul ul {
+
/* Demo 4 */
  visibility: hidden;
+
.demo-4 .dl-menuwrapper button {
  position: absolute;
+
background: #90b912;
  top: 0;
+
  left: -100%;
+
  z-index: 598;
+
  width: 100%;
+
 
}
 
}
  
.navigation.align-right ul ul li.first {
+
.demo-4 .dl-menuwrapper button:hover,
  -webkit-border-radius: 3px 0 0 0;
+
.demo-4 .dl-menuwrapper button.dl-active,
  -moz-border-radius: 3px 0 0 0;
+
.demo-4 .dl-menuwrapper ul {
  border-radius: 3px 0 0 0;
+
background: #79a002;
 
}
 
}
  
.navigation.align-right ul ul li.last {
+
/* Demo 5 */
  -webkit-border-radius: 0 0 0 3px;
+
.demo-5 .dl-menuwrapper button {
  -moz-border-radius: 0 0 0 3px;
+
background: #744783;
  border-radius: 0 0 0 3px;
+
 
}
 
}
  
.navigation.align-right ul ul {
+
.demo-5 .dl-menuwrapper button:hover,
  -webkit-border-radius: 3px 0 0 3px;
+
.demo-5 .dl-menuwrapper button.dl-active,
  -moz-border-radius: 3px 0 0 3px;
+
.demo-5 .dl-menuwrapper ul {
  border-radius: 3px 0 0 3px;
+
background: #643771;
 
}
 
}

Revision as of 09:40, 18 September 2018

html body {

   font-size: inherit;
   font-family: inherit;
   background-color: transparent;
   color: inherit;
   padding: 0;

}

  1. globalWrapper {
   margin: 0;
   padding-bottom:0px!important;
   padding: 0;
   position: static;
   width: auto;

}

  1. top-section {
   border: 0;
   height: auto; 
   margin: 0;
   position: static;
   width: auto;

}

  1. p-logo {
   height: auto;
   position: static;
   width: auto;
   z-index: auto;

}

  1. p-logo a, div#p-logo a:hover {
   text-decoration: none;

}

  1. menubar {
   position: static;
   top: 0px;
   white-space: normal;
   width: auto;
   z-index: auto;

}

div.left-menu, div.left-menu a {

   left: 0;
   text-align: left;
   text-transform: none;

}

  1. menubar ul {
   list-style: disc outside none;
   margin: 0;
   padding: 0;

}

  1. menubar li {
   cursor: auto;
   display: list-item;
   padding: 0;
   margin: 0;
   position: static;

}

.left-menu li a {

   padding: 0;

}

.left-menu:hover {

   background-color: transparent;

}

.right-menu, div.right-menu a {

   right: 0;
   text-align: left;

}

.right-menu li a {

   background-color: transparent;
   padding: 0;

}

.right-menu li a:hover {

   text-decoration: none;

}

  1. search-controls {
   background-color: transparent;
   height: auto;
   position: static;
   right: 0;
   text-align: left;
   top: 0;
   width: auto;
   z-index: auto;

}

  1. content {
   background: transparent;
   border: 0;
   margin: 0;
   padding: 0;

line-height:1.5;

   position: static;
   width: auto;
   z-index: auto;

}

li {

   margin: 0;

}

h1, body h2, body h3, body h4, body h5, body h6 {

   background: transparent;
   border: 0;
   padding: 0;

}

.firstHeading {

   margin: 0;

}

  1. contentSub {
   margin: 0;
   width: auto;

}

  1. catlinks {
   background-color: transparent;
   border: 0;
   clear: both;
   margin: 0;
   padding: 0;

}

  1. footer-box {
   background-color: transparent;
   border: 0;
   margin: 0;
   padding: 0;
   width: auto;

}

  1. footer {
   text-align: left;

}

  1. f-poweredbyico, #f-copyrightico {
   float: none;

}

  1. footer li {
   margin: 0;
   display: list-item;

}

  1. sideMenu {
  width: 200px;
  position: absolute;
  top: 20px;
  left: 1020px;
  z-index: 10;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  background-color: white;
  text-align: left;
  display: none;
  z-index: 0;

}

  1. content {
   width: 100%;
      padding: 0px;
      margin-left: 0px;

}

  1. top_title {
   overflow: hidden;
   display: none;

}

  1. top_menu_14 {
   height: 20px;

}

  1. top_menu_under {
   display: none;

}

  1. globalWrapper {
     padding-bottom: 20px;

}

  1. HQ_page p {
  font-size: 16px;

}

.skin-igem {

      padding-top: 0px;

}

  1. top_menu_14 {

border-bottom:2px solid #383838!important; }

/* End rules to reset wiki css*/

p{ margin:0px!important; padding:0px!important; }

html, body, #bdxbackground{

 width:100%;
 height:100%;

} video{

       width: 100vw;
       height: auto;
       position: relative;
       background: black;
       left: 0;

} body{

   overflow-x: hidden;

}

  1. videocontainer{
   position: relative;
   height: auto;
   z-index: -15;

}

.after-bg{ height: 200px; background-color: #fff; position: relative; left: 0px; width: 100vw; color:black; }


/* MENU FLOAT*/

body {

   font-family: "Avenir-black", sans-serif;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   color: #4d4d4d;
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;

}

a {

   color: #4d4d4d;
   text-decoration: none;

}

ul {

   margin: 0;
   padding: 0;

}

li {

  list-style: none;

}

.displayflex {

   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

} .menu-wrapper{

  position: absolute;
   left: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index : 9;
   border-top-left-radius: 10px;
pointer-events: all;
   border-bottom-left-radius: 10px;
     -webkit-touch-callout: none;
     /* iOS Safari */
     -webkit-user-select: none;
     /* Safari */
     -khtml-user-select: none;
     /* Konqueror HTML */
     -moz-user-select: none;
     /* Firefox */
     -ms-user-select: none;
     /* Internet Explorer/Edge */
     user-select: none;
     /* Non-prefixed version, currently
                                 supported by Chrome and Opera */

} .menu {

   transition: all .3s;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   position: fixed;
   width: 100%;
   height: 100vh;
   z-index: 9;
   justify-content: center;
   align-items: center;
   transition: all .2s;
   /*background-image: url(http://sije.fr/wp-content/themes/sije/assets/images/bg-menu-home.jpg);*/
   background-size: cover;
   top: 0;
pointer-events: none;

}

.menu .preview {

   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);
   border-radius: 10px;
   width: 238px;
   height: 426px;
   /*margin-right: 40px;*/
   background-image: url(T--Bordeaux--cardmenu.png);
   background-size: cover;
   z-index: 10;

}

  1. menu{
       padding: 20px 80px 20px 80px !important;
       position: relative;
       left: -275px;
       z-index: 9;

}

.slided{

       padding: 20px 80px 20px 80px!important;    
       position: relative;
       background-color: rgba(38, 38, 38, 0.4);
       left: 0px!important;
       z-index: 10!important;
       transition-duration: 0.7s;

}

.menu ul li a {

   color: #ffffff;
   font-size: 16px;
   letter-spacing: 0.89px;
   text-transform: uppercase;
   padding: 4px 0;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   opacity: .45;
   transition: all .3s;

}

.menu ul li a:hover {

   opacity: 1;

}


.preview.home {

   background-image: url(T--Bordeaux--cardmenu.png);

}

.menu.project {

   background-image: url(T--Bordeaux--cardbgforet.png);

}

.preview.project {

   background-image: url(T--Bordeaux--cardproject.png);

}

.menu.team {

   background-image: url(T--Bordeaux--cardbgteam.jpg);

}

.preview.team {

   background-image: url(T--Bordeaux--cardteam.png);

}


.bgtitle{

   width: 100vw;
   height: 100vh;
   background-size: cover;
   background-repeat:no-repeat; 
   background-position: center center;
   background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.4)), url(T--Bordeaux--bgforest.jpg);
   z-index: -5;

} .separator{

   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);    

} .typewriter{

   color: white;
   font-size: 5vw;
   text-align:justify;
   display: inline-block;
   padding-top: 0px;
   padding-bottom: 0px;
   padding-left: 20px;
   padding-right: 10px;
   position: fixed;
   top: 70px;
   right: 70px;
   width: auto;
   mix-blend-mode: screen;
   font-weight: 500;
   font-family: "Avenir-black",
       sans-serif;

white-space: nowrap; }

.bgtitle img{

   width: 115%;
   margin-left:-5%; 

}

.sponso{

   background-color: white;
   padding: 10px;
   z-index: 1;
   width: 100vw;
  display: flex;
  justify-content:space-around;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  position: relative;

} .sponso img{

   max-width: 200px;
   max-height: 100px;
   z-index : 1;

}

.tiles{

   padding: 50px!important;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
     0 6px 6px rgba(0, 0, 0, 0.23);
     background-color: white;

} .subpanel{

}


/* MENU NAV */

/* Common styles of menus */

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

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

.dl-menuwrapper button { background: #ccc; border: none; width: 48px; height: 45px; text-indent: -900em; overflow: hidden; position: relative; cursor: pointer; outline: none; }

.dl-menuwrapper button:hover, .dl-menuwrapper button.dl-active, .dl-menuwrapper ul { background: #aaa; }

.dl-menuwrapper button:after { content: ; position: absolute; width: 68%; height: 5px; background: #fff; top: 10px; left: 16%; box-shadow: 0 10px 0 #fff, 0 20px 0 #fff; }

.dl-menuwrapper ul { padding: 0; list-style: none; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }

.dl-menuwrapper li { position: relative; }

.dl-menuwrapper li a { display: block; position: relative; padding: 15px 20px; font-size: 16px; line-height: 20px; font-weight: 300; color: #fff; outline: none; }

.no-touch .dl-menuwrapper li a:hover { background: rgba(255,248,213,0.1); }

.dl-menuwrapper li.dl-back > a { padding-left: 30px; background: rgba(0,0,0,0.1); }

.dl-menuwrapper li.dl-back:after, .dl-menuwrapper li > a:not(:only-child):after { position: absolute; top: 0; line-height: 50px; font-family: 'icomoon'; speak: none; -webkit-font-smoothing: antialiased; content: "\e000"; }

.dl-menuwrapper li.dl-back:after { left: 10px; color: rgba(212,204,198,0.3); -webkit-transform: rotate(180deg); transform: rotate(180deg); }

.dl-menuwrapper li > a:after { right: 10px; color: rgba(0,0,0,0.15); }

.dl-menuwrapper .dl-menu { margin: 5px 0 0 0; position: absolute; width: 100%; opacity: 0; pointer-events: none; -webkit-transform: translateY(10px); transform: translateY(10px); -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: 50px; left: 0; margin: 0; }

/* Animation classes for moving out and in */

.dl-menu.dl-animate-out-1 { -webkit-animation: MenuAnimOut1 0.4s; animation: MenuAnimOut1 0.4s; }

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

.dl-menu.dl-animate-out-3 { -webkit-animation: MenuAnimOut3 0.4s ease; animation: MenuAnimOut3 0.4s ease; }

.dl-menu.dl-animate-out-4 { -webkit-animation: MenuAnimOut4 0.4s ease; animation: MenuAnimOut4 0.4s ease; }

.dl-menu.dl-animate-out-5 { -webkit-animation: MenuAnimOut5 0.4s ease; animation: MenuAnimOut5 0.4s ease; }

@-webkit-keyframes MenuAnimOut1 { 0% { } 50% { -webkit-transform: translateZ(-250px) rotateY(30deg); } 75% { -webkit-transform: translateZ(-372.5px) rotateY(15deg); opacity: .5; } 100% { -webkit-transform: translateZ(-500px) rotateY(0deg); opacity: 0; } }

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

@-webkit-keyframes MenuAnimOut3 { 0% { } 100% { -webkit-transform: translateZ(300px); opacity: 0; } }

@-webkit-keyframes MenuAnimOut4 { 0% { } 100% { -webkit-transform: translateZ(-300px); opacity: 0; } }

@-webkit-keyframes MenuAnimOut5 { 0% { } 100% { -webkit-transform: translateY(40%); opacity: 0; } }

@keyframes MenuAnimOut1 { 0% { } 50% { -webkit-transform: translateZ(-250px) rotateY(30deg); transform: translateZ(-250px) rotateY(30deg); } 75% { -webkit-transform: translateZ(-372.5px) rotateY(15deg); transform: translateZ(-372.5px) rotateY(15deg); opacity: .5; } 100% { -webkit-transform: translateZ(-500px) rotateY(0deg); transform: translateZ(-500px) rotateY(0deg); opacity: 0; } }

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

@keyframes MenuAnimOut3 { 0% { } 100% { -webkit-transform: translateZ(300px); transform: translateZ(300px); opacity: 0; } }

@keyframes MenuAnimOut4 { 0% { } 100% { -webkit-transform: translateZ(-300px); transform: translateZ(-300px); opacity: 0; } }

@keyframes MenuAnimOut5 { 0% { } 100% { -webkit-transform: translateY(40%); transform: translateY(40%); opacity: 0; } }

.dl-menu.dl-animate-in-1 { -webkit-animation: MenuAnimIn1 0.3s; animation: MenuAnimIn1 0.3s; }

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

.dl-menu.dl-animate-in-3 { -webkit-animation: MenuAnimIn3 0.4s ease; animation: MenuAnimIn3 0.4s ease; }

.dl-menu.dl-animate-in-4 { -webkit-animation: MenuAnimIn4 0.4s ease; animation: MenuAnimIn4 0.4s ease; }

.dl-menu.dl-animate-in-5 { -webkit-animation: MenuAnimIn5 0.4s ease; animation: MenuAnimIn5 0.4s ease; }

@-webkit-keyframes MenuAnimIn1 { 0% { -webkit-transform: translateZ(-500px) rotateY(0deg); opacity: 0; } 20% { -webkit-transform: translateZ(-250px) rotateY(30deg); opacity: 0.5; } 100% { -webkit-transform: translateZ(0px) rotateY(0deg); opacity: 1; } }

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

@-webkit-keyframes MenuAnimIn3 { 0% { -webkit-transform: translateZ(300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); opacity: 1; } }

@-webkit-keyframes MenuAnimIn4 { 0% { -webkit-transform: translateZ(-300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); opacity: 1; } }

@-webkit-keyframes MenuAnimIn5 { 0% { -webkit-transform: translateY(40%); opacity: 0; } 100% { -webkit-transform: translateY(0); opacity: 1; } }

@keyframes MenuAnimIn1 { 0% { -webkit-transform: translateZ(-500px) rotateY(0deg); transform: translateZ(-500px) rotateY(0deg); opacity: 0; } 20% { -webkit-transform: translateZ(-250px) rotateY(30deg); transform: translateZ(-250px) rotateY(30deg); opacity: 0.5; } 100% { -webkit-transform: translateZ(0px) rotateY(0deg); transform: translateZ(0px) rotateY(0deg); opacity: 1; } }

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

@keyframes MenuAnimIn3 { 0% { -webkit-transform: translateZ(300px); transform: translateZ(300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); transform: translateZ(0px); opacity: 1; } }

@keyframes MenuAnimIn4 { 0% { -webkit-transform: translateZ(-300px); transform: translateZ(-300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); transform: translateZ(0px); opacity: 1; } }

@keyframes MenuAnimIn5 { 0% { -webkit-transform: translateY(40%); transform: translateY(40%); opacity: 0; } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }

.dl-menuwrapper > .dl-submenu.dl-animate-in-1 { -webkit-animation: SubMenuAnimIn1 0.4s ease; animation: SubMenuAnimIn1 0.4s ease; }

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

.dl-menuwrapper > .dl-submenu.dl-animate-in-3 { -webkit-animation: SubMenuAnimIn3 0.4s ease; animation: SubMenuAnimIn3 0.4s ease; }

.dl-menuwrapper > .dl-submenu.dl-animate-in-4 { -webkit-animation: SubMenuAnimIn4 0.4s ease; animation: SubMenuAnimIn4 0.4s ease; }

.dl-menuwrapper > .dl-submenu.dl-animate-in-5 { -webkit-animation: SubMenuAnimIn5 0.4s ease; animation: SubMenuAnimIn5 0.4s ease; }

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

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

@-webkit-keyframes SubMenuAnimIn3 { 0% { -webkit-transform: translateZ(-300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); opacity: 1; } }

@-webkit-keyframes SubMenuAnimIn4 { 0% { -webkit-transform: translateZ(300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); opacity: 1; } }

@-webkit-keyframes SubMenuAnimIn5 { 0% { -webkit-transform: translateZ(-200px); opacity: 0; } 100% { -webkit-transform: translateZ(0); opacity: 1; } }

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

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

@keyframes SubMenuAnimIn3 { 0% { -webkit-transform: translateZ(-300px); transform: translateZ(-300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); transform: translateZ(0px); opacity: 1; } }

@keyframes SubMenuAnimIn4 { 0% { -webkit-transform: translateZ(300px); transform: translateZ(300px); opacity: 0; } 100% { -webkit-transform: translateZ(0px); transform: translateZ(0px); opacity: 1; } }

@keyframes SubMenuAnimIn5 { 0% { -webkit-transform: translateZ(-200px); transform: translateZ(-200px); opacity: 0; } 100% { -webkit-transform: translateZ(0); transform: translateZ(0); opacity: 1; } }

.dl-menuwrapper > .dl-submenu.dl-animate-out-1 { -webkit-animation: SubMenuAnimOut1 0.4s ease; animation: SubMenuAnimOut1 0.4s ease; }

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

.dl-menuwrapper > .dl-submenu.dl-animate-out-3 { -webkit-animation: SubMenuAnimOut3 0.4s ease; animation: SubMenuAnimOut3 0.4s ease; }

.dl-menuwrapper > .dl-submenu.dl-animate-out-4 { -webkit-animation: SubMenuAnimOut4 0.4s ease; animation: SubMenuAnimOut4 0.4s ease; }

.dl-menuwrapper > .dl-submenu.dl-animate-out-5 { -webkit-animation: SubMenuAnimOut5 0.4s ease; animation: SubMenuAnimOut5 0.4s ease; }

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

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

@-webkit-keyframes SubMenuAnimOut3 { 0% { -webkit-transform: translateZ(0px); opacity: 1; } 100% { -webkit-transform: translateZ(-300px); opacity: 0; } }

@-webkit-keyframes SubMenuAnimOut4 { 0% { -webkit-transform: translateZ(0px); opacity: 1; } 100% { -webkit-transform: translateZ(300px); opacity: 0; } }

@-webkit-keyframes SubMenuAnimOut5 { 0% { -webkit-transform: translateZ(0); opacity: 1; } 100% { -webkit-transform: translateZ(-200px); opacity: 0; } }

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

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

@keyframes SubMenuAnimOut3 { 0% { -webkit-transform: translateZ(0px); transform: translateZ(0px); opacity: 1; } 100% { -webkit-transform: translateZ(-300px); transform: translateZ(-300px); opacity: 0; } }

@keyframes SubMenuAnimOut4 { 0% { -webkit-transform: translateZ(0px); transform: translateZ(0px); opacity: 1; } 100% { -webkit-transform: translateZ(300px); transform: translateZ(300px); opacity: 0; } }

@keyframes SubMenuAnimOut5 { 0% { -webkit-transform: translateZ(0); transform: translateZ(0); opacity: 1; } 100% { -webkit-transform: translateZ(-200px); transform: translateZ(-200px); opacity: 0; } }

/* 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: rgba(0,0,0,0.1); }

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

/* Colors for demos */

/* Demo 1 */ .demo-1 .dl-menuwrapper button { background: #c62860; }

.demo-1 .dl-menuwrapper button:hover, .demo-1 .dl-menuwrapper button.dl-active, .demo-1 .dl-menuwrapper ul { background: #9e1847; }

/* Demo 2 */ .demo-2 .dl-menuwrapper button { background: #e86814; }

.demo-2 .dl-menuwrapper button:hover, .demo-2 .dl-menuwrapper button.dl-active, .demo-2 .dl-menuwrapper ul { background: #D35400; }

/* Demo 3 */ .demo-3 .dl-menuwrapper button { background: #08cbc4; }

.demo-3 .dl-menuwrapper button:hover, .demo-3 .dl-menuwrapper button.dl-active, .demo-3 .dl-menuwrapper ul { background: #00b4ae; }

/* Demo 4 */ .demo-4 .dl-menuwrapper button { background: #90b912; }

.demo-4 .dl-menuwrapper button:hover, .demo-4 .dl-menuwrapper button.dl-active, .demo-4 .dl-menuwrapper ul { background: #79a002; }

/* Demo 5 */ .demo-5 .dl-menuwrapper button { background: #744783; }

.demo-5 .dl-menuwrapper button:hover, .demo-5 .dl-menuwrapper button.dl-active, .demo-5 .dl-menuwrapper ul { background: #643771; }