html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    height: 100%;
}

h1 {
    font-family: 'Segoe UI Light', Tahoma, Geneva, Verdana, sans-serif;
    padding: 16px 0 0 0;
    height: 36px;
    font-size: 27px;
    font-weight: Lighter;
    margin-top: 0;
}

h2, h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 16px 0 0 0;
    height: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #505050;
}

/*
    h4 { }
    h5 { }
    h6 { }
*/

#duowait {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: red;
    top: 0;
    left: 0;
    z-index: 9999;
}

button[disabled] {
    pointer-events: none;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

    fieldset legend {
        padding: 0;
        width: 115px;
        float: left;
        font-size: 11px;
        font-weight: bold;
    }

.duo-form-group {
    min-height: 20px;
    padding: 5px;
}

    .duo-form-group label {
        font-size: 12px;
        font-weight: bold;
        display: inline-block;
        min-width: 115px;
        vertical-align: top;
    }

.duo-control-radio {
    margin-left: 115px;
}

.duo-control-checkbox {
}

.duo-control-checkbox-label {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

input.duo-control-text {
    font-size: 12px;
    width: 200px;
    border: 1px solid #C6C6C6;
    display: inline-block;
    height: 18px;
    padding: 0px 0px 0px 0px;
}

    input.duo-control-text[readonly] {
        border: none;
        text-overflow: ellipsis;
    }

textarea.duo-control-text {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #C6C6C6;
    display: inline-block;
    min-height: 50px;
}

.duo-control-select {
    width: 216px;
    border: 1px solid #C6C6C6;
    display: inline-block;
    height: 19px;
    padding: 0px 0px 0px 2px;
    box-sizing: border-box;
}

.duo-control-date {
    width: 200px;
    border: 1px solid #C6C6C6;
    display: inline-block;
    height: 17px;
    padding: 0px 0px 0px 2px;
}

.duo-control-datetime {
    width: 200px;
    border: 1px solid #C6C6C6;
    display: inline-block;
    height: 17px;
    padding: 0px 0px 0px 2px;
}

.duo-control-lookup {
    display: inline-block;
}

    .duo-control-lookup input {
        width: 177px;
        display: inline-block;
        height: 17px;
        border-top: 1px solid #C6C6C6;
        border-left: 1px solid #C6C6C6;
        border-bottom: 1px solid #C6C6C6;
        border-right: none;
        padding: 1px 7px;
    }

    .duo-control-lookup button {
        display: inline-block;
        vertical-align: bottom;
        border: 1px solid #C6C6C6;
        cursor: pointer;
        height: 21px;
        width: 23px;
        background-color: #FFFFFF;
        box-sizing: border-box;
        padding: 0;
    }

        .duo-control-lookup button .ui-icon {
            margin: auto;
        }

.duo-control-text, .duo-control-select, .duo-control-date {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    margin: 0px;
}

.duo-control-list {
    list-style: none;
    display: inline-block;
    padding: 0 0px;
    margin: 0;
}

.duo-list-checkboxes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.duo-btn, .duo-dialog-footer .duo-btn {
    cursor: pointer;
    height: 24px;
    font-family: Segoe UI, Tahoma, Arial;
    border: 1px solid #C6C6C6;
    background-image: none;
    margin-top: 10px;
    width: auto !important;
    min-width: 80px;
    white-space: nowrap;
    margin-left: 8px;
    background-color: #FFFFFF;
    color: #444444;
    padding-top: 0;
}

    .duo-btn:hover, .duo-dialog-footer .duo-btn:hover {
        background-color: #D7EBF9;
    }

    .duo-btn[disabled], .duo-dialog-footer .duo-btn[disabled] {
        color: #B1B1B1;
    }

/* Dialog. */

.duo-dialog-header {
    color: #444444;
    max-height: 36px;
    display: block;
    font-weight: 700;
    box-sizing: border-box;
    padding: 10px;
}

    .duo-dialog-header span {
    }

        .duo-dialog-header span.subtitle {
            padding-top: 2px;
            margin-left: 30px;
            margin-right: 30px;
        }

.duo-dialog-body {
    margin: 0 30px 0 30px;
    overflow: auto;
    position: absolute;
    top: 35px;
    bottom: 44px;
    left: 0px;
    right: 0px;
}

    .duo-dialog-body .duo-half {
        float: left;
        width: 50%;
    }

.duo-dialog-footer {
    position: absolute;
    height: 44px;
    background-color: #DDDDDD;
    width: 100%;
    bottom: 0;
    background-color: #F8F8F8;
    border-top-color: #FFFFFF;
    text-align: right;
}

    .duo-dialog-footer .duo-btn {
        cursor: pointer;
        height: 24px;
        font-family: Segoe UI,Tahoma,Arial;
        border: 1px solid #C6C6C6;
        background-image: none;
        margin-top: 10px;
        width: auto !important;
        min-width: 80px;
        white-space: nowrap;
        margin-left: 8px;
        background-color: #FFFFFF;
        color: #444444;
    }

        .duo-dialog-footer .duo-btn:last-child {
            margin-right: 30px;
        }

#ulCandidates {
    padding: 0 0 0 2px;
}

/* Address Preview. */

.duo-addressline {
    font-size: 14px;
    font-weight: normal;
    color: #505050;
    line-height: 20px;
    padding: 0;
    float: right;
}

/* Datetime Picker. */

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
    border: none;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-hover {
    border: none;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-focus {
    border: none;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    border: none;
}

.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

    .ui-timepicker-div dl dt {
        float: left;
        clear: left;
        padding: 0 0 0 5px;
    }

    .ui-timepicker-div dl dd {
        margin: 0 10px 10px 40%;
    }

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.ui-timepicker-div .ui_tpicker_unit_hide {
    display: none;
}

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input {
    background: none;
    color: inherit;
    border: none;
    outline: none;
    border-bottom: solid 1px #555;
    width: 95%;
}

    .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus {
        border-bottom-color: #aaa;
    }

.ui-timepicker-rtl {
    direction: rtl;
}

    .ui-timepicker-rtl dl {
        text-align: right;
        padding: 0 5px 0 0;
    }

        .ui-timepicker-rtl dl dt {
            float: right;
            clear: right;
        }

        .ui-timepicker-rtl dl dd {
            margin: 0 40% 10px 10px;
        }

/* Shortened version style. */

.ui-timepicker-div.ui-timepicker-oneLine {
    padding-right: 2px;
}

    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
    .ui-timepicker-div.ui-timepicker-oneLine dt {
        display: none;
    }

    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label {
        display: block;
        padding-top: 2px;
    }

    .ui-timepicker-div.ui-timepicker-oneLine dl {
        text-align: right;
    }

        .ui-timepicker-div.ui-timepicker-oneLine dl dd,
        .ui-timepicker-div.ui-timepicker-oneLine dl dd > div {
            display: inline-block;
            margin: 0;
        }

            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before {
                content: ':';
                display: inline-block;
            }

            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before {
                content: '.';
                display: inline-block;
            }

    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before {
        display: none;
    }

/* TagIt. */

ul.tagit {
    padding: 1px 5px;
    overflow: auto;
    margin-left: inherit; /* Usually we don't want the regular ul margins. */
    margin-right: inherit;
}

    ul.tagit li {
        display: block;
        float: left;
        margin: 2px 5px 2px 0;
    }

        ul.tagit li.tagit-choice {
            position: relative;
            line-height: inherit;
        }

input.tagit-hidden-field {
    display: none;
}

ul.tagit li.tagit-choice-read-only {
    padding: .2em .5em .2em .5em;
}

ul.tagit li.tagit-choice-editable {
    padding: .2em 18px .2em .5em;
}

ul.tagit li.tagit-new {
    padding: .25em 4px .25em 0;
}

ul.tagit li.tagit-choice a.tagit-label {
    cursor: pointer;
    text-decoration: none;
}

ul.tagit li.tagit-choice .tagit-close {
    cursor: pointer;
    position: absolute;
    right: .1em;
    top: 50%;
    margin-top: -8px;
    line-height: 17px;
}

    /* Used for some custom themes that don't need image icons. */
    ul.tagit li.tagit-choice .tagit-close .text-icon {
        display: none;
    }

ul.tagit li.tagit-choice input {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}

ul.tagit input[type="text"] {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    width: inherit;
    background-color: inherit;
    outline: none;
}

ul.tagit li.tagit-choice {
    -webkit-transition: background 1s ease-in-out;
    -moz-transition: background 1s ease-in-out;
    -ms-transition: background 1s ease-in-out;
    -o-transition: background 1s ease-in-out;
    transition: background 1s ease-in-out;
}

/* Grid. */

.duo-grid {
    height: auto;
    width: auto;
    overflow: hidden;
    height: 100%;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Arial;
}

    .duo-grid .control-loading {
        width: auto;
        overflow: hidden;
        height: 100%;
    }

    .duo-grid .control-header {
        width: auto;
        position: relative;
        height: 22px;
        margin: 0 0 8px 0;
    }

        .duo-grid .control-header .label {
            float: left;
            height: 22px;
            max-width: 400px;
            font-size: 12px;
            font-weight: bold;
            color: #000000;
            padding-top: 4px;
            margin: 0px;
            text-transform: uppercase;
        }

        .duo-grid .control-header .actions {
            float: right;
            height: 22px;
            text-align: right;
        }

            .duo-grid .control-header .actions a {
                display: inline-block;
                margin: 0px 6px;
            }

                .duo-grid .control-header .actions a .icon {
                    width: 13px;
                    height: 13px;
                    overflow: hidden;
                    display: block;
                    margin: 4px 4px;
                }

                .duo-grid .control-header .actions a .icon-add {
                    background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -122px -116px;
                }

                    .duo-grid .control-header .actions a .icon-add:hover, .duo-grid .control-header .actions a .icon-add:focus {
                        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -140px -60px;
                    }

                .duo-grid .control-header .actions a .icon-associated {
                    background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -86px;
                }

                    .duo-grid .control-header .actions a .icon-associated:hover, .duo-grid .control-header .actions a .icon-associated:focus {
                        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -71px;
                    }

    .duo-grid .control-body {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

        .duo-grid .control-body table.grid-header {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            border-spacing: 0;
            border-bottom-color: #d6d6d6;
            border-bottom-style: solid;
            border-bottom-width: 1px;
            border-top-color: #d6d6d6;
            border-top-style: solid;
            border-top-width: 1px;
            height: 25px;
        }

            .duo-grid .control-body table.grid-header th {
                text-overflow: ellipsis;
                overflow: hidden;
                color: #444444;
                padding-left: 5px;
                font-size: 12px;
                white-space: nowrap;
                text-align: left;
                font-weight: normal;
                cursor: default;
            }

                .duo-grid .control-body table.grid-header th.sortable {
                    cursor: pointer;
                }

                    .duo-grid .control-body table.grid-header th.sortable:hover {
                        background-color: rgb(215, 235, 249);
                    }

                .duo-grid .control-body table.grid-header th span {
                    padding-left: 10px;
                }

                    .duo-grid .control-body table.grid-header th span .order {
                        height: 15px;
                        width: 10px;
                    }

                .duo-grid .control-body table.grid-header th.descending span .order {
                    background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -166px -38px;
                    margin: 0px 5px;
                }

                .duo-grid .control-body table.grid-header th.ascending span .order {
                    background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -176px -19px;
                    margin: 0px 5px;
                }

            .duo-grid .control-body table.grid-header td.splitter {
                cursor: col-resize;
                background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -176px -31px;
            }

        .duo-grid .control-body .grid-buttons {
            position: absolute;
            right: 0;
            top: 1px;
            z-index: 1;
            background-color: #fff;
        }

            .duo-grid .control-body .grid-buttons a {
            }

                .duo-grid .control-body .grid-buttons a .icon {
                    width: 10px;
                    height: 10px;
                    overflow: hidden;
                    display: block;
                }

                .duo-grid .control-body .grid-buttons a .icon-refresh {
                    background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -174px -4px;
                }

                .duo-grid .control-body .grid-buttons a:hover .icon-refresh {
                    background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -142px -152px;
                }

            .duo-grid .control-body .grid-buttons .refresh {
                height: 16px;
                width: 16px;
                display: inline-block;
                margin-left: 6px;
            }

        .duo-grid .control-body .grid-wrapper {
            height: auto;
            width: 100%;
            overflow: auto;
            position: absolute;
            top: 0;
            bottom: 0;
        }

            .duo-grid .control-body .grid-wrapper .grid-message {
                color: #444444;
                padding-left: 2px;
                text-align: left;
                vertical-align: top;
                margin-top: 8px;
                font-size: 12px;
            }

            .duo-grid .control-body .grid-wrapper table.grid-data {
                table-layout: fixed;
                width: 100%;
                border-collapse: collapse;
                border-spacing: 0;
            }

                .duo-grid .control-body .grid-wrapper table.grid-data tr {
                    height: 28px;
                    padding-top: 1px;
                    margin-bottom: 1px;
                }

                    .duo-grid .control-body .grid-wrapper table.grid-data tr:focus,
                    .duo-grid .control-body .grid-wrapper table.grid-data tr:hover {
                        background-color: rgb(215, 235, 249);
                    }

                    .duo-grid .control-body .grid-wrapper table.grid-data tr.selected {
                        background-color: #B1D6F0;
                    }

                    .duo-grid .control-body .grid-wrapper table.grid-data tr td {
                        text-overflow: ellipsis;
                        overflow: hidden;
                        font-size: 12px;
                        color: rgb(0, 0, 0);
                        line-height: 19px;
                        white-space: nowrap;
                        cursor: default;
                    }

                        .duo-grid .control-body .grid-wrapper table.grid-data tr td img {
                            margin: -5px 4px;
                        }

                        .duo-grid .control-body .grid-wrapper table.grid-data tr td span {
                            text-overflow: ellipsis;
                            overflow: hidden;
                            white-space: nowrap;
                            padding-left: 2px;
                        }

                        .duo-grid .control-body .grid-wrapper table.grid-data tr td.EntityReference span,
                        .duo-grid .control-body .grid-wrapper table.grid-data tr td.EntityReference img {
                            cursor: pointer;
                        }

                        .duo-grid .control-body .grid-wrapper table.grid-data tr td.EntityReference:hover span {
                            text-decoration: underline;
                        }

    .duo-grid .control-footer {
        height: 22px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        color: #444444;
        border-top: 1px solid #D6D6D6;
        margin-top: 8px;
    }

        .duo-grid .control-footer .count {
            float: left;
            display: block;
            padding-top: 4px;
            padding-left: 10px;
            font-size: 11px;
        }

        .duo-grid .control-footer .grid-pager {
            float: right;
            display: block;
            white-space: nowrap;
        }

            .duo-grid .control-footer .grid-pager a {
                display: inline-block;
                padding: 0px 2px;
                font-size: 11px;
            }

                .duo-grid .control-footer .grid-pager a.enabled {
                }

                .duo-grid .control-footer .grid-pager a.disabled {
                }

    .duo-grid .grid-pager .icon {
        width: 8px;
        height: 9px;
        overflow: hidden;
        display: block;
    }

    .duo-grid .grid-pager .disabled .first-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -135px;
    }

    .duo-grid .grid-pager .disabled .previous-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -169px -118px;
    }

    .duo-grid .grid-pager .disabled .next-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -95px -159px;
    }

    .duo-grid .grid-pager .disabled .last-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -135px;
    }

    .duo-grid .grid-pager .enabled .first-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -113px;
    }

    .duo-grid .grid-pager .enabled .previous-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -172px -107px;
    }

    .duo-grid .grid-pager .enabled .next-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -124px;
    }

    .duo-grid .grid-pager .enabled .last-icon {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -157px -135px;
    }

    .duo-grid .delete {
        background: transparent url(../img/grid_ctrl_images.png) no-repeat scroll -138px -76px;
        height: 19px;
        width: 16px;
        position: absolute;
        z-index: 9999;
        display: none;
        cursor: pointer;
    }

    .duo-grid .control-body .grid-wrapper table.grid-data tr:hover .delete {
        background-color: rgb(215, 235, 249);
    }

/* UI. */

.duo-wait {
    position: fixed;
    height: 100%;
    width: 100%;
    cursor: wait;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

/* Tabs. */

.duo-tabs {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
}

.duo-tab-buttons {
    height: 40px;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

.duo-tabs .duo-tab {
    height: calc(100% - 60px);
}

/* Dropdown. */

.ms-Dropdown-items{
    max-height: 300px
}

.duo-Dropdown-OptGroup {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 36px;
    padding: 7px 10px;
    position: relative;
    border: 1px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: blue;
    font-weight: bold
}

@media screen and (-ms-high-contrast: active) {
    .duo-Dropdown-OptGroup {
        border-color: #000000;
    }
}

@media screen and (-ms-high-contrast: black-on-white) {
    .duo-Dropdown-OptGroup {
        border-color: #ffffff;
    }
}

/*.duo-Dropdown-OptGroup:hover {
    background-color: #eaeaea;
    color: #000000;
}

@media screen and (-ms-high-contrast: active) {
    .duo-Dropdown-OptGroup:hover {
        background-color: #1aebff;
        border-color: #1aebff;
        color: #000000;
    }

        .duo-Dropdown-OptGroup:hover:focus {
            border-color: #000000;
        }
}

@media screen and (-ms-high-contrast: black-on-white) {
    .duo-Dropdown-OptGroup:hover {
        background-color: #37006e;
        border-color: #37006e;
        color: #ffffff;
    }
}*/

.duo-Dropdown-OptGroup:active {
    background-color: #eaeaea;
    border-color: #0078d7;
    color: #000000;
}

.duo-Dropdown-OptGroup.is-disabled {
    background: #ffffff;
    color: #a6a6a6;
    cursor: default;
}

.duo-Dropdown-OptGroup.is-selected,
.duo-Dropdown-OptGroup.duo-Dropdown-OptGroup--selected {
    background-color: #b3d6f2;
    color: #000000;
}

    .duo-Dropdown-OptGroup.is-selected:hover,
    .duo-Dropdown-OptGroup.duo-Dropdown-OptGroup--selected:hover {
        background-color: #b3d6f2;
    }

@media screen and (-ms-high-contrast: active) {
    .duo-Dropdown-OptGroup.is-selected,
    .duo-Dropdown-OptGroup.duo-Dropdown-OptGroup--selected {
        background-color: #1aebff;
        border-color: #1aebff;
        color: #000000;
    }

        .duo-Dropdown-OptGroup.is-selected:focus,
        .duo-Dropdown-OptGroup.duo-Dropdown-OptGroup--selected:focus {
            border-color: #000000;
        }
}

@media screen and (-ms-high-contrast: black-on-white) {
    .duo-Dropdown-OptGroup.is-selected,
    .duo-Dropdown-OptGroup.duo-Dropdown-OptGroup--selected {
        background-color: #37006e;
        border-color: #37006e;
        color: #ffffff;
    }
}

/* Command Bar. */

.duo-tabs-commandbar {
}

    .duo-tabs-commandbar .duo-commandbar {
        margin: 20px 0 -20px 0;
    }

.duo-tabs .duo-tab {
    height: calc(100% - 100px);
}

.duo-commandbar button.active {
    background-color: rgb(88,156,174);
}

    .duo-commandbar button.active .ms-CommandButton-label,
    .duo-commandbar button.active .ms-CommandButton-icon {
        color: #fff;
    }

.duo-CommandBar-Label {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-shadow: none;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    cursor: default;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    outline: 1px solid transparent;
    padding: 0 8px;
    position: relative;
    vertical-align: top;
    background: transparent;
}

@media only screen and (max-width: 639px) {
    .duo-CommandBar-Label {
        height: 44px;
    }
}

/* Results Table. */

.duo-results-wrapper {
    overflow: hidden;
    height: 100%;
}

    .duo-results-wrapper .duo-results-header {
        height: 25px;
        table-layout: fixed;
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

        .duo-results-wrapper .duo-results-header tr td {
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            cursor: default;
        }

            .duo-results-wrapper .duo-results-header tr td.splitter {
                background-color: rgb(230, 230, 230);
                cursor: col-resize;
            }

            .duo-results-wrapper .duo-results-header tr td span {
                margin: 0 4px;
            }

            .duo-results-wrapper .duo-results-header tr td.ascending span:after {
                content: '▽';
                margin: 0 4px;
            }

            .duo-results-wrapper .duo-results-header tr td.descending span:after {
                content: '△';
                margin: 0 4px;
            }

    .duo-results-wrapper .duo-results-scrollingbox {
        overflow: auto;
        height: calc(100% - 55px);
    }

    .duo-results-wrapper .duo-results-table {
        table-layout: fixed;
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

        .duo-results-wrapper .duo-results-table tr input {
            height: 20px;
            width: 100%;
            display: block;
            margin: 0;
        }

        .duo-results-wrapper .duo-results-table tr.result {
            height: 20px;
        }

        .duo-results-wrapper .duo-results-table tr:hover {
            background-color: rgb(215, 235, 249) !important;
        }

        .duo-results-wrapper .duo-results-table tr.strike {
            text-decoration: line-through;
        }

        .duo-results-wrapper .duo-results-table tr td {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

    .duo-results-wrapper .duo-results-footer {
        background-color: #EEE;
        height: 30px;
        overflow: hidden;
    }

pre.duo-document, pre.duo-activity-notes {
    white-space: pre-line;
    white-space: pre-line;
    height: 567px;
    overflow: auto;
    border: 1px solid #ccc;
    padding: 4px;
}

pre.duo-activity-notes {
    margin-top: 42px;
}

.duo-document-hit {
    border-bottom: 1px solid red;
    color: red;
    background-color: rgba(255, 125, 0, 0.1);
}

.duo-document-hit-option {
    background-color: rgba(255, 125, 0, 0.1)
}

/* File Upload. */

.duo-fileupload {
    height: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: auto;
}

    .duo-fileupload .center {
        margin: 40px auto 0 auto;
        width: calc(100% - 50px);
        text-align: center;
    }

    .duo-fileupload .icon {
        height: 40%;
        display: block;
    }

    .duo-fileupload .select {
    }

    .duo-fileupload .message {
        height: 30%;
        display: block;
    }

    .duo-fileupload.active {
        background-color: aquamarine;
    }

.duo-fileupload2 {
    height: 100%;
    width: 100%;
    margin-bottom: 10px;
}

    .duo-fileupload2 .ms-Button {
        background-color: transparent;
        width: 100%;
        height: 100%;
        max-width: none;
        /* border-radius: 10px / 10px; */
        border: 2px black dashed;
    }

    .duo-fileupload2 .duo-DragDrop-over {
        background-color: #d3dceb;
    }

    .duo-fileupload2 .ms-Button.is-disabled {
        background-color: #f4f4f4;
        border: 2px #f4f4f4 dashed;
    }

.duo-CommandButton--Inline {
    height: 32px;
    line-height: 32px;
}

    .duo-CommandButton--Inline .ms-CommandButton-label {
        line-height: 32px;
    }

    .duo-CommandButton--Inline .ms-CommandButton-dropdownIcon .ms-Icon {
        padding-top: 11px;
    }

/* Inline Ask. */

.duo-inlineask {
    margin: 16% 0 0 0;
    text-align: center;
}

/* Expanding Box. */

.duo-ExpandingBox > .duo-ExpandingBox-expand {
    text-decoration: none;
}

/* Search Criteria. */

#search-criteria {
    height: 100%;
    position: relative;
}

.search-manager {
    height: 100%;
}

.duo-Criteria-Options {
    background-color: #f4f4f4;
    position: absolute;
    height: 100%;
    bottom: 0;
    top: 0;
    left: 0;
    width: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

    .duo-Criteria-Options .ms-ContextualMenu-link, .duo-Criteria-Options.ms-ContextualMenu-subMenuIcon {
        height: 30px;
        line-height: 30px;
    }

.duo-Criteria {
    position: absolute;
    overflow: auto;
    height: 100%;
    bottom: 0;
    top: 0;
    right: 0;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    width: calc(100% - 250px);
    box-sizing: border-box;
}

.duo-search-control .duo-search-control-left {
    position: static;
    box-sizing: border-box;
    width: 200px;
    display: inline-block;
    vertical-align: top;
}

    .duo-search-control .duo-search-control-left .ms-CommandButton,
    .duo-search-control .duo-search-control-left .ms-CommandButton-button {
        width: 100%;
        height: 32px;
        line-height: 32px;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: right;
    }

        .duo-search-control .duo-search-control-left .ms-CommandButton,
        .duo-search-control .duo-search-control-left .ms-CommandButton-button ms-CommandButton-label {
            line-height: 32px;
        }

.duo-search-control .duo-search-control-right {
    position: static;
    box-sizing: border-box;
    width: calc(100% - 200px);
    display: inline-block;
}

.duo-search-control.duo-search-control-user {
    border-bottom: 1px solid #e1e1e1;
    margin: 2px 2px;
    padding: 6px;
}

    .duo-search-control.duo-search-control-user .duo-search-control.duo-search-control-user {
        border-bottom: none;
    }

.duo-search-control .ms-TextField-field {
    min-width: 40px;
}

.duo-search-control.duo-search-control-sub {
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #adadad !important;
    padding: 4px;
}

    .duo-search-control.duo-search-control-filter > .duo-search-control-left,
    .duo-search-control.duo-search-control-sub > .duo-search-control-left {
        width: 80px;
    }

    .duo-search-control.duo-search-control-filter > .duo-search-control-right,
    .duo-search-control.duo-search-control-sub > .duo-search-control-right {
        width: calc(100% - 80px);
    }

.duo-search-control.is-selected {
    border: 2px solid #000 !important;
}

.colleagu-search-picker {
}

/* Email - Cloud Documents. */

.document-row {
    width: 100%;
    clear: both;
    margin-bottom: 4px;
}

    .document-row .file-name {
        width: calc(100% - 20px);
        clear: left;
        float: left;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .document-row .add-file-container {
        clear: right;
        float: right;
        width: 20px;
    }

        .document-row .add-file-container .add-file {
            cursor: pointer;
            float: right;
        }

.cloud-documents-dropdown {
    width: calc(100% - 100px);
    float: right;
    clear: none;
}

.cloud-documents-dropdown-label {
    width: 100px;
    float: left;
    clear: none;
    font-weight: 400;
    padding-top: 7px;
}

.cloud-docs-list {
    clear: both;
}

/* Section Tabs (CV and main Entities). */

.section-tabs-container {
    padding-top: 9px;
}

@-moz-document url-prefix() {
    .section-tabs-container {
        padding-top: 8px;
    }
}

.section-tab {
    font-family: "Segoe UI", Tahoma, Arial, Sans-Serif;
    font-size: 14px;
    font-weight: normal;
    margin-right: 10px;
    color: #505050;
    cursor: pointer;
    outline-style: none;
}

.section-tab-selected {
    font-weight: 600;
}

/* Tags. */

.duo-tag-adding {
    background-color: yellow !important;
}

.duo-tag-added {
    background-color: green !important;
    color: white !important;
}

.duo-tag-error {
    background-color: red !important;
    color: white !important;
}

#view-tags {
    margin-top: 3px;
    margin-left: 0px;
}

.show-tags-label {
    font-size: 14px;
    color: #828181;
    padding-right: 10px;
}

/* Lookup */

.duo-multiselect {
    min-height: 32px;
    position: relative;
    border: 1px solid #f4f4f4;
    box-sizing: content-box;
}

    .duo-multiselect ul {
        max-width: calc(100% - 100px);
    }

        .duo-multiselect ul li {
            display: inline-block;
        }

            .duo-multiselect ul li a {
                padding: 0 40px 0 25px;
            }

    .duo-multiselect .duo-multiselect-remove {
        height: 36px;
        width: 36px;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 16px;
        line-height: 36px;
        text-align: center;
    }

        .duo-multiselect .duo-multiselect-remove:hover {
            background-color: #f4f4f4;
            cursor: pointer;
        }

    .duo-multiselect .ms-Button {
        position: absolute;
        right: 0;
        top: 0;
    }

.duo-tag-library,
.duo-tag-archived {
    color: #FFFFFF;
    font-weight: 700 !important;
    margin-right: 4px;
}

    .duo-tag-library:hover,
    .duo-tag-archived:hover,
    .duo-tag-library:hover i,
    .duo-tag-archived:hover i {
        color: #000000;
    }

.duo-tag-library {
    background-color: rgb(0,88,135) !important;
}

.duo-tag-archived {
    background-color: rgb(195,41,97) !important;
}

.tag-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 114%;
    left: 50%;
    margin-left: -60px;
}

    .tag-tooltip::after {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #000000 transparent;
    }

.duo-tag-library:hover .tag-tooltip,
.duo-tag-archived:hover .tag-tooltip {
    visibility: visible;
}
