/**
 * @author Christian Gang Liu - B00415613
 * @date 2020-1-23
 * Purpose: this is the css styling file to offer additional styling to make pager like the sample
 */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.ui-tabs {
    width: 100% !important;
    max-width: 100% !important;
}

@media(min-width: 768px) {
    .col-lg-10 {
        width: 85% !important;
    }

    .col-md-10 {
    width: 100% !important;
        max-width: 100% !important;
}

}

.placeholder > img {
  padding: .725rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 48px; /* Height of navbar */
  height: calc(100vh - 48px);
  padding-top: 70px;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5;
    padding-top: 20px;
padding-bottom: 20px;}

.modebar-container {
  display: none !important;
}

main {
    /*margin-top: 50px;*/
}

/* tooltip */
.tooltip {
    background: #eee;
    box-shadow: 0 0 5px #999999;
    color: #333;
    display: none;
    font-size: 18px;
    left: 130px;
    padding: 10px;
    position: absolute;
    text-align: center;
    top: 95px;
    width: 80px;
    border: 1px solid #6F257F;
    z-index: 10;
}

.footer {
    padding-top: 50px;
    text-align: center;
    list-style-type: none;
}

.horizontalbartoolTip {
    position: absolute;
    display: none;
    min-width: 80px;
    height: auto;
    background: none repeat scroll 0 0 #eee;
    box-shadow: 0 0 5px #999999;
    border: 1px solid #6F257F;
    padding: 14px;
    text-align: center;
    z-index: 10;
}

text {
    font: 22px sans-serif;
    font-weight: bold;
    color: white;
}

.overall-title {
    font: 18px sans-serif;
    font-weight: bold;
    color: white;
}

text.value {
    font-size: 120%;
    fill: white;
}

*[class*='title-small'] {
    font-size: 14px;
    font-weigh: 500;
    margin-top: -3px;
    font-style: italic;
    float: left;
    /*margin-bottom: 15px;*/
}

*[class*='title-hard'] {
    font-size: 16px;
    font-weight: 800;
}

*[class*='chart-explain '] {
    font-size: 12px;
    font-weight: 400;
}

*[class*='text-center'] {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: auto;
}

div * {
    /*white-space: pre-wrap;      !* CSS3 *!*/
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
}

svg {
    overflow: visible;
}

.user-input-label {
  color: white;
  font-size: 18px;
    font-weight: 500;

}

#myDiv1 > svg {
        margin-top: 20px;
    margin-left: 20px;
}

#myDiv100 > svg {
        margin-top: 20px;
}

.checkbox-label {
    margin-left: 20px;
}

.mono{
    font-size: 12px;
    font-weight: 700;
}

.cluster_mainPanel, .cluster_mainPanel_orig {
    margin-top: 30px;
    padding: 0;
}

.cluster_mainPanel > .row, .cluster_mainPanel_orig > .row {
   margin-left: 0;
    margin-right: 0;
}

.row {
    margin-left: 0px !important;
}

.col-md-4 {
    padding:0;
}

#cluster_featureSliders, #cluster_featureSliders_orig {
    margin-top: -55px;
}
.cluster_mainPanel {
    float: left;
}

.cluster_mainPanel_orig {
    float: right;
}


input-group-text:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content: "\e080";
    font-family: 'Glyphicons Halflings';
    font-size: 9px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #CCCCCC;
}

.input-group-prepend {
    float: left;
}

.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
}

 /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.grabbable:active {
    cursor: grabbing;
}

/* this css is used for tooltips of heatmap*/
.tooltip-heatmap {
    text-align: left;
    padding: 5px 10px 5px 10px;
    font: bold 8px sans-serif;
    color: black;
    background: yellow;
    border-radius: 8px;
    /*pointer-events: none;*/
}

rect {
    /*pointer-events: none;*/
}

tspan:nth-child(2n) {
  display: block;
}

.col-md-12 {
    padding-left: 0px !important;
}

#loading {
    padding-top: 50px;
    color: rgba(171, 171, 171, 0.12);

    -webkit-animation: fadein 0.5s ease-in 7s forwards; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 0.5s; /* Firefox < 16 */
    -ms-animation: fadein 0.5s; /* Internet Explorer */
    -o-animation: fadein 0.5s; /* Opera < 12.1 */
    animation: fadein 0.5s ease-in 7s forwards;


    /* The banner */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(191, 191, 191, 0.92);
    text-align: center;
    cursor: progress;
}

.loader {
  border: 16px solid #cf947d;
  border-radius: 50%;
  border-top: 16px solid #94003a;
    position: absolute;
    left: 50%;
  margin-left: -100px;
  top: 50%;
  margin-top: -100px;
  width: 200px;
  height: 200px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.input-group-text{
    background-color: transparent !important;
    border: none !important;
}

input[type=number] {
    width: 90%;
}
