/* ----- Begin Mobile Navigation ----- */

.responsive-nav {
    /* Make changes here if you wish to alter the styles of the nav menu such as changing its color. */ 
    width: 100%;  
    height: 0;
    margin: 0 auto;
    overflow:hidden;
    background:#58B379;
    margin-bottom:0px; 
    -webkit-transition: height 1s ease;        
    transition: height 1s ease; } 
  
.responsive-nav-changed {
    /* Change the height value to suit the height of your menu. */   
    height: 1400px; }

.responsive-nav-tab {
    /* Make changes here if you wish to alter the styles of the nav symbol */
    color:#ffffff;
    padding:5px 20px 10px;
    position:absolute;
    top:3px;
    right:4%;
    cursor: context-menu;
    background:#58B379;
    height:42px;
    width:29px;
}

.nav-line-one {
    position:absolute;
    top:14px;
    right:12px;
    content:"";
    height:3px;
    width:45px;
    background:#ffffff;
    -webkit-transition: all 1s 0.2s ease, height 0.2s 0.5s linear, top 0.2s 0.4s linear, -webkit-transform 0.4s ease;
    transition: all 1s 0.2s ease, height 0.2s 0.5s linear, top 0.2s 0.4s linear, -webkit-transform 0.4s ease; }

.nav-line-one-changed {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top:27px;
    -webkit-transition: all 0.8s 0.2s ease, top 0.2s linear;
    transition: all 0.8s 0.2s ease, top 0.2s linear; }

.nav-line-two {
    position:absolute;
    top:27px;
    right:12px;
    content:"";
    height:3px;
    width:45px;
    background:#ffffff;
    -webkit-transition: opacity 0.4s 0.4s ease;
    transition: opacity 0.4s 0.4s ease; }

.nav-line-two-changed {
    opacity:0;
    -webkit-transition: opacity 0.4s ease; 
    transition: opacity 0.4s ease; }

.nav-line-three {
    position:absolute;
    top:40px;
    right:12px;
    content:"";
    height:3px;
    width:45px;
    background:#ffffff;
    -webkit-transition: all 1s 0.2s ease, top 0.2s 0.4s linear, -webkit-transform 0.4s ease;
    transition: all 1s 0.2s ease, top 0.2s 0.4s linear, -webkit-transform 0.4s ease; }

.nav-line-three-changed {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg); 
    transform: rotate(45deg);
    top:27px;
    -webkit-transition: all 0.8s 0.2s ease, top 0.2s linear;
    transition: all 0.8s 0.2s ease, top 0.2s linear; }

.responsive-nav ul {
    padding-top:15px;
    padding-bottom:20px;
    padding-left:0;
    height:100%;
    background:none;
    margin-top:0; }

.responsive-nav li {
    color: #ffffff;
    font-family: "effra",sans-serif;
    list-style:none;
    padding-left:0;
    text-align:center;
    font-size:1.4em; }

.responsive-nav li a {
    color: #ffffff;
    display:block;
    padding: 16px 0px;
    border-bottom:0;
    text-transform: uppercase; }

 .responsive-nav li:hover {
    background:#469263; }

 .responsive-nav li:hover a {
    /* Adding the hover on the 'li' before the 'a' will make the link text change color when you hover over the list item */
    color:#ffffff; }

 .responsive-nav li a, .responsive-nav li a:hover, a, a:hover {
    text-decoration:none; }

/* ----- End Mobile Navigation ----- */


/* ----- Begin Desktop Navigation ----- */

/* Dropdown menu styles */
.desktop-nav {
    background: none;
    text-align:center;
    display:none;
    float: right;
    margin-right: 4%;
    width: auto;
    margin-top:30px;
}

.desktop-nav ul {
    padding:0;
    margin:0;
}

.desktop-nav li {
    display:inline-block;
    list-style: none;
    margin-right:20px;
}

.desktop-nav li:last-child {
    margin-right:0px;
}

.desktop-nav a {
    border-bottom: 0 none;
    font-size: 0.7em;
    font-weight: 600;
    color:#58B379;
    padding:2px 0;
    display: block;
    text-transform: uppercase;
}

.desktop-nav a:hover {
    border-bottom:1px dotted #58B379;
}

.desktop-nav ul li:hover {
    background:none;
}

ul.sub-menu {
    display:none;
}

li:hover ul.sub-menu {
    display: block;
    position:absolute;
    z-index:1;
}

ul.sub-menu {
    background:#58B379;
    margin-top:-1px;
}

ul.sub-menu a {
    color:#ffffff;
}

ul.sub-menu a:hover {
    color:#ffffff;
    border-bottom:0;
}

ul.sub-menu li:hover {
    background:#589067;
    color:#ffffff;
}

ul.sub-menu li {
    padding:8px 12px;
}

/* Stack sub menu links vertically rather than horizonal - remove this line if horizonal sub menu is required. */
ul.sub-menu li {
    display:block;
    width:100%;
    text-align: left;
    padding-left:8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* End vertcal stack for sub menu styles */

/* ----- End Desktop Navigation ----- */
