/* Iconfont made with icomoon.com */

@font-face {
    font-family: 'cbp-tmicons';
    src: url('../fonts/tmicons/cbp-tmicons.eot');
    src: url('../fonts/tmicons/cbp-tmicons.eot?#iefix') format('embedded-opentype'), url('../fonts/tmicons/cbp-tmicons.woff') format('woff'), url('../fonts/tmicons/cbp-tmicons.ttf') format('truetype'), url('../fonts/tmicons/cbp-tmicons.svg#cbp-tmicons') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* modern clearfix */

.cf:before,
.cf:after {
    content: "";
    display: table;
    line-height: 0;
}

.cf:after {
    clear: both;
}

/* set menu position; change here to set to relative or float, etc. */

.cbp-tm-menu {
    display: block;
    position: absolute;
    z-index: 1000;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.73);
    /*#47a3da;*/
    text-align: right;
    padding: 0 2em;
    margin: 0;
    text-transform: capitalize;
    margin: 0 auto;
    /*line-height: 0;*/
    /* overflow:hidden;*/
}

/* reset  list style */

.cbp-tm-menu,
.cbp-tm-menu ul {
    list-style: none;
}

/* 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.35em;
    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: #fff;
    /*burlywood;*/
}

/* 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;
    display: none;
}

.cbp-tm-show .cbp-tm-submenu {
    width: 16em;
    left: 50%;
    margin: 0 0 0 -7.9em;
    opacity: 1;
    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;
    display: block;
}

.cbp-tm-show-above .cbp-tm-submenu {
    bottom: 100%;
    padding-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.73);
}

.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-top: -10px;
}

.cbp-tm-show-below .cbp-tm-submenu:after {
    bottom: 100%;
    margin-bottom: -10px;
}

.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: #fff;
}

.cbp-tm-show-below .cbp-tm-submenu:after {
    border-bottom-color: #fff;
}

.cbp-tm-submenu>li {
    display: block;
    /*background: #fff;*/
}

.cbp-tm-submenu>li>a {
    padding: 5px 2.3em 5px 0.6em;
    /* top/bottom paddings in 'em' cause a tiny "jump" in Chrome on Win */
    display: block;
    font-size: 1.2em;
    position: relative;
    color: #f5f5f5;
    /*#333;*/
    border: 1px solid #454545;
    background-color: rgba(0, 0, 0, 0.53);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.no-touch .cbp-tm-submenu>li>a:hover,
.no-touch .cbp-tm-submenu>li>a:active {
    color: #fff;
    background: #333;
}

/* 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-icon-archive:before {
    content: "\e002";
}

.cbp-tm-icon-cog:before {
    content: "\e003";
}

.cbp-tm-icon-users:before {
    content: "\e004";
}

.cbp-tm-icon-earth:before {
    content: "\e005";
}

.cbp-tm-icon-location:before {
    content: "\e006";
}

.cbp-tm-icon-mobile:before {
    content: "\e007";
}

.cbp-tm-icon-screen:before {
    content: "\e008";
}

.cbp-tm-icon-mail:before {
    content: "\e009";
}

.cbp-tm-icon-contract:before {
    content: "\e00a";
}

.cbp-tm-icon-pencil:before {
    content: "\e00b";
}

.cbp-tm-icon-article:before {
    content: "\e00c";
}

.cbp-tm-icon-clock:before {
    content: "\e00d";
}

.cbp-tm-icon-videos:before {
    content: "\e00e";
}

.cbp-tm-icon-pictures:before {
    content: "\e00f";
}

.cbp-tm-icon-link:before {
    content: "\e010";
}

.cbp-tm-icon-refresh:before {
    content: "\e011";
}

.cbp-tm-icon-help:before {
    content: "\e012";
}

/* Media Queries */

@media screen and (max-width: 55.6875em) {
    .cbp-tm-menu {
        font-size: 85%;
    }
}

@media screen and (max-height: 25.25em),
screen and (max-width: 44.3125em) {
    a.scrollup {
        display: inline;
    }
    .cbp-tm-menu {
        font-size: 75%;
        position: relative;
        text-align: center;
        padding: 0;
        top: auto;
        /* display: none; */
    }
    .cbp-tm-menu>li {
        display: block;
        margin: 0;
        border-bottom: 2px solid #989898;
    }
    .cbp-tm-menu>li:first-child {
        /*border-top: 4px solid #555;*/
    }
    .cbp-tm-menu>li:last-child {
        border-bottom: 0px solid #90949c;
    }
    li.cbp-tm-show>a,
    .no-touch .cbp-tm-menu>li>a:hover,
    .no-touch .cbp-tm-menu>li>a:active {
        color: #fff;
        background: #6f7376;
    }
    .cbp-tm-submenu {
        position: relative;
        display: none;
        width: 100%;
    }
    .cbp-tm-submenu>li {
        padding: 0;
    }
    .cbp-tm-submenu>li>a {
        padding: 0.6em 2.3em 0.6em 0.6em;
        border: none;
        border-bottom: 1px solid #f5f5f5;
    }
    .cbp-tm-submenu:after {
        display: none;
    }
    .cbp-tm-menu .cbp-tm-show .cbp-tm-submenu {
        display: block;
        width: 100%;
        left: 0;
        margin: 0;
        padding: 0;
    }
}

.tooltiphome {
    display: inline;
    position: relative;
    z-index: 999;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Raleway', Arial, sans-serif;
}

/* Gap filler */

.tooltiphome::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 100%;
    left: 50%;
    pointer-events: none;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tooltiphome:hover::after {
    pointer-events: auto;
}

/* Tooltip */

.tooltiphome-content {
    position: absolute;
    z-index: 9999;
    width: 300px;
    left: 50%;
    bottom: 100%;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    font-weight: 400;
    color: #fffaf0;
    background: transparent;
    opacity: 0;
    margin: 0 0 20px -150px;
    cursor: default;
    pointer-events: none;
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: opacity 0.3s 0.3s;
    transition: opacity 0.3s 0.3s;
}

.tooltiphome:hover .tooltiphome-content {
    opacity: 1;
    pointer-events: auto;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.tooltiphome-content span {
    display: block;
}

.tooltiphome-text {
    border-bottom: 10px solid #555;
    overflow: hidden;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transition: -webkit-transform 0.3s 0.3s;
    transition: transform 0.3s 0.3s;
    margin-right: 37px;
    margin-left: 37px;
}

.tooltiphome:hover .tooltiphome-text {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.tooltiphome-inner {
    background: rgba(85, 61, 61, 0.95);
    padding: 18px;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.tooltiphome:hover .tooltiphome-inner {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Arrow */

.tooltiphome-content::after {
    content: '';
    bottom: -20px;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: #413d34;
    border-width: 10px;
    margin-left: -10px;
}