
a.skip-main {
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

    a.skip-main:focus, a.skip-main:active {
        color: black;
        background-color: #E9F2FB;
        top: auto;
        left: calc(50% - 110px);
        width: 220px;
        height: auto;
        overflow: auto;
        margin: 10px auto;
        padding: .5rem;
        border-radius: .5rem;
        text-align: center;
        font-size: 1em;
        z-index: 999999;
        outline: solid 2px #ffbb77 !important;
        opacity: 1
    }



/* ================================================================================================
   ======================================= SmartMenu modify =======================================
   ================================================================================================ */
.main-nav {
    padding: 0 10px;
    background: #FFF;
}

    .main-nav:after {
        clear: both;
        content: "\00a0";
        display: block;
        height: 0;
        font: 0px/0 serif;
        overflow: hidden;
    }

.nav-brand {
    float: left;
    margin: 0;
}

    .nav-brand a {
        display: block;
        padding: 12px 12px 12px 20px;
        color: #555;
        font-size: 22px;
        font-weight: normal;
        line-height: 17px;
        text-decoration: none;
    }

#main-menu {
    clear: both;
}

@media (min-width: 768px) {
    #main-menu {
        clear: none;
    }
}


/* Mobile menu toggle button */
.main-menu-btn {
    float: right;
    margin: 6px 10px;
    position: relative;
    display: inline-block;
    width: 29px;
    height: 29px;
    text-indent: 29px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
    position: absolute;
    top: 50%;
    left: 2px;
    height: 2px;
    width: 24px;
    background: #555;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

    .main-menu-btn-icon:before {
        content: '';
        top: -7px;
        left: 0;
    }

    .main-menu-btn-icon:after {
        content: '';
        top: 7px;
        left: 0;
    }


/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
    height: 0;
    background: transparent;
}

    #main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
        top: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
        top: 0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }


/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}


    /* hide the menu in mobile view */
    #main-menu-state:not(:checked) ~ #main-menu {
        display: none;
    }

    #main-menu-state:checked ~ #main-menu {
        display: block;
    }

@media (min-width: 768px) {
    /* hide the button in desktop view */
    .main-menu-btn {
        position: absolute;
        top: -99999px;
    }
    /* always show the menu in desktop view */
    #main-menu-state:not(:checked) ~ #main-menu {
        display: block;
    }
}

.mega-menu-frame {
    width: 100%;
    min-width: 300px;
}

.mega-menu-content ul li {
    list-style-type: none;
}


/* make mega menus take the full width of .main-nav */
#main-menu,
#main-menu > .has-mega-menu {
    position: static !important;
}

    #main-menu .mega-menu {
        margin-left: 15px !important;
        margin-right: 15px !important;
        right: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    #main-menu > .has-mega-menu .scroll-up,
    #main-menu > .has-mega-menu .scroll-down {
        margin-left: 0 !important;
    }

    /* reset mega menu list/link styles (which are inherited from the SmartMenus core/theme styles) */
    #main-menu .mega-menu {
        padding: 20px;
    }

        #main-menu .mega-menu ul {
            position: static;
            display: block;
            margin: 0.83em 0;
            border: 0;
            padding: 0 0 0 20px;
            width: auto;
            background: transparent;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

            #main-menu .mega-menu ul li {
                display: list-item;
                border: 0;
                margin-bottom: 8px;
            }

        #main-menu .mega-menu ul {
            padding-left: 0;
        }

        #main-menu .mega-menu a {
            margin: 4px 0;
            display: block;
            border: 0;
            padding: 10px;
            background: transparent;
            color: inherit;
            overflow: hidden;
            max-width: 17em;
            width: 100%;
            text-overflow: ellipsis;
        }


        /* simple columns inside the mega menus */
        #main-menu .mega-menu .column-1-4 {
            padding: 0 20px;
        }

@media (min-width: 768px) {
    #main-menu .mega-menu .column-1-4 {
        float: left;
        width: 100%;
        min-width: 150px;
        padding: 10px;
        flex-grow: 1;
    }
}

/* Mobile menu top separator */
#main-menu:before {
    content: '';
    display: block;
    height: 1px;
    font: 1px/1px sans-serif;
    overflow: hidden;
    background: #4b4a73;
}

@media (min-width: 768px) {
    #main-menu:before {
        display: none;
    }
}

@media (max-width: 768px) {
    #main-menu .mega-menu {
        margin: 0 !important;
    }
}

/* ------------ ��custom modify�� ------------ */
.sm-clean a {
    font-size: 16px !important;
    color: #2e2e2e;
}

@media (min-width: 768px) {
    .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
        color: #000;
    }
}


#main-menu {
    background-color: #FFF;
}

@media (max-width: 768px) {
    .main-menu-btn {
        float: initial;
        left: 45%;
        top: 0 !important;
    }

    .main-nav {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .main-menu-btn {
        display: none;
    }

    #main-menu {
        display: table !important;
        margin: 0 auto !important;
        background-color: #FFF;
    }
}

.mega-menu-content h3 {
    font-weight: bold;
}

/* ================================================================================================
   ======================================= mega menu slider =======================================
   ============================================================================================= */
.mega-menu {
    position: relative;
}

.prev, .next {
    cursor: pointer;
    position: absolute !important;
    top: 50%;
    width: auto;
    padding: 20px 8px;
    margin-top: -25px;
    color: white;
    font-weight: bold;
    font-size: 5px;
    transition: 0.6s ease;
    border-radius: 0 5px 5px 0;
    user-select: none;
    z-index: 999;
    background-color: rgba(0,0,0,0.8);
}

/* Position the "next button" to the right */
.prev {
    left: -1px;
}

.next {
    right: -1px;
    border-radius: 5px 0 0 5px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }


.tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .tabs > .tabItem {
        /*float: left;*/
        display: inline-block;
        border: none;
        order: 1;
        padding-top: 10px;
        font-size: 1em;
        margin: 0;
        line-height: 1;
        /*font-weight: bold;*/
    }

        .tabs > .tabItem > a {
            /*display: block;*/
            display: inline-block;
            padding: 4px;
            text-align: center;
            /*background-color: #00a6f9;*/
            color: #4f4d4d;
            text-decoration: none;
            overflow: hidden;
            white-space: nowrap;
            /*text-overflow: ellipsis;*/
            box-sizing: border-box;
            position: relative;
            padding: .5rem 1rem;
        }

        .tabs > .tabItem.active > a {
            border-bottom: 2px solid #f08a4b;
        }

        .tabs > .tabItem > a {
            font-weight: 700;
            letter-spacing: -0.8px;
            line-height: normal;
        }

            .tabs > .tabItem > a:focus,
            .tabs > .tabItem > a:active {
                color: #fff !important;
            }

        .tabs > .tabItem.active > a {
            color: black;
        }

    .tabs.example-1 {
        padding-right: 20px;
        padding-left: 20px;
    }

.active + .tabContent {
    display: block;
}

.tabContent {
    /*position: absolute;*/
    /*background: #f6f6f6;*/
    top: auto;
    left: 0;
    right: 0;
    clear: both;
    padding: 10px 10px;
    order:2;
    flex-basis: 100%;
    display: none;
    text-align: left;
}

.tab-container {
    overflow-x: auto !important;
}

body {
    word-wrap: break-word;
    word-break: normal !important;
}
.tabSet a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}




.tabSet {
    height: unset !important;
}


@media (max-width: 768px) {
    .mega-menu {
        display: none !important;
    }

    .sub-arrow {
        display: none !important;
    }
}