body {
    background-color: #2F4550;    
}

.title-div {
    color: #F0F6FA;
    font-size : 200%;
    padding: 10px;
    width: 100%;
    background-color: #1B1B1E;
}

.grid-row {
  line-height: 0px;
}

.sector-container {
   margin: 20px 50px 20px 50px;
}

/* The large divs */
.outer {
  height: 250px;
  margin: 7px 1% 7px 1%;
  float: left;
  opacity: .99; /* For sibling z-index */
  position: relative;
  transition: all .17s ease-in-out;
  -webkit-transition: all .17s ease-in-out;
  -webkit-transition-delay: .1s; /* Safari */
  transition-delay: .1s;
  background-color: #B8DBD9;
  color: #4A4A4A;
  box-shadow: 5px 5px 5px #202020;
}

.outer:hover {
  -webkit-transform: scale(2.2);
  transform: scale(2);
  z-index: 4;
  background-color: #CFEFF3;
  color: #3A3A3A;
}

.outer-title {
    line-height: 1.5em;
    height: 1.5em;
    overflow: hidden;
}

/* The small divs */
.inner {
  height: 25px;
  margin: 5px 1% 5px 1%;
  display: inline-block;
  position: relative;
  transition: all .17s ease-in-out;
  -webkit-transition: all .17s ease-in-out;
  -webkit-transition-delay: .1s; /* Safari */
  transition-delay: .1s;
  z-index: 3;
  background-color: #405764;
  color: #DADADA;
  overflow: hidden;
  box-shadow: 2px 2px 5px #303030;
}

.inner:hover {
  -webkit-transform: scale(2.2);
  transform: scale(2.2);
  z-index: 4;
  background-color: #304754;
  color: #DADADA;
}

.inner-title {
    font-size : 37%;
    font-weight: 300;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 1px;
    line-height: 1.3em;
    height: 2.49em;
    overflow: hidden;
    color: #FFFFFF;
}

/* The list of stocks */
.stock-list {
  font-size : 20%;
  line-height: 1.5em;
  height: 1.5em;
  color: #E8E8C9;
  white-space: pre-line;
}

div.stock-list ul {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 1px;
}

/* Popup chart */
.small-chart {
    position: absolute;
    z-index: 10;
    /*box-shadow: 4px 4px 5px #303030;*/ /*Performance problem*/
}

#popup-chart-div {
    background-color: #E8E8C9;
    display: inline;
    line-height: 1;
}

.no-wrap {
    white-space: nowrap;
}
 
/*
 * Define all of the transform origins
 * in classes
 */
.top-left-origin {
    transform-origin: top left; 
}
 
.top-right-origin {
    transform-origin: top right; 
}
 
.top-origin {
    transform-origin: top; 
}
 
.bottom-left-origin {
    transform-origin: bottom left; 
}
 
.bottom-right-origin {
    transform-origin: bottom right; 
}
 
.bottom-origin {
    transform-origin: bottom; 
}
 
.left-origin {
    transform-origin: left; 
}

.right-origin {
    transform-origin: right; 
}
