/* mainly FE (but not only) */

/* transitory fix for http://trac.osgeo.org/openlayers/ticket/2984 */
body .olLayerGoogleCopyright {
    left: -10000px;
}

/* Fix map canvas img */
.olmap_container img {
    margin:0;
    padding:0
}

/* Fix for OSM attribution problem */
div.map_wrapper .olControlAttribution {
    bottom: 0 !important;
    right: 0;
}

/* Mouse top right */
div.map_wrapper div.olControlMousePosition {
    top: 0;
    right: 18px;
}

/* Custom gray theme */
div.map_wrapper.grey .olControlLayerSwitcher .layersDiv {
    background-color: grey;
}

/* TOC */
div.map_wrapper ul.toc_list {
    list-style-type:none;
    padding:0;
    margin:0;
}

div.map_wrapper ul.toc_list.horizontal {
/*
    height: 1.5em;
    clear: both;
*/
}

div.map_wrapper{
    clear: both;
}

div.map_wrapper ul.toc_list input[type="checkbox"] {
    vertical-align: text-bottom;
    margin:0;
}

div.map_wrapper ul.toc_list.horizontal li {
    display: inline;
    padding-right: 10px;
}


div.map_wrapper ul.toc_list.vertical {
    margin: 0;
}

div.map_wrapper ul.toc_list.vertical li{
    margin: 0 0 1em 0;
}


div.map_wrapper ul.toc_list li a.kml_link {
    border:none;
    color: transparent;
    padding-right:4px;
    vertical-align: baseline;
    height: 17px;
    width: 17px;
}

.olControlLayerSwitcher .layersDiv {
    border-radius: 10px 0 0 10px;
    opacity: 0.75;
}

.toc_controls {
    margin:0.25em;
    padding:0.25em;
}

#icon_preview {
    border: dotted 1px gray;
}

table.adminlist tbody tr.current-layer td,
table.adminlist tfoot span.current-layer {
    background-color: #CCC;
}

.adminform table.admintable {
    width: 100%;
}

.adminform table.admintable td {
    padding: 6px;
}


/* BE fix for maps in J3 */
.olMap img, .olMap iframe, .olMap svg, .map_canvas img {
    max-width: inherit;
}

.olMap label {
    display: inline;
    margin-bottom: inherit;
}
.olMap label, .olMap input, .olMap button, .olMap select, .olMap textarea {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* start copy admin template */
table.adminlist {
    background-color: #F3F3F3;
    border-spacing: 1px;
    color: #666666;
    width: 100%;
}
table.adminlist td, table.adminlist th {
    padding: 4px;
}
table.adminlist td {
    padding-left: 8px;
}
table.adminlist thead th {
    background: none repeat scroll 0 0 #F7F7F7;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #FFFFFF;
    color: #666666;
    text-align: center;
}
table.adminlist thead th.left {
    text-align: left;
}
table.adminlist thead a:hover {
    text-decoration: none;
}
table.adminlist thead th img {
    padding-left: 3px;
    vertical-align: middle;
}
table.adminlist tbody th {
    font-weight: bold;
}
table.adminlist tbody tr {
    background-color: #FFFFFF;
    text-align: left;
}
table.adminlist tbody tr.row0:hover td, table.adminlist tbody tr.row1:hover td {
    background-color: #E8F6FE;
}
table.adminlist tbody tr td {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #FFFFFF;
}
table.adminlist tbody tr.row1 td {
    background: none repeat scroll 0 0 #F0F0F0;
    border-top: 1px solid #FFFFFF;
}
table.adminlist tfoot tr {
    color: #333333;
    text-align: center;
}
table.adminlist tfoot td, table.adminlist tfoot th {
    background-color: #F7F7F7;
    border-top: 1px solid #999999;
    text-align: center;
}
table.adminlist td.order {
    text-align: center;
    white-space: nowrap;
    width: 200px;
}
table.adminlist td.order span {
    background-repeat: no-repeat;
    float: left;
    height: 13px;
    text-align: center;
    width: 20px;
}
/* Break templates: too generic, must use narrower selectors
button {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    margin-top: 4px;
    padding: 2px 6px;
    text-decoration: none;
}
button:hover {
    background: none repeat scroll 0 0 #E8F6FE;
    border: 1px solid #AAAAAA;
    cursor: pointer;
    text-decoration: none;
}
*/

/* end copy admin template */


