/* CSS Document */
.droplinetabs{
    position: relative;
    top: 0px;
    height: auto;
    width: 100%;
    //background: #D6F874;
    background: transparent;
    //box-shadow: 0 5px 10px #808080;
    text-align: center; /* set to left, center, or right */
    z-index: 1000;
}

.droplinetabs *{
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.droplinetabs button{
    text-decoration: none;
    color: white;
    display: inline-block;
    font-weight: bold;
    padding: 12px;
    position: relative;
}

.droplinetabs, .droplinetabs ul{
    list-style: none;
    margin: 0;
    padding: 0;
	-webkit-perspective: 100px;
	perspective: 100px;
    -webkit-perspective-origin: 50% 0%;
	perspective-origin: 50% 0%;
}

/* Top Level LI style */
.droplinetabs > li{
   
}

/* Top Level link style */
.droplinetabs > li > button{
    border-radius: 30px 0px 30px 0px;
    background: #789E08;
    text-transform: uppercase;
    font-size: .5em;
    font-family: 'Calibri';
}

/* Top Level link style on hover and when active */
.droplinetabs li:hover > button {
    background: #A9E300;
    color: #000;
}

.droplinetabs li{
    display: inline;
}

/* drop line ULs style */
.droplinetabs ul{
    //box-shadow: 0 3px 7px #808080;
    //background: #D6F874;
    background: transparent;
    position: absolute;
    left: 0px;
    width: 100%;
    opacity: 0;
    padding: 10px 0;
    margin-bottom: 5px;
    top: auto;
    border: 0px solid #ddd;
    //box-shadow: 0 3px 5px #000;
    -webkit-transform: rotateX(-70deg);
    transform: rotateX(-70deg);
    backface-visibility: hidden;
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: opacity .3s, -webkit-transform .5s, visibility 0s .3s, left 0s .3s;
    transition: opacity .3s, transform .5s, visibility 0s .3s, left 0s .3s;
    z-index: 1000;
}

.droplinetabs ul  {
}

/* Reveal sub menu on hover */
.droplinetabs li:hover > ul{
    opacity: 1;
    left: 0;
    top: auto;
    z-index: 1000;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transition: opacity .5s, -webkit-transform .5s;
    transition: opacity .5s, transform .5s;
}

.droplinetabs ul li{
    display: inline;
}

/* Sub Levels link style on hover and when active */

.droplinetabs ul li > button {
    background: #789E08;
    border-radius: 30px 0 30px 0;
    font-size: 0.5em;
    text-transform: uppercase;
    font-family: Calibri;
}

.droplinetabs ul li:hover > button {
    background: ##A9E300;
    border-radius: 30px 0 30px 0;
}

/* LIs with a sub UL style */
.droplinetabs li > button {
    /* add padding to accomodate arrow inside LIs */
    padding-right: 30px;
}

/* LIs with NO sub UL style */
.droplinetabs li > button:only-child {
    /* undo padding for non submenu LIs */
    padding-right: 15px;
}


/* Arrow for LIs with sub ULs */
.droplinetabs li > button:after {
    /* add arrow inside LIs */
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    border: 7px solid transparent;
    border-top-color: white;
    top: 45%;
    right: 8px;
}


/* LIs with NO sub UL pseudo class */
.droplinetabs li > button:only-child:after {
    /* undo arrow for non submenu LIs */
    display: none;
}

/* ####### responsive layout CSS ####### */

@media (max-width: 720px) {
/* Top Level link style */
    .droplinetabs > li > a{
       border-radius: 0;
       margin-top: 5px;
    }
}
