/* Fixed: right */
@media screen and (max-width: 1499px) {
    .cq-oop-fixed.cq-position-right {
        display: none;
    }
}
.cq-oop-fixed.cq-position-right .cq-creative img {
    width: 180px;
}
.cq-oop-fixed.cq-position-right .cq-creative {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
}
.cq-oop-fixed.cq-position-right .cq-closer {
    top: 0;
    left: 0;
    position: absolute;
}

/* Fixed: left */
@media screen and (max-width: 1499px) {
    .cq-oop-fixed.cq-position-left {
        display: none;
    }
}
.cq-oop-fixed.cq-position-left .cq-creative img {
    width: 180px;
}
.cq-oop-fixed.cq-position-left .cq-creative {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
}
.cq-oop-fixed.cq-position-left .cq-closer {
    top: 0;
    right: 0;
    position: absolute;
}

/* Fixed: top right */
.cq-oop-fixed.cq-position-topright .cq-creative {
    position: fixed;
    top: 0;
    right: 0;
}
.cq-oop-fixed.cq-position-topright .cq-creative  img {
    max-width: 300px;
}
.cq-oop-fixed.cq-position-topright .cq-closer {
    top: 0;
    left: 0;
    position: absolute;
}

/* Fixed: top left */
.cq-oop-fixed.cq-position-topleft .cq-creative {
    position: fixed;
    top: 0;
    left: 0;
}
.cq-oop-fixed.cq-position-topleft .cq-creative  img {
    max-width: 300px;
}
.cq-oop-fixed.cq-position-topleft .cq-closer {
    top: 0;
    right: 0;
    position: absolute;
}

/* Fixed: bottom left */
.cq-oop-fixed.cq-position-bottomleft .cq-creative {
    position: fixed;
    bottom: 0;
    left: 0;
}
.cq-oop-fixed.cq-position-bottomleft .cq-creative  img {
    max-width: 300px;
}
.cq-oop-fixed.cq-position-bottomleft .cq-closer {
    top: 0;
    right: 0;
    position: absolute;
    margin-right: -10px;
}

/* Fixed: bottom right */
.cq-oop-fixed.cq-position-bottomright .cq-creative {
    position: fixed;
    bottom: 0;
    right: 0;
}
.cq-oop-fixed.cq-position-bottomright .cq-creative  img {
    max-width: 300px;
}
.cq-oop-fixed.cq-position-bottomright .cq-closer {
    top: 0;
    position: absolute;
    margin-left: -10px;
}

/* Fixed: bottom */
@media screen and (min-width: 768px) {
    body.cq-oop-fixed-bottom {
        padding-bottom: 100px;
    }
    .cq-oop-fixed.cq-position-bottom .cq-creative {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translate(-50%,0);
    }
    .cq-oop-fixed.cq-position-bottom .cq-closer {
        margin-top: -10px;
        position: fixed;
        right: -5px;
    }
}
@media screen and (max-width: 768px) {
    body.cq-oop-fixed-bottom {
        padding-bottom: 50px;
    }
    .cq-oop-fixed.cq-position-bottom .cq-creative {
        text-align: center;
        position: fixed;
        bottom: 0;
        width: 100%;
    }
    .cq-oop-fixed.cq-position-bottom .cq-creative img {
        max-width: 95%;
    }
    .cq-oop-fixed.cq-position-bottom .cq-closer {
        position: fixed;
        right: 0;
        margin-top: -10px;
    }
}

/* Fixed: top */
@media screen and (min-width: 768px) {
    body.cq-oop-fixed-top {
        padding-top: 100px;
    }
    .cq-oop-fixed.cq-position-top .cq-creative {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .cq-oop-fixed.cq-position-top .cq-closer {
        top: 0px;
        position: fixed;
        right: -5px;
    }
}
@media screen and (max-width: 768px) {
    body.cq-oop-fixed-top {
        padding-top: 50px;
    }
    .cq-oop-fixed.cq-position-top .cq-creative {
        text-align: center;
        position: fixed;
        top: 0;
        width: 100%;
    }
    .cq-oop-fixed.cq-position-top .cq-creative img {
        max-width: 95%;
    }
    .cq-oop-fixed.cq-position-top .cq-closer {
        top: 0;
        position: fixed;
        right: 0;
    }
}

/* Fixed: generic */
.cq-oop-fixed .cq-creative {
    background: white;
    z-index: 9999;
    padding: 10px;
}
.cq-oop-fixed .cq-closer {
    background: #666;
    padding: 2px 8px 5px 8px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

/* Pagepeel */
.cq-oop-curl {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 9999;
  }
  .cq-oop-curl .cq-creative-wrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9997;
    width: 145px;
    height: 145px;
    overflow: hidden;
    transition: width 0.25s ease-out, height 0.25s ease-out;
  }
  .cq-oop-curl:hover .cq-creative-wrap {
    width: 480px;
    height: 480px;
    transition: width 0.25s ease-in, height 0.25s ease-in;
  }
  .cq-oop-curl.cq-pulse .cq-creative-wrap {
    width: 157px;
    height: 157px;
    transition: width 0.25s ease-in, height 0.25s ease-in;
  }
  .cq-oop-curl:hover .cq-creative-wrap {
    width: 480px !important;
    height: 480px !important;
    transition: width 0.25s ease-in, height 0.25s ease-in;
  }
  .cq-oop-curl .cq-creative {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9995;
    width: 500px;
    height: 500px;
    overflow: hidden
  }
  .cq-oop-curl .cq-creative img {
    width: 100%;
  }
  .cq-oop-curl .cq-peel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 150px;
    height: 150px;
    transition: width 0.25s ease-out, height 0.25s ease-out;
  }
  .cq-oop-curl .cq-peel img {
    width: 100%;
  }
  .cq-oop-curl.cq-pulse .cq-peel {
    width: 165px;
    height: 165px;
    transition: width 0.25s ease-in, height 0.25s ease-in;
  }
  .cq-oop-curl:hover .cq-peel {
    width: 500px !important;
    height: 500px !important;
    transition: width 0.25s ease-in, height 0.25s ease-in;
  }

/* Popups */
.cq-oop-pop .cq-screen {
    width: 100%;
    height: 100%;
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9997;
    opacity: 0.9;
}
.cq-oop-pop .cq-creative {
    background: white;
    position: fixed;
    top: 100px;
    z-index: 9998;
    padding: 10px;
    left: 50%;
    transform: translate(-50%, 0);
}
.cq-oop-pop .cq-closer {
    background: #666;
    padding: 2px 8px 5px 8px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    top: -10px;
    position: fixed;
    right: -10px;
}
@media screen and (max-width: 768px) {
    .cq-oop-pop .cq-creative img {
        max-width: 90%;
    }
}

/* Pushdowns */
.cq-oop-pushdown {
    background: white;
    padding-top: 10px;
}
@media screen and (min-width: 768px) {
    .cq-oop-pushdown .cq-oop-pushdown-creative {
        max-height: 40px;
        transition: max-height 0.25s ease-out;
        overflow: hidden;
    }
    .cq-oop-pushdown .cq-oop-pushdown-creative img {
    	height: 340px;
    }
    .cq-oop-pushdown:hover .cq-oop-pushdown-creative,
    .cq-oop-pushdown.cq-expanded .cq-oop-pushdown-creative {
        max-height: 340px;
        transition: max-height 0.25s ease-in;
    }
}
@media screen and (max-width: 768px) {
    .cq-oop-pushdown .cq-oop-pushdown-creative {
        text-align: center;
    }
}

/* Reveals */
.cq-oop-reveal-wrap {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 0px;
    margin: 0 auto 10px auto;
    z-index: -999;
}
.cq-oop-reveal-wrap.fixed {
    position: fixed;
    top: 0;
}
.cq-reveal-creative {
    display:inline-block; 
    width: 100%;
}
.cq-reveal-creative img {
    width: 100%;
    height: auto;
}

/* Crawlers */
.cq-oop-crawler-wrap {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.75);
    z-index: 9999;
}
.cq-crawler-creative {
    display: block;
    max-height: 250px;
    overflow: hidden;
}
.cq-crawler-creative img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
}
.cq-oop-crawler-wrap .cq-closer {
    position: absolute;
    background: #666;
    padding: 2px 8px 5px 8px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    top: -10px;
    right: 100px;
}

/* Shoutbox */
.cq-oop-shoutbox {
    display: inline-block;
    position: fixed;
    text-align: center;
    background-color: rgba(0,0,0,0.75);
    z-index: 9999;
    height: 0px;
}
.cq-oop-shoutbox.cq-position-topright {
    top: 0;
    right: 0;
}
.cq-oop-shoutbox.cq-position-bottomright {
    bottom: 0;
    right: 0;
}
.cq-oop-shoutbox.cq-position-topleft {
    top: 0;
    left: 0;
}
.cq-oop-shoutbox.cq-position-bottomleft {
    bottom: 0;
    left: 0;
}
.cq-oop-shoutbox .cq-closer {
    position: absolute;
    background: #666;
    padding: 2px 8px 5px 8px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
}
.cq-oop-shoutbox.cq-position-topright .cq-closer {
    bottom: -10px;
    left: -10px;
}
.cq-oop-shoutbox.cq-position-topleft .cq-closer {
    bottom: -10px;
    right: -10px;
}
.cq-oop-shoutbox.cq-position-bottomright .cq-closer {
    top: -10px;
    left: -10px;
}
.cq-oop-shoutbox.cq-position-bottomleft .cq-closer {
    top: -10px;
    right: -10px;
}
.cq-oop-shoutbox img {
    margin: 30px;
}

/* Wallpaper */
.cq-oop-wallpaper-wrap {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.cq-oop-wallpaper {
    width: 100%;
    height: 100%;
}
.cq-oop-wallpaper .cq-creative img {
  position: absolute;
  top: 0;
  left: -9999px;
  right: -9999px;
  margin: auto;
  width: 2000px;
  height: 1100px;
  cursor: pointer;
  max-width: unset !important;
}

/* Autoplace */
.cq-oop-autoplace {
    text-align: center;
    margin: 20px 0;
}
.cq-oop-autoplace img {
    max-width: 100%;
}

/* Generic */
.cq-hidden {
    display: none;
}