/*** Menu dropdown ***/

.l-inline li > ul .loginmenu.parent-open > #login-form, 
.loginmenu.parent-open > .e4jaccountmanagercont, 
.loginmenu.parent-open > .e4jcartcontent, 
.topmenu.parent-open li > ul,
.modopen.parent-open > ul {
    margin-top: 0;
    -webkit-transition: all 400ms ease-in-out 0s;
    -moz-transition: all 400ms ease-in-out 0s;
    -o-transition: all 400ms ease-in-out 0s;
    -ms-transition: all 400ms ease-in-out 0s;
    transition: all 400ms ease-in-out 0s;
}
.mainmenu .nav > li > *:not(ul):after,
.mainmenu .moduletable h3:after,
.nav-devices-list .nav > li > *:not(ul):after,
.nav-devices-list .moduletable > div > h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 100%;
    right: 100%;
    height: 3px;
    border-radius: 3px;
    transition: right .275s .3s,left .275s;
}
.mainmenu .nav > li > *:hover:after,
.mainmenu .nav > li > *:focus:after,
.mainmenu .moduletable h3:focus:after,
.mainmenu .moduletable h3:hover:after,
.nav-devices-list .nav > li > *:hover:after,
.nav-devices-list .nav > li > * :focus:after,
.nav-devices-list .moduletable > h3:hover:after,
.nav-devices-list .moduletable > h3:focus:after {
    right: 0;
    left: 0;
    transition: right .275s;
}
.mainmenu .nav > li.active > *:after {
    left: 0;
    right: 0;
    width: 100%;
}
/**** efj-slide-top-fixed ***/
@-webkit-keyframes efj-slide-top-fixed {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes efj-slide-top-fixed {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-o-keyframes efj-slide-top-fixed {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-ms-keyframes efj-slide-top-fixed {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes efj-slide-top-fixed {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}
/**** End efj-slide-top-fixed ***/

/**** efj-tofixed-up ***/

@-webkit-keyframes efj-tofixed-up {
    0% {
        -webkit-transform: translateY(-10px)
    }
    100% {
        -webkit-transform: translateY(0)
    }
}

@-moz-keyframes efj-tofixed-up {
    0% {
        -moz-transform: translateY(-10px)
    }
    100% {
        -moz-transform: translateY(0)
    }
}
@-ms-keyframes efj-tofixed-up {
    0% {
        -ms-transform: translateY(-10px)
    }
    100% {
        -ms-transform: translateY(0)
    }
}

@-o-keyframes efj-tofixed-up {
    0% {
        -ms-transform: translateY(-10px)
    }
    100% {
        -ms-transform: translateY(0)
    }
}

@keyframes efj-tofixed-up {
    0% {
        transform: translateY(-10px)
    }
    100% {
        transform: translateY(0)
    }
}
/**** End efj-tofixed-up ***/

.mainmenu .nav > .parent.parent-open > ul, .loginmenu.parent-open > #login-form, 
.loginmenu.parent-open > .e4jaccountmanagercont, .loginmenu.parent-open > .e4jcartcontent, 
.topmenu.parent-open li > ul, .modopen.parent-open > ul, .mainmenu .nav > .parent.parent-open > ul > .parent.parent-open > ul {
    display: block;
    -webkit-transform-origin: 0 0 0;
    -moz-transform-origin: 0 0 0;
    -ms-transform-origin: 0 0 0;
    -o-transform-origin: 0 0 0;
    transform-origin: 0 0 0;

    -moz-animation: 0.2s ease-in 0s normal none 1 running efj-slide-top-fixed;
    -ms-animation: 0.2s ease-in 0s normal none 1 running efj-slide-top-fixed;
    -o-animation: 0.2s ease-in 0s normal none 1 running efj-slide-top-fixed;
    animation: 0.2s ease-in 0s normal none 1 running efj-slide-top-fixed;
    -webkit-animation: efj-slide-top-fixed 0.2s ease-in 0s;

}
/*** Fixed menu ***/

.fx-menu-slide {
    -webkit-transform-origin: 0 0 0;
    -o-transform-origin: 0 0 0;
    -ms-transform-origin: 0 0 0;
    -moz-transform-origin: 0 0 0;
    transform-origin: 0 0 0;
    -o-animation: 0s linear 0s normal none 1 running efj-tofixed-up;
    -ms-animation: 0s linear 0s normal none 1 running efj-tofixed-up;
    -moz-animation: 0s linear 0s normal none 1 running efj-tofixed-up;
    animation: 0s linear 0s normal none 1 running efj-tofixed-up;
    -webkit-animation: efj-tofixed-up 0s linear 0s;

}
.fx-menu-slide .l-inline li > ul {
    top: 37px;
}
.fx-menu-slide #tbar-logo .moduletable img {
    width: 90%;
    transition: all 400ms ease-in-out 0s;
    -moz-transition: all 400ms ease-in-out 0s;
    -o-transition: all 400ms ease-in-out 0s;
    -webkit-transition: none;
}
.fx-menu-slide .mainmenu .l-inline {
    padding: 5px 1em;
    margin: 20px 0 0;
    -moz-transition: all 400ms ease-in-out 0s;
    -o-transition: all 400ms ease-in-out 0s;
    transition: all 400ms ease-in-out 0s;
    -webkit-transition: none;
}
.head-top-part .fx-menu-slide #lmpart {
    padding: 0 20px;
}
.head-top-part .fx-menu-slide #tbar-logo {
    padding: 0px 0 8px;
}
/**** Slide Search Module ***/

@-webkit-keyframes efj-slide-search {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-10px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0)
    }
}
@-moz-keyframes efj-slide-search {
    0% {
        opacity: 0;
        -moz-transform: translateX(-10px)
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0)
    }
}
@-ms-keyframes efj-slide-search {
    0% {
        opacity: 0;
        -ms-transform: translateX(-10px)
    }
    100% {
        opacity: 1;
        -ms-transform: translateX(0)
    }
}
@keyframes efj-slide-search {
    0% {
        opacity: 0;
        transform: translateX(-10px)
    }
    100% {
        opacity: 1;
        transform: translateX(0)
    }
}
.slide-search .e4jsearch-input {
    position: relative;
    display: inline-block;
}
.slide-search .e4jsearch-input:before {
    width: 26px;
    height: 29px;
    display: inline-block;
    cursor: pointer;
    padding: 0 2px;
    background: url(../images/search-white.png) left 5px no-repeat;
    float: left;
    position: absolute;
    left: 0;
    content: "";
}
.slide-search .e4jsearch-input input::-moz-placeholder {
    color: rgba(0, 0, 0, 0);
}
.slide-search .e4jsearch-input input::-moz-placeholder {
    opacity: 1;
}
.slide-search .e4jsearch-input input {
    display: inline-block;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #eee;
    cursor: pointer;
    font-size: 15px;
    height: 40px;
    line-height: normal;
    margin: 0;
    padding: 0 0 0 30px;
    position: relative;
    transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    width: 30px;
    z-index: 1;
}
.slide-search .e4jsearch-input input:focus {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 1px solid #666;
    box-shadow: none;
    outline: 0 none;
    padding: 0;
    margin: 0 0 0 30px;
    width: 250px;
    transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
}

/*** Mobile menu sandwitch btn **/
#menumob-btn.menuresp-on {
    float: right;
    display: inline-block;
    margin: 20px 0 0 15px;
    padding: 10px;
}
.menuresp-on #menumob-btn-ico {
    display: none;
    width: 25px;
    height: 20px;
    position: relative;
    margin: 7px auto 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
.menuresp-on #menumob-btn-ico {
    display: inline-block;
}
.menuresp-on .menumob-text {
    font-size: 18px;
    margin-top: 2px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}
.head-top-part .mainmenu.menudef-off {
    display: none;
}
#headt-part .menumob-btn-inner {
    border: 0;
    padding: 10px;
}
#menumob-btn-ico span {
    background: #fff;
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#menumob-btn-ico span:nth-child(1) {
    top: 0px;
}
#menumob-btn-ico span:nth-child(2) {
    top: 6px;
}
#menumob-btn-ico span:nth-child(3) {
    top: 12px;
}
.menumob-btn-inner.open #menumob-btn-ico span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}
.menumob-btn-inner.open #menumob-btn-ico span:nth-child(2) {
    display: none;
}
.menumob-btn-inner.open #menumob-btn-ico span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

/** --- **/
.e4j-body-shifted {
    position: fixed;
    transition: margin-left 0.3s ease-in-out 0s;
    width: 100%;
}
.nav-devices-content {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1001;
}
.nav-devices-inner {
    bottom: 0;
    left: auto;
    right: 0;
    max-width: 100%;
    overflow-y: auto;
    position: fixed;
    top: 0;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: transform 1s;
    width: 270px;
    z-index: 1001;
}
.nav-menu-active > .nav-devices-inner  {
    transform: translateX(0%);
    transition: transform 1s;
    right: 0;
    max-width: 100%;
}
.nav-devices-content.nav-active {
    display: block;
}
.nav-devices-list {
    padding: 25px 0 0;
}
.nav-devices-list .menu-company-logo {
    display: none;
}
.nav-devices-list .e4jmenudrop-down {
    width: 100%;
}
.nav-devices-list .buttonlink {
    text-align: center;
}
.nav-devices-list .buttonlink a {
    display: inline-block;
    width: 100%;
}
.e4j-body-shifted #main-container {
    position: relative;
    z-index: 100001 !important;
    display: inline-block; 
    transform: translate3d(-270px,0,0);
    left: 0;
    overflow: visible;
    transition: transform 0.2s;
}
.nav-devices-inner .loginmenu > #login-form, .nav-devices-inner .modopen > div {
    background: #fff;
    right: -7px;
    top: 32px;
}
.nav-devices-inner .loginmenu > #login-form > div {
    margin: 10px 0;
}
.nav-devices-list .mainmenu-items > div {
    float: none;
    padding: 0;
    width: 100%;
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    display: inline-block;
}
.nav-devices-list .mainmenu-items > div:first-child {
    order: 2;
    padding-top: 0;
}
.nav-devices-list .mainmenu-items > .dropmenu {
    order: 1;
    text-align: right;
    display: inline-block;
    width: auto;
    flex: 0 0 auto;
    float: right;
    padding-left: 28px;
}

/** Modal **/
.modal {
    z-index: 1300;
    background-color: rgba(0,0,0,.5);
}
.modal.in {
    display: block;
    opacity: 1;
}
.modal-dialog {
    width: 100%;
    margin: 0;
    background: #fff;
    color: #444;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0, .5);
}
.modal.fade .modal-dialog {
   -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
}
.modal.fade.in .modal-dialog {
    animation: movedown 0.3s 1 linear;
    position: relative;
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-close {
    position: absolute;
    right: -6px;
    background: #ddd;
    top: -7px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    padding: 3px;
    box-shadow: -1px 2px 6px rgba(0,0,0,0.4);
    cursor: pointer;
    text-align: center;
}
.modal-close i {
    line-height: 19px;
    font-size: 16px;
}
@keyframes movedown {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
  }
  100% {
    opacity: 1;
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
/** Error 404 **/

.e4j-404error {
    text-align: center;
}
.e4j-404error-exts {
    display: inline-block;
    text-align: center;
}
.e4j-404error .e4j-not-found-link {
    float: left;
    display: inline-block;
    margin: 0 3px;
}
.e4j-404error .e4j-not-found-link a {
    display: inline-block;
    padding: 170px 0 0;
    width: 143px;
    font-weight: 300;
    font-size: 15px;
}
@media screen and (max-width : 550px) {
    .modal-dialog {
        width: 80%;
        margin: 5% auto;
        padding: 40px 20px;
    }
}
