


.md-feature-selector {
    border: solid 0px black;
    color: gray;
    width: 100px;
}
.md-feature-selector:selection {
    background:none!important;
}

.md-layer-container {
    margin-bottom: 5px;
    position:relative;
    width: 550px;
    height: 135px;
    border-radius: 0px;
    padding: 3px 0px;
    user-select: none;
    background-color: white;
}
.md-layer-container:hover {
    box-shadow: 0px 0px 10px rgba(200,200,200,150);
}

/* Layer type selector */
.md-layer-type-selector-container {
    position: absolute;
    width: 60px;
    height: 100px;
    top: 40px;
}
.md-selected-layer-type {
    position:absolute;
    width:60px;
    height: 60px;
    left: 0px;
    top: 0px;
    text-align: center;
}
.md-selected-layer-type-label {
    position: absolute;
    top: 60px;
    width: 60px;
    height: 25px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}
.md-layer-type-dropdown {
    position:absolute;
    top: 100px;
    width: 60px;
    display: none;
}
.md-layer-type-selector-container:hover .md-layer-type-dropdown {
    display: block;
} 

.md-type-selector-symbol-row {
    padding: 15px;
}

.md-type-selector-symbol-row:hover {
    background-color: #ffddaa;
}

/* title */
.md-variable-container {
    position:absolute;
    height: 40px;
    left:150px;
    width: 256px;
    text-align: center;
}
.md-variable-name {
    font-size: 16px;
    line-height: 18px;
    font-weight: bold;
    color: dodgerblue;
}
.md-variable-source {
    font-size: 12px;
    color: gray;
}

.md-feature-container {
    position:absolute;
    height: 40px;
    /*line-height: 40px;*/
    left:50px;
    width: 120px;
    text-align: left;
    margin-top: 3px;
    font-size: 12px;
}
.md-feature-name {
    font-size: 16px;
    line-height: 40px;
    font-weight: bold;
    color: darkgray;
}

/* radius selectors*/

.md-radius-left-container {
    position:absolute;
    left: 60px;
    width:60px;
    height: 60px;
    top: 40px;
    text-align: center;
}
.md-radius-left-value {
    position: absolute;
    width: 100%;
    height: 100%;
}
.md-radius-left-dropdown {
    position: absolute;
    top:60px;
    min-height: 100px;
    width:60px;
    display:none;
    padding-bottom: 10px;
}
.md-radius-left-container:hover .md-radius-left-dropdown {
    display: block;
}

.md-radius-left-option:hover {
    background-color: #ffddaa;
}


/* Colormap left */
.md-color-left-container {
    position:absolute;
    left:120px;
    width:30px;
    height:50px;
    top: 40px;
}

/* Colormap */
.md-colorbar-container {
    position: absolute;
    left: 150px;
    width: 256px;
    height: 48px;
    top: 40px;
    border: solid 1px black;
}

.md-colorbar-canvas {
    position: absolute;
    width: 256px;
    height: 48px;
}
.md-colorbar-dropdown {
    width: 246px;
    min-height: 150px;
    display: none;
    padding: 5px;
    top: 50px;
}
.md-colorbar-container:hover .md-colorbar-dropdown  {
    display: block;
}

.md-opacity-slider {
    width: 100%;
}
.md-opacity-options-container {
    display: flex;
    justify-content:space-between;

}
.md-opacity-option {
    font-size: 11px;
    color:dodgerblue;
}
.md-opacity-option:hover {
    color: darkorange;
}

.md-cmap-select-option {
    width:100%;
    height: 40px;
    padding-top: 10px;
    display: flex;
}
.md-cmap-select-canvas {
    width: 200px;
    height: 30px;
    border: solid 0px black;
    opacity: 0.8;
    color: dodgerblue;
}
.md-cmap-select-canvas:hover {
    opacity: 1;
    box-shadow: 0px 0px 10px lightgray;
}

.md-cmap-invert {
    width:30px;
    height: 30px;
    border: solid 0px black;
    text-align: center;
    line-height: 30px;
    opacity: 0.8;
    background-color: #eeeeee;
}
.md-cmap-invert:hover {
    opacity: 1;
    box-shadow: 0px 0px 10px lightgray;
    color: darkorange;
}
/* Colormap right */
.md-color-right-container {
    position:absolute;
    left:406px;
    width:30px;
    height:50px;
    top: 40px;
}

/* domain */
.md-domain-left-container {
    position:absolute;
    left: 126px;
    width:50px;
    height:60px;
    top: 86px;
    line-height: 20px;
    font-size:12px;
    font-weight: bold;
    text-align: center;
}
.md-domain-left-triangle {
    position: absolute;
    top: 0px;
    font-size: 14px;
    width:100%;
    text-align: center;
}
.md-domain-left-value {
    position: absolute;
    top: 16px;
    left: 0px;
    width: 60px;
    margin-left: 8px;
    height: 20px;
    font-size: 14px;
    font-weight: bold;
    border: solid 0px gray;
    text-align: center;
    margin: 0px;
}

.md-domain-right-container {
    position:absolute;
    left: 382px;
    width:50px;
    height:60px;
    top: 86px;
    line-height: 20px;
    font-size:12px;
    font-weight: bold;
    text-align: center;
}
.md-domain-right-triangle {
    position: absolute;
    top: 0px;
    font-size: 14px;
    width:100%;
    text-align: center;
}
.md-domain-right-value {
    position: absolute;
    top: 16px;
    left: 0px;
    width: 60px;
    margin-left: 8px;
    height: 20px;
    font-size: 14px;
    font-weight: bold;
    border: solid 0px gray;
    text-align: center;
    margin: 0px;
}

.md-xlabel-container {
    position: absolute;
    left: 150px;
    top: 115px;
    width: 256px;
    text-align: center;
    color: #444444;
    font-size: 14px;
}

.md-activate-container {
    position:absolute;
    left: 10px;
    top: 10px;
    width: 20px; 
    height: 20px;
    text-align: center;
}

/* domain lock */
.md-lock-button {
    position:absolute;
    right: 60px;
    top: 120px;
    width: 20px; 
    height: 20px;
    text-align: center;
}


/* Radius - right */
.md-radius-right-container {
    position:absolute;
    left: 450px;
    width:60px;
    height: 60px;
    top: 40px;
    text-align: center;
}
.md-radius-right-value {
    position: absolute;
    width: 100%;
    height: 100%;
}
.md-radius-right-dropdown {
    position: absolute;
    top:60px;
    min-height: 100px;
    width:60px;
    display:none;
    padding-bottom: 10px;
}
.md-radius-right-container:hover .md-radius-right-dropdown {
    display: block;
}

/* radius dropdown */
.md-radius-left-option {
    padding-top: 5px;
    padding-bottom: 5px;
}
.md-radius-right-option {
    padding-top: 5px;
    padding-bottom: 5px;
}
.md-radius-right-option:hover {
    background-color: #ffddaa;
}

.md-minimize-button {
    position: absolute;
    right: 25px;
    top:5px;
    color: gray;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align:center;
    font-size: 16px;
}
.md-minimize-button:hover {
    box-shadow: 0px 0px 5px lightgray;
    color: darkorange;
}
.md-close-button {
    position: absolute;
    right: 5px;
    top:5px;
    color: gray;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align:center;
    font-size: 16px;
}
.md-minimize-button:hover {
    box-shadow: 0px 0px 5px lightgray;
    color: darkorange;
}


/* Shared */

.md-dropdown-content {
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    min-height: 30px;
}

.cmap_gradient {
    background-image: linear-gradient(to right, red , yellow);
}


.checkerboard {
  background-color: #fff;
  background-image: linear-gradient(
      45deg,
      #ccc 25%,
      transparent 25%,
      transparent 75%,
      #ccc 75%,
      #ccc
    ),
    linear-gradient(
      -45deg,
      #ccc 25%,
      transparent 25%,
      transparent 75%,
      #ccc 75%,
      #ccc
    );
  background-size: 10px 10px;
  background-repeat: repeat;
}
