﻿.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    max-height: none;
}

/*for greater than 768px*/
@media only screen and (min-width: 768px) {

    #menu {
        display: none;
        /*overflow: scroll;*/
    }
}

/*less than 768*/
@media only screen and (max-width: 768px) {
    #menu {
        display: block;
    }

        #menu ul {
            margin: 0;
            padding: 0;
        }

    #tm:checked + .main-menu {
        display: block;
    }

    #menu input[type="checkbox"],
    #menu ul span.drop-icon {
        display: none;
    }

    #menu li,
    #toggle-menu,
    #menu .sub-menu {
        border-style: solid;
        border-color: rgba(0, 0, 0, .05);
    }

    #menu li,
    #toggle-menu {
        border-width: 0 0 1px;
    }

    #menu .sub-menu {
        background-color: #444;
        border-width: 1px 1px 0;
        margin: 0 1em;
    }

        #menu .sub-menu li:last-child {
            border-width: 0;
        }

    #menu li,
    #toggle-menu,
    #menu a {
        position: relative;
        display: block;
        color: white;
        text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
    }

    #menu,
    #toggle-menu {
        background-color: #53524D;
    }

        #toggle-menu,
        #menu a {
            padding: 1em 1.5em;
        }

        #menu a {
            transition: all .125s ease-in-out;
            -webkit-transition: all .125s ease-in-out;
        }

            #menu a:hover {
                background-color: white;
                color: black;
            }

        #menu .sub-menu {
            display: none;
        }

        #menu input[type="checkbox"]:checked + .sub-menu {
            display: block;
        }

        #menu .sub-menu a:hover {
            color: black;
        }


        /*#menu li label.drop-icon {
            position: absolute;
            right: 1.5em;
            top: 0.1em;
        }*/

    /*
    #menu label.drop-icon
    {
        border-radius: 50%;
        width: 2em;
        height: 2em;
        text-align: center;
        background-color: rgba(0, 0, 0, .125);
        text-shadow: 0 0 0 transparent;
        color: white;

        margin:0px !important;
    }*/

    /*.drop-icon:hover {
    background-color:deeppink !important;
    color:yellow !important;
    }*/

    .drop-icon {
        font-size: 30px !important;
        padding: 0px !important;
        color: white !important;
        margin: 0px !important;
        bottom:7px;
        width: 40px;
        /*height: 40px;*/
        background-color: rgba(0, 0, 0, .125);
        text-align: center;
        vertical-align: central;
        border-radius: 50%;
        cursor:pointer;
        position: absolute;
        right: 25px;
        /*top: 0.1em;*/
    }

    .drop-icon:hover {
        color:white;
        background-color:black;
    }

    /*#menu .drop-icon {
        line-height: 1.5;
        font-size:20px;
    }*/

}


