/*** OVERRIDES ***/

.cloudzoom-zoom-inside {
    cursor: zoom-in;
    z-index: 1;
  }
  .thumbelina {
    left: 0;
    right: 0;
    width: 70px;
    margin: 0 auto;
  }
  .thumbelina li img, .thumbelina li img:hover {
    height: 100px;
    border: none;
  }
  .thumbelina-but.vert {
    line-height: 28px;
  }
  
  /*** CUSTOM ***/
  
  #thumbnails {
    position: relative;
    width: 93px;
    height: 330px;
    background-color: #fff;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    float: right;
    margin-top: 20px;
    z-index: 2;
  }
  #thumbnails a {
    width: 100%;
    display: inline-block;
    text-align: center;
  }
  /* Prevent FOUC */
  #thumbnails ul {
    visibility: hidden;
  }
  #thumbnails ul.thumbelina {
    visibility: visible;
  }
  #product-image {
    position: relative;
    display: inline-block;
    line-height: 0;
    margin-left: 1rem;
  }
  
  #zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeout 0.5s; /* Sync with JS */
    background: url('http://res.cloudinary.com/thdoan/image/upload/v1498133706/carousel/watch01-large.jpg') no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    cursor: zoom-out;
    display: none;
    opacity: 0;
    z-index: 1;
  }
  
  .fullscreen {
    overflow: hidden;
  }
  .fullscreen .cloudzoom-zoom-inside {
    visibility: hidden; /* Prevent FOUC */
  }
  .fullscreen #thumbnails {
    position: fixed;
    top: 8px;
    left: 8px;
    opacity: 0.8;
  }
  .fullscreen #zoom-overlay {
    animation: fadein 0.5s; /* Sync with JS */
    display: block;
    opacity: 1;
  }
  
  @keyframes fadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  @keyframes fadeout {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }