.top-nav-menu-1 {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-moz-box-orient: horizontal;
-moz-box-direction: normal;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
justify-content: space-between;
background: -webkit-gradient(linear, right top, left top, from(#f46b45), to(#eea849));
background: -webkit-linear-gradient(right, #f46b45, #eea849);
background: -moz-linear-gradient(right, #f46b45, #eea849);
background: -o-linear-gradient(right, #f46b45, #eea849);
background: linear-gradient(to left, #f46b45, #eea849);
color: #fff;
height: 17px;
padding: 1em;
border: 1px solid #333;
position: relative;
width: 140px;
}
.menu-1 {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-moz-box-orient: horizontal;
-moz-box-direction: normal;
flex-direction: row;
list-style-type: none;
margin: 0;
padding: 0;
}
.menu-1 > li {
margin: 0 1rem;
overflow: hidden;
}
.menu-1-button-container {
display: none;
height: 100%;
width: 30px;
cursor: pointer;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-moz-box-orient: vertical;
-moz-box-direction: normal;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-moz-box-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
align-items: center;
}
#menu-1-toggle {
display: none;
}
.menu-1-button,
.menu-1-button::before,
.menu-1-button::after {
display: block;
background-color: #fff;
position: absolute;
height: 4px;
width: 30px;
-webkit-transition: -webkit-transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
transition: -webkit-transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
-o-transition: -o-transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
-moz-transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), -moz-transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 400ms cubic-bezier(0.23, 1, 0.32, 1), -moz-transform 400ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.menu-1-button::before {
content: "";
margin-top: -8px;
}
.menu-1-button::after {
content: "";
margin-top: 8px;
}
#menu-1-toggle:checked + .menu-1-button-container .menu-1-button::before {
margin-top: 0px;
-webkit-transform: rotate(405deg);
-moz-transform: rotate(405deg);
-o-transform: rotate(405deg);
transform: rotate(405deg);
}
#menu-1-toggle:checked + .menu-1-button-container .menu-1-button {
background: rgba(255, 255, 255, 0);
}
#menu-1-toggle:checked + .menu-1-button-container .menu-1-button::after {
margin-top: 0px;
-webkit-transform: rotate(-405deg);
-moz-transform: rotate(-405deg);
-o-transform: rotate(-405deg);
transform: rotate(-405deg);
}
@media (max-width: 10000px) {
.menu-1-button-container {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: flex;
}
.menu-1 {
position: absolute;
top: 0;
margin-top: 50px;
left: 0;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-moz-box-orient: vertical;
-moz-box-direction: normal;
flex-direction: column;
width: 100%;
-webkit-box-pack: center;
-webkit-justify-content: center;
-moz-box-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
align-items: center;
}
#menu-1-toggle ~ .menu-1 li {
height: 0;
margin: 0;
padding: 0;
border: 0;
-webkit-transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
-o-transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
-moz-transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
#menu-1-toggle:checked ~ .menu-1 li {
border: 1px solid #333;
height: 2.5em;
padding: 0.5em 0;
-webkit-transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
-o-transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
-moz-transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-1 > li {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
-moz-box-pack: center;
justify-content: center;
margin: 0;
padding: 0.5em 0;
width: 100%;
color: white;
background-color: #222;
}
.menu-1 > li:not(:last-child) {
border-bottom: 1px solid #444;
}
}