

.ui-tabs .ui-tabs-nav li {
    top: 1px;
}

/* BOTTOM */

.ui-tabs-bottom .ui-tabs-nav li {
    top: -3px !important;
    padding: 0;
    margin: 0px .2em 0 0 !important;
}

    .ui-tabs-bottom .ui-tabs-nav li.ui-tabs-active {
        margin: -1px .2em 0 0 !important;
        border-top: none !important;
        padding-bottom: 2px !important;
    }

.ui-tabs .ui-tabs-nav li {
    border: none;
}

/* LEFT */
.ui-tabs-left .ui-tabs-nav {
    float: left;
}

    .ui-tabs-left .ui-tabs-nav li {
        white-space: normal;
        float: right;
        display: block;
        width: 98%;
    }

        .ui-tabs-left .ui-tabs-nav li a, .ui-tabs-right .ui-tabs-nav li a {
            float: none;
            display: block;
            width: 100%;
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
        }

    .ui-tabs-left .ui-tabs-nav li {
        top: -1px;
        left: 3px;
        margin-bottom: 2px;
    }

.ui-tabs-left .ui-tabs-panel {
    padding: 1.6em;
}

.ui-tabs-left .ui-tabs-nav li.ui-tabs-active {
    border-right: medium none;
    margin-bottom: 2px;
}

.ui-tabs-left .ui-tabs-nav {
    padding: 0.2em 0 0 0;
}

.ui-tabs-left .wijmo-wijtabs-content {
    float: right;
    width: 75%;
    overflow: hidden;
}

.ui-tabs-left .ui-tabs-nav {
    min-height: 300px;
    width: 23%;
    height: 100%;
}

/* RIGHT */

.ui-tabs-right .ui-tabs-nav {
    float: right;
}

    .ui-tabs-right .ui-tabs-nav li {
        white-space: normal;
        float: left;
        display: block;
        width: 98%;
    }

    .ui-tabs-right .ui-tabs-nav li {
        top: -1px;
        left: 0;
        margin-bottom: 2px;
    }

.ui-tabs-right .ui-tabs-panel {
    padding: 1.6em;
}

.ui-tabs-right .ui-tabs-nav li.ui-tabs-active {
    border-left: medium none;
    margin-bottom: 2px;
}

.ui-tabs-right .ui-tabs-nav {
    padding: 0.2em 0 0 0;
}

.ui-tabs-right .wijmo-wijtabs-content {
    float: left;
    width: 75%;
    overflow: hidden;
}

.ui-tabs-right .ui-tabs-nav {
    min-height: 300px;
    width: 23%;
}


.ui-tabs-left .ui-tabs-nav li.ui-tabs-active {
    margin-right: 2px;
    padding-right: 1px;
}

.ui-tabs-right .ui-tabs-nav li.ui-tabs-active {
    margin-left: -1px;
    padding-left: 1px;
}

.ui-tabs-top .scrollWrap {
    border-bottom-width: 0px;
}

.ui-tabs-bottom .scrollWrap {
    border-top-width: 0px;
}

.ui-tabs-left .scrollWrap {
    border-style: solid;
    border-width: 1px 0px 1px 1px;
    float: left;
    width: 23%;
}

.ui-tabs-right .scrollWrap {
    border-style: solid;
    border-width: 1px 1px 1px 0px;
    float: right;
    width: 23%;
}

.ui-tabs-left .scrollWrap-collapsed, .ui-tabs-right .scrollWrap-collapsed{
    width: 100%;
}

.ui-tabs-left .scrollWrap .ui-tabs-nav {
    width: auto;
    float: none;
}

.ui-tabs-right .scrollWrap .ui-tabs-nav {
    width: auto;
    float: none;
}

/* Tabs from jQuery UI */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
    display: none;
}

.ui-helper-reset {
    margin: 0;
    padding: 0;
    border-width: 0;
    outline: 0;
    line-height: 1.3;
    text-decoration: none;
    font-size: 100%;
    list-style: none;
}

.ui-helper-clearfix:before, .ui-helper-clearfix:after {
    content: "";
    display: table;
}

.ui-helper-clearfix:after {
    clear: both;
}

.ui-helper-clearfix {
    zoom: 1;
}

.ui-helper-zfix {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    opacity: 0;
    filter: Alpha(Opacity=0);
}

.ui-tabs {
    position: relative;
    padding: .2em;
    zoom: 1;
}
    /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
    .ui-tabs .ui-tabs-nav {
        margin: 0;
        padding: .2em .2em 0;
        border-width: 1px;
    }

        .ui-tabs .ui-tabs-nav li {
            list-style: none;
            float: left;
            position: relative;
            top: 0;
            margin: 1px .2em 0 0;
            border-bottom: 0;
            padding: 0;
            white-space: nowrap;
        }

            .ui-tabs .ui-tabs-nav li a {
                float: left;
                padding: 12px 15px;
                text-decoration: none;
                color: inherit;
            }

                .ui-tabs .ui-tabs-nav li a:hover {
                    color: inherit;
                }

            .ui-tabs .ui-tabs-nav li.ui-tabs-active {
                margin-bottom: -1px;
                padding-bottom: 1px;
            }

                .ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
                    cursor: text;
                }

            .ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
                cursor: pointer;
            }
    /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
    .ui-tabs .ui-tabs-panel {
        display: block;
        border-width: 0;
        padding: 1em 1.4em;
        background: none;
    }



.ui-mobile .ui-tabs .ui-tabs-nav li.ui-tabs-active {
    margin-bottom: 0;
    padding-bottom: 0;
}
