/* reset  list style */
.cbp-tm-menu,
.cbp-tm-menu ul {
    list-style: none;
}

/* set menu position; change here to set to relative or float, etc. */
.cbp-tm-menu {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    /*background: #47a3da;*/
    text-align: right;
    padding: 0 2em;
    margin: 0;
    text-transform: capitalize;
}

/* first level menu items */
.cbp-tm-menu>li {
    display: inline-block;
    margin: 0 2.6em;
    position: relative;
}

.cbp-tm-menu>li>a {
    line-height: 4em;
    padding: 0 0.3em;
    font-size: 1.2em;
    display: block;
    color: #fff;
}

.no-touch .cbp-tm-menu>li>a:hover,
.no-touch .cbp-tm-menu>li>a:active {
    color: #ffffff;
}

/* sumbenu with transitions */
.cbp-tm-submenu {
    position: absolute;
    display: block;
    visibility: hidden;
    opacity: 0;
    padding: 0;
    text-align: left;
    pointer-events: none;
    -webkit-transition: visibility 0s, opacity 0s;
    -moz-transition: visibility 0s, opacity 0s;
    transition: visibility 0s, opacity 0s;
}

.cbp-tm-show .cbp-tm-submenu {
    width: -webkit-fill-available;
    left: 190%;
    margin: 0 0 0 -8em;
    opacity: 1;
    line-height: 18px;
    visibility: visible;
    pointer-events: auto;
    -webkit-transition: visibility 0s, opacity 0.3s;
    -moz-transition: visibility 0s, opacity 0.3s;
    transition: visibility 0s, opacity 0.3s;
}

.cbp-tm-show-above .cbp-tm-submenu {
    bottom: 100%;
    padding-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.cbp-tm-show-below .cbp-tm-submenu {
    top: 100%;
    padding-top: 10px;
}

/* extreme cases: not enough space on the sides */
.cbp-tm-nospace-right .cbp-tm-submenu {
    right: 0;
    left: auto;
}

.cbp-tm-nospace-left .cbp-tm-submenu {
    left: 0;
}

/* last menu item has to fit on the screen */
.cbp-tm-menu>li:last-child .cbp-tm-submenu {
    right: 0;
}

/*  
arrow: depending on where the menu will be shown, we set 
the right position for the arrow
*/
.cbp-tm-submenu:after {
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.cbp-tm-show-above .cbp-tm-submenu:after {
    top: 100%;
    margin-bottom: -15px;
}

.cbp-tm-show-below .cbp-tm-submenu:after {
    bottom: 100%;
    margin-bottom: -15px;
}

.cbp-tm-submenu:after {
    border-color: transparent;
    border-width: 16px;
    margin-left: -16px;
    left: 50%;
}

.cbp-tm-show-above .cbp-tm-submenu:after {
    border-top-color: #000;
}

.cbp-tm-show-below .cbp-tm-submenu:after {
    border-bottom-color: #000;
}

.cbp-tm-menu li .cbp-tm-submenu li {
    z-index: 1;
}

.cbp-tm-show-below .cbp-tm-submenu>li,
.cbp-tm-menu li .cbp-tm-submenu li,
.cbp-tm-menu .cbp-tm-submenu>li {
    display: block;
    background: black;
    position: relative;
    z-index: 1;
    line-height: 18px;
}

.cbp-tm-submenu>li:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.cbp-tm-submenu>li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.cbp-tm-submenu>li>a {
    padding: 4px 5px;
    /* top/bottom paddings in 'em' cause a tiny "jump" in Chrome on Win */
    display: block;
    font-size: 100%;
    text-align: center;
    position: relative;
    color: #fbfbfb;
    border: 0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    width: 100%;
    background: transparent;
    height: auto;
    box-shadow: 0 0 BLACK;
    border-radius: 0px;
}

.no-touch .cbp-tm-submenu>li>a:hover,
.no-touch .cbp-tm-submenu>li>a:active {
    color: #2196F3;
    background: transparent;
    font-weight: bold;
}

/* the icons (main level menu icon and sublevel icons) */
.cbp-tm-submenu li a:before,
.cbp-tm-menu>li>a:before {
    font-family: 'cbp-tmicons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    margin-right: 0.6em;
    -webkit-font-smoothing: antialiased;
}

.cbp-tm-submenu li a:before {
    position: absolute;
    top: 50%;
    margin-top: -0.5em;
    right: 0.5em;
}

.cbp-tm-menu>li>a:not(:only-child):before {
    content: "\f0c9";
    font-size: 60%;
    opacity: 0.3;
}

.cbp-tm-menu {
    display: inline-block;
    width: 30px;
    position: relative;
    padding: 0px;
}

.cbp-tm-menu>li {
    margin: 0px;
}

.cbp-tm-menu>li>a {
    font-size: 100%;
    line-height: 20px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
}

.cbp-tm-menu>li>a:not(:only-child):before {
    display: none;
}