/* 1.2 Navigation */

.fl { float: left; }
.fr { float: right; }

#menu-line {
    background: #21409a none repeat scroll 0 0;
    bottom: 0;
    height: 7px;
    left: 0;
    position: absolute;
    transition: all 0.25s ease-out 0s;
}

.main-nav {
    width: auto;
    height: auto;
    float: right;
    padding: 0;
    margin: 0;
    /*font-family: 'robotoregular', Arial, Helvetica, sans-serif;*/
    font-family: "Open Sans",sans-serif;
}
.main-nav li {
    /*padding: 14px 0;*/
    position: relative;
}

.main-nav > li.has-sub > a::after {
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
    content: "";
    height: 4px;
    position: absolute;
    right: 10px;
    top: 39px;
    transform: rotate(45deg);
    transition: border-color 0.2s ease 0s;
    width: 4px;
}
.main-nav-link {
    display: inline-block;
    padding: 33px 20px 33px 10px;
    font-size: .96em;
    text-decoration: none;
    color: #525252;
    letter-spacing: .03em;
    /*text-transform: uppercase;*/
    border-left: 1px solid #ddd;
    text-decoration: none;
}
.main-nav-link.first:before {
    content: '';
}
.main-nav-link:before {
    /*content: '/';*/
    margin-right: .75em;
    /*border-left: 1px solid #ddd;*/
}
.main-nav-link:hover {
    color: #353535;
    text-decoration: none;
}
.main-nav > li:hover ul.sub-nav {
    display: block;
}
.sub-nav {
    display: none;/**/
    color: #ffffff;
    background: #09bc6a;
    position: absolute;
    min-width: 200px;
    z-index: 99;
    margin-top: 0;
    /*border: 1px solid #e3e3e3;
    border-top: none;*/
}
.sub-nav.media {
    right: 0;
}
/*
 * Pushing the text by padding to make it look inside part of the Focus Area Section 
 */
/*.sub-nav a.pl1p {
    padding-right: 0;
    font-size: .96em;
}*/
/*.sub-nav a.pl1p:before{
    content: '-';
    padding-right: .5em;
}
*/
/*.sub-nav:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #3ebd86;
    position: absolute;
    top: -6px;
    left: 12%;
}*/
/*.sub-nav.media {
    width: 180px;
}
.sub-nav.media:before {
    left: 75%;
}
.main-nav li:first-child .sub-nav:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #3ebd86;
    position: absolute;
    top: -6px;
    left: 10%;
}*/
.sub-nav a {
    /*display: block;
    text-decoration: none;
    color: #525252;
    background: #fff;
    padding: .5em 1em;
    letter-spacing: .05em;
    font-size: .96em;
    border-top: 1px solid #e3e3e3;*/
    background: #0b9053;
    border-bottom: 1px solid #08cb72;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.2s ease 0s;
    display: block;
    white-space: nowrap;
}
.sub-nav li:first-child {
    /*border-top: 2px solid #3ebd86;*/
}
.sub-nav a:hover {
    color: #ffffff;
    background: #09bc6a;
}

/* -- Mobile Burger --  
#simple-menu{
    display: none;
} */

@media all and (min-width: 300px) and (max-width: 1023px) {
    a.logo { width: 130px; }
    header { background: #fff; position: fixed !important; }
    #menu-line { display: none;}
    .main-nav{
        display: none;
        width: auto;
        height: auto; 
        float: right;
        padding: .25em; 
        font-family: 'robotoregular', Arial, Helvetica, sans-serif; 
    }

    .main-nav-link{
        display: inline-block;
        text-decoration: none;
        padding: 1em; 
        padding: 1.05em .5em;
        font-size: .9em;
        text-decoration: none;
        color: #525252;
        letter-spacing: .03em;
        text-transform: uppercase;  
    }

    .main-nav-link.first:before{
        content:''; 
    }
    .main-nav-link:before{
        content:'/';
        margin-right: .5em;  
    }
    .main-nav-link:hover{
        color: #353535;
    }

    .main-nav > li:hover ul.sub-nav{
        display: block;
    } 

    .sub-nav{
        display: none;/**/
        background: #fff;
        position: absolute;
        width: 200px;
        z-index: 2;
        margin-top: 0px;
        border: 1px solid #e3e3e3;
        border-top: none;
    }

    .sub-nav.media{
        right: 0;
    }

    /*
     * Pushing the text by padding to make it look inside part of the Focus Area Section 
     */
    .sub-nav a.pl1p{
        padding-left: 1.5em;
        padding-right: 0;
        font-size: .8em;
    }

    /*.sub-nav a.pl1p:before{
        content: '-';
        padding-right: .5em;
    }*/

    .sub-nav:before{
        content: '';
        width: 0; 
        height: 0; 
        border-left: 6px solid transparent;
        border-right: 6px solid transparent; 
        border-bottom: 6px solid #3ebd86;
        position: absolute;
      top: -6px;
      left: 12%;
    }

    .sub-nav.media{
        width: 150px;
    }

    .sub-nav.media:before{
        right: 12%;
        left: initial;
    }

    .main-nav li:first-child .sub-nav:before{
        content: '';
        width: 0; 
        height: 0; 
        border-left: 6px solid transparent;
        border-right: 6px solid transparent; 
        border-bottom: 6px solid #3ebd86;
        position: absolute;
        top: -6px;
        left: 10%;
    }
    .sub-nav a{
        display: block;
        background: #fff;
        text-decoration: none;
        color: #525252;
        padding: .5em 1em;
        letter-spacing: .05em;
        font-size: .9em;
        border-top: 1px solid #e3e3e3; 
    }
    .sub-nav li:first-child{ 
        border-top: 2px solid #3ebd86; 
    }
    .sub-nav a:hover{ 
        color: #3D3D3D; 
        background: #EFFAE6;
    }

    body{
        -webkit-transition: none;
           -moz-transition: none;
                transition: none; 
    }

    .main-nav{
        display: none;
    }
}