﻿#MenuFrame {
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid #6b29ad;
    /*margin-bottom: 10px;*/
}

    #MenuFrame div.NavFrame {
        width: 1200px;
        margin: 0 auto;
        padding-left: 10px;
    }

    #MenuFrame a {
        display: inline-block;
        padding: 5px 5px;
        margin: 5px;
        /*color:white;*/
        font-size: 16px;
        font-weight: 700;
    }

        #MenuFrame a:first-child {
            /*margin-left: 0px;*/
        }

        #MenuFrame a:hover {
            background-color: #6b29ad;
            color: white;
        }

#RegionFrame {
    height: 35px;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
}

    #RegionFrame div.NavFrame {
        width: 1200px;
        margin: 0 auto;
        padding-left: 10px;
    }

    #RegionFrame a {
        display: inline-block;
        padding: 0 6px;
        /*color:white;*/
    }

        #RegionFrame a:first-child {
            /*margin-left: 0px;*/
        }

        #RegionFrame a:hover {
            text-decoration: underline;
        }

#LoginFrame {
    background-color: white;
    border-left: 1px solid #6b29ad;
    border-right: 1px solid #6b29ad;
    border-bottom: 1px solid #6b29ad;
    padding: 10px;
    z-index: 300;
    width: 400px;
    position: absolute;
    top: 35px;
    display: none;
    max-height: 150px;
}

    #LoginFrame #ErrorContainer {
        clear: both;
    }

    #LoginFrame #LoginButton {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 40px;
        font-size: 16px;
        width: 25%;
        text-align: center;
        border: 1px solid #6b29ad;
        vertical-align: middle;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        #LoginFrame #LoginButton a {
            align-self: center;
            text-align: center;
        }

        #LoginFrame #LoginButton:hover {
            border: 1px solid #6b29ad;
            background-color: #6b29ad;
        }

            #LoginFrame #LoginButton:hover * {
                color: white !important;
                background-color: #6b29ad !important;
            }

    /*#LoginFrame input{
    height:25px;
    width:70%;
    font-size:15px;
    display:inline-block;
    margin-bottom: 5px;
}*/

    #LoginFrame .SmallUserID, #LoginFrame .SmallUserPwd {
        height: 25px;
        width: 70%;
        font-size: 15px;
        display: inline-block;
        margin-bottom: 5px;
    }

#LogoFrame {
    display: flex;
    align-items: center;
}

#TopSearchBar {
    display: flex;
    flex-direction: row;
    margin-left: 40px;
    border: 3px solid #6b29ad;
    width: 600px;
    height: 40px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 12px;
}

    #TopSearchBar input.searchbar {
        flex-grow: 1;
        display: inline-block;
        font-size: 18px;
        font-weight: 700;
        border: none;
        height: 100%;
    }

    #TopSearchBar .search-button {
        padding: 12px;
    }

        #TopSearchBar .search-button svg {
            fill: #6b29ad;
            /*stroke:#6b29ad;*/
            /*stroke-width: 2;*/
            padding: 0;
            margin: 0;
            width: 24px;
            height: 24px;
        }

.RegionSelectorContainer .RegionIndicatorContainer {
    margin-left: 10px;
}

input.searchbar:focus {
    outline-width: 0;
}

input.searchbar::-webkit-search-cancel-button {
    -webkit-appearance: none;
    background-color: #6b29ad;
}

.SearchContainer {
    overflow: hidden;
    padding: 10px;
    margin-bottom: 10px;
}

    .SearchContainer input {
        width: 82%;
        height: 16px;
        padding: 8px;
        border-right: 1px solid #a7daef;
        border-left: 1px solid #b7ddf0;
        border-top: 1px solid #409ccb;
        border-bottom: 1px solid #bae8f7;
        float: left;
        margin: 0;
    }

    .SearchContainer img {
        position: absolute;
    }

    .SearchContainer a {
        /*background-color: #6b29ad;*/
        color: black;
        display: block;
        padding: 8px 0;
        border: 1px solid #6b29ad;
        float: right;
        width: 14%;
        height: 16px;
        text-align: center;
    }


#MenuFrame .NavFrame{
    display: flex;
    align-items: center;
}


#MenuFrame ul {
    list-style: none;
    display: flex;
    position: relative;
    padding: 0;
    margin: 0;
}

#MenuFrame ul li {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    border: 0;
}

#MenuFrame ul.left {
    flex:1;
}

#MenuFrame ul.right {
}

/* The container <div> - needed to position the dropdown content */
#MenuFrame .dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
#MenuFrame .dropdown-content {
    display: none;
    position: absolute;
    min-width: 150px;
    z-index: 100;
}

/* Links inside the dropdown */
#MenuFrame .dropdown-content a {
    display: block;
}


/* Show the dropdown menu on hover */
#MenuFrame .dropdown:hover .dropdown-content {
    display: block;
    background-color: white;
    border: 2px solid #6B29AD;
    border-top: 1px solid #6B29AD;
}

#MenuFrame ul > li > .megamenu {
    display: block;
    position: absolute;
    top: 100%;
    left: -5px;
    right: 0;
    width: 910px;
    height: 300px;
    background-color: white;
    border: 2px solid #6B29AD;
    /*border-top: none;*/
    border-top: 1px solid #6B29AD;
    padding-top: 10px;
    z-index: 300;
}

#MenuFrame ul > li > .megamenu > .left {
    max-width: 610px;
    min-width: 610px;
    border-right: 1px solid gray;
    padding: 0 10px;
}

#MenuFrame ul > li > .megamenu > .right {
    width: 300px;
    padding: 0 10px;
}

#MenuFrame .megamenu a{
    font-size: 14px;
    font-weight: 500;
    padding: 3px;
    margin: 0;
    width: 100%;
    flex-basis: 100%;
}

#MenuFrame .megamenu .right{
}

#MenuFrame .megamenu .right .RightCellAD:not(a) {
    margin-top: 40px;
    display:block;
}

#MenuFrame .megamenu .right .RightCellAD a{
    width: 47%;
    margin-top: 0;
}

#MenuFrame .megamenu .right .RightCellAD a.TopMenuBigAD{
    width: 100%;
    height: auto;
}

#MenuFrame .megamenu .right .RightCellAD a img{
    width: 100%;
}

#MenuFrame .megamenu .right .RightCellAD a.TopMenuBigAD img{
    width: 100%;
    height: auto;
}

.megamenu .sort{
    padding: 5px;
}

.megamenu .sort{
    cursor: pointer;
}

.megamenu .sort.active{
    color: #6b29ad;
    font-weight: 700;
}

.megamenu .sort.tv.active ~ .sortable.tv,
.megamenu .sort.movie.active ~ .sortable.movie,
.megamenu .sort.viewed.active ~ .sortable.viewed,
.megamenu .sort.recent.active ~ .sortable.recent{
    display: block;
}

.megamenu .sort.tv.active ~ .sortable.movie,
.megamenu .sort.movie.active ~ .sortable.tv,
.megamenu .sort.viewed.active ~ .sortable.recent,
.megamenu .sort.recent.active ~ .sortable.viewed{
    display: none;
}

#mega-event .sortable:nth-of-type(n).active{
    display: flex;
}

#mega-event .sortable:nth-of-type(n):not(.active){
    display: none;
}

#mega-event .left > a:hover,
#mega-event .left .photos a:hover{
    background-color: transparent;
    width: initial;
}

#mega-event .left > a,
#mega-event .left .photos a{
    background-color: transparent;
    width: initial;
}

.megamenu a:hover .item .category{
    color: white;
}

.megamenu .item{
    display: flex;
}

.megamenu .item .title {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.megamenu .item.shop .title{
    flex: 1;
    text-overflow: clip;
    margin-right: 20px;
}

.megamenu .item.shop .price{
    flex: 0.2;
}

.megamenu .item.shop .category{
    flex: 0.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.megamenu .sortable{
    margin-top: 10px;
}

.megamenu .item .category {
    color: #6b29ad;
}

#menu-qna:hover #mega-qna,
#menu-classified:hover #mega-classified,
#menu-blog:hover #mega-blog,
#menu-club:hover #mega-club,
#menu-tv:hover #mega-tv,
#menu-shop:hover #mega-shop,
#menu-event:hover #mega-event{
    display: flex;
}

#menu-qna #mega-qna,
#menu-classified #mega-classified,
#menu-blog #mega-blog,
#menu-club #mega-club,
#menu-tv #mega-tv,
#menu-shop #mega-shop,
#menu-event #mega-event{
    display: none;
}

.megamenu .sortable.event{
    display: flex;
    justify-content: space-around;
}

.megamenu .sortable.event a{
    cursor: pointer;
}

#mega-event .sortable.event a:hover{
    background-color: white;
    color: #6b29ad;
}

#mega-event .sortable.event a:hover .event-item .img-container{
    box-shadow: 8px 8px 10px #888;
    transition: box-shadow ease-in-out 0.1s;
}

.event-item{
    flex: 0.9;
    margin-top: 10px;
}

.event-item .title{
    width: 95%;
    font-size: 14px;
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.event-item .img-container {
    width: 95%;
    height: 220px;
    background-size:contain;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 3px 3px 10px #888;
}

.event-item .img-container img {
}


/**/
#ContentPlaceHolder1_ctl01_MenuFrameSecond .NavFrame{
    display: flex;
    align-items: center;
}

#ContentPlaceHolder1_ctl01_MenuFrameSecond ul {
    list-style: none;
    display: flex;
    position: relative;
    padding: 0;
    margin: 0;
}

#ContentPlaceHolder1_ctl01_MenuFrameSecond ul li {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    border: 0;
}

#ContentPlaceHolder1_ctl01_MenuFrameSecond div.left {
    flex:1;
    color:#a3a3a3;
}

#ContentPlaceHolder1_ctl01_MenuFrameSecond ul.right {
}

#ContentPlaceHolder1_ctl01_MenuFrameSecond {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 10px;
}

    #ContentPlaceHolder1_ctl01_MenuFrameSecond div.NavFrame {
        width: 1200px;
        margin: 0 auto;
        padding-left: 10px;
    }

    #ContentPlaceHolder1_ctl01_MenuFrameSecond a {
        display: inline-block;
        padding: 5px 5px;
        margin: 5px;
        color:#a3a3a3;
        font-size: 16px;
    }

        #ContentPlaceHolder1_ctl01_MenuFrameSecond a:first-child {
            /*margin-left: 0px;*/
        }

        #ContentPlaceHolder1_ctl01_MenuFrameSecond a:hover {
            background-color: rgb(177, 99, 255);
            color: white;
        }
