﻿#cssmenu ul {
    margin: 0;
    padding: 0;
}

#cssmenu li {
    margin: 0;
    padding: 0;
}

#cssmenu a {
    margin: 0;
    padding: 0;
}

#cssmenu ul {
    list-style: none;
}

#cssmenu a {
    text-decoration: none;
}



#cssmenu {
    height: 70px;
    width: 100%;
    line-height: normal;
    text-align: center;
    vertical-align: middle;
}

    #cssmenu > ul {
        text-align: center;
    }

        #cssmenu > ul > li {
            --display: inline-block;
            --margin-left: 15px; /* This is when the drop down box appears */
            position: relative;
        }



            #cssmenu > ul > li > a {
                color: white !important;
                font-family: 'Roboto';
                font-size: 18px;
                line-height: 70px;
                padding: 15px;
                -webkit-transition: color .15s;
                -moz-transition: color .15s;
                -o-transition: color .15s;
                transition: color .15s;
                font-weight: 400;
                padding-right: 5px;
            }



                #cssmenu > ul > li > a:hover {
                    color: rgb(250,250,250);
                }

            #cssmenu > ul > li > ul {
                opacity: 0;
                visibility: hidden;
                --padding: 10px;
                padding-top:15px;
                background-color: white;
                text-align: left;
                position: absolute;
                top: 55px;
                left: 50%;
                margin-left: -200px;
                width: 400px;
                z-index: 100;
                -webkit-transition: all .3s .1s;
                -moz-transition: all .3s .1s;
                -o-transition: all .3s .1s;
                transition: all .3s .1s;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                border-radius: 5px;
                -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
                -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
                box-shadow: 0px 1px 3px rgba(0,0,0,.4);
            }



            #cssmenu > ul > li:hover > ul {
                opacity: 1;
                top: 65px; /* This is how far from the top the drop down annimation will go  */
                visibility: visible;
            }



            #cssmenu > ul > li > ul:before {
                content: '';
                display: block;
                border-color: transparent transparent #f2f2f2 transparent;
                border-style: solid;
                border-width: 10px; /* The border on the drop down box  */
                position: absolute;
                top: -20px;
                left: 50%;
                margin-left: -10px;
            }



        #cssmenu > ul ul > li {
            position: relative;
        }



    #cssmenu ul ul a { /* This is the drop down menu, change font or size when its drops down */
        /*color: rgb(50,50,50);
        font-family: Verdana, 'Lucida Grande';
        font-size: 13px;
        background-color: rgb(250,250,250);
        padding: 5px 8px 7px 16px;
        display: block;
        -webkit-transition: background-color .1s;
        -moz-transition: background-color .1s;
        -o-transition: background-color .1s;
        transition: background-color .1s;*/
    }



        #cssmenu ul ul a:hover {
            background-color: rgb(240,240,240);
        }





    #cssmenu ul ul ul { /* In this build i havent included a sub sub menu in, but here is the code if ever needed */
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: -16px;
        left: 206px; /* This is for a sub sub menu */
        padding: 16px 0 20px 0;
        background-color: rgb(250,250,250);
        text-align: left;
        width: 160px;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
        -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
        box-shadow: 0px 1px 3px rgba(0,0,0,.4);
    }

    #cssmenu ul ul > li:hover > ul {
        opacity: 1;
        left: 196px;
        visibility: visible;
    }

    #cssmenu ul ul a:hover {
        background-color: rgb(114,164,65);
        color: rgb(240,240,240);
    }

#wrapper #page #page-bgtop #page-bgbtm #content .post .entry table tr td {
    text-align: center;
}


@media screen and (max-width: 1200px) {
    #cssmenu > ul > li > a {
        font-size: 16px;
        line-height: 70px;
        padding: 8px;
        color: white !important;
    }
}



#mobile-menu {
    min-height: 300px;
    width: 100%;
    z-index: 101;
    position: absolute;
    background-color: #f2f2f2;
    top: 70px;
}


    #mobile-menu .mobile-menu-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #mobile-menu .mobile-menu-item {
        background-color: #f2f2f2;
        color: #333333;
        cursor: pointer;
        padding: 10px 25px 10px 25px;
        width: 100%;
        text-align: left;
        border: none;
        outline: none;
        transition: 0.4s;
        font-family: 'Roboto';
        font-size: 20px;
    }

    #mobile-menu .mobile-menu-sub-item {
        color: #666666;
        cursor: pointer;
        padding: 10px 25px 10px 25px;
        font-family: 'Roboto';
        font-size: 20px;
        width: 100%;
        text-align: left;
        border: none;
        outline: none;
    }

    #mobile-menu .accordion {
        background-color: #f2f2f2;
        color: #333333;
        cursor: pointer;
        padding: 10px 25px 10px 25px;
        width: 100%;
        text-align: left;
        border: none;
        outline: none;
        transition: 0.4s;
        font-family: 'Roboto';
        font-size: 20px;
    }

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    #mobile-menu .active, .accordion:hover {
        --background-color: #ccc;
        color: #E8004C;
    }


    /* Style the accordion panel. Note: hidden by default */
    #mobile-menu .panel {
        --padding: 0 18px;
        background-color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
        display:none;
    }


    #mobile-menu .mobile-menu-item a {
        text-decoration: none;
        color: #333333;
        font-family: 'Roboto';
        font-size: 20px;
    }


    #mobile-menu .accordion:after {
        background-image: url(../images/menu-more-arrow.png);
        background-repeat: no-repeat;
        background-size: 11px;
        display: inline-block;
        width: 20px;
        height: 30px;
        content: "";
        float: right;
        margin-right: 10px;
    }

    #mobile-menu .active:after {
        background-image: url(../images/menu-open-arrow-np.png);
        background-size: 25px;
        width: 30px;
        height: 20px;
    }








@media screen and (min-width: 1025px) {
    #mobile-menu {
        display: none !important;
    }
    #mobile-cta {
        display: none !important;
    }
}
