﻿/*
 * Page layout
 */
* {
    outline: 0;
    outline: none;
}

body, html {
    height:100%;
    margin: 0;
    font-family: arial;
    line-height: 1.1em;
    font-size: 10pt;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

.shadow
{
    box-shadow: 3px 3px 4px rgba(0,0,0,0.5);
}

input[type="checkbox"] {
    position: relative;
    top: 2px;
}

h1#app-title {
    display: inline;
    margin: 0;
    margin-left: 20px;
    color: #777;
    font-size: 18pt;
}

hr {
   margin: 10px 0 !important;
}

#map {
    height: 100%;
    width: 100%;
	overflow: hidden;
}

#header {
    position: absolute;
    height: 52px;
    top: 6px;
    left: 10px;
    right: 10px;
    padding: 4px;
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    border-radius: 5px;
    box-shadow: 3px 3px 4px rgba(0,0,0,0.5);
    z-index: 999;
}

#logo {
    display: inline-block;
    background: url("../img/vattenfall.png");
    height: 51px;
    width: 168px;
}

#credentials {
    display: inline-block;
    float: right;      
    font-size: 12pt;
    margin-right: 10px;
}

#credentials #reporter {
    display: none;
}

.loader-img {
    background: url("../img/loader.gif");
    display: inline-block;
    width: 55px;
    height: 20px;
    background-position: -20px;    
}

.loader {
    background: url("../img/loader.gif");
    display: inline-block;
    width: 55px;
    height: 20px;
    background-position: -20px;
    position: absolute;
    bottom: 38px;
    left: 172px;
}

#info-bar {
    position: absolute;
    left: 10px;
    width: 400px;
    bottom: 0px;
    padding: 10px;
    background: white;
    z-index: 1005;
    border: 1px solid #ccc;
    display: none;
}

#info-bar textarea {
    width: 95%;
    height: 50px;
}

#info-bar label {
    display: block;
    margin-top: 5px;
}

#info-window {
    padding: 3px;
}

#info-window img {
    width: 100%;
}

#info-window .attribute {
    border-top: 1px solid #ccc;
    clear: both;
}

#info-window .attribute-title {
    margin: 10px 0;
    font-size: 14pt;
}

#info-window .attribute:hover {

}

#info-window .attribute-key {
    font-weight: 600;        
}

#info-window .attribute-value {
    display: block;   
    width: 100%; 
}

#info-bar-content {
    min-height: 190px;
    max-height: 475px;
    overflow: auto;
    margin-top: 19px;
    border-top: 1px solid #ccc;
}

.close-button {
    position: absolute;
    right: 0;
    background: black;
    width: 15px;
    height: 15px;
    right: 10px;
    background: url("../img/x.png");    
}

.close-button:hover {
    background: url("../img/x-hover.png");
}

.hidden {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
}

/************************ Section Controls ************************
 * Toolbox layout
 */
.Toolbox, .Zoombar, #measure-result {
    position: absolute;
    z-index: 1000;
    border: 1px solid #D7D7D7;
    background-color: #EAE8E8;
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;    
    left: 10px;
    top: 72px;
    box-shadow: 3px 3px 4px rgba(0,0,0,0.5);
    padding: 10px;
    min-width: 130px;
    border-radius: 5px;
}

#measure-result {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.Toolbox {
    background: #fff;
}

.tool
{
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    padding: 3px;
    cursor: pointer;
    border: 1px solid #fff;
}

.tool:hover {
    text-decoration: underline;
}

.tool.active {
    background: #fff;
    border: 1px solid #ccc;
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
}

.tool img {
    position: relative;
    left: 5px;
}
.tool-image {
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
}

.tool-wrapper {
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    box-shadow: 3px 3px 4px rgba(0,0,0,0.5);
}

.tool-wrapper p {
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    padding:5px;
}

/*
 * Pan Zoom Bar layout
 */
.EposControlPanZoomBar div, .olControlPanZoom div {
    cursor: pointer;
}

.EposControlPanZoomBar {
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    border: 1px solid #BEBEBE;
    bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
    height: 47px;
    left: 47% !important;
    margin-left: -170px;
    position: absolute;
}
.Zoombar
{
    top: 18px;
    height: auto;
    left: 200px;
    z-index: 1001;
    box-shadow: none;
}
#measure-result
{
    top: 223px;
    left: 16px;
    height: auto;
    display: none;
}

/*
 * Print Toolbar Layout
 */
#print-wrapper{
    position: absolute;
    top: 88px;
    left:20px;
    width: 215px;
    display: none;
    z-index: 1000;
}
#measure-wrapper{
    position: absolute;
    top: 70px;
    left:120px;
    width: 120px;
    display: none;
    z-index: 1001;
}

.tool-wrapper select{
    width:100%;
}

.tool-wrapper p{
   margin-top: 5px;
   margin-bottom: 5px;
}

/*
 * Uploader layout
 */
#fine-uploader {
    max-height: 140px;
    overflow: auto;
}

.set div {
    margin: 3px;
    height: 50px;
    min-width: 50px;
    float: left;
    overflow: hidden;
    border: 2px solid #666;
}

.set img {
    height: 50px !important;
}

/*
 * Layer Tree Layout
 */
#layerTree {
    box-shadow: 3px 3px 4px rgba(0,0,0,0.5);
	max-height: 90%;
	overflow: auto;
}

.dragPanelArea {
    cursor:move;
    line-height:0.5;
}

.layerCategory {
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    padding:3px;
    height: 20px;
    padding: 3px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.layerCategory:hover {
    cursor:pointer;
    color: #333;
}

.layerContainer {
    padding:4px;
}

.layerContainer { 
    list-style-type: none; 
    margin: 0; 
    padding: 0;
}

.layerItem {
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    padding: 6px;
    border-bottom: 1px solid #ccc;
}

.categoryToggler {
    float:right;
    top: -1px !important;
}

.EposControlLayerTree {
    width: 300px;
    top: 73px;
    right: 10px;
    color: black;
    position: absolute;
    z-index: 1000;
    border-radius: 5px;
    overflow: auto;
    max-height: 700px;
}

.EposControlLayerTree .header {
    font-size: 15px;
    padding: 10px;
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
}

.EposControlLayerTree .category-header {
    padding: 5px;
    font-size: 13px;
    background: #000000;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.EposControlLayerTree .category-header-title:hover {
    text-decoration: underline;
    cursor: pointer;
}

.EposControlLayerTree .legend {    
    display: none;
    margin-left: 20px;    
}

.EposControlLayerTree .toggler {
    padding: 1px;
    height: 9px;
    line-height: 8px;
    margin-left: 5px;
    border-radius: 0px;
    bottom: 1px;
    position: relative;
    width: 8px;
}

.EposControlLayerTree .layers
{    
    background: white;
    color: black;    
    border-radius: 3px;
    padding: 3px;
}

.slider {
    float: right;
    width: 100px;
    margin-right: 10px;
    top: 3px;
}

.custom-slider {
    margin-left: 0em !important;
}

/*
 * Registration form layout
 */
.form-problems {
    overflow: auto;
    max-height: 249px;
    border-bottom: 1px solid black;
}

 .registration-form {
    position: absolute;
    z-index: 1001;
    bottom: 0;
    background: white;
    border: 1px solid #ccc;
    display: none;
    left: 10px;
 }

.form-row {
    margin: 5px;
}

.spc-table {
    max-height: 179px;
    overflow: auto;
    margin-top: 20px;
    border-top: 1px solid black;
}

.spc-table th {
    width: 70px;
}

.spc-table th:first-child {
    width: 90px;
}

.spc-table thead {
    position: absolute;
    top: 28px;
    left: 124px;
    width: 276px;
}

.spc-table td {
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.spc-table tr td:first-child {
    text-align: left;
}

/*
 * Info window layout
 */
.edit-toolbar {
    margin: 7px 0;
}

.edit-toolbar span {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 10px;
    cursor: pointer;
    background-image: url("bootstrap/img/glyphicons-halflings.png");
}

.edit-toolbar .edit-icon {    
    background-position: 0;
}

.edit-toolbar .delete-icon {
    background-position: 13px 0px
}


/*
 * Override default ui style
 */
.ui-slider-horizontal .ui-slider-handle {
    margin-left: -0.7em !important;
    top: -0.2em;
}

.ui-slider .ui-slider-handle {
    cursor: default;
    height: 1em;
    position: absolute;
    width: 1.2em;
    z-index: 2;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    border: 2px solid #FFDA0A;
    color: #C77405;
    font-weight: bold;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 2px solid #FFDA0A;
    color: #1C94C4;
    font-weight: bold;
}

.ui-widget-content a {
    color: #333333;
}

a:link {
    color: #034AF3;
    text-decoration: underline;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 4px;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    border-bottom-left-radius: 4px;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-top-right-radius: 4px;
}

.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-top-left-radius: 4px;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    border: 2px solid #FFDA0A;
    color: #C77405;
    font-weight: bold;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 2px solid #FFDA0A;
    color: #1C94C4;
    font-weight: bold;
}
.ui-widget-content
{
	background: white !important;
}

.ui-widget-header {
	border: 1px solid #FFF !important;
	background: #FFF url("../img/header-bg.gif") repeat-x !important;
	color: #000 !important;
	font-weight: bold !important;
}

/* End override */

.EposControlMeasureTools {
    width:200px;
    height:300px;
    top: 105px;
    left:150px;
    background-color: rgba(0,0,0,0.5);
    color:White;
    position:absolute;
    z-index:1000;
    display:none;
}

.olControlMousePosition {
    color: Black;
}

.modal-body label
{
    display: block;
    font-weight: 600;
    padding-left: 2px;
}

.modal-body input[type="text"]
{
    width: 80%;
}

.modal-body textarea
{
    width: 80%;
    height: 120px;
}

a.btn
{
    color: black;
    text-decoration: none;
}

#searchbar {
    border: 1px solid #ccc;
    padding: 5px;
    background: url("../img/header-bg.gif") repeat-x scroll left bottom #FFFFFF;
    margin-top: 10px;
}

#searchbar input {
    position: relative;
    top: 5px;
    padding: 4px;
    width: 180px;
}

#searchbar label {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

#searchbar button {
    position: relative;
    margin-left: 10px;
    top: -1px;
}

#searchbar .loader-img {
    position: relative;
    top: 8px;
    margin-left: 10px;
}

#searchbar select {
    position: relative;
    top: 5px;
    margin-right: 10px;   
}

.modal-body
{
    overflow-y: visible !important;
}

img.olTileImage {
    -webkit-transform: inherit !important;
    -moz-transform: inherit !important;
    -o-transform: inherit !important;
    -ms-transform: inherit !important;
    transform: inherit !important;
    -webkit-backface-visibility: inherit !important;
    -moz-backface-visibility: inherit !important;
    -ms-backface-visibility: inherit !important;
    backface-visibility: inherit !important;
    -webkit-perspective: inherit !important;
    -moz-perspective: inherit !important;
    -ms-perspective: inherit !important;
    perspective: inherit !important;
}

.olTileImage {
    -webkit-transition: opacity 0s linear !important;
    -moz-transition: opacity 0s linear;
    -o-transition: opacity 0s linear;
    transition: opacity 0s linear !important;
}