/*
 * Copyright (C) 2014 Atlas of Living Australia
 * All Rights Reserved.
 *
 * The contents of this file are subject to the Mozilla Public
 * License Version 1.1 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of
 * the License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * rights and limitations under the License.
 */

/* Your-Area page styles */

table#cellCountsLegend {
    margin: 0;
    /*    margin-top: 20px !important;*/
    float: right;
    width: 100%;
    border: none;
}
#cellCountsLegend td {
    text-align: center;
    border: none;
    color: #000;
    padding: 1px 2px;
    width: 14.285%;
}
#mapOuter{
    padding-top:5px;
}
#yourMap {
    width: 400px;
    height: 420px;
}
#left-col {
    width: 550px;
    font-size: 12px;
    margin-top: 10px;
}

#taxaBox {
    /*border-bottom:2px solid #d9d9d9;*/
}

#taxaBox div#rightList {
    float: left;
    width: 66%;
    padding: 0;
    margin: 0;
}

#rightList table {
    width: 365px;
    /*height: 240px;*/
    border:0;
    /*border-bottom:4px solid #d9d9d9;*/
}
#taxaBox #leftList {
    width: 33%;
    float: left;
}
#taxaBox td, #taxaBox th {
    padding:1px 5px;
}
#taxaBox table{
    /*font-weight: bold;*/
    border-top:2px solid #d9d9d9;
}
#taxaBox th {
    text-align: left;
    line-height: 22px;
}
#taxaBox thead tr {
    border-bottom:2px solid #d9d9d9;
}
#taxaBox td.indent1 {
    padding-left: 10px;
}
#taxaBox td.indent2 {
    padding-left: 15px;
}
#taxaBox td.indent3 {
    padding-left: 20px;
}

#rightList tbody  {
    background-color: #f0f0f0;
}
#rightList tbody td {
    height: auto;
    padding: 1px 2px 1px 5px;
}
#taxaDiv ol, #taxaDiv ul {
    margin: 0px 1em 0.5em 2.5em;
    font-size: 11px;
}
#taxaDiv li {
    margin: 2px 0px 2px 0px;
}
#taxaDiv li span {
    font-size: 12px;
}
#taxa-level-0, #rightList table {
    margin-bottom: 0!important;
    width: 100%;
}
#taxa-level-0  tbody{
    padding-bottom:3px!important;
}

#taxaBox #taxa-level-1 tbody td {
    margin: 0;
    padding: 0;
}
#rightList .speciesInfo {
    display: none;
}
#rightList tr#info a {
    text-decoration: none;
}
#rightList .speciesIndex {
    width: 5%;
}
#rightList .sciName {
    width: 85%;
}
#rightList .rightCounts {
    padding-right: 5px;
    width:10%;
}
.activeRow {
    background-color: #f0f0f0;
    font-weight: bold;
}
.activeRow2, tr#info {
    background-color: #fff;
    border-left: 1px solid #d9d9d9;
}
.hoverRow {
    cursor: pointer;
    background-color: #dd3102;
    color:#fff;
}
.hoverCell {
    cursor: pointer;
    background-color: #dd3102;
    color:#fff;
}
.hoverCell a:link, .hoverCell a:visited  {
    color:#fff;
}
.hoverCell a:hover, .hoverCell a:active  {
    color:#fff;
    text-decoration:none;
}
.hoverRow a:link, .hoverRow a:visited  {
    color:#fff;
}
.hoverRow a:hover, .hoverRow a:active  {
    color:#fff;
    text-decoration:none;
}
a.taxonBrowse, a.taxonBrowse:hover, a.taxonBrowse:focus,
a.taxonBrowse2, a.taxonBrowse2:hover, a.taxonBrowse2:focus {
    text-decoration: none;
    color: #444;
    color: inherit;
}
#download { float: right; }
#taxaBox p {
    margin-bottom: 5px;
}
#searchForm .input-append {
    /*width: 40%;*/
}
#searchForm #address {
    width: 85%;
}
#locationInfo {
    padding: 0;
    margin: 0;
}
#searchHints {
    color:#555;
    font-size:.9em;
}
input#location {
    /*padding:1px 2px;*/
}
button#download {
    /*	padding:1px;*/
}
#locationInfo {
    padding-top:.8em;
    border-top:1px solid #d9d9d9;
    margin-bottom: 13px;
    padding-left: 5px;
}
#locationInfo p {
    padding-bottom:.8em;
}

#locationInfo span.pad {
    margin-right: 15px;
}
.help-inline {
    padding-top: 5px;
}
#locationInfo #resultsInfo {
    margin: 10px 0;
}
#locationInfo .btn-small {
    font-size: 12px;
}
#markerAddress {
    font-weight:bold;
}

/* Your Localtion scrollable table from: http://www.imaputz.com/cssStuff/bigFourVersion.html */
div.tableContainer {
    /*	clear: both;*/
    height: 265px;
    width: 360px;
    overflow: auto !important;
    background-color: transparent;
}
/* Reset overflow value to hidden for all non-IE browsers. */
html>body div.tableContainer {
    overflow: hidden;
    width: 360px;
}

/* define width of table. IE browsers only                 */
div.tableContainer table {
    float: left;
    width: 344px;
}
/* define width of table. Add 16px to width for scrollbar.           */
/* All other non-IE browsers.                                        */
html>body div.tableContainer table {
    width: 360px;
}
/* set table header to a fixed position. WinIE 6.x only                                       */
/* In WinIE 6.x, any element with a position property set to relative and is a child of       */
/* an element that has an overflow property set, the relative value translates into fixed.    */
/* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */
thead.fixedHeader tr {
    position: relative;
    width: 100%;
}

/* set THEAD element to have block level attributes. All other non-IE browsers            */
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
html>body thead.fixedHeader tr {
    display: block;
}
/* define the table content to be scrollable                                              */
/* set TBODY element to have block level attributes. All other non-IE browsers            */
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
/* induced side effect is that child TDs no longer accept width: auto                     */
html>body tbody.scrollContent {
    display: block;
    height: 262px;
    overflow: auto;
    width: 100%
}
tbody.scrollContent tr, tbody.scrollContent tr td {
    height: auto;
}

#taxaBox table td, table th  {
    line-height: 19px;
}
/* define width of TH elements: 1st, 2nd, and 3rd respectively.          */
/* Add 16px to last TH for scrollbar padding. All other non-IE browsers. */
/* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors        */
html>body thead.fixedHeader th {
    width: 20px;
}

html>body thead.fixedHeader th + th {
    width: 320px;
}

html>body thead.fixedHeader th + th + th {
    width: 30px;
}

/* define width of TD elements: 1st, 2nd, and 3rd respectively.          */
/* All other non-IE browsers.                                            */
/* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors        */
html>body tbody.scrollContent td {
    width: 20px;
}

html>body tbody.scrollContent td + td {
    width: 320px;
}

html>body tbody.scrollContent td + td + td {
    width: 30px;
}