
/* sunburst.css
   jt6 20100713 WTSI

   Style rules for the sunburst markup.

   $Id$
   
   Copyright (c) 2010: Genome Research Ltd.
   
   Authors: Rob Finn (rdf@sanger.ac.uk), John Tate (jt6@sanger.ac.uk)
   
   This is free software; you can redistribute it and/or modify it under
   the terms of the GNU General Public License as published by the Free Software
   Foundation; either version 2 of the License, or (at your option) any later
   version.

   This program is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
   details.

   You should have received a copy of the GNU General Public License along with
   this program. If not, see <http://www.gnu.org/licenses/>.
    
*/   

#sunburstTreeDesc {
  margin-right: 260px;
}

#sunburstControls {
  background-color: #f0f0f0;
  border: 1px solid #CCC;
  position: absolute;
  right: 0.3em;
  width: 250px;
  z-index: 10;
}

#sunburstControls h3 {
  font-size: 1em;
}

#sunburstControls ul {
  margin: 0.2em;
  padding-left: 1.4em;
}

#sunburstControlsHeader {
  background-color: #e0e0e0;
  cursor: move;
  padding: 0.2em;
}

#sunburstControlsHeader h3 {
  float: left;
}

#sunburstControlsToggle {
  cursor: pointer;
  float: right;
  padding: 0.4em 0;
}

#sunburstSelectionTools > p {
  margin: 0.4em 0;
}

div.sunburstControlPanel {
  border-top: 1px solid #CCC;
  padding: 0.2em;
}

#sunburstAlignSelection.disabled {
  color: #CCC;
  text-decoration: none;
}

#subTreeSpeciesName {
  /*font-size: small;*/
  margin: 0;
  /*padding: 0.6em 0.2em;*/
  font-size: 15px;
  padding: 5px;
}

#subTreeHelp {
  position: absolute;
  max-width: 246px;
}

#subTree {
  padding: 0.4em;
  z-index: 1;
}

#subTreeWrapper {
  border-top: 1px solid #CCC;
}

#sliderWrapper {
  font-weight: bold;
}

#sliderWrapper > div {
  font-size: xx-small;
}

#sliderSmallScale {
  float: left;
  margin-left: 4px;
}

#sliderLargeScale {
  float: right;
  margin-right: 4px;
}

div.slider {
  clear: both;
  margin: 10px 0;
  background: url(/shared/images/gradient.png);
  height: 5px;
  width: 240px;
  margin-bottom: 14px;
  position: relative;
  border-left: 1px solid #787778;
  border-right: 1px solid #787778;
}

div.slider div.handle {
  background: url(/shared/images/sliderHandle.png);
  width: 16px;
  height: 17px; 
  top: -4px;
}

#sliderScale {
  margin-left: 4px;
}

div.content {
  margin: 0 ! important;
  padding: 0 ! important;
}

#treeTipTitle {
  font-weight: bold;
}

#treeTipContent {
  margin: 0;
  padding: 0;
}

#treeTipBody {
  margin: 0;
  padding: 0.4em ! important;
}

#treeZoomArea {
  background-color: #CCC;
  border: 1px solid #999;
  position: absolute;
}

/* ======================================== */
/* colour distributions */

#sunburstColours td {
  margin: 0.2em;
  font-size: xx-small;
}

#sunburstColours td.narrow {
  width: 8em;
}

#sunburstColours td.wide {
  width: 16em;
}

#sunburstColours td img {
  vertical-align: middle;
}


.pfam {
  position: inherit !important;
  top: inherit !important;
  z-index: inherit !important;
  max-width: inherit !important;
  padding: inherit !important;
  border-radius: inherit !important;
  background-color: inherit !important;
  font-size: inherit !important;
  color: white !important;
}

.prototip {
  position: absolute !important;
}

#treeWrapper {
    text-align: center;
}

#subTree_container {
  float: right;
}

@media (max-width: 940px) {
  #subTree_container {
    float: none;
  }
}