@charset "UTF-8";
/* CSS Document */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}
.menu,
    .submenu {
        margin: 0;
        padding: 0;
        list-style: none;
    }

/* Main level */
.menu {          
    /*margin: 50px auto;*/
	margin:auto;
    width: 800px;
    width: fit-content;   
}

.menu > li {
    background: #007dc5;
    float: left;
    position: relative;
    /*transform: skewX(25deg);*/
	transform: skewX(-7deg);
}

.menu a {
    display: block;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-family:quarklight;
    font-size: 14px;
	text-decoration:none;
}        

.menu li:hover {
    background: #ffffff;
}        

.menu > li > a {
    /*transform: skewX(-25deg);
    /*padding: 1em 2em;*/
	transform: skewX(7deg);
	/*padding:7px 1em 6.7px 1em;*/
	padding-left:1em; padding-right:1em;
	line-height:40px;
	height:40px;
	text-decoration:none;
}
.menu > li > a:hover { color:#007dc5; }
li.activetm { color:#007dc5; background: #ffffff;}
li.activetm a{ color:#007dc5;}

/* Dropdown level*/
.submenu {
    position: absolute;
    width: 200px;
    left: 50%; margin-left: -100px;
    /*transform: skewX(-25deg);*/
	transform: skewX(7deg);
    transform-origin: left top;
}

.submenu li {
    background-color: #007dc5;
    position: relative;
    overflow: hidden;       
}                        

.submenu > li > a {
    /*padding: 1em 2em;*/
	padding:6px 1em 6px 1em;            
}
.submenu > li > a:hover { color:#007dc5; }

.submenu > li::after {
    content: '';
    position: absolute;
    top: -125%;
    height: 100%;
    width: 100%;         
    /*box-shadow: 0 0 50px rgba(0, 0, 0, .9);*/           
}        

/* Odd stuff */
.submenu > li:nth-child(odd){
    transform: skewX(-7deg) translateX(0);
}

.submenu > li:nth-child(odd) > a {
    transform: skewX(7deg);
}

.submenu > li:nth-child(odd)::after {
    right: -50%;
    transform: skewX(-7deg) rotate(3deg);
}                

/* Even stuff */
.submenu > li:nth-child(even){
    transform: skewX(7deg) translateX(0);
}

.submenu > li:nth-child(even) > a {
    transform: skewX(-7deg);
}

.submenu > li:nth-child(even)::after {
    left: -50%;
    transform: skewX(7deg) rotate(3deg);
}

/* Show dropdown */
.submenu,
.submenu li {
    opacity: 0;
    visibility: hidden;         
}

.submenu li {
	/*transition: .2s ease-out transform;*/
    transition: .2s ease-out transform;
}

.menu > li:hover .submenu,
.menu > li:hover .submenu li {
    opacity: 1;
    visibility: visible;
}        

.menu > li:hover .submenu li:nth-child(even){
    transform: skewX(7deg) translateX(15px);          
}

.menu > li:hover .submenu li:nth-child(odd){
    transform: skewX(-7deg) translateX(-15px);            
}
