﻿nav {
    position: absolute;
    top: 50%;
    left: 0;
    bottom: 50%;
    right: 0;
}

ul.menu {
    margin: 0px;
    padding: 0px;
    z-index: 2000;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}

ul.menu > li {
    float: left;
    width: auto;
    list-style: none;
    flex: 1 1 auto;
    overflow-y: auto;
}

ul.menu > li > a {
    display: inline-block;
    text-align: center;
}

ul.menu > li a h3 {
    display: none;
}

ul.menu > li a h2 {
    height: 46px;
    line-height: 46px;
    color: #fff;
    width: 100%;
    font-size: 14px;
    font-family: dinpro, sans-serif;
    white-space: nowrap;
    position: relative;
    margin: 0;
    font-weight: normal;
}

ul.menu > li > a {
    display: block;
    height: 46px;
    line-height: 46px;
    text-align: center;
    color: #fff;
    background: #2a8fbd;
    font-size: 14px;
    font-family: dinpro, sans-serif;
    white-space: nowrap;
    position: relative;
    margin: 0;
    font-weight: normal;
}

ul.menu > li:hover > a {
    background: #1c6080;
    color: #fff;
}

ul.menu li:hover > div.potm-container {
    visibility: visible;
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}

ul.menu div.potm-container {
    position: absolute;
    height: auto;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    top: 100%;
    transform: translateY(-100%);
    transition: all 0.5s ease-in-out 0s, visibility 0s linear 0.5s, z-index 0s linear 0.01s;
}

div.potm-container ul {
    width: 1280px;
    /*position: relative;*/
    display: flex;
    justify-content: center;
    list-style-type: none;
    text-align: center;
    margin: 0 auto;
}

div.potm-container ul li a {
    height: 164px;
    position: relative;
}

div.potm-container ul li a:hover {
    cursor: pointer;
}

div.potm-container .potm {
    position: relative;
    height: 190px;
    background: url(/_static/menu/img/1.jpg) #1e4c64 bottom repeat-x;
}

div.potm-container .menu_potm {
    background-repeat: no-repeat;
    display: none;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 0;
}

div.potm-container .menu_five_column .menu_potm {
    background-image: url(/_static/menu/img/20180711/slots/5_item/potm/POTM-bg.jpg);
    height: 164px;
    width: 192px;
}

div.potm-container .menu_six_column .menu_potm {
    background-image: url(/_static/menu/img/20180711/slots/6_item/potm/POTM-bg.jpg);
    height: 164px;
    width: 192px;
}

div.potm-container .menu_seven_column .menu_potm {
    background-image: url(/_static/menu/img/20180711/slots/7_item/potm/POTM-bg.jpg);
    height: 164px;
    width: 192px;
}

div.potm-container .menu_potm.active {
    display: block;
}

div.potm-container .menu_potm.active + img {
    position: relative;
    z-index: 1;
}

div.potm-container .menu_five_column:hover .menu_potm.active {
    background-image: url(/_static/menu/img/20180711/slots/5_item/potm/POTM-bg-hover.jpg);
}

div.potm-container .menu_six_column:hover .menu_potm.active {
    background-image: url(/_static/menu/img/20180711/slots/6_item/potm/POTM-bg-hover.jpg);
}

div.potm-container .menu_seven_column:hover .menu_potm.active {
    background-image: url(/_static/menu/img/20180711/slots/7_item/potm/POTM-bg-hover.jpg);
}

div.potm-container .subcontent_button_play table {
    width: 100%;
    height: 26px;
    overflow: hidden;
}

div.potm-container .subcontent_button_play table img {
    height: auto !important;
}

div.potm-container .subcontent_button_play table tr,
div.potm-container .subcontent_button_play table tr td {
    color: #fff;
}

div.potm-container .subcontent_button_play table tr td.divider {
    width: 1px;
}

div.potm-container ul li a sup {
    display: none;
    position: absolute;
    background: red;
    padding: 1px 3px;
    font-size: 9px;
    text-align: center;
    top: 6px;
    right: 6px;
    z-index: 99;
    height: 13px;
    line-height: 13px;
    color: white;
}

div.potm-container ul li a sup.active {
    display: block;
}

/*div.potm-container .potm li a {
    width: auto;
}*/

div.potm-container .potm li a img {
    height: 164px;
}

.mainMenus {
    height: 46px;
    background: #2a8fbd;
    z-index: 400;
    margin: 0 auto;
    width: 100%;
}

ul.menu > li > a sup {
    background: red;
    padding: 1px 3px;
    font-size: 9px;
    position: relative;
    height: 10px;
    line-height: 10px;
    margin-left: 2px;
    float: none !important;
    left: 0 !important;
}

.header_background,
.header_background * {
    z-index: 1001;
}

.header_background {
    position: relative;
    background-color: inherit;
}

.register-success .header_background .mainMenus,
.register-success .header_background .headerMenu {
    z-index: 400;
}

.register .header_background {
    background-color: #1F1F1F;
}

.white .header_background {
    background-color: inherit;
}

.register.white .header_background {
    background-color: #eee;
}

.blinking {
    animation: blinkingBg 1s infinite;
}
.blinking-text {
    animation: blinkingText 1s infinite;
}
.blinking sup {
    color: #fff !important;
}
@keyframes blinkingText{
    0% {     
        color: #fff; 
    }
    49% {    
        color: #fff; 
    }
    60% {    
        color: #ffe500; 
    }
    100% {    
        color: #ffe500; 
    }
}
@keyframes blinkingBg{
    0% {     
        background-color: #2a8fbd; 
    }
    49% {    
        background-color: #2a8fbd; 
    }
    60% {    
        background-color: #1c6080; 
    }
    100% {    
        background-color: #1c6080; 
    }
}

a.menu_one_column {
    width: 1280px !important;
}
a.menu_two_column {
    width: 640px !important;
}
a.menu_three_column {
    width: 426px !important;
}
a.menu_four_column {
    width: 320px !important;
}
a.menu_five_column {
    width: 256px !important;
}
a.menu_six_column {
    width: 213px !important;
}
a.menu_seven_column {
    width: 183px !important;
}
a.menu_eight_column {
    width: 160px !important;
}
a.menu_nine_column {
    width: 142px !important;
}

a.menu_five_column .menu_potm.active {
    width: 256px !important;
    background-image: url("/_static/menu/potm/5/POTM-bg.jpg") !important;
}
a.menu_five_column:hover .menu_potm.active {
    background-image: url("/_static/menu/potm/5/POTM-hover-bg.jpg") !important;
}

a.menu_six_column .menu_potm.active {
    width: 213px !important;
    background-image: url("/_static/menu/potm/6/POTM-bg.jpg") !important;
}
a.menu_six_column:hover .menu_potm.active {
    background-image: url("/_static/menu/potm/6/POTM-hover-bg.jpg") !important;
}
a.subcontent_button:hover div.bg {
    background: url(/_static/menu/img/hover_bg.jpg) #1b607f top center no-repeat !important;
}