/*
Theme Name:   Ollie Child
Theme URI:    https://olliewp.com
Description:  A child theme for Ollie.
Author:       OllieWP
Author URI:   http://onsilent.com
Template:     ollie
Version:      1.3.0.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: blog, portfolio, entertainment
Text Domain:  ollie
*/

h1, h3 {
	font-family: Plus Jakarta Sans;
	letter-spacing: -1px;
}

.cta {
	border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  border-color: #0A102F;
	cursor: pointer;
}

.cta-primary {
	background-color: #FFC900;
}

.cta-secondary {
	background-color: #FAF9F5;
}

.cta-primary:hover {
	background-color: #FFC900;
}

.cta-secondary:hover {
	background-color: #FFFEF6;
}

.yellow-text {
  color: #FFC900;
}

.sticky{
  position: sticky;
  top: 0;
  z-index: 99999;
}

.heading-with-badge {
  position: relative;
  display: inline-block;
}

.custom-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff0000;
  color: white;
  border-radius: 50%;
  padding: 0.2em 0.5em;
  font-size: 0.35em;
  font-weight: bold;
  line-height: 1.5;
  white-space: nowrap;
}

/* Scroller hack */
.margin-right {
  margin-right: 80px;
}

/* Reset the button style that for some unknown reason is set in the <a> style... */
/* Then adds our text styling */
div.cta a, div.cta a:hover {
	
	background-color: #FFC900;
  border-radius: 3px;
	font-family: "Inter", Sans-serif;
	font-size: 19px;
	font-weight: 700;
	text-transform: capitalize;
	line-height: 24px;
	letter-spacing: 1px;
	color: #0A102F;

}

.highlight {
  background-image: linear-gradient(
    -100deg,
    rgba(252, 185, 0, 0.2),
    rgba(252, 185, 0, 1) 95%,
    rgba(252, 185, 0, 0.2)
  );
}

.highlight-blue {
  background-image: linear-gradient(
    -100deg,
    rgba(9, 133, 234, 1),
    rgba(9, 133, 234, 1) 95%,
    rgba(9, 133, 234, 1)
  );
  font-size: var(--wp--preset--font-size--small) !important;
  color: white;
  padding: 4px;
  padding-top: 0px;
}

.highlight-more {
  background-image: linear-gradient(
    -100deg,
    rgba(252, 185, 0, 1),
    rgba(252, 185, 0, 1) 95%,
    rgba(252, 185, 0, 1)
  );
  color: black;
}

.underline {
  text-decoration: underline;
  text-decoration-color: #FFC900;
  text-decoration-thickness: 8px;
}

.underline-small {
  text-decoration: underline;
  text-decoration-color: #FFC900;
  text-decoration-thickness: 4px;
}

.quote-wrapper {
  position: relative; 
}

.oversize-quote {
  font-size: 150px;
  position: absolute;
  top: -10px;
  left: -60px;
  line-height: 1;
}


.font-secondary-color {
	color: #114036;
}

.header-label {
  background: white;
  color: black;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
}

/* Allowing to show or hide specific content on either of mobile or desktop */

/* Below applies on phones */
@media screen and (max-width: 780px) {
  .hide-on-mobile {
    display: none !important;
  }
  .adaptive-width {
    width: 100% !important;
  }
  .nf {
    margin-top: 5px !important;
  }
  h1 {
    font-size: 42px !important;
  }
  h2 {
    font-size: 22px !important;
  }
}

/* Below applies on desktop */
@media screen and (min-width: 781px) {
  .hide-on-desktop {
    display: none !important;
  }
  .adaptive-width {
    width: 50% !important;
  }
}

/* END */

/* Making image with that class 25% smaller on mobile screen */

.img-responsive {
  width: 100%; /* Make the image responsive */
  height: auto; /* Maintain aspect ratio */
  transition: transform 0.3s ease; /* Smooth transition for scaling */
}

/* Media query for devices with a width of up to 600px, typical for mobile */
@media (max-width: 600px) {
  .img-responsive {
    transform: scale(0.75); /* Reduce the size by 25% */
  }
}

/* END */

/* Slider dots tweak */
.slick-dots {
  bottom: -35px !important;
}

/* END */

/* FAQ Collapsible section */

.faq-header {
  display: inline;
  cursor: pointer;
}

.FAQ-details {
  border-bottom: #e0e0e0;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  padding-bottom: 15px;
}

summary h3 {
  font-size: 1.1em !important;
}
/* END */

/* Pricing Billing Period Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { /* Hide default HTML checkbox */
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .toggle {
  background-color: #141120;
}

input:focus + .toggle {
  box-shadow: 0 0 1px #141120;
}

input:checked + .toggle:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.toggle.round {
  border-radius: 34px;
}

.toggle.round:before {
  border-radius: 50%;
}
/* END */

/* Pricing Widget Slider */
.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #ffc900;
  outline: none;
  opacity: 0.8;
  -webkit-transition: .2s;
  transition: opacity .2s;
  padding: 0 !important;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #14111f;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #14111f;
  cursor: pointer;
}

.roi-calc-input-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    align-items: center;
    padding: 8px 8px;
    display: flex;
}

.roi-calc-input-dollar {
    margin-right: 8px;
    font-size: 18px;
}

.roi-calc-input-field {
    color: #000;
    border: 1px #000 !important;
    margin-bottom: 0;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 500;
    line-height: 18px;
}

.roi-calc-input-dollar.per-hour {
    color: #a0a0a0;
    width:40px;
    text-align: right;
}

/* END */

/* Loaders */

.last-message-loader-container, .all-message-loader-container, .tiny-loader-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
}

.last-message-loader-container, .all-message-loader-container {
  height: 365px; 
  min-height: 365px !important;
  max-height: 365px;
}

.last-message-loader, .all-message-loader, .tiny-loader {
  aspect-ratio: 1; /* Keeps a 1:1 aspect ratio */
  border-radius: 50%;
  border: 8px solid;
  border-color: #000 #0000;
  animation: l1 1s infinite;
}

.last-message-loader, .all-message-loader {
  width: 50px;
}

.tiny-loader {
  width: 32px;
}

@keyframes l1 {
  to {
    transform: rotate(.5turn);
  }
}

/* Below applies on phones */
@media screen and (max-width: 780px) {
  .last-message-loader-container, .all-message-loader-container {
    height: 220px; 
    min-height: 220px !important;
    max-height: 220px;
  }
}

/* END Loaders */

/* New VM Design */

.last-message-container {
  display: flex;
  align-items: center;
  height: 90% !important;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

.last-message-container, .all-message-container {
  width: 100%;
  max-width: 80%;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 5px;
}

.actions {
  display: flex;
  align-items: center;
}

.call-btn {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin-right: 10px;
  font-size: medium;
}

.icon-category, .icon-urgency, .icon-sentiment {
  font-size: 20px;
  margin-right: 5px;
}

.time, .caller {
  font-size: medium;
}

.message-body {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: #F9F9F9;
  border-radius: 15px;
  border-color: #DDDDDD;
  border-style: solid;
  border-width: thin;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.urgent-message {
  background-color: #ffd3d3;
}

.message-icon {
  font-size: 60px;
  margin-right: 20px;
}

.message-content h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.message-content p {
  font-size: 18px;
  color: #242319;
  margin: 0;
}

.reply {
  font-size: 18px;
  font-style: italic;
  text-align: right;
  padding-right: 10px;
  margin-right: 10px;
  border-right-color: #FFC900;
  border-right-style: solid;
  border-right-width: 4px;
}

/* Below applies on phones */
@media screen and (max-width: 780px) {
  #clock {
    display: none;
  }
  .demo-table {
    border-width: 0px !important;
  }
  .demo-record {
    padding: none !important;
    border-width: 0px !important;
    background: none !important;
  }
  .demo-display {
    border-width: 2px !important;
  }
  .last-message-container {
    max-width: 100%;
  }
  .icon {
    font-size: 16px;
  }
  .time, .caller {
    font-size: small;
  }
  .message-body{
    padding: 10px;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .message-header{
    display: none;
  }
  .message-container{
    max-width: 95%;
  }
  .message-content h2 {
    display: none;
  }
  .message-content p, .reply {
    font-size: 16px !important;
  }
  .message-icon {
    display: none;
  }
  .reply{
    margin-right: 0px;
  }
}

/* END New VM Design */

/* Audio recorder demo */

#audio-recorder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; /* Adjust this if you want a specific height */
  width: 100%; /* Adjust this if you want a specific width */
}

.recorder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* Adds space between button and status */
}

#recording-status {
  text-align: center;
}

#visualization-container {
  width: 100%; /* Adjust as needed */
  display: flex;
  justify-content: center;
  margin-top: 10px; /* Adds space above visualization */
}

/* END Audio recorder demo */

/* Email Input */

#email-input {
  width: 100%;
}

.disabled, .disabled:hover {
  background-color: #f1f1f1 !important;;
  color: #c5c5c5 !important;;
  text-decoration: none !important;;
  cursor: default !important;;
}

.soft-disabled:hover {
  text-decoration: none !important;
  cursor: default !important;
  background-color: #ffc900 !important;
  color: #000 !important;
}

/* END Email Input */

/* Voicemail Socket */

.vms-container {
  font-family: var(--wp--preset--font-family--primary);
  min-height: 390px !important;
  max-height: 390px;
  overflow: auto;
}

.vm-meta-data-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vm {
  min-width: 100%;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.vm-category-name {
  font-size: var(--wp--preset--font-size--x-small) !important;
  font-weight: var(--wp--custom--font-weight--semi-bold);
  color: var(--wp--preset--color--primary) !important;
  text-align: left;
  line-height: var(--wp--custom--line-height--body);
}

.vm-time {
  flex-grow: 0;
  flex-basis: 100%;
  text-align: left;
}

.vm-header-text, .vm-meta-data {
  font-size: 1rem;
  margin: 0;
}

.vm_tag {
  padding: 5px;
  padding-left: 8px;
  padding-right: 8px;
  margin-right: 5px;
  background-color: #e6e6e6;
  border-radius: 5px;
  font-weight: bold;
}

.tag-kpi-urgency-low { background-color: #e4f3ff; }
.tag-kpi-urgency-medium { background-color: #fffce4; }
.tag-kpi-urgency-high { background-color: #d52424; color: #e0e0e0; }

.tag-kpi-sentiment-poor { background-color: #ffdbb3; }
.tag-kpi-sentiment-neutral { background-color: #e2f7f0; }
.tag-kpi-sentiment-great { background-color: #ccf5c4; }

/* Style for even-numbered .vm divs */
.vms-container .vm:nth-child(even) {
  background-color: #faf9f5; /* Light gray background for even rows */
}

/* Optional: Style for odd-numbered .vm divs */
.vms-container .vm:nth-child(odd) {
  background-color: #ffffff; /* White background for odd rows */
}

.vm-title {
  flex-wrap: nowrap !important;
  display: flex;
  margin-top: 5px;
}

.vm-title-main {
  flex-basis: 100%;
  text-align: left;
}

.vm-title-text {
  margin: 0;
  font-size: 1.1rem !important;
  line-height: var(--wp--custom--line-height--body);
}

.vm-reply {
  display: flex; 
  width: 100%; 
  font-size: var(--wp--preset--font-size--x-small) !important;
  line-height: var(--wp--custom--line-height--body);
  margin-top: 5px;
}

.vm-reply-input, .vm-reply-btn {
  border: solid 1px #5b5b5b !important;
  font-size: var(--wp--preset--font-size--x-small) !important;
}

.vm-reply-input {
  flex-grow: 1;
  border-right: none !important;
  border-radius: 5px 0 0 5px !important;
  color: #565656;
}

.vm-reply-btn {
  background-color: #f9f9f9;
  white-space: nowrap; /* Prevents the text from wrapping */
  padding: 5px 10px;
  border-left: none;
  border-radius: 0 5px 5px 0 !important;
}

.vm-reply-btn:hover {
  cursor: pointer;
  background-color: rgb(239, 239, 239);
}

.vm-reply-btn-icon {
  vertical-align: middle !important;
}

/* END */

/* CSS ROTATOR */

.rotator-wrapper {
  position: relative;
}
.rotator-wrapper span {
  display: inline-block;
}
.rotator-wrapper span span {
  position: absolute;
  font-weight: bold;
  top: -0px;
  opacity: 0;
  animation: rotateWord 12s linear infinite 0s;
  color: #000000;
}
.rotator-wrapper span span:nth-child(2) {
  animation-delay: 2.4s;
}
.rotator-wrapper span span:nth-child(3) {
  animation-delay: 4.8s;
}
.rotator-wrapper span span:nth-child(4) {
  animation-delay: 7.2s;
}
.rotator-wrapper span span:nth-child(5) {
  animation-delay: 9.6s;
}
@keyframes rotateWord {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
    transform: translateY(-30px);
  }
  5% {
    opacity: 1;
    transform: translateY(0px);
  }
  15% {
    opacity: 1;
    transform: translateY(0px);
  }
  20% {
    opacity: 0;
    transform: translateY(30px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* END */

/* iPHONE BEZEL */

.iphone-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 375/812;
  background-color: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.iphone-video {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
}

.iphone-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* END */