/*markup*/
#content-wrapper .__markerjs2_{
    z-index: 90003!important;
    margin-top: 64px!important;
    left: auto!important;
    width: 100%!important;
}
#content-wrapper .__markerjs2_ img{
    margin-top: -106px!important;
}
#content-wrapper .__markerjs2_toolbox{
    border-radius: 0px!important;
    position: absolute;
    bottom: -2px;
}
.item__overlay{
    opacity: 0.5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none!important;
    cursor: default;
}
#content-wrapper .container-snapshot-markup{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index:0;
    background-color: #F2F2F2;
}
#content-wrapper #snapshot-markup{
    position: relative;
    top: 0px;
    left: 0px;
}
#content-wrapper #snapshot-markup-original{
    position: absolute;
}
#content-wrapper .__markerjs2_toolbox-panel-row{
    display: flex;
    position: unset;
    bottom: 40px;
    cursor: default;
    height: 60px;
    width: 100%;
    box-sizing: content-box;    
}
#content-wrapper .__markerjs2_toolbox-panel-row div{
    font-family: inherit;
}
#content-wrapper > span > div.__markerjs2_ > div > div:nth-child(2){
    background-color: #FFF;
}
#content-wrapper.popup_markup #menuCap{display:none}
#content-wrapper.popup_markup .container-snapshot-markup{z-index:unset}
#content-wrapper.popup_markup #headerCap{opacity:0.5;pointer-events: none}

#content-wrapper.retracted .__markerjs2_, #content-wrapper.no-semantic-markup .__markerjs2_{
    z-index: 10!important;
    margin-top: 0px!important;
    left: auto!important;
    width: 100%!important;
    height: 100%!important;
}
#content-wrapper.retracted .__markerjs2_toolbar, #content-wrapper.no-semantic-markup .__markerjs2_toolbar{
    position:absolute;
    z-index:5;
}
#content-wrapper.retracted .__markerjs2_ img, #content-wrapper.no-semantic-markup .__markerjs2_ img{
    margin-top: 0px!important;
}
/*xeokit - annotation*/
#content-wrapper.fn-annotation-new-markup #window-overlay{
    display:block;
}
#annotation-action{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    align-items: center;
}

#annotation-action .close{
    background-color: unset;
    width: unset;
    cursor: pointer;
    color: #686868;
    font-size: 14px;
}
#annotation-action .close img{
    vertical-align: middle;
    width: 18px;
}
.annotation-marker {
    color: #ffffff;
    line-height: 1.8;
    text-align: center;
    font-family: "monospace";
    font-weight: bold;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 15px;
    background: #0032A0;
    visibility: hidden;
    z-index: 0;
    border-radius: 150px 150px 150px 0px;
    transform: rotate(313deg);
    cursor: pointer;
}

.annotation-label {
    position: absolute;
    max-width: 200px;
    min-width: 200px;
    padding: 8px;
    padding-left: 12px;
    padding-right: 12px;
    background: #ffffff;
    color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 8px;
    border: #ffffff solid 2px;
    box-shadow: 5px 5px 15px 1px #000000;
    z-index: 90000;
}

.annotation-label:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 12px 8px 0;
    border-color: transparent white;
    display: block;
    width: 0;
    z-index: 1;
    margin-top: -11px;
    left: -12px;
    top: 20px;
}
#colorbox {
    z-index: 900000!important;
}
.annotation-label.active{
    z-index: 90000!important;
}
#createAnnotation-new{
    z-index: 90005!important;
}
.popup_markup #viewer-semantic-container{
    z-index: auto;
}
.annotation-label:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 9px 13px 9px 0;
    border-color: transparent #ffffff;
    display: block;
    width: 0;
    z-index: 0;
    margin-top: -12px;
    left: -15px;
    top: 20px;
}
#titleAnnotation{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #828282;
    box-sizing: border-box;
    border-radius: 4px;
    height: 40px;
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    appearance: none;
    outline: none;
    line-height: normal;
}
.annotation-label img.mini{
    cursor: pointer;
    margin-top: 15px;
}
#content-wrapper #annotation-action #prosseguir{
    cursor: pointer;
}
.annotation-title {
    margin-bottom: 8px;
}
#annotation-action .text{
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.annotation-button{
    grid-template-columns: repeat(3, 28px);
    justify-content: space-between;
}
.annotation-button img{
    cursor: pointer;
}