/*
 * @copyright	Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved.
 * @license		GNU General Public License version 3 or later; see LICENSE.txt
 */ 

ul.rawmenu li > * {
	display: inline-block;
	padding: 0.5rem 1rem;
	width: 100%;
}

ul.rawmenu a {
	text-decoration: none;
}
 
ul.rawmenu a:hover,
ul.rawmenu a:focus {
	text-decoration: underline;
}

ul.rawmenu a[href="#"]:hover,
ul.rawmenu a[href="#"]:focus {
	text-decoration: none;
}

ul.rawmenu a > i::before {
	display: inline-block; /* removes the text decoration */
}
 
 ul.rawmenu.pre .expcol {
    font-size: 1em;

    display: inline-block;
	grid-area: cross;
	align-self: center;
	justify-self: center;
	height: 100%;
}

ul.rawmenu.pre .expcol + a {
	grid-area: title;
	align-self: center;
}
 
ul.rawmenu.pre .expcol:hover {
    cursor: pointer;
}
 
ul.rawmenu.pre .active .expcol:hover {
    cursor: auto;
}
 
ul.rawmenu.pre .expcol:before {
    content: "+"; 
}
 
ul.rawmenu.pre .active > .expcol:before,
ul.rawmenu.pre .expanded > .expcol:before {
    content: "-";
}
 
ul.rawmenu.pre .deeper { 
    position: relative; /* hooks are absolute-positionned, therefore the parent element must be relative */
}

ul.rawmenu.pre > .deeper ul {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    visibility: hidden;
}
 
ul.rawmenu.pre .deeper.expanded > ul,
ul.rawmenu.pre .active.deeper > ul {
    max-height: 1500px; /* the number is arbitrary, it just needs one */
    visibility: visible;
}

ul.rawmenu .deeper {
	display: inline-grid;
	grid-template-columns: 30px auto;
	grid-template-rows: auto;
	grid-template-areas: "cross title" ". submenu";
	width: 100%;
}

ul.rawmenu .deeper .rawmenu-child {
	grid-area: submenu;
	margin: 0;
	padding: 0;
}
	