/* 
* advanced query 
*/
.wpopus-advanced-query-infinite-scroll,
.wpopus-advanced-query-click-load {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wpopus-advanced-query-click-load .blog-loader-btn .more-btn {
  margin: 50px auto;
  cursor: pointer;
}

/* animation */
.wpopus-animation {
  position: relative;
  z-index: 1;
}
/* .wpopus-animation:has( .wpopus-advanced-button ),
.is-content-justification-right .wpopus-animation,
.is-content-justification-center .wpopus-animation {
    width: max-content;
} */

/* preload */
#wpopus-preload {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
#wpopus-preload .overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
}
#wpopus-preload img.preload-img {
  position: relative;
  max-width: 500px;
}

/* 
* back to top
*/
#wpopus-backtotop {
  position: fixed;
  right: 50px;
  bottom: 10%;
  max-width: 300px;
  width: max-content;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
}

/* 
* masonry 
*/
.wpopus-advanced-query-masonry ul.is-layout-grid {
  position: relative;
}
.wpopus-advanced-query-masonry ul.is-layout-grid li {
  position: absolute;
}

/* 
* hover effect
*/
.wpopus-hover-slide-up,
.wpopus-hover-slide-down,
.wpopus-hover-slide-right,
.wpopus-hover-slide-left,
.wpopus-hover-zoom-in,
.wpopus-hover-zoom-out,
.wpopus-hover-twirl-right,
.wpopus-hover-twirl-left {
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.wpopus-hover-slide-up:hover {
  transform: translateY(-10px);
}
.wpopus-hover-slide-down:hover {
  transform: translateY(10px);
}
.wpopus-hover-slide-right:hover {
  transform: translateX(10px);
}
.wpopus-hover-slide-left:hover {
  transform: translateX(-10px);
}
.wpopus-hover-zoom-in:hover {
  transform: scale(1.05);
}
.wpopus-hover-zoom-out:hover {
  transform: scale(0.95);
}
.wpopus-hover-twirl-right:hover {
  transform: rotate(5deg);
}
.wpopus-hover-twirl-left:hover {
  transform: rotate(-5deg);
}

/* 
* Effects
*/
.margin-top-negative-50 {
  margin-top: -50px !important;
  z-index: 333;
  position: relative;
}
.margin-top-negative-100 {
  margin-top: -100px !important;
  z-index: 333;
  position: relative;
}
.margin-top-negative-150 {
  margin-top: -150px !important;
  z-index: 333;
  position: relative;
}
/* 
 * TTS
 */
#wpopus-tts-wrapper {
  margin-bottom: 20px;
}
#wpopus-speech-msg {
  display: none;
}
#wpopus-tts-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#wpopus-tts-open {
  margin: 0 5px 0 0;
  height: 45px;
  width: 45px;
  border-radius: 50px;
}
#wpopus-tts-label svg {
  margin-right: 5px;
  height: 100%;
  width: 100%;
}
#wpopus-tts-label .wpopus-label-content {
  display: flex;
  flex-direction: column;
}
#wpopus-tts-control {
  position: fixed;
  z-index: 100;
  bottom: 0;
  right: 15px;
  height: 0;
  width: 300px;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
  box-sizing: border-box;
  box-shadow: 0 0 10px 0 #999999;
  border-radius: 5px 5px 0 0;
  padding: 25px;
}
#wpopus-tts-control.active {
  height: max-content;
  opacity: 1;
}
#wpopus-tts-control h6 {
  margin-bottom: 15px;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
}
#wpopus-tts-control p {
  margin: 0;
}
#wpopus-tts-control br {
  display: none;
}
#wpopus-tts-wrapper .wpopus-tts-option {
  margin: 20px 0;
}
#wpopus-tts-wrapper .wpopus-tts-option label {
  line-height: 1.3;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #1d1d1d;
  text-transform: uppercase;
  display: block;
  margin: 0;
}
#wpopus-tts-voice {
  max-width: 100%;
  height: 35px;
  width: 260px;
  border-radius: 5px;
  color: #666666;
}
#wpopus-tts-volume {
  width: 260px;
  max-width: 100%;
  position: relative;
  top: -5px;
}
#wpopus-tts-label .wpopus-label-content h6,
#wpopus-tts-label .wpopus-label-content p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
#wpopus-tts-label .wpopus-label-content p#wpopus-tts-content-duration {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}
input#wpopus-tts-volume {
  outline: none;
}
#wpopus-tts-wrapper button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: #1d1d1d;
  border: 1px solid #999999;
  border-radius: 50px;
  width: max-content;
  cursor: pointer;
  height: 40px;
  width: 40px;
  padding: 10px;
}
#wpopus-tts-wrapper button:focus,
#wpopus-tts-wrapper button:active,
#wpopus-tts-wrapper button:hover {
  background: rgba(0, 0, 0, 0.1);
}
#wpopus-tts-control-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#wpopus-tts-wrapper button#wpopus-resume,
#wpopus-tts-wrapper button#wpopus-speak {
  height: 60px;
  width: 60px;
}
#wpopus-tts-control-buttons button.hide {
  display: none;
}
#wpopus-tts-wrapper .wpopus-tts-option input[type="range"] {
  accent-color: #1d1d1d;
  height: 2px;
}

/* 
* Header Search
*/
.wpopus-search-form {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  width: 0;
  height: 0;
  z-index: 999;
  opacity: 0;
  top: 0;
  left: 0;
}

/* 
* Responsive
*/
@media screen and (min-width: 1024px) {
  .wpopus-hide-on-desktop {
    display: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .wpopus-hide-on-tablet {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .wpopus-hide-on-mobile {
    display: none !important;
  }
}

@media screen and (min-width: 782px) {
  .margin-top-negative-50-large-screen {
    margin-top: -50px !important;
    z-index: 333;
    position: relative;
  }
  .margin-top-negative-100-large-screen {
    margin-top: -100px !important;
    z-index: 333;
    position: relative;
  }
  .margin-top-negative-150-large-screen {
    margin-top: -150px !important;
    z-index: 333;
    position: relative;
  }
}
