﻿body {
    margin: 0px;
}

img {
    border: 0;
}

a {
    text-decoration: none;
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#layout {
    width: 1300px;
    margin: 0px auto;
}

    #layout img {
        display: block;
        margin: 0 auto;
        padding: 10px 0;
    }

#menu {
    float: left;
    background-color: #595959;
    width: 100%;
    color: #FFFFFF;
}

    #menu ul.tabs {
        width: 1000px;
        margin: 0px auto;
        text-align: center;
    }

        #menu ul.tabs > li {
            display: inline-block;
            text-align: center;
            padding: 10px 8px;
            font-size: 15px;
            position: relative;
        }

            #menu ul.tabs > li:not(.none-content):hover:before,
            #menu ul.tabs > li.active:not(.none-content):before {
                content: '';
                display: inline-block;
                position: absolute;
                left: calc(50% - 10px);
                bottom: 0px;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 0 10px 10px 10px;
                border-color: transparent transparent #ffffff transparent;
            }

            #menu ul.tabs > li > a {
                color: #ffffff;
            }

    #menu .tab_container {
        position: absolute;
        display: none;
        background-color: #FFFFFF;
        width: 100%;
        border-bottom: 1px solid #000000;
        box-shadow: 0px 4px 5px 2px rgba(20%,20%,20%,0.5);
    }

    #menu .tab_content {
        width: 970px;
        margin: 0px auto;
        text-align: center;
        padding: 20px;
    }

        #menu .tab_content li {
            background-color: #919191;
            border-radius: 15px;
            padding: 3px 10px 3px 10px;
            margin: 0 5px 0 5px;
            font-size: 10pt;
            display: inline-block;
        }

            #menu .tab_content li:hover {
                background-color: #DE0000;
            }

        #menu .tab_content img {
            width: 60px;
        }

        #menu .tab_content li a {
            color: #FFFFFF;
            text-decoration: none;
        }


#copyright {
    width: 1300px;
    font-size: 9pt;
    color: #666666;
    line-height: 25px;
    text-align: center;
}

.popup-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.popup {
    visibility: hidden;
    position: relative;
    z-index: 9999;
    display: inline-block;
}

.popup_background {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,.7);
    z-index: 9999;
}

.popup .close {
    background-position: right;
    background-image: url('/IMG/pop_close.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 35px;
    margin-top: -22px;
    margin-left: 5px;
    cursor: pointer;
    position: absolute;
}

.popup .title {
    cursor: move;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 5px;
}

.popup .contents {
    position: relative;
    background-color: #FFFFFF;
    padding: 5px;
    border-radius: 5px;
    margin: 0 35px;
}

.popup table.list {
    float: none;
}

.popup .contents.border {
    border-radius: 0px;
    border: solid 8px #000000;
    padding: 0px;
}

.popup .bottom {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.popup .catalog {
    font-weight: bold;
    margin-top: 5px;
}

.popup .item {
    margin-left: 10px;
}

.popup .flex {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#adv_float {
    top: unset !important;
    left: unset !important;
    right: 10px;
    bottom: 10px;
    text-align: right;
}

    #adv_float .close {
        display: block;
        text-align: right;
        font-size: 12px;
        margin-bottom: 5px;
        cursor: pointer;
    }

    #adv_float ul {
        width: 250px;
        height: 160px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    }
