.court {
  position: relative; }
  .court .outside, .court .inside, .court .circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }
  .court .outside img, .court .inside img, .court .circles img {
    position: absolute;
    top: 0;
    left: 0;
    display: none; }
    .court .outside img.active, .court .inside img.active, .court .circles img.active {
      display: block; width: 100%; height: auto;}

.court button.zoom-button {
  display: inline-block;
  position: absolute;
  bottom: 1.1rem;
  left: 1rem;
  cursor: pointer;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0;
  padding: 5px 10px;
  -ms-transition: background-color 300ms, color 300ms;
  -o-transition: background-color 300ms, color 300ms;
  -moz-transition: background-color 300ms, color 300ms;
  -webkit-transition: background-color 300ms, color 300ms;
  transition: background-color 300ms, color 300ms;
}

.court button.zoom-button .button-text {
  display: inline-block;
  font-size: 1.2rem;
  vertical-align: middle;
  margin-right: 8px;
}

.court button.zoom-button:hover {
  background-color: #fff;
  color: #000;
}

.court button.zoom-button i.fa-search-plus {
  display:inline-block;
  vertical-align: middle;
  -ms-transform:rotateY(180deg);
  -o-transform:rotateY(180deg);
  -moz-transform:rotateY(180deg);
  -webkit-transform:rotateY(180deg);
  transform: rotateY(180deg);
  font-size: 1.2rem;
}

.court-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.court-lightbox {
  position: absolute;
  margin: auto;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  width: 90%;
  max-width: 800px;
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.court-lightbox .close-lightbox {
  position: absolute;
  top: -16px;
  right: -14px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.court-lightbox img {
  max-width: 100%;
}

svg.colors polygon, svg.colors-2 polygon {
  cursor: pointer;
  opacity: 0.9; }
  svg.colors polygon:hover, svg.colors-2 polygon:hover {
    opacity: 1; }
  svg.colors polygon.active:before, svg.colors-2 polygon.active:before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 50%; }

.tab_inside, .tab_outside, .tab_circles {
  border: 1px solid #adb5bd;
  float: left;
  clear: both;
  width: 100%;
  display: none;
  padding: 1.6em 0 0 0;
  position: relative;
  z-index: 1; }

.color-selector-wrapper {
  width: 50%;
  display: inline-block;
  margin: 0 -2px;
  margin-bottom: 20px;
}

.colors-label {
  display: inline-block;
  margin: 0 -2px;
  width: 50%;
  text-align: center;
  padding-bottom: 20px;
}

/*.color-selector-wrapper:first-of-type {
  border-right: 1px solid #7e7e7e;
}*/
  .tab_inside.active, .tab_outside.active, .tab_circles.active {
    display: block; }
  .tab_inside svg.colors, .tab_outside svg.colors, .tab_circles svg.colors, .tab_inside svg.colors-2, .tab_outside svg.colors-2, .tab_circles svg.colors-2 {
    width: 70%;
    margin: 0 auto;
    display: block;
    max-height: 134px; }
  .tab_inside .color, .tab_outside .color, .tab_circles .color {
    text-transform: uppercase;
    position: relative;
    background-color: red;
    height: 2em;
    margin-top: 1.3em;
    overflow: hidden;
    transition: background-color 200ms ease-in-out;
    margin-bottom: -1px; }
    .tab_inside .color div, .tab_outside .color div, .tab_circles .color div {
      position: absolute;
      width: 100%;
      text-align: center;
      line-height: 2em;
      bottom: 2em;
      color: #fff; }
    .tab_inside .color div.remove, .tab_outside .color div.remove, .tab_circles .color div.remove {
      bottom: -2em !important;
      transition: bottom 200ms ease-in-out; }
    .tab_inside .color div.new_color, .tab_outside .color div.new_color, .tab_circles .color div.new_color {
      bottom: 0;
      animation: movedown 200ms cubic-bezier(0.91, 0.8, 0.54, 1.39); }

@keyframes movedown {
  from {
    bottom: 2em; }
  to {
    bottom: 0; } }
.entry-content .tab_nav {
  float: left;
  clear: both;
  margin: 1em 0 0 2em;
  list-style-type: none;
  text-transform: uppercase;
  position: relative;
  top: 1px;
  z-index: 50; }
  .entry-content .tab_nav li {
    float: left;
    color: #adb5bd;
    background-color: #fff;
    padding: 3px 7px;
    display: inline-block;
    cursor: pointer; }
  .entry-content .tab_nav li.active {
    border: 1px solid #7e7e7e;
    border-bottom: 1px solid #fff; }
