/*
Responsive Drop Down Menu
Licensed under http://creativecommons.org/licenses/by-sa/3.0/
*/

/*

TABLE OF CONTENTS

01 MENU BAR
02 DROP DOWNS
03 DESKTOP VERSION
04 MOBILE VERSION

*/

/*  _______________________________________________

01 MENU BAR
_______________________________________________  */



.dd_menu_wrapper {
    width: 100%;
    margin:0 auto;
    position: relative;
    z-index:2;
    font-family:'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-transform:uppercase;
    padding-top: 5px;
    text-decoration: none;
    text-transform: uppercase;
    /*text-shadow:1px 1px 1px #000000;
    */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.dd_menu_wrapper a,
.dd_menu_wrapper label {
    color: #000;
    /*text-shadow:1px 1px 1px #000000;
    */
    text-decoration: none;
    cursor: pointer;
    -webkit-transition:color .3s;
    -moz-transition:color .3s;
    -o-transition:color .3s;
    -ms-transition:color .3s;
    transition:color .3s;
    
}
.dd_menu_wrapper a:hover,
.dd_menu_wrapper label:hover {
    color: #77c651;
}

.dd_menu {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    *zoom: 1;
    background: #fff;
}
.dd_menu:before,
.dd_menu:after {
    content: " ";
    
    display: table;
    
}
.dd_menu:after {
    clear: both;
}

.dd_menu li {
    position: relative;
}

.dd_menu li.home a {
    background: url(img/icon-home.jpg) no-repeat;
    display: block;
    height: 26px;
    padding-right: 20px;
    margin:5px 14px 0 15px;
    text-indent: -9999px;
    width: 25px;
}

.dd_menu > li {
    float: left;
    font-size:22px;
    font-family:'Fjalla One', sans-serif;
}
.dd_menu li a {
    padding: 10px 0px 10px 13px;
    display: block;
    font-weight: bold;
}
.dd_menu > li:hover {
    background-color: #fff;
}
.dd_menu li.dd_parent {
    /*margin-right: 0px;
    */
}
.dd_menu li.dd_parent > label {
    display: block;
    padding: 10px 14px 10px 14px;
    
    /*background-image: url("../img/downArrow-green.png");
    background-position: right;
    background-repeat: no-repeat;
    */
}

.dd_menu li.dd_parent > label.last {
    display: block;
    padding: 10px 0px 10px 16px;
}

.dd_menu li.dd_parent.secondary > label {
    display: block;
    padding: 0 0;
    margin-bottom:0px;
    /*background-image: url("../img/downArrow-green.png");
    background-position: right;
    background-repeat: no-repeat;
    */
}


.dd_menu li.dd_parent > label > ul li a:hover
{
    color:#fff;
}

.dd_menu li.dd_parent > label > ul li a:hover > .dd_menu li.dd_parent > label > ul li a:hover
{
    color:#fff;
}



/*  _______________________________________________

02 DROP DOWNS
_______________________________________________  */



.dd_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 999;
    top: 43px;
    left: -999em;
    min-width: 200px;
    font-family:'Open Sans', sans-serif;
    font-size: 14px;
}

.dd_menu ul a {
    font-weight: normal;
    background: #ffffff;
    color: #666666;
    /*text-transform: lowercase;
    */
	border: 1px solid #e4e4e4;
    /*border-top: 0px solid #e4e4e4;
    padding: 10px 15px;
    */
    margin-left:5px;
}
.dd_menu ul a:hover {
    background: #f1f1f1;
    color: #000000;
}



.dd_menu ul ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 999;
    top: 0px;
    left: -999em;
    min-width: 210px;
}

.dd_menu ul ul a {
    font-weight: normal;
    background: #ffffff;
    color: #666666;
    text-transform: uppercase;
    border-bottom: 1px solid #e4e4e4;
    padding: 10px 15px;
    margin-left:20px;
}
.dd_menu ul ul a:hover {
    background: #f1f1f1;
    color: #000000;
}


.dd_menu .dd_trigger {
    display: block;
    position: absolute;
    cursor: pointer;
    width: 100%;
    margin: 0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}





/*  _______________________________________________

03 DESKTOP VERSION
_______________________________________________  */




@media screen and (min-width: 991px) {
    
    .dd_menu > li:hover > ul {
        left:auto;
    }
    
    
    .dd_menu > li:hover > ul > li:hover > ul {
        left:179px;
    }
    
    .dd_menu > li:hover > ul > li:hover > ul.push-menu-right {
        left:-204px;
    }
    
    
    .dd_toggle,
    .dd_label {
        display: none;
    }
    
    
    
}


/*  _______________________________________________

04 MOBILE VERSION
_______________________________________________  */



@media screen and (max-width: 990px) {
    
    .dd_menu_wrapper {
        width: 100%;
        margin:0 auto;
        position: relative;
        z-index:2;
        font-family:'Open Sans', sans-serif;
        font-size:12px;
        line-height:21px;
        color: #ffffff;
        /*text-shadow:1px 1px 1px #000000;
        */
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }
    .dd_menu_wrapper a,
    .dd_menu_wrapper label {
        color: #dddddd;
        /* text-shadow:1px 1px 1px #000000;
        */
        text-decoration: none;
        cursor: pointer;
        -webkit-transition:color .3s;
        -moz-transition:color .3s;
        -o-transition:color .3s;
        -ms-transition:color .3s;
        transition:color .3s;
        
    }
    .dd_menu_wrapper a:hover,
    .dd_menu_wrapper label:hover {
        color:#ffffff;
    }
    .dd_menu {
        width: 100%;
        list-style: none;
        margin: -5px 0 0 0;
        padding: 0;
        *zoom: 1;
        background: #0279a6 /*#282828*/;
    }
    .dd_menu:before,
    .dd_menu:after {
        content: " ";
        
        display: table;
        
    }
    .dd_menu:after {
        clear: both;
    }
    
    .dd_menu li {
        position: relative;
        font-family:'Open Sans', sans-serif;
        font-size: 14px;
    }
    
    .dd_menu li.home a {
        background: none;
        display: block;
        height: auto;
        padding: 10px 0px 10px 2px;
        text-indent: 0px;
        width: auto;
    }
    
    .dd_menu > li {
        float: left;
        font-weight: bold;
        
    }
    .dd_menu li a {
        padding: 10px 10px 10px 13px;
        display: block;
    }
    
    
    .dd_menu > li:hover {
        background-color: #4baed3 /*#121212*/;
    }
    .dd_menu li.dd_parent {
        padding-right: 15px;
    }
    .dd_menu li.dd_parent > label {
        display: block;
        padding: 10px 20px 10px 15px;
        background-image: url("img/downArrow.png");
        background-position: right;
        background-repeat: no-repeat;
    }
    
    .dd_menu li.dd_parent > label {
        font-family:'Open Sans', sans-serif;
        
    }
    
    .dd_menu li.dd_parent.secondary > label {
        display: block;
        padding: 0px 20px 0px 0px;
        /*background-image: url("../img/downArrow-green.png");
        background-position: right;
        background-repeat: no-repeat;
        */
    }
    
    
    
    
    /*  _______________________________________________
    
    02 DROP DOWNS
    _______________________________________________  */
    
    
    
    .dd_menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;
        z-index: 999;
        top: 41px;
        left: -999em;
        min-width: 170px;
        background: #000 /*#121212*/;
    }
    
        /* This is the TOP LEVEL MENU LABEL */
    
    .dd_label {
        width:100%;
        display: block;
        padding: 10px 15px;
  		font-family:'Open Sans', sans-serif;
        font-size:16px;
        cursor: pointer;
        color:#ffffff;
        background: #000 /*#0e0e0e*/;
    }
    .dd_label:after {
        width: 24px;
        height: 24px;
        content: url("img/toggle.png");
        float: right;
    }
    .dd_toggle,
    .dd_toggle:checked {
        width: 100%;
        display: block;
        position: absolute;
        cursor: pointer;
        height: 40px;
        margin: 0;
        opacity: 0;
    }
    
    
    /* This is the FIRST LEVEL DROPDOWN */
    
    .dd_menu {
        position: absolute;
        background: #000 /*#181818*/;
        opacity:0;
        visibility:hidden;
    }
    .dd_menu > li {
        padding-right: 0;
        float: none;
    }
    .dd_menu > li:hover {
        background-color: #77c651;
    }
    .dd_menu li ul {
        display: block;
        width: 100%;
        top:auto;
        left:auto;
        width:auto;
        z-index: 999;
        visibility: visible;
        margin-left: 12px;
        background: #000 /*none*/;
    }
    
    
    .dd_menu > li > .dd_menu {
        position: absolute;
        background: #000 /*#181818*/;
        opacity:0;
        visibility:hidden;
    }
    
    /* FIRST LEVEL DROPDOWN ARROW BACKGROUND */
    
    .dd_menu > li > .dd_menu > li {
        padding-right: 0;
        float: none;
    }
    .dd_menu  > li:hover > ul > li:hover {
        background-color: #000;
    }
    .dd_menu li ul li ul {
        display: block;
        width: 100%;
        top:auto;
        left:auto;
        width:auto;
        z-index: 999;
        visibility: visible;
        margin-left: 12px;
        background: #000 /*none*/;
    }

    .dd_toggle:checked + .dd_menu {
        opacity:1;
        visibility:visible;
    }
    
    .dd_menu .dd_trigger + ul {
        max-height:0;
        opacity:0;
        visibility:hidden;
    }
    
    
    .dd_menu .dd_trigger:checked + ul {
        position: static;
        max-height:999px;
        opacity:1;
        visibility:visible;
        z-index: 999;
    }
    
    /* AFFECTS 2nd LEVEL DROPDOWN BACKGROUNDS */
    
    .dd_menu ul a {
        background: #000;
        color: #fff;
        text-transform: uppercase;
        border: 0px solid #006e7c;
        border-bottom: 1px solid #333;
        margin-left:0px;
        
    }
    .dd_menu ul a:hover {
        background: #77c651 /*#000*/;
        color: #fff;
    }
    
    
    .dd_menu ul ul {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;
        z-index: 999;
        top: 41px;
        left: -999em;
        min-width: 170px;
        background: #000 /*#121212*/;
    }
    
    .dd_menu ul ul a {
        background: #000;
        color: #fff;
        text-transform: uppercase;
        border: 0px solid #006e7c;
        border-bottom: 1px solid #333;
        margin-left:0px;
        
    }
    .dd_menu ul ul a:hover {
        background: #77c651 /*#000*/;
        color: #fff;
    }
    
    
    
    .dd_menu .dd_trigger {
        display: block;
        position: absolute;
        cursor: pointer;
        width: 100%;
        margin: 0;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        opacity: 0;
    }
    

    
    
    
}
