/* Base Styles */

.t-block {
  visibility: hidden;
  bottom: 90px;
  right: 16px;
  position: fixed;
  z-index: 99999;
}

.t-review {
  width: 320px;
  height: 580px;
  position: relative;
  visibility: hidden;
  border-radius: 16px;
  box-shadow: 0px 0px 4px 0px black;
  position: fixed;
  bottom: 180px;
  right: 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.t-review.t-horizontal {
  width: 520px !important;
  height: 320px !important;
}

.t-iframe {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  border-radius: 16px;
}

img.t-logo {
  width: 66px;
  height: 66px;
  cursor: pointer;
  object-fit: contain;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

img.t-logo.animate {
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}

iframe.t-iframe body {
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */

  /* Hide scrollbar for Chrome, Safari and Opera */
}

.t-iframe::-webkit-scrollbar {
  display: none;
}

img.t-logo:hover,
img.t-alert:hover {
  filter: drop-shadow(1px 1px 3px black);
}

img.t-alert {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  margin-bottom: -2rem;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.t-review .t-overlay .t-overlay-close {
  display: none;
}

@media screen and (max-width: 576px) {
  .t-iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    border-radius: 16px;
    z-index: 9999;
    border: 0;
  }

  .t-review {
    visibility: hidden;
    border-radius: 0px;
    width: 100%;
    max-width: 150px;
    height: 35vh;
    border: 0;
    position: fixed;
    display: flex;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    height: center;
    bottom: 30vh;
    right: 16px;
    transition: all 0.25s ease;
  }

  .t-overlay {
    position: absolute;
    width: 100%;
    height: 75%;
    background-color: transparent;
    z-index: 99999;
  }

  .t-review.t-size-md {
    width: 100%;
    height: calc((var(--vh, 1vh) * 100));
    max-width: 100%;
    right: 0px;
    bottom: 0vh !important;
    z-index: 99999999;
  }

  .t-review.t-size-md .t-iframe {
    border-radius: 0px !important;
  }

  .t-review.t-size-md .t-overlay {
    top: 32px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
  }

  .t-review.t-size-md .t-overlay .t-overlay-close {
    display: block;
  }

  .t-block {
    visibility: hidden;
    position: fixed;
    bottom: 22vh;
    right: 16px;
  }

  img.t-logo {
    width: 56px;
    height: 56px;
    cursor: pointer;
    object-fit: cover;
  }
}

@media screen and (max-width: 250px) {
  .t-review.t-size-md .t-overlay {
    border: 0;
    position: absolute;
    width: 100%;
    height: 75%;
    background-color: transparent;
    z-index: 99999;
  }

  .t-review.t-size-md .t-overlay .t-overlay-close {
    display: none;
  }
}

@media screen and (min-width: 576px) and (max-height: 800px) {
  .t-review {
    height: 60%;
  }
}

/* End Base Styles */

.t-home-widget,
.t-widget {
  display: none;
}

.card {
  max-width: none !important;
}

.t-btn {
  background: #6f38ff;
  color: #fff !important;
}

.t-btn:hover {
  filter: opacity(0.9);
}

.card-header {
  background: #6f38ff;
  font-weight: 700;
  color: #fff;
}

.t-shortcode-iframe-reviews {
  width: 100%;
  max-width: 100%;
  height: 75vh;
}

.t-shortcode-iframe-reviews.t-fullscreen {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100vh !important;
  height: 100vh !important;
  z-index: 9999;
}

.t-shortcode-iframe-reviews.t-expanded {
  position: fixed;
  left: 0px;
  width: 100vw !important;
  z-index: 9999;
}

#adminmenu .wp-menu-image img {
  padding: 0px !important;
}
