/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 24, 2016, 1:23:20 AM
    Author     : bulinda
*/

@import url(http://fonts.googleapis.com/css?family=Raleway);
#sub-menu,
#sub-menu ul,
#sub-menu ul li,
#sub-menu ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#sub-menu:after,
#sub-menu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#sub-menu {
    width: auto;
    border-bottom: 3px solid #47c9af;
    font-family: Raleway, sans-serif;
    line-height: 1;
}
#sub-menu ul {
    background: rgb(31, 37, 61);
}
#sub-menu > ul > li {
    float: left;
}
#sub-menu.align-center > ul {
    font-size: 0;
    text-align: center;
}
#sub-menu.align-center > ul > li {
    display: inline-block;
    float: none;
}
#sub-menu.align-right > ul > li {
    float: right;
}
#sub-menu.align-right > ul > li > a {
    margin-right: 0;
    margin-left: -4px;
}
#sub-menu > ul > li > a {
    z-index: 2;
    padding: 8px 18px 8px 18px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    color: #CECECE;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    margin-right: -4px;
}
#sub-menu > ul > li.active > a,
#sub-menu > ul > li:hover > a,
#sub-menu > ul > li > a:hover {
    color: #ffffff;
}
#sub-menu > ul > li > a:after {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    width: 100%;
    height: 120%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    content: "";
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-transform: perspective(5px) rotateX(2deg);
    -webkit-transform-origin: bottom;
    -moz-transform: perspective(5px) rotateX(2deg);
    -moz-transform-origin: bottom;
    transform: perspective(5px) rotateX(2deg);
    transform-origin: bottom;
}
#sub-menu > ul > li.active > a:after,
#sub-menu > ul > li:hover > a:after,
#sub-menu > ul > li > a:hover:after {
    background: #47c9af;
}