@import '//fonts.googleapis.com/css?family=Lato:100,300,400,700';

body,
input,
select,
textarea,
button,
.ui-btn {
    font-family: 'Lato', 'Segoe UI Symbol', 'sans-serif';
    font-weight: 400;
}

/* Anti text shadow */
* {
    text-shadow: none;
}

.align-center {
    text-align: center;
}

.red {
    color: #d10a11;
}

.blue {
    color: blue;
}

.green {
    color: #05AC25;
}

.blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

#start_main #bg-holder,
#start_login #bg-holder {
    background: url("../img/background_low.jpg") center;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -10;
}

#bg-image {
    background: url("../img/background_low.jpg") center;
    width: 100%;
    height: 100%;
}

.page {
    z-index: 1;
}

.ui-content {
    cursor: default;
}

.ui-content,
#personality_select,
#team_select {
    background-image: url(../img/sm-logo-bg-trans.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom left;
    background-size: auto;
    background-size: 400px 250px;
}

#popupCompanySelect .ui-content,
#popupCustomInput .ui-content,
#popupIndividualSelect .ui-content,
#popupTooltipEdit .ui-content {
    background-image: unset;
}

#start_main .ui-content {
    min-height: calc(100vh - 58px);
    padding: 0;
}

#client_companylist .ui-content {
    min-height: calc(100vh - 45px);
    padding: 0 15px;
}

.translucent {
    opacity: 0;
}

h3 .ui-btn {
    margin-top: -1px;
}

h3 .ui-controlgroup {
    margin-top: 1px;
}

h3 .ui-li-count {
    right: 105px;
    top: 23px;
    background-color: #FFFFFF;
    border-color: #DDDDDD;
    color: #333333;
}

h3.ui-bar {
    overflow: visible;
}

.ui-listview>.ui-li-has-thumb>.ui-btn,
.ui-listview>.ui-li-static.ui-li-has-thumb {
    min-height: inherit;
    padding-left: inherit;
}

.ui-header-fixed,
.ui-footer-fixed {
    z-index: 400;
}

.ui-popup-screen {
    z-index: 499;
}

.ui-popup-container {
    z-index: 500;
}

label .ui-btn {
    margin-top: -3px;
}

input.error {
    border: 1px solid red;
}

label.error {
    display: none !important;
}

.scrolltainer {
    overflow: auto;
}

.ui-loading .ui-loader {
    background: none;
    border: none;
}

/* Tooltips */
.qtip {
    max-width: 600px !important;
}

.qtip .qtip-content {
    max-height: 500px;
    overflow: auto;
}

.tooltip {
    cursor: pointer;
}

#tipEditMessage {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 5px 10px;
    background-color: lawngreen;
}

#tipEditMessage.warning {
    background-color: red;
    font-weight: bold;
    color: white;
}

.qtip .qtip-title a.printit {
    float: right;
    cursor: pointer;
    background-image: url("../img/printer.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    width: 28px;
    height: 18px;
    opacity: 0.6;
}

.qtip .qtip-title a.printit:hover {
    opacity: 1;
}

#popupTooltipEdit {
    min-width: 800px;
    max-width: 1200px;
}

#popupTooltipEdit .ui-header .ui-title {
    margin: 0 10%;
}


/* Keyboard shortcut hint*/
.keyhint {
    font-weight: bold;
    background-color: white;
    margin-left: 5px;
    padding: 0 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 85%;
    display: none;
    color: #000;
    box-shadow: 1px 1px 3px #ddd;
    position: relative;
}

.ui-bar .ui-btn .keyhint {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 100;
}

.ui-header .ui-btn {
    overflow: visible;
}

.ui-header .ui-btn .keyhint {
    z-index: 100;
}

.ui-header .keyhint {
    position: absolute;
    top: -4px;
    right: -8px;
}

.ui-header .ui-btn-right .keyhint {
    left: -12px;
    right: auto;
}

.ui-btn {
    overflow: visible;
}

/* Transition fix */
/*.ui-page { -webkit-backface-visibility: hidden; }*/

/*
 * Text Editor
 *
 */
.froala-wrapper {
    background-color: #FFFFFF;
    border-color: #DDDDDD;
    border-radius: 0.3125em;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    color: #333333;
    line-height: 1.4em;
    margin: 0.5em 0;
    outline: 0 none;
    text-shadow: 0 1px 0 #F3F3F3;
    padding: 0.4em;
}

.froala-element.f-placeholder+span.fr-placeholder {
    padding: 0.4em !important;
}

.froala-editor button.fr-bttn,
.froala-editor button.fr-trigger {
    box-shadow: none;
}

.froala-wrapper.f-basic {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


/* ---------------------------------------------
 * Start->Login page
 * ---------------------------------------------
 */

#start_login {
    background: none;

}

/* Login popup */
#start_login #popupLogin.ui-corner-all {
    -webkit-border-radius: 3em;
    border-radius: 3em;
}

#start_login #popupLogin #sessionDialog {
    display: none;
}

#start_login #popupLogin #popupContent {
    padding: 50px 40px;
}

#start_login #popupLogin #popupContent h1 {
    font-weight: normal;
    font-weight: 300;
    margin: 40px 0 10px;
}

#start_login #popupLogin.ui-overlay-shadow {
    -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 0 40px rgba(0, 0, 0, .4);
    box-shadow: 0 0 40px rgba(0, 0, 0, .4);
}

#start_login #popupLogin #popupContent .ui-shadow-inset {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#start_login #popupLogin #popupContent .ui-input-text {
    border: none;
    border-radius: 0;
    margin: 6px 0 0;
    display: inline-block;
    text-shadow: none;
    font-size: 1.1em;
    width: 100%;
}

#start_login #popupLogin #popupContent .password .ui-input-text {
    width: 90%;
}


#start_login #popupLogin #popupContent .holder {
    border-bottom: 1px solid #ccc;
}

#start_login #popupLogin #popupContent .ui-input-text input {
    border: none;
    background: inherit;
    outline: none;
    font-weight: 300;
}

#start_login #popupLogin #popupContent #btnLogin {
    opacity: 0.3;
    float: right;
    margin-top: 10px;
}

#start_login #popupLogin #popupContent #login_error {
    margin-top: 10px;
    font-weight: 400;
    color: #d10a11;
    text-align: center;
    height: 20px;
}

#start_login #popupLogin #popupContent #logo {
    text-align: center;
}

#start_login #popupLogin #popupContent #logo img {
    width: 280px;
    padding: 0 33px;
}



/* ---------------------------------------------
 * Start->Main page (springboard)
 * ---------------------------------------------
 */

#start_main {
    background: none;
}

/* App version */
#start_main .appversion {
    position: absolute;
    bottom: 60px;
    right: 10px;
    color: white;
    text-shadow: none;
    font-size: 12px;
    text-align: right;
}

#start_main .appversion a {
    color: white;
    text-decoration: none;
}

/* A bit custom styling */
#springboard {
    margin-top: 90px;
}

#springboard li .ui-btn p {
    color: #c0c0c0;
    margin: 0;
    text-align: center;
}

#springboard li .ui-btn .ui-li-aside {
    color: #eee;
}

/* First breakpoint is 768px. 3 column layout. Tiles 250x250 pixels incl. margin at the breakpoint. */
@media (min-width: 768px) {

    #springboard li {
        float: left;
        width: 30.9333%;
        /* 33.3333% incl. 2 x 1.2% margin */
        height: 14.5em;
        /* 232p */
        margin: .5625em 1.2%;
    }

    #springboard li>.ui-btn {
        -webkit-box-sizing: border-box;
        /* include padding and border in height so we can set it to 100% */
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
        height: 100%;
        border-bottom-width: 1px;
    }

    #springboard li.ui-li-has-thumb .ui-li-thumb {
        height: auto;
        /* To keep aspect ratio. */
        max-width: 100%;
        max-height: none;
    }

    /* Make all list items and anchors inherit the border-radius from the UL. */
    #springboard li,
    #springboard li .ui-btn,
    #springboard .ui-li-thumb {
        -webkit-border-radius: 3em;
        border-radius: 3em;
        -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);

    }

    /* Hide the icon */
    #springboard .ui-btn-icon-right:after {
        display: none;
    }

    /* Make text wrap. */
    #springboard h2,
    #springboard p {
        white-space: normal;
        overflow: visible;
        position: absolute;
        left: 0;
        right: 0;
    }

    /* Text position */
    #springboard h2 {
        font-size: 1.25em;
        margin: 0;
        padding: .125em 1em;
        bottom: 50%;
    }

    #springboard p {
        font-size: 1em;
        margin: 0;
        padding: 0.5em 1.25em;
        bottom: 0;
    }

    /* Semi transparent background and different position if there is a thumb. The button has overflow hidden so we don't need to set border-radius. */
    .ui-listview .ui-li-has-thumb h2,
    .ui-listview .ui-li-has-thumb p {
        background: #111;
        background: rgba(0, 0, 0, .8);
    }

    .ui-listview .ui-li-has-thumb h2 {
        bottom: 35%;
    }

    /* ui-li-aside has class .ui-li-desc as well so we have to override some things. */
    #springboard .ui-li-aside {
        padding: 0.125em 1.8em 0.125em 1.2em;
        width: auto;
        min-height: 0;
        top: 0;
        left: auto;
        bottom: auto;
        /* Custom styling. */
        background: #990099;
        background: rgba(153, 0, 153, .85);
        -webkit-border-top-right-radius: inherit;
        border-top-right-radius: inherit;
        -webkit-border-bottom-left-radius: inherit;
        border-bottom-left-radius: inherit;
        -webkit-border-bottom-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    /* If you want to add shadow, don't kill the focus style. */
    #springboard li {
        -moz-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
        -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
    }

    /* Images mask the hover bg color so we give desktop users feedback by applying the focus style on hover as well. */
    #springboard li>.ui-btn:hover {
        -moz-box-shadow: 0px 0px 12px #33ccff;
        -webkit-box-shadow: 0px 0px 12px #33ccff;
        box-shadow: 0px 0px 12px #33ccff;
    }

    /* Animate focus and hover style, and resizing. */
    #springboard li,
    #springboard .ui-btn {
        -webkit-transition: all 500ms ease;
        -moz-transition: all 500ms ease;
        -o-transition: all 500ms ease;
        -ms-transition: all 500ms ease;
        transition: all 500ms ease;
    }
}

/* Second breakpoint is 1020px. 4 column layout. Tiles will be 250x250 pixels incl. margin again at the breakpoint. */
@media (min-width: 1020px) {

    /* Set a max-width for the last breakpoint to prevent too much stretching on large screens.
    By setting the max-width equal to the breakpoint width minus padding we keep square tiles. */
    #springboard {
        max-width: 62.5em;
        /* 1000px */
        margin: 90px auto;
    }

    /* Because of the 1000px max-width the width will always be 230px (and margin left/right 10px),
    but we stick to percentage values for demo purposes. */
    #springboard li {
        width: 23%;
        height: 230px;
        margin: .625em 1%;
    }
}

/* Third breakpoint is 1600px. 5 column layout. Tiles will be 250x250 pixels incl. margin again at the breakpoint. */
@media (min-width: 1600px) {

    /* Set a max-width for the last breakpoint to prevent too much stretching on large screens.
    By setting the max-width equal to the breakpoint width minus padding we keep square tiles. */
    #springboard {
        max-width: 1400px;
        margin: 90px auto;
    }

    /* Because of the 1400px max-width the width will always be 230px (and margin left/right 10px),
    but we stick to percentage values for demo purposes. */
    #springboard li {
        width: 17%;
        height: 230px;
        margin: .625em 1%;
    }
}

/* For this demo we used images with a size of 310x310 pixels. Just before the second breakpoint the images reach their max width: 1019px - 2 x 9px padding = 1001px x 30.9333% = ~310px */


/* ---------------------------------------------
 * Client->Department Edit page
 * ---------------------------------------------
 */

#client_departmentedit .ui-controlgroup-controls {
    max-height: 250px;
    overflow: auto;
}

/* ---------------------------------------------
 * Client->Company Edit page
 * ---------------------------------------------
 */
#client_companyedit .contacts {
    overflow: scroll;
    max-height: 403px;
}

#client_companyedit .contacts .dynamic {
    display: none;
}


/* ---------------------------------------------
 * Personality page
 * ---------------------------------------------
 */
#personality .tab-content {
    height: 100%;
}

#personality table,
#personality table td {
    vertical-align: middle;
    border-collapse: collapse;
}

#personality .vowelcons .title,
#personality .vowelcons .firstname,
#personality .vowelcons .lastname,
#personality .vowelcons .fullname,
#personality .specialnums {
    float: left;
    margin-right: 3%;
    display: inline-block !important;
}

#personality .vowelcons .scrolltainer,
#personality .vowelcons .sums {
    float: left;
}

#personality .vowelcons table tr.all td,
#team .vowelcons table tr.all td {
    font-size: 1.2em;
}

#personality table.types td.value,
#personality .vowelcons table td {
    border: 1px solid #cccccc;
    padding: 10px;
    text-transform: uppercase;
    text-align: center;
    height: 20px;
}

#personality .vowelcons table tr td.sum {
    background-color: transparent !important;
    text-align: right;
    border: none;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 1px;
}

#personality .vowelcons table tr td.sum span {
    color: red;
}

#personality .vowelcons .fullname table td,
#personality .vowelcons .fullname table tr.all td {
    background-color: transparent;
    border: none;
    font-size: inherit;
    font-weight: bold;
    color: #999999;
}

#personality .vowelcons .fullname table tr td.sum {
    font-weight: bold;
    font-size: 1.2em;
    color: inherit;
    letter-spacing: 1px;
    text-align: left;
}

#personality .vowelcons .scrolltainer {
    max-width: 500px;
}

#personality .specialnums table td,
#personality table.global td {
    padding: 10px;
    text-transform: uppercase;
    text-align: center;
    background-color: transparent;
    font-size: inherit;
    color: #999999;
}

#personality table.global td {
    padding: 5px 10px;
    text-transform: inherit;
    text-align: left;
}

#personality table td.divider {
    padding: 0;
}

#personality table.types td.value,
#personality table.clusters td.value {
    padding: 4px;
}

#personality table.trinity td,
#personality table.polarity td {
    padding: 6px;
}

#personality .specialnums table tr td.value,
#personality table.global td.value,
#personality table.global td.sum,
#personality table.global td span.value,
#personality table.global td span.total {
    font-weight: bold;
    font-size: 1.2em;
    color: inherit;
    letter-spacing: 1px;
    text-align: left;
}

#personality table.types td.value {
    font-size: inherit;
}

#personality table.global td.sum,
#personality .specialnums table tr td.value span,
#personality table.global td span.total {
    color: red;
}

/* Cluster highlighting */
#personality table.clusters td.top,
#personality table.clusters td.timeTop {
    text-decoration: underline;
    color: forestgreen;
    font-weight: bold;
}

#personality table.clusters.dateName td.flop,
#personality table.clusters.dateNameTime td.timeFlop {
    border-left: 1px solid red;
    border-right: 1px solid red;
}

#personality table.clusters.dateName tr.date td.flop,
#personality table.clusters.dateNameTime tr.date td.timeFlop {
    border-top: 1px solid red;
}

#personality table.clusters.dateName tr.total td.flop,
#personality table.clusters.dateNameTime tr.totalWithTime td.timeFlop {
    border-bottom: 1px solid red;
}

#personality table.clusters.dateName tr.time,
#personality table.clusters.dateName tr.totalWithTime {
    display: none;
}

#personality table.clusters.dateNameTime tr.time,
#personality table.clusters.dateNameTime tr.totalWithTime {
    display: table-row;
}

#personality table.clusters.dateName tr.total {
    display: table-row;
}

#personality table.clusters.dateNameTime tr.total {
    display: none;
}

#personality table.clusters td.value {
    font-weight: normal;
}

#personality table.clusters .total td.value,
#personality table.clusters .totalWithTime td.value {
    font-weight: bold;
}

#personality table.clusters td.value span {
    display: none;
}

/* // Cluster Highlighting */



#personality table tr.current {
    color: red;
}

#personality table.clusters td.value {
    text-align: center;
}

#personality table.keys td,
#personality table.potentials td.value {
    text-align: center;
    vertical-align: middle;
    border: 1px solid #cccccc;
}

#personality table.potentials.datetime {
    display: none;
}

#personality table.potentials tr.highscore td,
#personality table.potentials td.highscore {
    color: red;
}

#personality table.keys td.highlight {
    color: red !important;
}

#personality table.keys td.sum {
    color: inherit;
}

#personality .general .responsive-grid>.ui-block-a,
#personality .general .responsive-grid>.ui-block-b,
#personality .general .responsive-grid>.ui-block-c,
#personality .general .responsive-grid>.ui-block-d,
#personality .general .responsive-grid>.ui-block-e {
    min-height: 200px;
}

#personality .general .ui-grid-c>.ui-block-a,
#personality .general .ui-grid-c>.ui-block-b,
#personality .general .ui-grid-c>.ui-block-c,
#personality .general .ui-grid-c>.ui-block-d {
    width: calc(25% - 15px);
    margin-right: 15px;
    margin-top: 15px;
}

#personality .general .ui-grid-c>.ui-block-d {
    width: 25%;
    margin-right: 0;
}

#personality .general .ui-grid-c>.ui-block-f {
    width: calc(20% - 15px);
    float: left;
    margin-top: 15px;
    margin-right: 15px;
}

#personality .general .ui-grid-c>.ui-grid-c {
    width: 80%;
}

#personality .general .ui-grid-c .ui-grid-a>.ui-block-a {
    width: calc(60% - 15px);
    margin-right: 15px;
}

#personality .general .ui-grid-c .ui-grid-a>.ui-block-b {
    width: 40%;
}

#personality .h-flip {
    float: right;
}

#personality .h-flip .ui-flipswitch {
    margin: -0.7em 0 -0.5em;
}



/* MSB general */
#personality .msb .type-group,
#personality .msb .msb-wrapper {
    margin: 0 10% 25px;
}

#personality .msb .type-list table.types {
    width: auto;
}

#personality .msb .msb-list table tbody td,
#personality .msb .type-list table tbody td {
    text-align: center;
}

#personality .msb table thead th,
#personality .msb table tbody th .ui-table-cell-label,
#personality .msb table tbody td .ui-table-cell-label {
    text-transform: uppercase;
    font-size: .7em;
    font-weight: normal;
    text-align: center;
}

#personality .msb table tbody>th {
    font-size: 1.2em;
    background-color: #fff;
    color: #77bbff;
    text-align: center;
}

#personality .msb table tbody td.title {
    padding-left: .8em;
}

#personality .msb .msb-wrapper {
    display: none;
}

#personality .msb .msb-wrapper.type0 {
    display: block;
}

/* MSB list */
#personality .msb .msb-list table td {
    font-weight: bold;
}

#personality .msb .msb-list table td>span {
    display: block;
}

#personality .msb .msb-list table td span.timeCluster {
    display: none;
    border-bottom: 1px dashed blue;
    font-weight: normal;
    color: blue;
}

#personality .msb .msb-list table td span.static {
    color: forestgreen;
}

#personality .msb .msb-list table td span.dynamic {
    color: red;
}

#personality .msb .type-group table.types th,
#personality .msb .type-group table.types td {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.3);
}

#personality .msb .type-group table.types th.active,
#personality .msb .type-group table.types td.active {
    cursor: default;
    color: inherit;
}

#personality .msb .type-group .ui-grid-b>.ui-block-a,
#personality .msb .type-group .ui-grid-b>.ui-block-b,
#personality .msb .type-group .ui-grid-b>.ui-block-c {
    width: 30%;
    margin-right: 5%;
}

#personality .msb .type-group .ui-grid-b>.ui-block-c {
    margin-right: 0;
}

/* MSB illustrated */
#personality .msb .msb-illustrated {
    display: none;
}

#personality .msb .msb-illustrated .mind-wrap,
#personality .msb .msb-illustrated .body-wrap,
#personality .msb .msb-illustrated .sense-wrap {
    width: 37%;
    display: table-cell;
    text-align: center;
    position: relative;
    vertical-align: top;
}

#personality .msb .msb-illustrated .body-wrap {
    width: 26%;
}

#personality .msb .msb-illustrated .bgimg {
    height: 300px;
    padding: 50px;
}

#personality .msb .msb-illustrated .mind,
#personality .msb .msb-illustrated .body,
#personality .msb .msb-illustrated .sense {
    position: relative;
    background: white;
    display: inline-block;
}

#personality .msb .msb-illustrated div[class^="pos"] {
    display: block;
    width: 100px;
    /*height: 30px;*/
    position: absolute;
    margin-left: -50px;
    line-height: 14px;
    /*background: lightgray*/
}

#personality .msb .msb-illustrated div[class^="pos"]>span {
    display: block;
    font-weight: bold;
    font-size: 13px;
}

#personality .msb .msb-illustrated .green,
#personality .msb .msb-illustrated .red {
    min-height: 14px;
}

#personality .msb .msb-illustrated .mind .pos1 {
    top: 5%;
    left: 50%;
}

#personality .msb .msb-illustrated .mind .pos2 {
    top: 18%;
    left: 10%;
    text-align: right;
}

#personality .msb .msb-illustrated .mind .pos3 {
    top: 35%;
    left: 1%;
    text-align: right;
}

#personality .msb .msb-illustrated .mind .pos4 {
    top: 57%;
    left: 1%;
    text-align: right;
}

#personality .msb .msb-illustrated .mind .pos5 {
    top: 77%;
    left: 13%;
    text-align: right;
}

#personality .msb .msb-illustrated .mind .pos6 {
    top: 87%;
    left: 50%;
}

#personality .msb .msb-illustrated .mind .pos7 {
    top: 77%;
    left: 87%;
    text-align: left;
}

#personality .msb .msb-illustrated .mind .pos8 {
    top: 57%;
    left: 99%;
    text-align: left;
}

#personality .msb .msb-illustrated .mind .pos9 {
    top: 35%;
    left: 99%;
    text-align: left;
}

#personality .msb .msb-illustrated .mind .pos0 {
    top: 18%;
    left: 90%;
    text-align: left;
}

#personality .msb .msb-illustrated .body .pos1 {
    top: 14%;
    left: 87%;
    text-align: left;
}

#personality .msb .msb-illustrated .body .pos2 {
    top: 5%;
    left: 50%;
}

#personality .msb .msb-illustrated .body .pos3 {
    top: 14%;
    left: 14%;
    text-align: right;
}

#personality .msb .msb-illustrated .body .pos4 {
    top: 23%;
    left: 14%;
    text-align: right;
}

#personality .msb .msb-illustrated .body .pos5 {
    top: 35%;
    left: 14%;
    text-align: right;
}

#personality .msb .msb-illustrated .body .pos6 {
    top: 46%;
    left: 14%;
    text-align: right;
}

#personality .msb .msb-illustrated .body .pos7 {
    top: 82%;
    left: 50%;
}

#personality .msb .msb-illustrated .body .pos8 {
    top: 46%;
    left: 87%;
    text-align: left;
}

#personality .msb .msb-illustrated .body .pos9 {
    top: 35%;
    left: 87%;
    text-align: left;
}

#personality .msb .msb-illustrated .body .pos0 {
    top: 23%;
    left: 87%;
    text-align: left;
}


#personality .msb .msb-illustrated .sense .pos1 {
    top: 15%;
    left: 11%;
    text-align: right;
}

#personality .msb .msb-illustrated .sense .pos2 {
    top: 15%;
    left: 50%;
    background-color: transparent;
}

#personality .msb .msb-illustrated .sense .pos3 {
    top: 15%;
    left: 89%;
    text-align: left;
}

#personality .msb .msb-illustrated .sense .pos4 {
    top: 40.5%;
    left: 11%;
    text-align: right;
    background-color: transparent;
}

#personality .msb .msb-illustrated .sense .pos5 {
    top: 40.5%;
    left: 50%;
    z-index: 10;
    background-color: transparent;
}

#personality .msb .msb-illustrated .sense .pos6 {
    top: 40.5%;
    left: 89%;
    text-align: left;
    background-color: transparent;
}

#personality .msb .msb-illustrated .sense .pos7 {
    top: 66%;
    left: 11%;
    text-align: right;
}

#personality .msb .msb-illustrated .sense .pos8 {
    top: 66%;
    left: 50%;
    background-color: transparent;
}

#personality .msb .msb-illustrated .sense .pos9 {
    top: 66%;
    left: 89%;
    text-align: left;
}

#personality .msb .msb-illustrated .sense .pos0 {
    top: 78%;
    left: 11%;
    text-align: right;
}

#personality .msb .msb-illustrated .timeCluster {
    display: none;
}

#personality .msb .msb-illustrated img.overlay {
    position: absolute;
    left: 0;
    margin-left: 50px;
    height: 300px;
    top: 50px;
    display: none;
}

#personality .msb .msb-illustrated table.clustermap {
    margin: 0 auto;
    width: 70%;
    border: 1px solid #ddd;
}

#personality .msb .msb-illustrated .sense-wrap table.clustermap {
    width: 35%;
}

#personality .msb .msb-illustrated table.clustermap thead th {
    background-color: #e9e9e9;
    cursor: pointer;
}

#personality .msb .msb-illustrated table.clustermap tbody td {
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
}

#personality .msb .msb-illustrated table.clustermap tbody td>span {
    color: #999999;
}

#personality .msb .msb-illustrated table.clustermap tbody td>span.active {
    font-weight: bold;
    color: black;
}

#personality .msb .msb-illustrated table.clustermap td>span.timeCluster {
    display: none;
    border-bottom: 1px dashed blue;
    font-weight: normal;
    color: blue;
}

@media (min-width: 1921px) {
    #personality .msb .msb-illustrated .bgimg {
        height: 400px;
        padding: 70px;
    }

    #personality .msb .msb-illustrated img.overlay {
        height: 400px;
        margin-left: 70px;
        top: 70px;
    }

    #personality .msb .msb-illustrated div[class^="pos"] {
        line-height: 16px;
    }

    #personality .msb .msb-illustrated div[class^="pos"]>span {
        font-size: 15px;
    }
}

@media (max-width: 1365px) {
    #personality .msb .msb-illustrated .bgimg {
        height: 220px;
        padding: 40px;
    }

    #personality .msb .msb-illustrated img.overlay {
        height: 220px;
        margin-left: 40px;
        top: 40px;
    }

    #personality .msb .msb-illustrated div[class^="pos"] {
        line-height: 12px;
    }

    #personality .msb .msb-illustrated div[class^="pos"]>span {
        font-size: 12px;
    }

    #personality .msb .msb-illustrated .mind-wrap table.clustermap {
        width: 90%;
    }

    #personality .msb .msb-illustrated .sense-wrap table.clustermap {
        width: 50%;
    }
}

@media (max-width: 1023px) {

    #personality .msb .msb-illustrated .mind-wrap,
    #personality .msb .msb-illustrated .body-wrap,
    #personality .msb .msb-illustrated .sense-wrap {
        display: block;
        margin: 0 auto;
        width: auto;
    }

    #personality .msb .msb-illustrated .bgimg {
        height: 350px;
        padding: 70px;
    }

    #personality .msb .msb-illustrated img.overlay {
        height: 350px;
        margin-left: 70px;
        top: 70px;
    }

    #personality .msb .msb-illustrated div[class^="pos"] {
        line-height: 16px;
    }

    #personality .msb .msb-illustrated div[class^="pos"]>span {
        font-size: 15px;
    }
}


/* Pyramid */
#personality .pyramid,
#personality .pyramid .fields,
#personality .pyramid .wrapper {
    height: 100%;
}

#personality .pyramid {
    position: relative;
}

#personality .pyramid .fields {
    width: 95%;
    position: relative;
}

#personality .pyramid .prognosis,
#personality .pyramid .term {
    display: none;
}

#personality .pyramid .fields .field {
    text-align: center;
    float: left;
    overflow: hidden;
    display: block;
    z-index: 200;
    position: relative;
}

#personality .pyramid .fields .namefield {
    text-transform: uppercase;
    color: #cccccc;
}


#personality .pyramid .fields .ageLine {
    position: absolute;
    z-index: 0;
    display: none;
    border-right: 2px dashed rgba(155, 155, 155, 0.7);
}

#personality .pyramid .ageInfo {
    display: none;
    position: absolute;
    z-index: 300;
    padding: 10px;
    line-height: 0;
}


#personality .pyramid .fields .field.agehover {
    background: rgba(155, 155, 155, 0.12);
    -webkit-transition: background 0.25s;
    -moz-transition: background 0.25s;
    -o-transition: background 0.25s;
    transition: background 0.25s;
}

#personality .pyramid .fields .clustermember.highlight-cm {
    background-color: lightblue;
}

#personality .pyramid .fields .clustermember.interactive {
    background-color: #eee;
}

#personality .pyramid .fields .clustermember.interactive.clusterhover {
    background-color: lightblue;
}

#personality .pyramid .fields .numberpeak.highlight-np {
    background-color: orangered !important;
}

#personality .pyramid .fields .numberpeak.highlight-np.inverted-np {
    background-color: dodgerblue !important;
}

#personality .pyramid .fields .custompeak.highlight-cp {
    background-color: darkblue !important;
    color: white;
}

#personality .pyramid .fields .custompeak.highlight-cp.inverted-cp {
    background-color: darkmagenta !important;
}

#personality .pyramid .categories .grid,
#personality .pyramid .categories .block {
    height: 100%;
}

#personality #popupCategoryAdminMenu #categoryAddItemList {
    height: auto !important;
}

#personality table.categories td {
    border: 1px solid gray;
    padding: 5px 10px;
    color: black !important;
}

#personality table.categories td.value {
    width: 60px;
    text-align: center;
    padding: 2px 10px;
    font-weight: bold;
}

#personality span.timecategory {
    color: blue;
    border-bottom: 1px dotted blue;
}

#personality table.categories td.highscore {
    color: red !important;
    font-weight: bold;
}

#personality table.nameAnalysis {
    width: 90%;
    margin: auto;
}

#personality table.nameAnalysis th,
#personality table.nameAnalysis td.me,
#personality table.nameAnalysis td.you,
#personality table.nameAnalysis td.we {
    font-size: 24px;
}

#personality table.nameAnalysis .mind {
    background-color: #ccccff;
}

#personality table.nameAnalysis .sense {
    background-color: #ffcccc;
}

#personality table.nameAnalysis .practical {
    background-color: #ccffcc;
}

#personality table.nameAnalysis .w30percent {
    width: 30%;
}

#personality table.nameAnalysis .w10percent {
    width: 10%;
}

#personality table.nameAnalysis .w5percent {
    width: 5%;
}

#personality table.nameAnalysis .h75 {
    height: 75px;
}

#personality table.nameAnalysis .border-top {
    border-top: 1px solid #f26d0a;
}

#personality table.nameAnalysis .border-left {
    border-left: 1px solid #f26d0a;
}

#personality table.nameAnalysis .border-right {
    border-right: 1px solid #f26d0a;
}

#personality table.nameAnalysis .border-bottom {
    border-bottom: 1px solid #f26d0a;
}

#personality table.nameAnalysis .border-bottom-bold {
    border-bottom: 3px solid #f26d0a;
}

#personality table.nameAnalysis .text-center {
    text-align: center;
}

#personality table.nameAnalysis td.me,
#personality table.nameAnalysis td.you,
#personality table.nameAnalysis td.we {
    font-weight: bold;
    padding: 10px;
    0;
}

#personality table.nameAnalysis td.me {
    color: #262699;
}

#personality table.nameAnalysis td.you {
    color: #c00000;
}

#personality table.nameAnalysis td.we {
    color: #046211;
}

#personality table.nameAnalysis .spacer {
    height: 5px;
}

#personality table.nameAnalysis .baseNumbers,
#personality table.nameAnalysis .letters {
    font-size: 30px;
    font-weight: bold;
}

/* ---------------------------------------------
 * Team company select popup page
 * ---------------------------------------------
 */
#team_select #popupLoadSelection ul {
    max-height: 400px;
    overflow: auto;
}

#team_select #popupLoadSelection-popup .confirmOverlay {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    height: 100%;
    width: 99.6%;
    z-index: 10;
    border-radius: inherit;
    display: none;
    text-align: center;
    border: 1px solid rgb(221, 221, 221);
}


/* ---------------------------------------------
 * Team analyze page
 * ---------------------------------------------
 */
#team #teamIndividualSelectPopup .individualSelectList .filtered {
    display: none;
}

#team #addAllIndividualsConfirm {
    display: none;
}

#team .row {
    white-space: nowrap;
    overflow: auto;
    height: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

#team .row>div {
    display: inline-block;
    vertical-align: top;
}

#team .team-comparison .comparisonDetail div.divider,
#team .row>div.divider {
    width: 0;
    height: 90%;
    border-left: 7px solid #eee;
    bottom: 0;
    position: absolute;
    margin: 0 20px;
}

#team .hideScrollbars {
    overflow: hidden !important;
}

#team .team-comparison .comparisonDetail table td.noborder,
#team .team-comparison .comparisonDetail table th.noborder,
#team .row table td.noborder,
#team .row table th.noborder {
    border: none;
}

#team .companyRow {
    margin-bottom: 10px;
}

#team .individualRows {
    overflow-y: auto;
    /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

#team .reduced {
    display: none;
}

#team .firstnameParts,
#team .lastnameParts,
#team .titleParts {
    width: 360px;
    overflow: auto;
    border: 1px solid #ddd;
    margin-right: 5px;
    -webkit-overflow-scrolling: touch;
}

#team table.sum {
    margin-right: 20px;
    font-weight: bold;
}

#team .team-comparison .comparisonDetail table,
#team .row table {
    text-align: center;
    table-layout: fixed;
    border-collapse: collapse;
}

#team .team-comparison .comparisonDetail table th,
#team .team-comparison .comparisonDetail table td,
#team .row table th,
#team .row table td {
    border: 1px solid #ddd;
    width: 29px;
    height: 29px;
    min-width: 29px;
    min-height: 29px;
}

#team table.sum th,
#team table.sum td,
#team .clusters table th,
#team .clusters table td.value {
    border: none;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
}

#team .firstnameParts th,
#team .lastnameParts th,
#team .titleParts th,
#team table.sum th {
    text-transform: uppercase;
    font-size: 1em;
}

#team .clusters table tr.total td.value,
#team .clusters table tr.totalWithTime td.value {
    font-weight: bold;
}

#team .firstnameParts td,
#team .lastnameParts td,
#team .titleParts td,
#team table.sum td {
    font-size: 0.8em;
}

#team .clusters table td.value {
    font-size: 1em;
}

#team .team-comparison .comparisonDetail table .small,
#team .row table .small {
    font-size: 0.6em;
    font-weight: normal;
}

#team .firstnameParts tr.all td,
#team .lastnameParts tr.all td,
#team .titleParts tr.all td,
#team table.sum tr.all td {
    color: red;
}

#team table.noOutline tr th:first-child,
#team table.noOutline tr td:first-child {
    border-left: 0;
    padding-left: 1px;
}

#team table.noOutline tr th:last-child,
#team table.noOutline tr td:last-child {
    border-right: 0;
}

#team table.noOutline tr:first-child th {
    border-top: 0;
    padding-top: 1px;
}

#team table.noOutline tr:last-child td {
    border-bottom: 0;
}

#team .firstnameParts tr.all td,
#team .lastnameParts tr.all td,
#team .titleParts tr.all td {
    border-bottom: 0;
}

#team table.sum tr.all td {
    font-weight: bold;
}

#team table.sum td {
    text-align: left;
}

#team .firstnameSums,
#team .lastnameSums,
#team .fullSums {
    width: 80px;
}

#team .firstnameSums th,
#team .lastnameSums th {
    text-align: left;
}


#team .clusters {
    margin-left: 40px;
    margin-right: 10px;
}

#team .clusters table th,
#team .clusters table td {
    border: none !important;
}

#team .clusters table td.top,
#team .clusters table td.timeTop {
    color: red;
    background-color: yellow;
    font-weight: bold;
}

#team .clusters table.timeEnabled td.flop {
    color: inherit;
    background-color: inherit;
}

#team .clusters table td.flop,
#team .clusters table.timeEnabled td.timeFlop {
    background-color: red;
    color: white;
}

#team .clusters table tr.datetime,
#team .clusters table tr.totalWithTime {
    display: none;
}

#team .lifeStages {
    margin-left: 40px;
    margin-right: 10px;
    width: 255px;
}

#team .lifeStagesMisc {
    width: 102px;
}

#team .potential {
    width: 244px;
}

#team .lifeStages table th,
#team .lifeStages table td,
#team .lifeStagesMisc table th,
#team .lifeStagesMisc table td,
#team .potential table th,
#team .potential table td {
    width: 50px;
}

#team .lifeStages table tr td.current {
    font-weight: bold;
}

#team .lifeStages table tr.reduced td.task,
#team .lifeStages table tr.tasks td.current {
    background-color: yellow;
}

#team .lifeStages table tr.reduced td.challenge,
#team .lifeStages table tr.challenges td.current {
    background-color: red;
    color: white;
}

#team .lifeStages table tr th.century {
    font-weight: normal;
    color: #999;
}

#team .potential {
    margin-left: 50px;
    margin-right: 10px;
}

#team .potential tr.highscore th,
#team .potential tr.highscore td,
#team .potential th.highscore,
#team .potential td.highscore {
    color: red;
    font-weight: bold;
}

#team .potential .datetime {
    display: none;
}

#teamIndividualSelectPopup {
    width: 600px;
}

#teamIndividualSelectPanel .ui-panel-inner {
    overflow: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    -webkit-overflow-scrolling: touch;
}

#team .row .buttonBarLeft {
    height: 122px;
    margin-right: 12px;
    text-align: center;
    width: 9px;
}

#team .row .buttonBarLeft .expandButton {
    color: #ccc;
    line-height: 20px;
    margin-top: 30px;
    text-align: left;
    font-size: 10px;
}

#team .row .buttonBarLeft .buttons {
    display: none;
    text-align: center;
}

#team .row .buttonBarLeft .buttons>div {
    font-size: 1.7em;
    height: 41px;
    line-height: 40px;
}

#team .row .titlePopup {
    height: 123px;
    position: absolute;
    top: 0;
    left: 55px;
    padding: 6px;
    background: white;
    white-space: nowrap;
    display: none;
    z-index: 10;
}

#team .row .titleParts {
    width: auto;
    overflow: hidden;
    display: inline-block;
}

#team .row .titleSums {
    width: auto;
    display: inline-block;
}

#team .pyramidPreviewPopup {
    background: white;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 70px;
    display: none;
}

#team .pyramidComparison {
    background: transparent;
    display: block;
    position: relative;
    width: 100%;
    max-height: 800px;
    height: 65%;
}

#team .pyramidComparison .wrapper {
    height: 100%;
}

#team .pyramidComparison .wrapper .fields .field,
#team .pyramidPreviewPopup .wrapper .fields .field {
    text-align: center;
    overflow: hidden;
    display: block;
    float: left;
    z-index: 200;
    min-height: 1px;
}

#team .pyramidComparison .wrapper .fields .namefield,
#team .pyramidPreviewPopup .wrapper .fields .namefield {
    text-transform: uppercase;
    color: #cccccc;
}

#team .pyramidComparison .wrapper .fields .clustermember.highlight-cm,
#team .pyramidPreviewPopup .wrapper .fields .clustermember.highlight-cm {
    background-color: lightblue;
}

#team .pyramidComparison .wrapper .fields .numberpeak,
#team .pyramidPreviewPopup .wrapper .fields .numberpeak {
    background-color: orangered !important;
}

#team .pyramidComparison .wrapper .fields .numberpeak.inverted-np,
#team .pyramidPreviewPopup .wrapper .fields .numberpeak.inverted-np {
    background-color: dodgerblue !important;
}

#team .pyramidComparison .wrapper .fields .ageLine,
#team .pyramidPreviewPopup .wrapper .fields .ageLine {
    position: absolute;
    z-index: 0;
    display: none;
    border-right: 2px dashed rgba(155, 155, 155, 0.7);
}

#team .pyramidComparison .fields .custompeak.highlight-cp {
    background-color: darkblue !important;
    color: white;
}

#team .pyramidComparison .fields .custompeak.highlight-cp.inverted-cp {
    background-color: darkmagenta !important;
}

#team .pyramidPreviewPopup .expandButton {
    position: absolute;
    right: 10px;
    bottom: 0px;
    width: 60px;
    height: 60px;
    padding-top: 20px;
    padding-left: 20px;
}

#team .pyramidPreviewPopup .expandButton img {
    width: 40px;
}

#team .competence-list #stickyHeaderWrapper {
    overflow: auto;
}

#teamSavePopup {
    min-width: 400px;
}

#team #savenames {
    max-height: 400px;
    overflow: auto;
}


/* Comparison page */

#team #teamIndividualSelectPopup .individualSelectList .ui-checkbox.hide-box label {
    padding-left: 0.7em;
}

#team #teamIndividualSelectPopup .individualSelectList .ui-checkbox.hide-box label:after {
    display: none;
}


#team .team-comparison {
    height: 100%;
}

#team .team-comparison .ui-grid-a {
    overflow: auto;
    height: 100%;
}

#team .team-comparison .ui-grid-a .ui-block-a,
#team .team-comparison .ui-grid-a .ui-block-b {
    height: 100%;
}

#team .team-comparison .ui-grid-a .ui-block-a {
    padding-right: 7px;
}

#team .team-comparison .ui-grid-a .ui-block-b {
    padding-left: 7px;
}

#team .team-comparison .comparisonDetail {
    overflow: auto;
    display: none;
    margin-top: 20px;
}

#team .team-comparison .comparisonDetail .wrapper {
    text-align: center;
    min-width: 800px;
}

#team .team-comparison .comparisonDetail .wrapper>div {
    display: inline-block;
    vertical-align: top;
}

#team .team-comparison table {
    text-align: center;
    table-layout: fixed;
    border-collapse: collapse;
}

#team .team-comparison .namesums table td {
    min-width: 42px;
}

#team .team-comparison .keys {
    margin-left: 40px;
    margin-right: 10px;
}

#team .team-comparison .keys table {
    vertical-align: middle;
    border-collapse: collapse;
}

#team .team-comparison .keys table td {
    font-size: 13px;
    color: #666;
}

#team .team-comparison .keys .sum {
    font-weight: bold;
    font-size: 16px;
    color: black;
}

#team .team-comparison .keys .sum.keymatch {
    color: white;
    background-color: red;
}

#team .team-comparison .clusters {
    display: inline-block;
    vertical-align: top;
}

#team .team-comparison .comparisonDetail table th,
#team .team-comparison .comparisonDetail table td {}

/* -- Comparison page */



/ #team_select #popupLoadSelection ul {
    max-height: 400px;
    overflow: auto;
}

#team_select #popupLoadSelection-popup .confirmOverlay {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    height: 100%;
    width: 99.6%;
    z-index: 10;
    border-radius: inherit;
    display: none;
    text-align: center;
    border: 1px solid rgb(221, 221, 221);
}


.company-comparison #teamIndividualSelectPopup .individualSelectList .filtered {
    display: none;
}

.company-comparison #addAllIndividualsConfirm {
    display: none;
}

.company-comparison .row {
    white-space: nowrap;
    overflow: auto;
    height: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.company-comparison .row>div {
    display: inline-block;
    vertical-align: top;
}

.company-comparison .comparisonDetail div.divider,
.company-comparison .row>div.divider {
    width: 0;
    height: 90%;
    border-left: 7px solid #eee;
    bottom: 0;
    position: absolute;
    margin: 0 20px;
}

.company-comparison .hideScrollbars {
    overflow: hidden !important;
}

.company-comparison .comparisonDetail table td.noborder,
.company-comparison .comparisonDetail table th.noborder,
.company-comparison .row table td.noborder,
.company-comparison .row table th.noborder {
    border: none;
}

.company-comparison .companyRow {
    margin-bottom: 10px;
}

.company-comparison .individualRows {
    overflow-y: auto;
    /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

.company-comparison .reduced {
    display: none;
}

.company-comparison .firstnameParts,
.company-comparison .lastnameParts,
.company-comparison .titleParts {
    width: 360px;
    overflow: auto;
    border: 1px solid #ddd;
    margin-right: 5px;
    -webkit-overflow-scrolling: touch;
}

.company-comparison table.sum {
    margin-right: 20px;
    font-weight: bold;
}

.company-comparison .comparisonDetail table,
.company-comparison .row table {
    text-align: center;
    table-layout: fixed;
    border-collapse: collapse;
}

.company-comparison .comparisonDetail table th,
.company-comparison .comparisonDetail table td,
.company-comparison .row table th,
.company-comparison .row table td {
    border: 1px solid #ddd;
    width: 29px;
    height: 29px;
    min-width: 29px;
    min-height: 29px;
}

.company-comparison table.sum th,
.company-comparison table.sum td,
.company-comparison .clusters table th,
.company-comparison .clusters table td.value {
    border: none;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
}

.company-comparison .firstnameParts th,
.company-comparison .lastnameParts th,
.company-comparison .titleParts th,
.company-comparison table.sum th {
    text-transform: uppercase;
    font-size: 1em;
}

.company-comparison .clusters table tr.total td.value,
.company-comparison .clusters table tr.totalWithTime td.value {
    font-weight: bold;
}

.company-comparison .firstnameParts td,
.company-comparison .lastnameParts td,
.company-comparison .titleParts td,
.company-comparison table.sum td {
    font-size: 0.8em;
}

.company-comparison .clusters table td.value {
    font-size: 1em;
}

.company-comparison .comparisonDetail table .small,
.company-comparison .row table .small {
    font-size: 0.6em;
    font-weight: normal;
}

.company-comparison .firstnameParts tr.all td,
.company-comparison .lastnameParts tr.all td,
.company-comparison .titleParts tr.all td,
.company-comparison table.sum tr.all td {
    color: red;
}

.company-comparison table.noOutline tr th:first-child,
.company-comparison table.noOutline tr td:first-child {
    border-left: 0;
    padding-left: 1px;
}

.company-comparison table.noOutline tr th:last-child,
.company-comparison table.noOutline tr td:last-child {
    border-right: 0;
}

.company-comparison table.noOutline tr:first-child th {
    border-top: 0;
    padding-top: 1px;
}

.company-comparison table.noOutline tr:last-child td {
    border-bottom: 0;
}

.company-comparison .firstnameParts tr.all td,
.company-comparison .lastnameParts tr.all td,
.company-comparison .titleParts tr.all td {
    border-bottom: 0;
}

.company-comparison table.sum tr.all td {
    font-weight: bold;
}

.company-comparison table.sum td {
    text-align: left;
}

.company-comparison .firstnameSums,
.company-comparison .lastnameSums,
.company-comparison .fullSums {
    width: 80px;
}

.company-comparison .firstnameSums th,
.company-comparison .lastnameSums th {
    text-align: left;
}


.company-comparison .clusters {
    margin-left: 40px;
    margin-right: 10px;
}

.company-comparison .clusters table th,
.company-comparison .clusters table td {
    border: none !important;
}

.company-comparison .clusters table td.top,
.company-comparison .clusters table td.timeTop {
    color: red;
    background-color: yellow;
    font-weight: bold;
}

.company-comparison .clusters table.timeEnabled td.flop {
    color: inherit;
    background-color: inherit;
}

.company-comparison .clusters table td.flop,
.company-comparison .clusters table.timeEnabled td.timeFlop {
    background-color: red;
    color: white;
}

.company-comparison .clusters table tr.datetime,
.company-comparison .clusters table tr.totalWithTime {
    display: none;
}

.company-comparison .lifeStages {
    margin-left: 40px;
    margin-right: 10px;
    width: 255px;
}

.company-comparison .lifeStagesMisc {
    width: 102px;
}

.company-comparison .potential {
    width: 244px;
}

.company-comparison .lifeStages table th,
.company-comparison .lifeStages table td,
.company-comparison .lifeStagesMisc table th,
.company-comparison .lifeStagesMisc table td,
.company-comparison .potential table th,
.company-comparison .potential table td {
    width: 50px;
}

.company-comparison .lifeStages table tr td.current {
    font-weight: bold;
}

.company-comparison .lifeStages table tr.reduced td.task,
.company-comparison .lifeStages table tr.tasks td.current {
    background-color: yellow;
}

.company-comparison .lifeStages table tr.reduced td.challenge,
.company-comparison .lifeStages table tr.challenges td.current {
    background-color: red;
    color: white;
}

.company-comparison .lifeStages table tr th.century {
    font-weight: normal;
    color: #999;
}

.company-comparison .potential {
    margin-left: 50px;
    margin-right: 10px;
}

.company-comparison .potential tr.highscore th,
.company-comparison .potential tr.highscore td,
.company-comparison .potential th.highscore,
.company-comparison .potential td.highscore {
    color: red;
    font-weight: bold;
}

.company-comparison .potential .datetime {
    display: none;
}

#teamIndividualSelectPopup {
    width: 600px;
}

#teamIndividualSelectPanel .ui-panel-inner {
    overflow: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    -webkit-overflow-scrolling: touch;
}

.company-comparison .row .buttonBarLeft {
    height: 122px;
    margin-right: 12px;
    text-align: center;
    width: 9px;
}

.company-comparison .row .buttonBarLeft .expandButton {
    color: #ccc;
    line-height: 20px;
    margin-top: 30px;
    text-align: left;
    font-size: 10px;
}

.company-comparison .row .buttonBarLeft .buttons {
    display: none;
    text-align: center;
}

.company-comparison .row .buttonBarLeft .buttons>div {
    font-size: 1.7em;
    height: 41px;
    line-height: 40px;
}

.company-comparison .row .titlePopup {
    height: 123px;
    position: absolute;
    top: 0;
    left: 55px;
    padding: 6px;
    background: white;
    white-space: nowrap;
    display: none;
    z-index: 10;
}

.company-comparison .row .titleParts {
    width: auto;
    overflow: hidden;
    display: inline-block;
}

.company-comparison .row .titleSums {
    width: auto;
    display: inline-block;
}

.company-comparison .pyramidPreviewPopup {
    background: white;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 70px;
    display: none;
}

.company-comparison .pyramidComparison {
    background: transparent;
    display: block;
    position: relative;
    width: 100%;
    max-height: 800px;
    height: 65%;
}

.company-comparison .pyramidComparison .wrapper {
    height: 100%;
}

.company-comparison .pyramidComparison .wrapper .fields .field,
.company-comparison .pyramidPreviewPopup .wrapper .fields .field {
    text-align: center;
    overflow: hidden;
    display: block;
    float: left;
    z-index: 200;
    min-height: 1px;
}

.company-comparison .pyramidComparison .wrapper .fields .namefield,
.company-comparison .pyramidPreviewPopup .wrapper .fields .namefield {
    text-transform: uppercase;
    color: #cccccc;
}

.company-comparison .pyramidComparison .wrapper .fields .clustermember.highlight-cm,
.company-comparison .pyramidPreviewPopup .wrapper .fields .clustermember.highlight-cm {
    background-color: lightblue;
}

.company-comparison .pyramidComparison .wrapper .fields .numberpeak,
.company-comparison .pyramidPreviewPopup .wrapper .fields .numberpeak {
    background-color: orangered !important;
}

.company-comparison .pyramidComparison .wrapper .fields .numberpeak.inverted-np,
.company-comparison .pyramidPreviewPopup .wrapper .fields .numberpeak.inverted-np {
    background-color: dodgerblue !important;
}

.company-comparison .pyramidComparison .wrapper .fields .ageLine,
.company-comparison .pyramidPreviewPopup .wrapper .fields .ageLine {
    position: absolute;
    z-index: 0;
    display: none;
    border-right: 2px dashed rgba(155, 155, 155, 0.7);
}

.company-comparison .pyramidComparison .fields .custompeak.highlight-cp {
    background-color: darkblue !important;
    color: white;
}

.company-comparison .pyramidComparison .fields .custompeak.highlight-cp.inverted-cp {
    background-color: darkmagenta !important;
}

.company-comparison .pyramidPreviewPopup .expandButton {
    position: absolute;
    right: 10px;
    bottom: 0px;
    width: 60px;
    height: 60px;
    padding-top: 20px;
    padding-left: 20px;
}

.company-comparison .pyramidPreviewPopup .expandButton img {
    width: 40px;
}

.company-comparison .competence-list #stickyHeaderWrapper {
    overflow: auto;
}

#teamSavePopup {
    min-width: 400px;
}

.company-comparison #savenames {
    max-height: 400px;
    overflow: auto;
}


/* Comparison page */

.company-comparison #teamIndividualSelectPopup .individualSelectList .ui-checkbox.hide-box label {
    padding-left: 0.7em;
}

.company-comparison #teamIndividualSelectPopup .individualSelectList .ui-checkbox.hide-box label:after {
    display: none;
}


.company-comparison {
    height: 100%;
}

.company-comparison .ui-grid-a {
    overflow: auto;
    height: 100%;
}

.company-comparison .ui-grid-a .ui-block-a,
.company-comparison .ui-grid-a .ui-block-b {
    height: 100%;
}

.company-comparison .ui-grid-a .ui-block-a {
    padding-right: 7px;
}

.company-comparison .ui-grid-a .ui-block-b {
    padding-left: 7px;
}

.company-comparison .comparisonDetail {
    overflow: auto;
    display: none;
    margin-top: 20px;
}

.company-comparison .comparisonDetail .wrapper {
    text-align: center;
    min-width: 800px;
}

.company-comparison .comparisonDetail .wrapper>div {
    display: inline-block;
    vertical-align: top;
}

.company-comparison table {
    text-align: center;
    table-layout: fixed;
    border-collapse: collapse;
}

.company-comparison .namesums table td {
    min-width: 42px;
}

.company-comparison .keys {
    margin-left: 40px;
    margin-right: 10px;
}

.company-comparison .keys table {
    vertical-align: middle;
    border-collapse: collapse;
}

.company-comparison .keys table td {
    font-size: 13px;
    color: #666;
}

.company-comparison .keys .sum {
    font-weight: bold;
    font-size: 16px;
    color: black;
}

.company-comparison .keys .sum.keymatch {
    color: white;
    background-color: red;
}

.company-comparison .clusters {
    display: inline-block;
    vertical-align: top;
}

.company-comparison .comparisonDetail table th,
.company-comparison .comparisonDetail table td {}