/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.adfoxly-wrapper > a,
.adfoxly-wrapper > span,
.entry-content .adfoxly-wrapper > a,
.entry-content .adfoxly-wrapper > span {
  position: relative;
  text-decoration: none;
  border-bottom: none;
  display: none;
}

.entry-content img {
  max-width: 100%
}

.adfoxly-wrapper > a,
.adfoxly-wrapper > span,
.entry-content .adfoxly-wrapper,
.entry-content .adfoxly-wrapper > span {
  text-decoration: none;
  border-bottom: none;
}

.adfoxly-wrapper > a.active,
.adfoxly-wrapper > span.active {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.adfoxly-wrapper > a.hide,
.adfoxly-wrapper > span.hide {
  display: none;
}

.entry-content .adfoxly-wrapper {
  margin-bottom: 20px;
  overflow: hidden;
  display: block;
  float: initial;
  position: relative;
  width: 100%;
}

.adfoxly-wrapper.sticky.sticky-bottom {
  position: fixed;
  bottom: 0; /* if bottom */
  width: 100%;
  z-index: 999;
  background: #fff;
  padding-top: 5px;
  max-height: 8vh;
  /*left: 50%; !* if center *!*/
  /*transform: translateX(-50%); !* if center *!*/
  /*left: 0%; !* if left *!*/
  /*right: 0%; !* if right *!*/
  /*top: 0; !* if top *!*/
  /*vertical-align: top; !* if top *!*/
}

.adfoxly-wrapper.sticky.sticky-bottom .sticky-bottom-close .adfoxly-close-sticky-x,
.adfoxly-wrapper.sticky.sticky-bottom .sticky-bottom-close .adfoxly-close-x {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: -38px;
  background: #fff;
  border-radius: 10px 0 0 0;
  padding: 10px 10px 10px 15px;
  z-index: 999;
  line-height: 1;
}

.adfoxly-wrapper.sticky.sticky-top .sticky-top-close .adfoxly-close-sticky-top-x,
.adfoxly-wrapper.sticky.sticky-top .sticky-top-close .adfoxly-close-x {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 0;
  background: #fff;
  border-radius: 0 0 10px 10px;
  padding: 10px;
  line-height: 1;
  z-index: 999;
}

.adfoxly-wrapper.sticky.sticky-left .sticky-left-close,
.adfoxly-wrapper.sticky.sticky-right .sticky-right-close {
  position: initial;
}

.adfoxly-wrapper.sticky.sticky-left .sticky-left-close .adfoxly-close-sticky-left-x,
.adfoxly-wrapper.sticky.sticky-left .sticky-left-close .adfoxly-close-x {
  cursor: pointer;
  position: absolute;
  right: -34px;
  bottom: 0;
  background: #fff;
  border-radius: 0 10px 10px 0;
  padding: 10px;
  z-index: 999;
  line-height: 1;
}

.adfoxly-wrapper.sticky.sticky-right .sticky-right-close .adfoxly-close-sticky-right-x,
.adfoxly-wrapper.sticky.sticky-right .sticky-right-close .adfoxly-close-x {
  cursor: pointer;
  position: absolute;
  left: -34px;
  bottom: 0;
  background: #fff;
  border-radius: 10px 0 0 10px;
  padding: 10px;
  z-index: 999;
  line-height: 1;
}

.adfoxly-wrapper.sticky.sticky-bottom .sticky-top-close .adfoxly-close-sticky-top-x svg,
.adfoxly-wrapper.sticky.sticky-bottom .sticky-bottom-close .adfoxly-close-sticky-x svg,
.adfoxly-wrapper.sticky.sticky-top .sticky-top-close .adfoxly-close-sticky-top-x svg,
.adfoxly-wrapper.sticky.sticky-top .sticky-bottom-close .adfoxly-close-sticky-x svg,
.adfoxly-wrapper.sticky.sticky-left .sticky-left-close .adfoxly-close-sticky-left-x svg,
.adfoxly-wrapper.sticky.sticky-left .sticky-right-close .adfoxly-close-sticky-right-x svg,
.adfoxly-wrapper.sticky.sticky-right .sticky-left-close .adfoxly-close-sticky-left-x svg,
.adfoxly-wrapper.sticky.sticky-right .sticky-right-close .adfoxly-close-sticky-right-x svg {
  width: 14px;
  height: 14px;
}

.adfoxly-wrapper.sticky.sticky-top {
  position: fixed;
  top: 0; /* if top */
  width: 100%;
  z-index: 999;
  background: #fff;
  padding-bottom: 5px;
  max-height: calc(8vh + 5px);
  box-shadow: 0 0 20px 5px rgba(100, 100, 100, .1);
  /*left: 50%; !* if center *!*/
  /*transform: translateX(-50%); !* if center *!*/
  /*left: 0%; !* if left *!*/
  /*right: 0%; !* if right *!*/
  /*top: 0; !* if top *!*/
  /*vertical-align: top; !* if top *!*/
}

.adfoxly-wrapper.sticky.sticky-left {
  position: fixed;
  left: 0;
  bottom: 0;
  max-width: 30vw;
  z-index: 999;
  padding-bottom: 0;
  max-height: calc(100vh);
  box-shadow: 0 0 20px 5px rgba(100, 100, 100, .1);
  /*left: 50%; !* if center *!*/
  /*transform: translateX(-50%); !* if center *!*/
  /*left: 0%; !* if left *!*/
  /*right: 0%; !* if right *!*/
  /*top: 0; !* if top *!*/
  /*vertical-align: top; !* if top *!*/
}

.adfoxly-wrapper.sticky.sticky-right {
  position: fixed;
  right: 0;
  bottom: 0;
  max-width: 30vw;
  z-index: 999;
  padding-bottom: 0;
  max-height: calc(100vh);
  box-shadow: 0 0 20px 5px rgba(100, 100, 100, .1);
  /*left: 50%; !* if center *!*/
  /*transform: translateX(-50%); !* if center *!*/
  /*left: 0%; !* if left *!*/
  /*right: 0%; !* if right *!*/
  /*top: 0; !* if top *!*/
  /*vertical-align: top; !* if top *!*/
}

.adfoxly-wrapper.sticky img {
  max-height: 8vh;
  max-width: 100%;
  text-align: center;
  position: relative;
  left: 50%; /* if center */
  transform: translateX(-50%); /* if center */
  margin-bottom: 0; /* if bottom */
  vertical-align: bottom; /* if bottom */
}

.adfoxly-wrapper.sticky.sticky-top > span > ins:first-of-type ins:first-of-type,
.adfoxly-wrapper.sticky.sticky-bottom > span > ins:first-of-type ins:first-of-type {
  left: 50%;
  transform: translateX(-50%);
}

.adfoxly-wrapper.sticky img::before {
  content: "";
  background: url('http://adfoxly.com/dist/images/adfoxly-logo-ddd.svg');
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  z-index: 999999;
  display: block;
}

.adfoxly-wrapper.sticky.sticky-left img {
  max-height: 100vh;
  max-width: 100%;
  text-align: center;
  position: relative;
  left: 0; /* if center */
  transform: translateX(0); /* if center */
  margin-bottom: 0; /* if bottom */
  vertical-align: bottom; /* if bottom */
}

.adfoxly-wrapper.sticky.sticky-right img {
  max-height: 100vh;
  max-width: 100%;
  text-align: center;
  position: relative;
  left: initial;
  right: 0; /* if center */
  transform: translateX(0); /* if center */
  margin-bottom: 0; /* if bottom */
  vertical-align: bottom; /* if bottom */
}

  /* ads tooltip */
.entry-content a.tooltip-ad {
  position: relative;
  display: inline;
}

.entry-content a.tooltip-ad span {
  position: absolute;
  width: 250px;
  color: #aaa;
  background: #fff;
  height: 250px;
  line-height: 40px;
  text-align: center;
  visibility: hidden;
  border-radius: 4px;
  box-shadow: 0px 2px 5px #c7c7c7;
}

.entry-content a.tooltip-ad span img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

.entry-content a.tooltip-ad span:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #fff;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}

.entry-content a:hover.tooltip-ad span {
  visibility: visible;
  opacity: 1;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

/*popup*/

/*.overlay {*/
  /*position: fixed;*/
  /*top: 0;*/
  /*bottom: 0;*/
  /*left: 0;*/
  /*right: 0;*/
  /*background: rgba(0, 0, 0, 0.7);*/
  /*transition: opacity 500ms;*/
  /*visibility: hidden;*/
  /*opacity: 0;*/
/*}*/
/*.overlay:target {*/
  /*visibility: visible;*/
  /*opacity: 1;*/
/*}*/

/*.popup {*/
  /*margin: 70px auto;*/
  /*padding: 20px;*/
  /*background: #fff;*/
  /*border-radius: 5px;*/
  /*width: 30%;*/
  /*position: relative;*/
  /*transition: all 5s ease-in-out;*/
/*}*/

/*.popup h2 {*/
  /*margin-top: 0;*/
  /*color: #333;*/
  /*font-family: Tahoma, Arial, sans-serif;*/
/*}*/
/*.popup .close {*/
  /*position: absolute;*/
  /*top: 20px;*/
  /*right: 30px;*/
  /*transition: all 200ms;*/
  /*font-size: 30px;*/
  /*font-weight: bold;*/
  /*text-decoration: none;*/
  /*color: #333;*/
/*}*/
/*.popup .close:hover {*/
  /*color: #06D85F;*/
/*}*/
/*.popup .content {*/
  /*max-height: 30%;*/
  /*overflow: auto;*/
/*}*/


/*new popup*/

/*.box {*/
  /*width: 40%;*/
  /*margin: 0 auto;*/
  /*background: rgba(255,255,255,0.2);*/
  /*padding: 35px;*/
  /*border: 2px solid #fff;*/
  /*border-radius: 20px/50px;*/
  /*background-clip: padding-box;*/
  /*text-align: center;*/
/*}*/

/*.button {*/
  /*font-size: 1em;*/
  /*padding: 10px;*/
  /*color: #fff;*/
  /*border: 2px solid #06D85F;*/
  /*border-radius: 20px/50px;*/
  /*text-decoration: none;*/
  /*cursor: pointer;*/
  /*transition: all 0.3s ease-out;*/
/*}*/
/*.button:hover {*/
  /*background: #06D85F;*/
/*}*/

.adfoxly-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  transition: opacity 500ms;
  /*visibility: hidden;*/
  visibility: visible;
  /*opacity: 0;*/
  opacity: 1;
}
.adfoxly-overlay:target {
  visibility: visible;
  opacity: 1;
}

.adfoxly-wrapper.popup {
  /*margin: 70px auto;*/
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 1s ease-in-out;
  max-height: 80%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.adfoxly-wrapper.popup.popup-v2 {
  padding: 0;
  height: auto;
}

.adfoxly-wrapper.popup-v3 {
  /*width: 100%;*/
  /*position: relative;*/
  /*height: 100%;*/
}

.adfoxly-wrapper.popup-v3 a {
  padding: 20px;
  border-radius: 5px;
  position: absolute;
  transition: all 1s ease-in-out;
  max-height: 80%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}

.adfoxly-wrapper.popup h2 {
  margin-top: 0;
  color: #333;
}
.adfoxly-wrapper.popup .adfoxly-close {
  position: absolute;
  top: -10px;
  right: -10px;
  transition: all 200ms;
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.adfoxly-wrapper.popup-v3 .adfoxly-close {
  position: absolute;
  top: 5px;
  right: 5px;
  transition: all 200ms;
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.adfoxly-wrapper.popup.popup-v2 .adfoxly-close {
  z-index: 1;
}

.adfoxly-wrapper.popup .adfoxly-close .adfoxly-close-x {
  display: block;
  line-height: 1;
}

.adfoxly-wrapper.popup .adfoxly-close .adfoxly-close-x svg {
  width: 14px;
  height: 14px;
  margin: 7px 8px;
}

.adfoxly-wrapper.popup-v3 .adfoxly-close .adfoxly-close-x {
  display: block;
  line-height: initial;
}

.adfoxly-wrapper.popup-v3 .adfoxly-close .adfoxly-close-x {
  width: 14px;
  height: 14px;
  margin: 7px 8px;
}

.adfoxly-wrapper.popup .adfoxly-close:hover {
  /*color: #06D85F;*/
}
.adfoxly-wrapper.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .adfoxly-box{
    width: 70%;
  }
  .adfoxly-wrapper.popup{
    width: 70%;
  }
}


.adfoxly-wrapper.popup a img,
.adfoxly-wrapper.popup-v3 a img {
  max-height: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.adfoxly-adzone-popup-delay-wrapper {
  display: none;
}

.adfoxly-place-delay {
  display: none;
}
