﻿nav {
    float: right;
    font-family: gandom;
    margin-top: 30px;
}

    nav ul ul {
        display: none;
        font-family: gandom;
        z-index: 10000;
    }

    nav ul li:hover > ul {
        display: block;
        font-family: gandom;
        text-decoration: none;
    }

    nav ul {
        background: #ffffff;
        /*box-shadow: 0px 0px 9px rgba(0,0,0,0.15);*/
        /*padding: 0 10px;*/
        border-radius: 2px;
        list-style: none;
        position: relative;
        display: inline-table;
        font-family: gandom;
    }

        nav ul:after {
            content: "";
            clear: both;
            display: block;
            font-family: gandom;
        }

        nav ul li {
            float: right;
            position: relative;
            font-weight: bold;
            font-family: gandom;
            border-radius: 6px;
            z-index: 10000;
        }

            nav ul li:hover {
                background: #1fbd50;
                border-radius: 6px;
            }

                nav ul li:hover a {
                    color: #000000;
                    text-decoration: none;
                }


            nav ul li a {
                display: block;
                padding: 15px 32px;
                color: #4e4e4e;
                text-decoration: none;
                font-family: gandom;
            }

        nav ul ul {
            background: #ffffff;
            border-radius: 0px;
            padding: 0;
            position: absolute;
            top: 100%;
            right: 0;
            width: 230px;
            direction: rtl;
            box-shadow: 0px 0px 9px rgba(0,0,0,0.20);
            font-family: gandom;
            z-index: 10000;
        }

            nav ul ul li {
                float: none;
                /*border-top: 1px solid #940000;
                border-bottom: 1px solid #940000;*/
                position: relative;
                font-family: gandom;
                z-index: 10000;
            }

                nav ul ul li a {
                    padding: 15px 40px;
                    color: #fff;
                    font-family: gandom;
                    text-decoration: none;
                }

                    nav ul ul li a:hover {
                        background: #1fbd50;
                        font-family: gandom;
                        border-radius: 6px;
                    }

                    nav ul ul li a:focus {
                        background: #1fbd50;
                        font-family: gandom;
                        border-radius: 6px;
                    }

            nav ul ul ul {
                position: absolute;
                right: 100%;
                top: 0;
                font-family: gandom;
                z-index: 10000;
            }

@media screen and (max-width: 800px) and (min-width: 100px) {
    nav {
        display: none;
    }

}


.mobile-menu {
    display: none;
    width: 100%;
    background: #8aa8bd /*e0b88f/*c99393/*e5d1a4/*dcc591/*EFD3A3*/;
    line-height: 1.6em;
    font-weight: 400;
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto;
}
    /*Strip the ul of padding and list styling*/
    .mobile-menu ul {
        list-style-type: none;
        margin: 0 auto;
        padding-left: 0;
        text-align: center;
        width: 100%;
        position: absolute;
        background: #8aa8bd;
    }

    /*Create a horizontal list with spacing*/
    .mobile-menu li {
        display: inline-block;
        /*float: left;
	margin-right: 1px;*/
    }

        /*Style for menu links*/
        .mobile-menu li a {
            display: block;
            min-width: 140px;
            text-align: center;
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            color: #fff;
            text-transform: uppercase;
            background: #8aa8bd;
            text-decoration: none;
            margin-left: -5px;
            padding: 10px 0;
            -webkit-transition: all 0.4s ease 0s;
            -moz-transition: all 0.4s ease 0s;
            -ms-transition: all 0.4s ease 0s;
            -o-transition: all 0.4s ease 0s;
            transition: all 0.4s ease 0s;
        }

        /*Hover state for top level links*/
        .mobile-menu li:hover a {
            color: #4db3ff;
            background-color: #ccddee;
        }

        /*Style for dropdown links*/
        .mobile-menu li:hover ul a {
            background: #f3f3f3;
            color: #2f3036;
            height: 40px;
            line-height: 40px;
        }

        /*Hover state for dropdown links*/
        .mobile-menu li:hover .mobile-menu ul a:hover {
            color: #4db3ff;
        }

        /*Hide dropdown links until they are needed*/
        .mobile-menu li ul {
            display: none;
        }

            /*Make dropdown links vertical*/
            .mobile-menu li ul li {
                display: block;
                float: none;
            }

                /*Prevent text wrapping*/
                .mobile-menu li ul li a {
                    width: auto;
                    min-width: 100px;
                    padding: 0 20px;
                }


    /*Style 'show menu' label button and hide it by default*/
    .mobile-menu .show-menu {
        text-decoration: none;
        color: #fff;
        background: #8aa8bd;
        text-align: center;
        padding: 10px 15px;
        display: none;
        cursor: pointer;
        text-transform: uppercase;
    }

        .mobile-menu .show-menu span {
            padding-left: 25px;
        }

    /*Hide checkbox*/
    .mobile-menu input[type=checkbox] {
        display: none;
    }

        /*Show menu when invisible checkbox is checked*/
        .mobile-menu input[type=checkbox]:checked ~ #menu {
            display: block;
        }

/*Responsive Styles*/

@media screen and (max-width : 800px) {

    
    .mobile-menu {
        display: block;
    }
    .mobile-menu .lines {
        border-bottom: 15px double #f8f8f8;
        border-top: 5px solid #f8f8f8;
        content: "";
        height: 5px;
        width: 20px;
        padding-right: 15px;
        float: right;
    }
    /*Make dropdown links appear inline*/
    .mobile-menu ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    .mobile-menu li {
        margin-bottom: 1px;
    }
        /*Make all menu links full width*/
        .mobile-menu ul li, .mobile-menu li a {
            width: 98%;
        }
    /*Display 'show menu' link*/
    .mobile-menu .show-menu {
        display: block;
    }
}
