/*--------------------------------------------------------------
   Menu Main
--------------------------------------------------------------*/

.menu-main,
.trawell-actions{
	list-style: none;
	.margin-padding-reset;
}

.menu-main,
.trawell-actions{
    li{
        position: relative;
    }
    li.trawell-mega-menu{
        position: static;
    }
	> li{
		display: inline-block;
		vertical-align: top;
	}
	ul:not(.trawell-soc-menu){
		display: none;
		opacity: 0;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		width: 250px;	
		border-radius: 3px;	
		box-shadow: 0 5px 15px 0 rgba(0,0,0,0.25);
		transform: translateY(10px);
		li{
			display: block;
			a{
				display: block;
				padding: 0 28px 10px;
                text-align: left;
			}
			&:last-child{
				> a{
				padding-bottom:0;
				}
			}
            
		}
	}
}

.menu-main > li{
    &:hover > ul,
    ul > li:hover > ul{
        display: block;
        animation: fadeInFromNone 0.2s ease-out;
        animation-fill-mode: forwards;
    }
}

.menu-main > li ul:not(.trawell-soc-menu) ul{
        left: 100%;
        top: -25px;
    }


.menu-main > li{
	margin:0 15px;
	padding: 0;
}

.menu-main > li > a{
    padding: 15px 0;
    display: block;
}

.menu-main ul{
	padding:25px 0;
}

.menu-main > li.menu-item-has-children > a:after {
    content: "\1097b";
    font-family: "trawell-font";
    margin: 0 0 0 7px;
}
.menu-main .sub-menu .menu-item-has-children > a:after {
    content: "\1097d";
    font-family: "trawell-font";
    float: right;
    margin: 0 0 0 7px;
}


@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}


/* Actions */
.trawell-actions>li>span,
.trawell-actions>li>a,
.trawell-actions .trawell-soc-menu li a{
    padding: 11px 0;
    display: block;
    user-select: none;
    height: 54px;
    width: 50px;
    text-align: center;
    border-radius: 3px 3px 0 0;
 }
 .trawell-actions .trawell-soc-menu li a{
    width: 32px;
    font-size: 14px;
    line-height: 31px;
 }
.trawell-actions-button > span{
    cursor: pointer;
}
.trawell-actions .sub-menu {
    width: 280px;
    padding:25px;
}
.trawell-actions input[type=text]{
    height: 40px;
    font-size: 1.4rem;
}
.trawell-actions button{
    padding: 10px 15px 9px;
    font-size: 1.2rem;
    margin-top: 7px;
    width: 100%;
}
.trawell-actions .active .sub-menu,
.trawell-social-icons:hover .sub-menu{
    display: block;
    animation: fadeInFromNone 0.2s ease-out;
    animation-fill-mode: forwards;
}
.trawell-actions .active > .sub-menu {
    opacity: 1;
    right: 0;
    left: auto;
    padding:20px;
}
.trawell-actions .trawell-soc-menu{
    display: inline-block;
    vertical-align: middle;
    li a{
        padding:13px 7px;
    }
}

.trawell-actions .sub-menu.trawell-soc-menu-icons a{
    padding:0;
}
.trawell-actions-button .trawell-social-name {
    display: inline-block;
    opacity: 1;
    margin-left: 10px;
    font-weight: bold;
}

.trawell-cart-count{
    border-radius: 50%;
    display: inline-block;
    color: #FFF;
    text-align: center;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    line-height: 8px;
    padding: 5px 0;
    margin-right: 1px;
    position: absolute;
    top: 8px;
    right: 0;
}
.pulse {
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    border: none;
    border-radius: 100%;
    vertical-align: middle;
    cursor: pointer;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-animation: pulse 1.25s infinite cubic-bezier(.66,.33,0,1);
    animation: pulse 1.25s infinite cubic-bezier(.66,.33,0,1);
}


@keyframes pulse {
  to {
    box-shadow: 0 0 0 1px transparent, 0 0 0 7px rgba(155, 89, 182,0);
  }
}
.trawell-hamburger span,
.trawell-action-close span{
    text-transform: uppercase;
    font-size: 1.3rem;
    vertical-align: 3px;
    display: inline-block;
    margin-right: 4px;
    font-weight: bold;
}
.trawell-action-close {
    display: none;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 7px;
    padding: 10px;
    cursor: pointer;
    i{
        font-size: 2rem;
    }
}
.menu-main ul li.trawell-menu-posts{
    padding:0 25px;
}
.trawell-menu-posts .entry-image{
    float: left;
    margin-right: 10px;
}
.menu-main ul li.trawell-menu-posts a{
    padding:0;
    text-transform: none;
    line-height: 1.3;
}
.menu-main ul li.trawell-menu-posts .entry-image img{
    max-width: 60px;
}
.trawell-menu-posts > article{
    display: flex;
    flex-direction: row;
    justify-content: normal;
    margin-bottom: 20px;
    &:last-child{
        margin-bottom:0;
    }
}

.trawell-header li ul.trawell-rev{
    left: auto!important;
    right: 0;    
}

.trawell-header li .sub-menu ul.trawell-rev{
    left: auto!important;
    right: 100%;    
}