/* Common styles for all menus */
.menu {
    line-height: 1;
    margin: 0 auto 3em;
}

.menu__list {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu__item {
    display: block;
    margin: 1em 0;
}

.menu__link {
    font-size: 18px;
    font-weight: bold;
    display: block;
    padding: 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.menu__link:hover,
.menu__link:focus {
    outline: none;
}

/* Individual styles */



/* Iris */
.menu--iris .menu__item {
    margin: 0 17.8px;
}

.menu--iris .menu__link {
    position: relative;
    text-align: center;
    color: #0f3256;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.menu--iris .menu__link:hover,
.menu--iris .menu__link:focus {
    color: #0f3256;
}

.menu--iris .menu__item--current .menu__link {
    color: #0f3256;
}

.menu--iris .menu__link::before,
.menu--iris .menu__link::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    border: 2px solid #d0223c;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.17, 0.67, 0.05, 1.29);
    transition-timing-function: cubic-bezier(0.17, 0.67, 0.05, 1.29);
}

.menu--iris .menu__link::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    -webkit-transform: translate3d(10px, 10px, 0);
    transform: translate3d(10px, 10px, 0);
}

.menu--iris .menu__link::after {
    right: 0;
    bottom: 0;
    border-width: 0 2px 2px 0;
    -webkit-transform: translate3d(-10px, -10px, 0);
    transform: translate3d(-10px, -10px, 0);
}

.menu--iris .menu__item--current .menu__link::before,
.menu--iris .menu__item--current .menu__link::after {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
/* Set all parents to full height */
html, body, 
.container,
.cbp-fbscroller,
.cbp-fbscroller section { 
    height: 100%; 
}

/* The nav is fixed on the right side  and we center it by translating it 50% 
(we don't know it's height so we can't use the negative margin trick) */
.cbp-fbscroller > nav {
    position: fixed;
    z-index: 9999;
    right: 100px;
    top: 50%;
    width: 26px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cbp-fbscroller > nav a {
    display: block;
    position: relative;
    z-index: 9999;
    color: transparent;
    width: 26px;
    height: 26px;
    outline: none;
    margin: 25px 0;
    border-radius: 50%;
    border: 4px solid #fff;
}

.no-touch .cbp-fbscroller > nav a:hover {
    background: rgba(255,255,255,0.6);
}

.cbp-fbscroller > nav a.cbp-fbcurrent {
    background: #fff;
}

/* background-attachment does the trick */
.cbp-fbscroller section {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.no-touch .cbp-fbscroller section {
    background-attachment: fixed;
}

/*#fbsection1 {
    background-image: url(../img/piese-utilaje.jpg);
}

#fbsection2 {
    background-image: url(../img/piese-camioane.jpg);
}

#fbsection3 {
    background-image: url(../img/cruci.jpg);
}

#fbsection4 {
    background-image: url(../img/piese-camioane.jpg);
}

#fbsection5 {
    background-image: url(../img/scule.jpg);
}*/

/* Menu icon styles */

.menu-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 34px;
    margin: 25px 25px 25px 40px;
    pointer-events: none;
    transition: 0.1s;
}

.menu-icon-wrapper.scaled {
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
}

.menu-icon-wrapper svg {
    position: absolute;
    top: -33px;
    left: -33px;
    -webkit-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}

.menu-icon-wrapper svg path {
    stroke: #0f3256;
    stroke-width: 60px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: transparent;
}
.menu-icon-wrapper .menu-icon-trigger {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    cursor: pointer;
    height: 34px;
    left: -15px;
    margin: 0;
    padding: 0;
    pointer-events: auto;
    width: 34px;
}

.menu-icon-wrapper .menu-icon-trigger:hover,
.menu-icon-wrapper .menu-icon-trigger:focus {
    outline: none;
}


@media screen and (max-width: 1122px){
    .menu--iris .menu__item {
        margin: 0 14.8px;
    }
}
@media screen and (max-width: 1089px){
    .menu--iris .menu__item {
        margin:0 9.4px;
    }
}
@media screen and (max-width: 1011px){
    .menu__link {
        padding: 4px;
    }
}
@media screen and (max-width: 953px){
    .menu__link {
        font-size: 16px;
    }
}
@media screen and (max-width: 843px){
    .menu__link {
        font-size: 14px;
    }
}
@media screen and (max-width: 775px){
    .menu__link {
        padding: 7px;
    }
}