
#teamchart-div.lightbox-flat * {
    padding: 0;
    margin: 0;
}

#teamchart-div.lightbox-flat {
    padding: 19px;
}

#teamchart-div.lightbox-flat .person {
    position: relative;
    z-index: 1;
    cursor: pointer;
    width: 100%;
    max-width: 180px;
    display: block;
    background: #ffffff;
    margin: 0 auto;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-shadow: 1px 2px 2px 1px #d9d9d9;
    -webkit-box-shadow: 1px 2px 2px 1px #d9d9d9;
    -o-box-shadow: 1px 2px 2px 1px #d9d9d9;
    box-shadow: 1px 2px 2px 1px #d9d9d9;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#d9d9d9, Direction=153, Strength=2);
}

#teamchart-div.lightbox-flat .person:hover {
    -moz-box-shadow: 1px 2px 2px 1px #BBBBBB;
    -webkit-box-shadow: 1px 2px 2px 1px #BBBBBB;
    -o-box-shadow: 1px 2px 2px 1px #BBBBBB;
    box-shadow: 1px 2px 2px 1px #BBBBBB;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#BBBBBB, Direction=153, Strength=2);
}

#teamchart-div.lightbox-flat .person .image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#teamchart-div.lightbox-flat .person .image img {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    ms-backface-visibility: hidden;
    border-radius: 0px;
    box-shadow: none;
    width: 100%;
}

#teamchart-div.lightbox-flat .person .name {
    color: #3f4955;
    font-weight: bold;
    display: table;
    height: 49px;
    width: 100%;
}

#teamchart-div.lightbox-flat .person .name p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#teamchart-div.lightbox-flat .person .Job {
    color: #BBBBBB;
    font-weight: 300;
    font-size: 12px;
    word-wrap: break-word;
    text-align: center;
    height: auto;
    padding: 0 8px;
    overflow: hidden;
}

#teamchart-div.lightbox-flat ul {
    padding-top: 20px;
    position: relative;
    text-align: center;

}

#teamchart-div.lightbox-flat ul#first {
    padding-top: 0px;
}

#teamchart-div.lightbox-flat li:only-child {
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

#teamchart-div.lightbox-flat li {
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 1%;
    vertical-align: top;
    display: inline-block;
    word-wrap: normal;
}

/*
Line connector parents
*/

#teamchart-div.lightbox-flat li.parents > div.person::before,
#teamchart-div.lightbox-flat li.parents > div.person::after {
    display: none;
}

#teamchart-div.lightbox-flat li.parents::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    width: 50%;
    z-index: 0;
    border-top: 3px solid #eceff4;
    border-left: 0;
    border-right: 0;
    height: 20px;
}

#teamchart-div.lightbox-flat li.parents::after {
    content: '';
    position: absolute;
    top: 100px;
    right: 0;
    width: 50%;
    z-index: 0;
    border-top: 3px solid #eceff4;
    border-left: 0;
    border-right: 0;
    height: 20px;
}

#teamchart-div.lightbox-flat.framemode li.parents:first-child::before {
    border-top: none;
    z-index: 1;
    width: 50%;
    left: -23%;
}

#teamchart-div.lightbox-flat.framemode li.parents:last-child::after {
    border-top: none;
    z-index: 0;
    width: 50%;
    right: -43%;
}

#teamchart-div.lightbox-flat li.parents:first-child::before {
    border-top: none;
    z-index: 1;
    width: 50%;
    left: -23%;
}

#teamchart-div.lightbox-flat li.parents:last-child::after {
    border-top: none;
    z-index: 0;
    width: 50%;
    right: -43%;
}

#teamchart-div.lightbox-flat li.parents > div.person {
    position: relative;
}

#teamchart-div.lightbox-flat li.parents:last-child > div.person::after {
    border-top: none;
}

#teamchart-div.lightbox-flat li.parents:last-child > div.person::before {
    border-right: none;
    z-index: -99999;
    position: relative;
}

#teamchart-div.lightbox-flat li.parents:first-child > div.person::after {
    border-left: none;
}

/*We will use ::before and ::after to draw the connectors*/

#teamchart-div.lightbox-flat #first li div.person::before, #teamchart-div.lightbox-flat #first li div.person::after {
    position: absolute;
    bottom: 0;
    top: auto;
    right: 50%;
    border-bottom: 3px solid #eceff4;
    width: 50%;
    border-top: none;
    height: 15px;
}

#teamchart-div.lightbox-flat #first li div.person::after {
    right: auto;
    left: 50%;

}

#teamchart-div.lightbox-flat li div.person::before, #teamchart-div.lightbox-flat li div.person::after {
    position: absolute;
    top: -20px;
    right: 50%;
    border-top: 3px solid #eceff4;
    width: 100%;
    height: 20px;
}

#teamchart-div.lightbox-flat li div.person::after {
    right: auto;
    left: 50%;
    border-left: 3px solid #eceff4;
}

/*
#teamchart-div.lightbox-flat  li.bloc::before, #teamchart-div.lightbox-flat  li.bloc::after,#teamchart-div.lightbox-flat ul ul.bloc::before{
	display: none;
}
*/

/*Remove space from the top of single children*/
#teamchart-div.lightbox-flat li:only-child div.person {
    padding-top: 0px;
}

/*We need to remove left-right connectors from elements without
any siblings*/
#teamchart-div.lightbox-flat li li:only-child div.person::before {
    display: block;
    right: 48%;
}

/*Remove space from the top of single children*/
#teamchart-div.lightbox-flat li li:only-child div.person {
    padding-top: 0px;
}

/*Remove left connector from first child and
right connector from last child*/
#teamchart-div.lightbox-flat li:first-child > div.person::before,
#teamchart-div.lightbox-flat li:last-child > .person::after {
    border: 0 none;
}

/*Adding back the vertical connector to the last nodes*/
#teamchart-div.lightbox-flat li:last-child > div.person::before {
    border-right: 3px solid #eceff4;
}

/*We need to remove left-right connectors from elements without
any siblings*/
#teamchart-div.lightbox-flat #first li div.person:only-child::after, #teamchart-div.lightbox-flat #first li div.person:only-child::before {
    display: none;
}

/*Remove space from the top of single children*/
#teamchart-div.lightbox-flat #first li div.person:only-child {
    padding-top: 0px;
}

/*We need to remove left-right connectors from elements without
any siblings*/
#teamchart-div.lightbox-flat #first li li div.person:only-child::before {
    display: block;
    right: 48%;
}

/*Remove space from the top of single children*/
#teamchart-div.lightbox-flat #first li li div.person:only-child {
    padding-top: 20px;
}

/*Remove left connector from first child and
right connector from last child*/
#teamchart-div.lightbox-flat #first li div.person:first-child::before, #teamchart-div.lightbox-flat #first li div.person:last-child::after {
    border: 0 none;
}

/*Adding back the vertical connector to the last nodes*/
#teamchart-div.lightbox-flat li.wptd-col-0 > div.person::before {
    border: 0 none !important;
}

/*Time to add downward connectors from parents*/
#teamchart-div.lightbox-flat ul ul#first::before {
    content: none;
    position: absolute;
    top: auto !important;
    bottom: 0 !important;
    left: 50%;
    border-left: 3px solid #eceff4;
    width: 0;
    height: 20px;
}

#teamchart-div.lightbox-flat ul ul::before {
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 3px solid #eceff4;
    width: 0;
    height: 20px;
}

#teamchart-div.lightbox-flat .wptd-col-2 {
    max-width: 50%;
}

#teamchart-div.lightbox-flat .wptd-col-3 {
    max-width: 33%;
}

#teamchart-div.lightbox-flat .wptd-col-4 {
    max-width: 25%;
}

#teamchart-div.lightbox-flat .wptd-col-5 {
    max-width: 18%;
}

/**
 * Framemode
 */
#teamchart-div.lightbox-flat.framemode #chart {
    zoom: 1;
}

#teamchart-div.lightbox-flat.framemode {
    overflow: auto;
    width: 100%;
    height: 460px;
    border: 1px solid #dddddd;
    position: relative;
    cursor: move;
}

#teamchart-div.lightbox-flat.framemode .wptd-col-2,
#teamchart-div.lightbox-flat.framemode .wptd-col-3,
#teamchart-div.lightbox-flat.framemode .wptd-col-4 {
    max-width: none !important;
}

#teamchart-div.lightbox-flat.framemode .person {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 140px;
    z-index: 1;

}

#teamchart-div.lightbox-flat.framemode ul {
    display: table;
    position: relative;
}

#teamchart-div.lightbox-flat.framemode li {
    display: table-cell;
    position: relative;
    padding: 20px 0;
}

#teamchart-div.lightbox-flat.framemode li div.person::after {
    width: 100%;
}

#teamchart-div.lightbox-flat li:last-child > .person::after {
    border-top: none;
    z-index: -1;

}

/*  UI kit   */
#uiteamchart {
    text-align: right;
    margin-bottom: -40px;
    margin-right: 10px;
    position: relative;
    z-index: 10;
}

#uiteamchart a {
    border: 1px solid #aaa;
    display: inline-block;
    width: 32px;
    font-family: Arial;
    height: 32px;
    background: #eee;

    border-radius: 3px 0 0 3px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 29px;
    color: #555;
}

#uiteamchart a:hover {
    color: #333;
    box-shadow: inset 3px 0px 10px #aaa;
    text-decoration: none;
    background: #ccc;
    box-shadow: inset 0px 0px 10px #888;
    border: 1px solid #888;
}

#uiteamchart a.zoomout {
    border-radius: 0 3px 3px 0;
    border-left: none;

}

@media (max-width: 600px) {
    #teamchart-div.lightbox-flat ul li li li .Job, #teamchart-div.lightbox-flat ul li li li .name {
        display: none !important;
    }

    #teamchart-div.lightbox-flat li li li.wptd-col-2 .image, #teamchart-div.lightbox-flat li li.wptd-col-4 .image, #teamchart-div.lightbox-flat li li li.wptd-col-3 .image {
        height: 55px;
    }

    #teamchart-div.lightbox-flat.framemode ul li li li .Job, #teamchart-div.lightbox-flat.framemode ul li li li .name {
        display: table !important;
    }

    #teamchart-div.lightbox-flat.framemode li li li.wptd-col-2 .image, #teamchart-div.lightbox-flat.framemode li li.wptd-col-4 .image, #teamchart-div.lightbox-flat.framemode li li li.wptd-col-3 .image {
        height: auto;
    }

}

/*

LIGHTBOX

*/

.lightbox-flat .fancybox-inner .person-fancybox .photo {
    width: 40%;
    overflow: hidden;
    float: left;
}

.lightbox-flat .fancybox-inner .person-fancybox .photo img {
    width: 100%;
}

.lightbox-flat .fancybox-inner .person-fancybox .text {
    float: left;
    width: 58%;
    margin-left: 2%;
}

.lightbox-flat .fancybox-inner .person-fancybox .text h2 {
    color: #3f4955;
    font-weight: bold;
    font-size: 20px;
    margin: 2px 0;
    padding: 0;
}

.lightbox-flat .fancybox-inner .person-fancybox .text h4 {
    color: #888888;
    font-weight: 300;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 14px;
}

.lightbox-flat .fancybox-inner .person-fancybox .teamchartdescription {
    height: 165px;
    overflow-y: auto;
}

.lightbox-flat .fancybox-inner .person-fancybox .teamchartdescription p {
    margin: 0;
    font-size: 16px;
}

/*
.lightbox-flat .fancybox-inner .person-fancybox .text p {color:#555555;font-weight:300;margin:0 0 20px 0;padding:10px;font-size:12px;overflow: auto;height: 130px;}
*/
.lightbox-flat .fancybox-skin {
    background: #ffffff !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
}

#teamchart-div.lightbox-flat .person:hover .socialIcon {
    opacity: 1;
    -webkit-transition: all .3s .1s ease-out;
    -moz-transition: all .3s .1s ease-out;
    -ms-transition: all .3s .1s ease-out;
    -o-transition: all .3s .1s ease-out;
    transition: all .3s .1s ease-out
}

#teamchart-div.lightbox-flat ul {
    width: 103%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#teamchart-div.lightbox-flat .socialIcon {
    margin-left: -5px;
    top: 20%;
    z-index: 1;
    position: absolute;
    text-align: center;
    opacity: 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out

}

#teamchart-div.lightbox-flat .socialIcon li a i {
    font-size: 20px;
    color: #fff;
}

#teamchart-div.lightbox-flat .socialIcon li a {
    border: 0;
    display: inline-block;
    margin: 0 5px;
    width: 25px;
    height: 25px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    line-height: 25px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -ms-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all .1s ease-out
}

#teamchart-div.lightbox-flat .socialIcon li {
    padding: 0;
    margin: 0;
    display: inline-block;
}

#teamchart-div.lightbox-flat .socialIcon li a:hover {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .6) inset
}

#teamchart-div.lightbox-flat .image-hover-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    -webkit-transform: rotate(45deg) scale(0, 2);
    -moz-transform: rotate(45deg) scale(0, 2);
    -ms-transform: rotate(45deg) scale(0, 2);
    -o-transform: rotate(45deg) scale(0, 2);
    transform: rotate(45deg) scale(0, 2);
    ms-transform: rotate(45deg) scale(0, 2);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    pointer-events: none
}

#teamchart-div.lightbox-flat .person:hover .image-hover-overlay {
    background: rgba(0, 0, 0, .3);
    -webkit-transform: rotate(45deg) scale(1.5, 2);
    -moz-transform: rotate(45deg) scale(1.5, 2);
    -ms-transform: rotate(45deg) scale(1.5, 2);
    -o-transform: rotate(45deg) scale(1.5, 2);
    transform: rotate(45deg) scale(1.5, 2);
    ms-transform: rotate(45deg) scale(1.5, 2)
}

/*//Fix conflict css*/
#teamchart-div ul li:before {
    content: none !important;
}












