@import url(https://fonts.googleapis.com/earlyaccess/opensanshebrew.css);
:root {
  --main-color: #cc0033;
}

div#vbr {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    direction: rtl;
    font-family:'Open Sans Hebrew';
    /* max-width: 100vw; */
}

div#vbr_overlay {position: fixed;left: 0;top: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.7);display:none;opacity: 1;z-index: 2;}
div#vbr_overlay.open { display:block;opacity:1;z-index:2; }
div#vbr.open .vbr-close {
    opacity: 1;
    transform: none;
}
div#vbr.open .vbr-start {
    z-index: 0;
}
.vbr-close:before {content: '';position: absolute;left: 0;top: 0;width: 40%;background: white;height: 2px;right: 0;bottom: 0;margin: auto;transform: rotate(-45deg);}
.vbr-close:after {content: '';position: absolute;left: 0;top: 0;width: 40%;background: white;height: 2px;right: 0;bottom: 0;margin: auto;transform: rotate(45deg);}
.vbr-close {
    position: absolute;
    right: 18px;
    bottom: 20px;
    font-size: 20px;
    color: white;
    width: 60px;
    height: 60px;
    background: #54595F;
    z-index: 22;
    display: table;
    border-radius: 50px;
    line-height: 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: 0.4s all ease;
}

.vbr-start {
    background: var(--main-color);
    display: table;
    bottom: 0;
    position: absolute;
    right: 0;
    width: 77px;
    transition: 0.4s all ease;
    height: 82px;
    line-height: 82px;
    color: white;
    text-align: center;
    font-size: 40px;
    margin: 10px;
    border-radius: 40px 40px 0px 40px;
}
.vbr-start.fa, .fa-microphone{
    font-size: 40px!important;
}
.vbr-button-start .fa-microphone {
    font-size: 28px!important;
}
.vbr-step {
    display: none;
}

div#vbr-player {
    display: none;
}


.vbr-step {
    position: absolute;
    bottom: 100px;
    width: 580px;
    z-index: 3;
    right: 10px;
    /* background: red; */
    display: none;
    filter: drop-shadow(0px 4px 16px rgba(0,0,0,.4));
    /* max-width: calc(100vw - 20px); */
}

.vbr-step1-upper {
    background: url(/wp-content/plugins/voice-button/images/s1.png);
    height: 190px;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.vbr-step1-content {
    /* border-radius: 0px 0px 40px 40px; */
    background: white;
    text-align: center;
    padding: 10px;
    font-size: 26px;
    color: #333;
    border-radius: 0px 0px 40px 40px;
}

.vbr-button {
    display: inline-block;
    margin: 10px 5px;
    background: var(--main-color);
    color: white;
    line-height: 1;
    font-size: 28px;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
}
.vbr-button:hover {
    -webkit-filter: brightness(70%); /* Safari 6.0 - 9.0 */
    filter: brightness(70%);
    transition: 0.3s all ease;
}
.vbr-button.vbr-button-restart {
    background: #eeeeee;
    color: #999;
    font-size: 22px;
    padding: 12px 15px 9px 15px!important;
}
.vbr-button.vbr-button-restart .fa{
    width: 22px;
}

.vbr-button.vbr-button-send{
    font-size: 22px;
    padding: 12px 22px 9px 22px!important;
}
.vbr-button.vbr-button-send .fa{
    width: 22px;
}

.vbr-step2-upper {
    background: url(/wp-content/plugins/voice-button/images/s2.png);
    height: 140px;
    background-size: cover;
    background-position: bottom center;
    position: relative;
}

.vbr-step2-content {
    border-radius: 0px 0px 40px 40px;
    background: white;
    text-align: center;
    padding: 10px;
    font-size: 30px!important;
    color: #333;
    line-height: 1.3;
}
.vbr-step2-content-txt-small {
    color: #aeaeae;
    font-size: 14px!important;
    line-height: 1;
}
.vbr-step2-content .fa fa-stop{
    font-size: 20px!important;
    margin-left: 8px;
    width: 22px!important;
}


div#step2-svg {
    width: 80px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: auto;
    display: block;
}

.vbr-step3-upper {
    background: url(/wp-content/plugins/voice-button/images/s3.png);
    height: 140px;
    background-size: cover;
    background-position: bottom center;
}

.vbr-step3-content {
    border-radius: 0px 0px 40px 40px;
    background: white;
    text-align: center;
    padding: 10px;
    font-size: 30px;
    color: #333;
}

.vbr-step3-content .fa-envelope{
    padding: 0px 0px 3px 0px;
    font-size: 20px;
}
.vbr-step4-upper {
    background: url(/wp-content/plugins/voice-button/images/s4.png);
    height: 103px;
    background-size: cover;
    background-position: bottom center;
}

.vbr-step4-content {
    border-radius: 0px 0px 40px 40px;
    background: white;
    text-align: center;
    padding: 80px 10px 10px;
    font-size: 28px;
    color: #333;
}

.vbr-step small {
    display: block;
    margin-bottom: 20px;
    font-size: 18px;
}

img.s4img {
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    display: table;
    margin: auto;
}
iframe#vbr-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 22;
    border: 0px;
}
audio::-webkit-media-controls-panel
{
    background:#fff;
}
@media (max-width:767px)
{
  .vbr-step {
      width: calc(100vw - 20px);
      padding: 30px 10px 0px;
  }

  .vbr-step1-upper {
      height: calc(44.1vw - 40px);
      background-size: cover;
      background-size: contain;
      background-position: bottom;
      background-repeat: no-repeat;
  }

  .vbr-step1-content {
      font-size: 25px;
      line-height: 1.5;
  }

  .vbr-button {
      font-size: 23px;
      line-height: 1;
      padding: 14px 34px 11px 35px;
  }
  .vbr-step2-upper {
      height: 73px;
      background-size: cover;
      height: 34vw;
      background-size: contain;
      background-position: bottom;
      background-repeat: no-repeat;
  }

  .vbr-step3-upper {
      height: 73px;
      background-size: cover;
      height: calc(41.1vw - 40px);
      background-size: contain;
      background-position: bottom;
      background-repeat: no-repeat;
  }

  .vbr-step3-content {
      font-size: 26px;
  }

  .vbr-step4-upper {
      height: 50px;
      height: calc(32.1vw - 40px);
      background-size: contain;
      background-position: bottom;
      background-repeat: no-repeat;
  }

  img.s4img {
      width: 100px;
      top: 16vw;
  }

  .vbr-step4-content {
      font-size: 22px;
      padding-top: 55px;
      line-height: 1.2;
  }

  .vbr-step small {
      font-size: 0.8em;
  } 
  div#step2-svg {
      bottom: -10px;
  }
  .vbr-step3 .vbr-button {padding: 14px 15px;margin: 10px 2px;}
}

@media (min-width:1000px)
{
    .vbr-start{
        display: none!important;
    }    
}



/**** ANIMATION ***/

.ani-fade-in {
	-webkit-animation: fade-in 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: fade-in 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.ani-fade-in-100 {
	-webkit-animation: fade-in 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 100ms both;
	        animation: fade-in 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 100ms both;
}
.ani-fade-in-200 {
	-webkit-animation: fade-in 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 200ms both;
	        animation: fade-in 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 200ms both;
}
@-webkit-keyframes fade-in {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}


.ani-scale-in-center {
	-webkit-animation: scale-in-center 0.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-center 0.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.ani-scale-in-center-100 {
	-webkit-animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 50ms both;
	        animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 50ms both;
}
.ani-scale-in-center-100 {
	-webkit-animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 100ms both;
	        animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 100ms both;
}
.ani-scale-in-center-200 {
	-webkit-animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 200ms both;
	        animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 200ms both;
}
.ani-scale-in-center-300 {
	-webkit-animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 300ms both;
	        animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) 300ms both;
}
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}


.ani-jello-horizontal {
	-webkit-animation: jello-horizontal 0.9s both;
	        animation: jello-horizontal 0.9s both;
}
/* ----------------------------------------------
 * Generated by Animista on 2019-12-4 10:11:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation jello-horizontal
 * ----------------------------------------
 */
@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
            transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
@keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
            transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}


.ani-slide-in-fwd-center {
	-webkit-animation: slide-in-fwd-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) 100ms  both;
	        animation: slide-in-fwd-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) 100ms  both;
}
@-webkit-keyframes slide-in-fwd-center {
  0% {
    -webkit-transform: translateZ(-1400px);
            transform: translateZ(-1400px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes slide-in-fwd-center {
  0% {
    -webkit-transform: translateZ(-1400px);
            transform: translateZ(-1400px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}


/*
div#vbr {
    position: fixed;
    right: 20px;
    top: 0;
    bottom: 0;
    height: 50px;
    width: 50px;
    background: white;
    display: table;
    z-index: 999;
    margin: auto;
    border-radius: 40px;
    transition: 0.4s all ease;
    box-shadow: 0px 0px 0px 5px rgba(0,0,0,0.5);
}
div#vbr-player {
    position: absolute;
    top: 100%;
    right: 0px;
    width: 220px;
    background: white;
    border: 0px solid black;
    padding: 15px;
    display: none;
}

a#upload_but {
    position: absolute;
    bottom: 100%;
    width: 50px;
    height: 50px;
    background: black;
    right: 0px;
    border-radius: 50px;
}

a#upload_but:after {
    content: "\f1d8";
    font-family: fontAwesome;
    color: white;
    height: 50px;
    line-height: 50px;
    font-size: 32px;
    text-align: center;
    display: block;
}

div#vbr:after {
    content: '';
    font-family: fontAwesome;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    display: table;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 32px;
}

div#vbr.ready:after {
    content: "\f130";
    color: #76bd53;
    border-color: #76bd53;
}

div#vbr.ready {
    box-shadow: 0px 0px 0px 5px #76bd53;
}


  
  #vbr.recording .vbr-anim-1,
  #vbr.recording .vbr-anim-2,
  #vbr.recording .vbr-anim-3,
  #vbr.recording .vbr-anim-4 {
    display: inline-block;
    border-radius: 13px;
    margin: auto 2px;
    width: 5px;
    transition: .5s;
    animation: equalize 4s 0s infinite;
    animation-timing-function: linear;
    vertical-align: top;
  }
  
  #vbr.recording .vbr-anim-4 {
    height: 30px;
    background: #70c190;
    transition: 0.5s;
    animation-delay: -1.9s;
  }
  
  #vbr.recording .vbr-anim-3 {
    height: 38px;
    background: #56b77d;
    animation-delay: -2.9s;
  }
  
  #vbr.recording .vbr-anim-2 {
    height: 34px;
    background: #43ab6d;
    animation-delay: -3.9s;
  }
  
  #vbr.recording .vbr-anim-1 {
    height: 26px;
    background: #37985e;
    animation-delay: -4.9s;
  }



div#vbr-animation {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    text-align: center;
    justify-content: center;
    margin: auto;
}

div#vbr-inner {
    display: flex;
    margin: auto;
    width: 100%;
    height: 100%;
}
div#vbr.uploaded:after {
    color: white;
    content: "\f00c";
    background: #ffffff;
    border-radius: 50px;
    color: black;
}

div#vbr.uploaded {
    box-shadow: 0px 0px 0px 5px #5acc92;
}



div#vbr.recorded:after {
    color: white;
    content: "\f093";
    background: #ffffff;
    border-radius: 50px;
    color: black;
    animation: blinker 1s linear infinite;
}

div#vbr.recorded {
    box-shadow: 0px 0px 0px 5px #5acc92;
}


@keyframes blinker {
  50% {
    opacity: 0;
  }
}
@keyframes equalize {
  0% {
    height: 40px;
  }
  4% {
    height: 42px;
  }
  8% {
    height: 20px;
  }
  12% {
    height: 25x;
  }
  16% {
    height: 20px;
  }
  20% {
    height: 25px;
  }
  24% {
    height: 30px;
  }
  28% {
    height: 10px;
  }
  32% {
    height: 30px;
  }
  36% {
    height: 38px;
  }
  40% {
    height: 20px;
  }
  44% {
    height: 3px;
  }
  48% {
    height: 20px;
  }
  52% {
    height: 30px;
  }
  56% {
    height: 10px;
  }
  60% {
    height: 30px;
  }
  64% {
    height: 23px;
  }
  68% {
    height: 33px;
  }
  72% {
    height: 22px;
  }
  76% {
    height: 22px;
  }
  80% {
    height: 40px;
  }
  84% {
    height: 30px;
  }
  88% {
    height: 25px;
  }
  92% {
    height: 25px;
  }
  96% {
    height: 35x;
  }
  100% {
    height: 30px;
  }
}
*/