.tree-map-section{
    position: relative;
    padding: 2px;
    border: 1px solid #e7edf2;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.tree-map-section.full-screen{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    padding: 40px;
}
.tree-map-section.full-screen .tree-map-controls{
    top: 40px;
}

body.tree-map-full-screen .tree-sidebar-container{
    z-index: 99999;
    left: 0px;
}
.tree-map-section .tree-map-controls{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
}
.tree-map-section .tree-map-controls a{
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #b1971b;
    color: #fff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    margin-bottom: 5px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    padding-left: 6px;
    text-decoration: none;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.tree-map-section .tree-map-controls a:hover{
    background-color: #8b7617;
}

#tree-map-container{
  /*  padding-top: 30px;
    padding-bottom: 30px;*/
    min-height: 600px;
    position: relative;
}

#tree-map-container svg{
    min-height: 500px;
}
#tree-map-container .node{
    border: solid 2px #b5b455;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #fff;

}

#tree-map-container .node.female{
    border-color: #ff8888;
}
#tree-map-container .node.unknow{
    border-color: #aa53b9
}
.tree-map-node{
    text-align: center;
    position: relative;
}
#tree-map-container .tree-map-node > span{
    display: block;
    width: 100%;
}

#tree-map-container .tree-map-node span.node-avatar{
    width: 50px;
    height: 50px;
    display: block;
    position: relative;
    margin: 0 auto;
    background-color: #b1971b;
    color: #fff;
    font-weight: 600;
    line-height: 50px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

#tree-map-container .node.female .tree-map-node span.node-avatar{
    background-color: #ff8888;
}
#tree-map-container .node.unknow .tree-map-node span.node-avatar{
    background-color: #aa53b9;
}

#tree-map-container .tree-map-node span.node-avatar img{
    border-radius: 50%;
}

#tree-map-container .tree-map-node span.node-last-name,
#tree-map-container .tree-map-node span.node-dob-dod,
#tree-map-container .tree-map-node span.node-first-name{
    font-size: 10px;
    width: 60px;
    height: 12px;
    overflow: hidden;
    margin-top: 2px;
}
#tree-map-container .tree-map-node span.node-last-name{
    font-weight: 800;
    text-transform: uppercase;
}
#tree-map-container .tree-map-node span.node-first-name{
    margin-top: 10px;
    text-transform: uppercase;
}
#tree-map-container .tree-map-node > span{
    line-height: 1.2em;
}

.node-tipped-container{
    display: none;
    position: absolute;
    top: 100%;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    padding-top: 10px;
    min-width: 160px;
}
.tree-map-node:hover .node-tipped-container{
    display: block;
}
.node-tipped{
    list-style: none;
    margin: 0;
    padding: 0px;
    border: solid 1px #ddd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    -moz-box-shadow:   0px 0px 10px rgba(0,0,0,0.1);

}
.node-tipped li{
    display: inline-block;
    margin-right: 5px;
    line-height: 1em;
}

.node-tipped a{
    text-decoration: none;
}

.node.node-line-left:after{
    content: '';
    position: absolute;
    top: 50%;
    left: -32px;
    width: 32px;
    height: 1px;
    border-bottom: solid 1px #000;
    transform: translateY(-50%);
}
.node.node-line-right:before{
    content: '';
    position: absolute;
    top: 50%;
    right: -32px;
    width: 32px;
    height: 1px;
    border-bottom: solid 1px #000;
    transform: translateY(-50%);
}

.node:not(.temp-node).current-node{
    background-color:#b5b455 !important;
    color: #fff;
    border-color: #b5b455 ;
}

.node:not(.temp-node).female.current-node{
    background-color: #ffabab !important;
}
.node:not(.temp-node).current-node.unknow{
    background-color: #c17acd !important;
}

.node.current-node span{
    color: #fff;
}

.fat-popup-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99999;
}

.fat-popup-container.fat-family-circle .fat-popup-inner{
    width: 700px;
}

.fat-popup-container .fat-popup-inner{
    padding: 20px;
    width: 600px;
    max-width: 90%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    position: absolute;
    background: #fff;
    display: block;
}

.fat-popup-container .fat-close-popup{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
    color: #343434;
}

.popup-title{
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    border-bottom: solid 1px #ddd;
}
.fat-popup-container .fat-fields{
    margin-bottom: 10px;

}
.fat-popup-container .fat-fields label,
.fat-popup-container .fat-fields{
    font-size: 14px;
}
.fat-field > label{
    display: block;
}

.fat-popup-container .ui.radio.checkbox .box,
.fat-popup-container .ui.radio.checkbox label{
    padding-left: 20px;
}

.fat-popup-container .ui.radio.checkbox > label{
    cursor: pointer;
}

.fat-popup-container .fat-field .ui.radio.checkbox:not(:first-child){
    padding-left: 5px;
}

.fat-fields.two-fields{
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.fat-fields.two-fields > .fat-field{
    padding-left: 10px;
    padding-right: 10px;
    width: 50%;
}

.fat-field select{
    width: 100%;
}

.fat-form-buttons{
    text-align: center;
    margin-top: 30px;
}
.fat-form-buttons a{
    padding: 4px 20px;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #fff;
    text-align: center;
    background-color: #b1971b;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.85em;
    border: solid 1px #b1971b;
}

.fat-form-buttons a.bt-basic{
    background-color: transparent;
    border: solid 1px #b1971b;
    color: #b1971b;
}

.tree-map-section .tree-map-controls a.zoom-in{
    background-image: url('../../images/tree_zoom_in.png');
    background-size: cover;
    background-position: center;
}

.tree-map-section .tree-map-controls a.zoom-out{
    background-image: url('../../images/tree_zoom_out.png');
    background-size: cover;
    background-position: center;
}

.tree-map-section .tree-map-controls a.zoom-reset{
    background-image: url('../../images/tree_center.png');
    background-size: cover;
    background-position: center;
}

.tree-map-section .tree-map-controls a.full-screen{
    background-image: url('../../images/icon_full.png');
    background-size: cover;
    background-position: center;
}

.tree-map-section .tree-map-controls a.full-screen.restore{
    background-image: url('../../images/icon_restore.png');
}

.tree-sidebar-container{
    position: fixed;
    top: 300px;
    left: 80px;
    z-index: 8;
    padding: 20px;
    background-color: #b1971b;
    color: #fff;
    border-bottom-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    transition: all 0.3s;
}

.tree-sidebar-container.slide-out{
    transform: translateX(-101%);
}

.tree-sidebar-container.slide-out a.fat-close-sidebar i:before{
    content: "\f138" !important;
}
.tree-sidebar-container .fat-close-sidebar{
    position: absolute;
    top: 0px;
    right: -30px;
    color: #fff;
    font-size: 30px;
    width: 30px;
    height: 30px;
    background-color: #b1971b;
    text-align: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
}

.tree-sidebar-inner{
    display: flex;
    flex-wrap: wrap;
}
.tree-sidebar-inner .profile-meta{
    width: calc(100% - 50px);
    padding-left: 15px;
}

.tree-sidebar-inner .profile-avatar{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    overflow: hidden;
    text-align: center;
    line-height: 50px;
}
.tree-sidebar-inner .profile-avatar[data-gender="female"]{
    background-color: #ff8888;
}
.tree-sidebar-inner .profile-avatar[data-gender="male"]{
    background-color: #b5b455;
}
.tree-sidebar-inner .profile-avatar[data-gender="unknow"]{
    background-color: #aa53b9;
}
.tree-sidebar-container  .fat-button-groups a{
    text-align: center;
    display: inline-block;
    padding-right: 10px;
}
.tree-sidebar-container  .fat-button-groups a.disabled{
    opacity: 0.5;
    pointer-events: none;
}
.tree-sidebar-container  .fat-button-groups a:hover{
    text-decoration: none;
}
.tree-sidebar-container  .fat-button-groups a img{
    width: 30px;
}
.tree-sidebar-container  a.fat-timeline-link img{
    width: 22px;
}
.tree-sidebar-container a.fat-bt-edit-node img{
    width: 18px;
}
.tree-sidebar-container  .fat-button-groups a span{
    display: block;
    color: #fff;
    font-size: 12px;
}

.tree-sidebar-inner .nom{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
}

.fat-tree-map-popup-container .fat-dat-field{
    display: flex;
}
.fat-tree-map-popup-container .fat-dat-field > input{
    width: 33.3333%;
}
body:not(.tree-map) .tree-sidebar-container{
    display: none;
}

.fat-tree-map-popup-container .fat-fields.dod-fields,
.fat-tree-map-popup-container .fat-fields.deces-lieu-fields{
    display: none;
}

.node.has-spouse.has-father.has-brother:before,
.node.has-spouse.has-father.has-sister:before{
    position: absolute;
    content: '';
    width: 48px;
    height: 18px;
    top: -20px;
    left: 30px;
    background-color: #fff;
}

#tree-map-container .node{
    position: absolute;
 /*   transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;*/
}
#tree-map-container .node.brother{
    z-index: 1;
}
#tree-map-container .node.temp-node{
    border: dashed 2px #b5b455;
}

#tree-map-container .node.female,
#tree-map-container .node.spouse.temp-node,
#tree-map-container .node.mother.temp-node{
    border-color: #ff8888;
}
#tree-map-container .node.temp-node .tree-map-node{
    opacity: 0;
}

#tree-map-container .node.temp-node span.add-icon:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #b5b455;
    transform: translateX(-50%) translateY(-50%);
}

#tree-map-container .node.temp-node span.add-icon:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: #b5b455;
    transform: translateX(-50%) translateY(-50%);
}

#tree-map-container .node.temp-node.spouse span.add-icon:after,
#tree-map-container .node.temp-node.spouse span.add-icon:before,
#tree-map-container .node.temp-node.mother span.add-icon:after,
#tree-map-container .node.temp-node.mother span.add-icon:before{
    background-color: #ff8888;
}

.fat-tree-map-popup-container a.bt-delete{
    display: none;
    pointer-events: none;
}

.fat-tree-map-popup-container.edit-node a.bt-delete{
    display: inline-block;
    float: right;
    background-color: transparent;
    color: red;
    font-weight: 600;
    padding: 0px !important;
    line-height: 35px;
    border: none;
    pointer-events: auto;
}

.fat-tree-map-popup-container.edit-node .fat-form-buttons{
    text-align: left;
}

.tree-map-section .appending-icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: none;
    z-index: 1;
}

.tree-map-section .appending-icon img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    width: 200px;
}

.fat-tree-map-popup-container.add-info-temp-node .fat-field.relation-field{
    display: none;
}

.node.has-line-parent span.line-parent{
    position: absolute;
    left: 50%;
    width: 1px;
    top: -74px;
    height: 74px;
    background-color: #343434;
    z-index: 1;
}

.node.has-line-parent.line-low-level.second-child span.line-parent{
    height: 10px;
    top: -10px;
}
.node.has-line-parent.line-low-level.second-child span.line-parent:before{
    display: none;
}


.node.has-line-parent.sister span.line-parent,
.node.has-line-parent.brother span.line-parent{
    height: 10px;
    top: -10px;
}

.node.has-line-parent:not(.brother):not(.sister) span.line-parent:before{
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    left: -2px;
    top: -3px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    background-color: #b5b455;
}

.node.has-line-child span.line-child{
    position: absolute;
    height: 1px;
    top: 50%;
    background-color: #343434;
}

.node.main-node.has-line-child span.line-child,
.node.father.has-line-child span.line-child{
    left: 100%;
}

/* .node.has-line-brother.has-line-parent span.line-brother */
.node.brother span.line-brother,
.node.sister span.line-brother{
    position: absolute;
    top: -10px;
    height: 1px;
    background-color: #343434;
}

.node.brother[data-move="move-right"] span.line-brother,
.node.sister[data-move="move-right"] span.line-brother,
.node.has-line-brother.has-line-parent.second-child.line-low-level span.line-brother{
    right: 35px;
}

.node.brother.has-line-brother[data-move="move-left"] span.line-brother,
.node.child.line-low-level.has-line-brother[data-move="move-right"] span.line-brother,
.node.has-line-brother.has-line-parent.second-child.line-low-level[data-move="move-left"] span.line-brother{
    left: 35px;
    right: auto;
}

.node.mother.has-line-spouse span.line-spouse,
.node.spouse.has-line-spouse span.line-spouse{
    top: 50%;
    position: absolute;
    height: 1px;
    background-color: #343434;
}

.node.spouse.second-spouse.has-line-spouse span.line-spouse{
    background-color: transparent;
    border-top: dashed 1px #343434;
}

#tree-map-container .node.has-profile .tree-map-node span.node-avatar:before{
    content: '';
    top: 32px;
    right: -4px;
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(../../images/logo.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}
.fat-field.profile-avatar .ui.image-field{
    text-align: center;
    margin-bottom: 10px;
}
.fat-field.profile-avatar .ui.image-field a{
    width: 80px;
    height: 80px;
    display: inline-block;
    position: relative;
    line-height: 80px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;

    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -webkit-box-shadow:0px 0px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.fat-field.profile-avatar .select-image .fat-image-thumb{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.fat-field.profile-avatar  .select-image.has-thumbnail:after,
.fat-field.profile-avatar  .select-image.has-thumbnail i.icon{
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    opacity: 0;
}

.fat-field.profile-avatar .select-image i.icon{
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    line-height: 1em;
    margin: 0 !important;
    font-size: 24px;
}

.fat-field.profile-avatar .select-image.has-thumbnail:hover i.icon{
    z-index: 99;
    color: #fff;
    opacity: 1;
}

.fat-family-circle .fat-popup-content .circle-node-list{
    max-height: 550px;
    min-height: 450px;
    width: 665px;
    overflow-y: auto;
    overflow-x: hidden;
}
.fat-family-circle .circle-node{
    display: flex;
    border: solid 2px #ddd;
    padding: 5px;
    width: 220px;
    max-width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    position: relative;
    height: 65px;
}

.fat-family-circle .circle-node.current-node{
    background-color: #b5b455 !important;
    color: #fff;
    border-color:  #b5b455 !important;
}
.fat-family-circle .circle-node.current-node.female {
    background-color: #ffa4a4 !important;
    border-color: #ffa4a4 !important;
}

.fat-family-circle .circle-node.current-node span.prenom{
    color: #fff;
}

.circle-node.father{
    float: right;
}

.circle-row{
    display: flex;
    flex-wrap: wrap;
}
.circle-row .circle-col-3{
    width: 33.33333%;
    padding: 10px;
}
.circle-row .circle-col-2{
    width: 50%;
    padding: 10px;
}
.circle-node .node-avatar{
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: #b1971b;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    overflow: hidden;
    color: #fff;
}
.circle-node.female .node-avatar{
    background-color: #ff8888;
}
.circle-node .node-meta{
    width: calc(100% - 50px);
    padding-left: 15px;
}
.circle-node .node-meta span{
    display: block;
    line-height: 1.2em;
}

.circle-node.temp-node .node-avatar,
.circle-node.temp-node .node-meta,
.circle-node:not(.temp-node) a.add-node{
    display: none;
}

.circle-another-spouse .circle-node.add-spouse{
    border-style: dashed;
}
.circle-another-spouse .circle-node.add-spouse a.add-node{
    display: block;
    width: 100%;
    text-align: center;
    line-height: 50px;
    font-weight: 600;
}

.circle-node.temp-node a.add-node{
    display: block;
    padding: 16px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: 600;
    line-height: 1.2em;
}

.circle-node.temp-node{
    border: dashed 2px #b1971b;
}
.circle-node.male{
    border-color: #b1971b;
}
.circle-node.female{
    border-color: #ff8888;
}
.circle-node.male.temp-node a{
    color: #b1971b;
}

.circle-node.female.temp-node a{
    color: #ff8888;
}

.circle-node > span.line-husband,
.circle-node > span.line-spouse{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background-color: #b1971b;
}
.circle-node > span.line-spouse{
    right: -12px;
}
.circle-node > span.line-husband{
    left: -12px;
}

.circle-node > .line-parent{
    position: absolute;
    left: 50%;
    top: -17px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    width: 1px;
    height: 16px;
    background-color: #b1971b;
}

.circle-node.current-node > .line-parent{
    top: -70px;
    height: 70px;
}

.circle-node > span.line-brother{
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    width: 220px;
    height: 1px;
    background-color: #b1971b;
}

.circle-node.child > span.line-spouse{
    right: 50%;
    top: -10px;
    width: 110px;

}
.circle-node.child > span.line-center-parent{
    position: absolute;
    top: -49px;
    left: -12px;
    width: 1px;
    height: 40px;
    background-color: #b1971b;
}

.circle-node span.prenom{
    font-weight: 700;
    color: #343434;
}

.circle-spouse-section{
    position: relative;
}

.circle-spouse-section .circle-another-spouse .circle-node.spouse{
    cursor: pointer;
}

.circle-spouse-section span.line-husband{
    display: none;
}

.circle-another-spouse-function{
    position: absolute;
    top: -28px;
    line-height: 1.5em;
    font-size: 14px;
    padding: 0px 5px;
    border: solid 1px #a39292;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.circle-another-spouse-function i.fa.fa-sort-asc,
.circle-another-spouse-function i.fa.fa-sort-desc{
    font-size: 20px;
    line-height: 1em;
    position: relative;
    margin-left: 5px;
}
.circle-another-spouse-function.section-down i.fa.fa-sort-desc,
.circle-another-spouse-function.section-up i.fa.fa-sort-asc{
    display: none;
}
.circle-another-spouse-function i.fa.fa-sort-desc{
    top: -2px;
}
.circle-another-spouse-function i.fa.fa-sort-asc{
    top: 7px;
}
.circle-another-spouse-function i.fa.fa-plus{
    margin-left: 5px;
}

.circle-another-spouse{
    position: absolute;
    top: 65px;
    padding-top: 15px;
    left: 0px;
    width: 100%;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding-left: 5px;
    padding-right: 5px;
    display: none;
}

.node.spouse:not(.last-spouse){
    z-index: 1;
}

@media (max-width: 768px){
    .tree-sidebar-container{
        left: 0px;
    }

}
@media (max-width: 500px){
    .fat-fields.two-fields > .fat-field{
        width: 100%;
    }

    .fat-popup-container.fat-family-circle .fat-popup-inner{
        width: 900px;
        overflow-x: auto;
    }
}

.circle-node{
    position: relative;
}
.circle-node a.fat-delete-circle-node{
    position: absolute;
    top: 0px;
    right: 5px;
    color: #e54c4c;
}

.fat-tree-map-popup-container .ui.text{
    position: relative;
}

.fat-tree-map-popup-container .ui.text i.loading-icon{
    position: absolute;
    right: 5px;
    top: 7px;
    width: 25px;
    height: 25px;
}

.fat-tree-map-popup-container .fat-field .tipped-section{
    display: none;
}

.tipped-section .profile-item{
    display: flex;
    padding: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.tipped-section .profile-item .avatar{
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}
.tipped-section .profile-item .avatar.none{
    background-color: #ddd;
}
.tipped-section .profile-item{
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}
.tipped-section .profile-item:hover{
    background-color: #f1f1f1;
}
.tipped-section .profile-item  .profile-meta{
    padding-left: 15px;
    font-size: 14px;
}
.tipped-section .profile-item  .profile-meta > span{
    display: block;
}

.tpd-tooltip,
.tpd-tooltip .tpd-content{
    min-width: 270px;
}
.tpd-tooltip .tpd-content .profile-list{
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ui.text.loading i.loading-icon:before{
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -0.64285714em 0 0 -0.64285714em;
    width: 1.28571429em;
    height: 1.28571429em;
    border-radius: 500rem;
    border: 0.2em solid rgba(0,0,0,.1);
}

.ui.text.loading > i.loading-icon:after{
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -0.64285714em 0 0 -0.64285714em;
    width: 1.28571429em;
    height: 1.28571429em;
    -webkit-animation: button-spin .6s linear;
    animation: button-spin .6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #767676 transparent transparent;
    border-style: solid;
    border-width: 0.2em;
    box-shadow: 0 0 0 1px transparent;
}

@-webkit-keyframes button-spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes button-spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}