/**
 * Sippo Click2Call
 */
.sippo-click2call {
  display: flex;
  width: 172px;
  max-width: calc( 100% - 70px);
  height: 50px;
  border-radius: 100px 0 0 100px;
  position: fixed;
  bottom: 75px;
  right: -122px;
  background-color: #eee;
  font-family: 'sippo-v4-iconfont';
  font-size: 16px;
  cursor: pointer;
  background-color: #eee;
  color: #792121;
  font-family: 'Poppins';
  box-shadow: 0 1px 2px 0 #792121,
    0 3px 8px 0 rgba(0,0,0,0.35),
    0 7px 14px 0 rgba(0,0,0,0.2),
    3px 8px 16px 0 rgba(0,0,0,0.15);
}
.sippo-click2call.animated {
  -webkit-transition: all 0.5s; /* Safari */
  transition: all 0.5s;
}
.sippo-click2call.opened {
  height: 480px;
  width: 384px;
  bottom: 10px;
  right: 10px;
  border-radius: 2px;
  cursor: inherit;
}
.sippo-click2call:not(.opened):hover {
  right: 0;
}
/* For mobile devices without hover */
@media (hover: none) {
  .sippo-click2call:not(.opened):hover {
    right: -122px;
  }
}
.sippo-click2call>.btn {
  width: 40px;
  height: 40px;
  margin: 5px;
  padding: 0;
  background-color: #792121 !important;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.5);
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.sippo-click2call.opened .btn {
  position: absolute;
  top: 0;
  left: -50px;
  margin: 0;
}
.sippo-click2call>.btn .icon {
  font-size: 23px;
}
.sippo-click2call>.btn .icon:before {
  color: white;
  margin-left: 0;
}

.sippo-click2call .help-text {
  font-size: 17px;
  margin: auto;
}
.sippo-click2call.opened .help-text {
  display: none;
}

.sippo-click2call .target {
  display: none;
  width: 100%;
  height: 100%;
  font-size: 16px;
  padding: 0.5em;
}
.sippo-click2call:not(.opened) .target {
  display: none !important;
}

/**
 * Form
 */
.sippo-click2call .form {
  margin: 1em;
  transition: visibility 0s, opacity 0.5s linear;
  display: flex;
  flex-direction: column;
  height: calc(100% - 2em);
  -webkit-animation: fadeInFromNone 0.5s ease-out;
  -moz-animation: fadeInFromNone 0.5s ease-out;
  -o-animation: fadeInFromNone 0.5s ease-out;
  animation: fadeInFromNone 0.5s ease-out;
}
.sippo-click2call .form h4 {
  font-family: 'Poppins';
  font-weight: 100;
  margin-top: 0;
  margin-bottom: 1.2em;
}
.sippo-click2call .form .content {
  flex-grow: 1;
}
.sippo-click2call .form input[type="text"],
.sippo-click2call .form input[type="email"] {
  line-height: 1.8em;
  margin: 0.5em 0;
  width: 100%;
  font-family: 'Poppins';
  padding: 0.5em 0.7em;
  color: #111;
}

.sippo-click2call .form input[type="text"]:focus,
.sippo-click2call .form input[type="email"]:focus {
  outline-color: #792121;
  outline-offset: 0;
  outline-width: 1px;
  outline-style: solid;
  border-color: transparent;
}
.sippo-click2call .form input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  top: 0.2em;
  position: relative;
  margin-right: 0.5em;
  margin-top: 0.5em;
}
.sippo-click2call .form input[type="submit"] {
  font-size: 16px;
  width: 100%;
  background-color: #792121;
  font-family: 'Poppins';
  border-radius: 2px;
  color: white;
  padding: 0.76em 1em;
}
.sippo-click2call .form input[type="submit"]:hover {
  background-color: #5a1818;
}
.sippo-click2call .form label {
  display: inline;
  font-weight: normal;
}
.sippo-click2call .form p {
  margin: 0.9em 0;
}
.sippo-click2call:not(.opened) .form {
  display: none;
}
@keyframes fadeInFromNone {
  0% {
      display: none;
      opacity: 0;
  }
  1% {
      display: block;
      opacity: 0;
  }
  100% {
      display: block;
      opacity: 1;
  }
}
@keyframes fadeInFromNone {
  0% {
      display: none;
      opacity: 0;
  }

  1% {
      display: block;
      opacity: 0;
  }

  100% {
      display: block;
      opacity: 1;
  }
}

/* Adapt to small device, e.g. iPhone 5 */
@media(max-width: 400px) {
  .sippo-click2call .form {
    font-size: 15px;
  }
}

/**
 * Loading
 */
.sippo-click2call .lds-ripple {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
}
.sippo-click2call:not(.opened) .lds-ripple {
  display: none !important;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #792121;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -1;
}
@keyframes lds-ripple {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 64px;
    height: 64px;
    opacity: 0;
  }
}
