
.container  {
  padding: 20px;
}
.widget {
  margin-top: 6px;
}

.widget-container {
  min-height: 600px;
  overflow: auto;
  /*background: linear-gradient(#e0e0e0, #a0a0a0);*/
}
.widget-panel, .widget-controls {
  padding: 6px 12px;
  min-height: 34px;
  background: linear-gradient(#e0e0e0, #a0a0a0);
  position: relative;
}
.widget-panel {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.widget-loading {
  text-align: center;
}

.widget-controls {
  margin-top: 10px; /* for overflow handles */
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.widget-controls > div {
  display: inline-block;
}

.widget-panel > h2 {
  color: #344a53;
  font-weight: bold;
  font-size: 22px;
  background: none;
  float: right;
}
button.panel-options {
  padding: 6px 40px;
}
.widget-init {
  display: none;
}
.widget-viewport {
/*  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  padding: 0;
  position: relative;*/
}

.menu-actions {
  height: 12px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.menu-actions > form {
  float: left;
}

.border {
  border: 1px solid black;
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0px;
}
.node {
  cursor: pointer !important;
}
g.timescale > rect, g.branches circle.node, #timeline-results circle, g.earth-impacts circle, #timeline-geo-timescales > rect, #timeline-geo-timescales > text, #pairwise-geo-timescales > rect, svg[name=ages] rect, svg[name=epochs] rect, svg[name=periods] rect, svg[name=eras] rect, svg[name=eons] rect, svg[name=ages] text, svg[name=epochs] text, svg[name=periods] text, svg[name=eras] text, svg[name=eons] text {
  cursor: pointer;
}
g.branches text {
    font-family: "open sans", arial, sans-serif !important;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
}
#timeline-results text[scientific-name], #timeline-results rect[scientific-name] {
    cursor: pointer;
}
.modal-header {
  text-align: center;
}
.btn-group {
    position: relative;
    display: inline-block;
    font-size: 0;
    white-space: nowrap;
    vertical-align: middle;
}

.btn-group > .btn:first-child {
    margin-left: 0;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-topleft: 4px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
    font-size: 14px;
}
.btn-group > .btn {
    position: relative;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.btn-group > .btn:last-child, .btn-group > .dropdown-toggle {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn .caret {
    margin-top: 8px;
    margin-left: 0;
}
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid #000000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
}
input, button, select, textarea {
    font-family: 'Open Sans', sans-serif, sans-serif;
}
label, input, button, select, textarea {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
}
button, input, select, textarea {
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
    font-size: 14px;
}
.open > .dropdown-menu {
    display: block;
}
.dropdown-menu {
    /*position: absolute;*/
    top: 33px;
    left: 12px;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 12px;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}
.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
}
.dropdown-menu .divider {
    height: 1px;
    margin: 9px 1px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
}

/* timetree-specific */
.tree-overflow {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.5);
  margin-bottom: 5px;
}

#color-picker {
    margin-top: -15px;
}

.context-menu-item-name {
  font-family: "open sans", arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}

#ncbi-link a {
    color: #7b688e;
}
#ncbi-link a:hover {
    color: #3e2158;
}
.panel-tools {
    text-align: center;    
    height: 100%;    
}
.tree-tools {
    text-align: center;    
    height: 100%;
    min-height: 650px;
}
.tree-panel {
  float: right !important;
  width: 950px !important;
}
.published-tree-panel {
    float: left !important;
}
.tree-format-option {
    min-height: 50px;
    background-color: #efefef;
}
.format-btn {
    min-height: 40px;
    background-color: #efefef;
    margin-bottom: 2px;
}

.tree-spacing-options {
    background-image: url('/public/img/spacing.svg');
    background-repeat: no-repeat;
    background-position: 2px 15px;
    background-size: 35px 24px;
}

.tree-line-color {
    background-image: url('/public/img/line-color.svg');
    background-repeat: no-repeat;
    background-position: 2px 5px;
    background-size: 35px 26px;    
}
.tree-format-tool {
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
.tree-export-options {
    margin-top: 10px;
    min-height: 150px;
    background-image: url('/public/img/export.svg');
    background-repeat: no-repeat;
    background-size: 35px 24px;
    background-position: 2px 15px;
    padding-bottom: 10px;
}

.timeline-export-options {
    min-height: 160px;
}
.format-option-name {
    font-family: "Open Sans";
    font-size: 13px;
    color: #3a3b3b;
    font-weight: bold;
    padding: 10px 0 7px 0;
}

.timetree-title {
    font-style: italic;
    text-align: left;
}

.timetree-title h4 {
    color: black;
}
.evo-colorind, .evo-colorind-ie, .evo-colorind-ff {
  margin-right: -9px;
  height: 30px !important;
  width: 19px;
}
.panel {
    margin: -5px 0;
}

.panel #timescale {
    margin-top: 5px;
}

#ages {
    margin-top: 10px;
    margin-bottom: 5px;
}

.timetree-formatting-btn {
    margin: 5px 10px;
}

.format-select {
    padding: 0 0 0 5px;
    border-radius: 0;
    border: 2px solid #6f8ba2;
    float: none;
    background-color: white;
}

.tree-tools .ui-button {
    height: 30px;
    font-family: "Open Sans";
    font-size: 13px;
    color: #010101;        
}

.toggle-panel-btns .ui-button, .bg-color-btns .ui-button {
    width: 90%;
    border-radius: 3px;
}

.timescale-btns .ui-button, .panel-height-btns .ui-button {
    width: 40%;
}

#timetree-timetable, #prunetree-timetable {
    padding-top: 20px;
    min-height: 300px;
    max-height: 300px;
    height: 300px;
}

#prunetree-widget-upload {
    border-left: 2px solid #867f93;
    border-top: 2px solid #867f93;
    border-right: 2px solid #867f93;
    border-bottom: 2px solid #867f93;
    /*padding: 1px;*/
    height: 32px;
}
#prunetree-upload-button2 {
    height: 32px;
}

.notice {
    color: red;    
}

.notice-box {
    border-radius: 5px;
    padding:0 20px 15px 20px;
    border: 1px solid red;    
}

#prunetree-msg-container button {
    height: 32px;
    padding: 0 5px;
    width: 200px;
    font-weight: bold;
    font-size: 14px;
}

#unresolved-names {
    text-align: left;
    width: 270px;
    max-height: 120px;
    /*white-space: pre-line;*/
    padding-left: 5px;
    border-left: 1px solid rgba(0,0,0,0.25);
    border-top: none;
    border-right: none;
    border-bottom: none;
    overflow: auto;
    user-select: all;
}

#timetree-geo-timescales {
    margin-top: 7px;
}
#timetree-timescale, #prunetree-timescale {
    margin-top: 5px;
}
.timetree-estimates {
    width: 100%;
    max-height: 300px;
    overflow: auto;
    float: right;
    clear: both;
}
.timetree-panel {
    min-height: 50px;
}
#prunetree-geo-timescales, #timetree-geo-timescales {
    margin-top: 7px;
}
#timeline-submit2 {
    width: 150px;
}
#timeline2-submit2 {
    width: 150px;
}

#get-timetable-button, get-subtree-button {
    float: none;
}

#timetree-context-menu, #timeline-context-menu {
    min-width: 315px;
    min-height: 180px;
}


.error-btn-enabled {
    background-color: red;
    color: white;
    cursor: pointer;
    width: 200px;
}

.error-btn-disabled {
    background-color: #ccc;
    color: white;
    cursor: default;
    width: 200px;
}

.error-btn-enabled:hover {
    background-color: #ff1111;
}

.error-btn-disabled:hover {
    background-color: #ccc;
    color: white;
}
#rank-select-button2 {
    width: 130px;
}
#climate-change-legend {
    margin: 42px 15px 10px 15px;
    border: 1px solid #ccc;
    /*border-radius: 3px;*/
    padding: 5px 15px 20px 15px;    
    text-align: center;
    background-color: #efefef;
}

#climate-change-legend h4 {
    font-family: "Open Sans";
    font-size: 13px;
    color: #3a3b3b;
    font-weight: bold;
    padding: 5px 0 2px 0;    
}

.timeline-tools {
    padding-left: 0;
    padding-right: 0;
}

#oxygen-legend {
    background-color: #ffc300;   
}
#carbon-dioxide-legend {
    background-color: #ff5733;
}
#luminosity-legend {
    background-color: #c70039;
}
.legend-element {
    text-align: center;
    color: white;
    padding: 3px 0;
    font-size: 14px;
    border-radius: 3px;
    border: 1px solid rbga(0,0,0, 0.5);
    /*width: 150px;*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 2px;
    margin-bottom: 2px;
    min-height: 35px;
    opacity: 0.85;
}

#timeline-svg-wrapper {
    margin: auto;
}

#timeline-svg-wrapper svg, #pairwiseSvg svg {
    margin: -2px;
}
#pairwiseSvg {
    border: 1px solid #ccc;
    padding-left: 20px;
    padding-bottom: 30px;
}
#timeline-geo-timescales {
    margin-left: 2px;
}
.format-toolbox-spacer {
    height: 5px;
    border-top: 1px solid white;
}

#timetree-bg-colors, #prunetree-bg-colors {
    /*margin-bottom: 7px;*/
}
#timeline-panels {
    margin-left: 100px
}

#widget-collapse {
    margin: auto;
    position: absolute;
    left: 45%;
    top: 94%;
}

table.sortable thead tr th {
    padding-right: 20px;
}

#pairwise-results {
    margin: 0 !important;
}

.published-tree-select {
    margin: 4px 4px 0 0;
}
.published-tree-button {
    margin-top: 4px;
}

.published-trees-header {
    text-align: center;
    margin-top: 6px;
    margin-left: 0px;
}
.publication_title {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.topology_only {
    font-family: 'open sans', arial;
}
#scale {
    margin-top: 20px;
}
.times-export-options {
    min-height: 160px;   
}
.times-export-options input {
    float: left;
    margin-bottom: 10px;
}
