@import url('https://fonts.googleapis.com/css?family=Open+Sans');
.visualizadorObras > div {
    font-family: 'Open Sans', sans-serif;
    width:100%;
    height:100%;
    position:relative;
    overflow:hidden;
    font-size:14px;
}
.visualizadorObras .info .title {
    background-color:#307ce6;
    color:#FFF;
    min-height:32px;
    line-height:32px;
    padding:10px 20px;
    font-weight: 400;
    cursor:pointer;
}

.visualizadorObras .info {
    width:400px;
    height:100%;
    position:absolute;
    top:0;
    left:-400px;
    background-color:#FFF;
    transition: left .2s ease-out, bottom .2s ease-out, opacity 0s .2s ease-out;
    opacity:0;
    z-index:9999999;
}


.visualizadorObras .info.visible {
    left:0;
    opacity:1;
    transition: left .2s ease-out, bottom .2s ease-out, opacity 0s ease-out;
}


.visualizadorObras > div.vertical .info {
    width:100%;
    height:60%;
    bottom: -60%;
    top:auto;
    left:0;
}

.visualizadorObras > div.vertical .info.visible {
    bottom:0;
    left:0;
}

.visualizadorObras .info .title::before {
    position: relative;
    top: 0;
    content: "";
    display: inline-block;
    /* By using an em scale, the arrows will size with the font */
    width: 0.4em;
    height: 0.4em;
    border-right: 0.2em solid;
    border-top: 0.2em solid;
    transform: rotate(-135deg);
    margin-right: 0.5em;
}

.visualizadorObras .info .content{
    padding:20px;
    font-size:13px;
    overflow-y: auto;
    height: calc(100% - 92px);
}
.visualizadorObras .info .content strong {
    display:block;
    padding-bottom:5px;
    color:#999;
    font-weight: normal;
}


.visualizadorObras .info .content small {
    display:block;
    margin-bottom:20px;
}

.visualizadorObras .search {
    position:absolute;
    top:0;
    left:120px;
    width: calc(100% - 260px);
    margin:10px;
    direction: ltr;
    overflow: hidden;
    text-align: left;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    user-select: none;
    font-size: 11px;
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    border-left: 0;
}

.visualizadorObras .search input {
    border:0;
    width:100%;
    padding:7.75px 20px;
    outline:0;
    font-size:12px;
}

.visualizadorObras > div.small .search {
    left:auto;
    right:0;
    top:40px;
    width:29.5px;
    height:29.5px;
    overflow:hidden;
    transition:.2s ease-out;
}
    .visualizadorObras > div.small .search:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        background: url('img/search.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: block;
        width: 20px;
        height: 20px;
        margin: 4.75px;
        opacity: .4;
        cursor: pointer;
        transition: .1s ease-out;
    }
.visualizadorObras > div.small .search.focus {
    width:calc(100% - 20px);
    height:auto;
}

.visualizadorObras > div.small .search.focus:after {
    opacity:0;
}

.visualizadorObras .search ul {
    margin:0;
    padding:0;
    list-style:none;
    max-height: calc(300px);
    overflow-y:auto;
    overflow-x:hidden;
}

.visualizadorObras .search ul li {
    padding:5px 0;
    border-top:1px solid #e5e5e5;
    margin:0 5px;
    cursor:default;
    height:13.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow:hidden;
}
.visualizadorObras .search ul li:hover {
    background-color: #f9f9f9;
}

.visualizadorObras .search.loading:after {
    content: '';
    width: 12px;
    height: 12px;
    background: url("img/loading.gif");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    margin: 8.75px;
}

.visualizadorObras .layers {
    position:absolute;
    top:0px;
    right:0px;
    margin:10px;
    direction: ltr;
    overflow: hidden;
    text-align: center;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    user-select: none;
    font-size: 11px;
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    border-left: 0px;
    z-index:9999;
}
.visualizadorObras .layers:not(:hover):before {
    display:block;
    width: auto;
    margin:8px;
    text-align: center;
    content: 'Capas';
}

.visualizadorObras .layers ul {
    margin:0;
    list-style:none;
    padding:0;
    text-align: left;
    overflow:hidden;
    width:0;
    height:0;
    opacity:0;
    transition:opacity .3s ease-out;

}

.visualizadorObras .layers:hover ul {
    width:auto;
    height:auto;
    opacity:1;
}

.visualizadorObras .layers li {
    padding:8px 14px;
    cursor:pointer;
}

.visualizadorObras .layers li:not(.selected) {
    text-decoration: line-through;
}

.visualizadorObras .layers li:hover {
    color:#000;
    background-color: rgb(235, 235, 235);
}

.visualizadorObras .ruler {
    position: absolute;
    top: 0px;
    right: 60px;
    margin: 10px;
    direction: ltr;
    overflow: hidden;
    text-align: center;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    user-select: none;
    font-size: 11px;
    border-radius: 2px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    border-left: 0px;
    background: url('img/ruler.png') center center no-repeat rgb(255, 255, 255);
    background-size: 18px;
    width: 29.5px;
    height: 29.5px;
    cursor: pointer;
}

.visualizadorObras .ruler:hover {
    color:#000;
    background-color: rgb(235, 235, 235);
}

.visualizadorObras .ruler-label {
    position:absolute;
    bottom:0px;
    left:calc(50% - 95px);
    margin:10px;
    text-align: center;
    overflow: hidden;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    user-select: none;
    font-size: 13px;
    border-radius: 2px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    background-color: rgb(255, 255, 255);
    cursor:pointer;
    width:150px;
    padding:10px;
}