@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-Regular.ttf');
}
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    background: #000000;
    background-size: cover;
}

#background {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
}

#contents {
    z-index: 4;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    top: 50px;
}

#contents .contents {
    float: left;
}

#contents .contents .item {
    color: #fff;
    position: relative;
}

#contents .contents .item.active {
    z-index: 3;
}

#contents .contents .item .title {
    z-index: 3;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#contents .contents .item.active .title {
    z-index: 3;
    font-size: 16px;
    /* text-shadow: 1px 1px #000; */
}

#contents .contents .item .top {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#contents .contents .item.active .top {
    z-index: 3;
    font-size: 12px;
    text-shadow: 1px 1px #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#contents .contents .item .bottom {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
}

#contents .contents .item.active .bottom {
    z-index: 3;
    font-size: 12px;
    text-shadow: 1px 1px #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#contents .contents .item.active .bg {
    position: absolute;
    left: -2px;
    top: -2px;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
    z-index: -1;
    opacity: .6;
    border: 4px #000 solid;
}

#contents .contents .item .image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: -1;
    opacity: 1;
}

#contents .contents .item.active .image {
    border-radius: 10px;
    border: 2px #2af8ff solid;
    opacity: 1;
    z-index: -3;
}

#categories {
    color: #fff;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    top: 50px;
    z-index: 2;
}

#categories .categories {
    float: left;
}

#categories .categories .item {
    color: #fff;
    border-radius: 10px;
    width: 100%;
    position: relative;
}

#categories .categories .item .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: .3;
    z-index: -1;
}

#categories .categories .item.current .bg {
    background: #22454c;
}

#categories .categories .item.active  .bg {
    background: #2af8ff;
}

#categories .categories .item .title {
    z-index: 3;

    /* white-space: nowrap; */ 
	line-height:2;
	font-size:16px;

    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px #000;
}

#categories .categories .item .top {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 3;
}