﻿.menubox {
    display: none;
    position: absolute;
    left: 15px;
    width: 250px;
    z-index: 3000;
    overflow: hidden;
    background: #ffffff;
    text-align: left;
    line-height: 25px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.onbbox {
    display: none;
    position: absolute;
    right: 0;
    width: 250px;
    z-index: 3000;
    overflow: hidden;
    background: #ffffff;
    font-size: 100%;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.menuhorizontal {display: block;}
.menuvertical {
    display: none;
}

/*amenu {
    width: 50px;
    padding: 0px;
}*/

.amenu {
    width: 100%;
    background: rgb(194,213,241);
}

    .amenu a {
        text-decoration: none;
        font-size: 100%;
        color: rgb(69,104,152);
        background-color: transparent;
        padding: 1px 0em 1px 1em;
        margin-left: 0px;
        margin-bottom: 2px;
        display: block;
        width: 100%;
    }

        .amenu a:hover {
            color: white;
        }

.onbmenu {
    width: 100%;
    text-align: right;
    background: yellow;
 /*   background: #fbdaf3;*/
}

    .onbmenu a {
        text-decoration: none;
        font-size: 100%;
        color: #FF0099;
        background-color: transparent;
        padding: 1px 1em 1px 0em;
        margin-right: 0px;
        margin-bottom: 2px;
        display: block;
        width: 100%;
    }

        .onbmenu a:hover {
            color: #fbdaf3;
        }

@media screen and (min-width: 600px) {
    .menubox {
        right: calc(50% - 400px);
    }

    .onbbox {
        right: 0;
    }

    .menuhorizontal {
        display: none;
    }

    .menuvertical {
        display: block;
    }

    .amenu {
        float: left;
        width: 50%;
    }

    .onbmenu {
        float: right;
        width: 50%;
    }
}

/* Add padding and border to inner content */
.menubox-inner {
    width: 100%;
    padding: 0px;
}

    /* Style navigation menu links */
    .menubox-inner a {
    color: white;
    text-decoration: none;
    display: block;
    min-height: 23px;
    padding: 5px 10px 5px 10px;
    position: relative;
}

        /* Add a grey background color on mouse-over */
        .menubox-inner a:hover {
    background-color: #ddd;
    color: #FFFF00;
}

/* Dropdown Button */
.dropdown {
    position: relative;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    margin-left: 1em;
    min-width: 160px;
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: white;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
                color: #FFFF00;
        }

/* go-to-top button */
#topbtn {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 40px;
    z-index: 99;
    width: 1.2em;
    height: 3em;
    font-size: 0.8em;
    text-align: center;
    border: none;
    outline: none;
    background-color: #333333;
    color: white;
    cursor: pointer;
    padding: 0px;
    border-radius: 5px 0px 0px 5px;
}

    #topbtn:hover {
        background-color: #555;
    }


@media screen and (min-width: 600px) {
    #topbtn {
        visibility: hidden;
    }
}

.diagtopleft {
    /*            -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
*/ clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}
.diagbotright {
    /*            -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
*/ clip-path: polygon(0 0, 100% 0%, 95% 100%, 0 100%);
}
