#ld_cmb {
  width: 500px;
  height: auto;
  min-height: 240px;
  background: #FEFEFE;
  position: fixed;
  top: 20px;
  right: -500px;
  transition: right .5s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  padding: 16px;
  border-radius: 8px 0 0 8px;
}
#ld_cmb h5 {
  margin: 0;
  font-size: 24px;
  margin-bottom: 12px;
}
#ld_cmb p {
  margin: 0;
  font-size: 14px;
  margin-bottom: 12px;
}
#ld_cmb.active {
  right: 0;
}
#ld_cmb #ld_cmb_form.active{
  pointer-events: none;
  opacity:.3;
}
#ld_cmb .ld_cmb_tab {
  position: absolute;
  bottom: calc(100% - 200px);
  right: 100%;
  transform-origin: 100% 100%;
  transform: rotate(-90deg);
  min-width: 180px;
  padding: 0 10px;
  box-sizing: content-box;
  border-radius: 8px 8px 0 0;
  height: 40px;
  background: #000;
  color: #FEFEFE;
  font-weight: bold;
  display: flex;
  justify-content: center;
  line-height: 40px;
  user-select: none;
  cursor: pointer;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  transition: all .2s;
}
#ld_cmb .ld_cmb_tab:after {
  content: '';
  background: rgba(255, 255, 255, 0);
  transition: background .2s;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#ld_cmb .ld_cmb_tab:hover {
  height: 45px;
}
#ld_cmb .ld_cmb_tab:hover:after {
  background: rgba(255, 255, 255, 0.1);
}
#ld_cmb .ld_cmb_tab svg {
  margin-left: 8px;
  margin-top: 10px;
  animation: ld_cmb_shake 8s infinite;
}
#ld_cmb label {
  display: block;
  margin-bottom: 6px;
  text-align: left;
  margin-top: 12px;
}
#ld_cmb.sent form{
  display: none;
}
#ld_cmb.sent form{
  display: none;
}
.ld_cmb_sent{
  display: none;
}
#ld_cmb .ld_cmb_sent svg{
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  width: 100%;
  margin-left: 15%;
  margin:50px 0;
}
#ld_cmb.sent .ld_cmb_sent{
  display: block;
}
#ld_cmb input, #ld_cmb button {
  display: block;
  border: none;
  border: 1px solid rgb(162, 162, 162);
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 28px;
  padding: 0 12px;
  border-radius: 3px;
}
#ld_cmb input {
  font-size: 13px;
}
.ld_cmb_tip-theme{
  background: #f44336;
}
.ld_cmb_tip-theme .tippy-arrow{
  border-left: 8px solid #f44336 !important;
}
#ld_cmb input:focus, #ld_cmb button:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
#ld_cmb img {
  margin-left: 16px;
  margin-top: 16px;
}
#ld_cmb .ld_cmb_captcha {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
#ld_cmb button {
  display: block;
  border: none;
  box-shadow: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  padding: 0 12px;
  background: red;
  color: #FEFEFE;
  margin-top: 12px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}
#ld_cmb button svg{
  position: absolute;
  top: 4px;
  right: 6px;
  transition: right .2s;
}
#ld_cmb button:after {
  content: '';
  background: rgba(255, 255, 255, 0);
  transition: background .2s;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#ld_cmb button:hover:after {
  background: rgba(255, 255, 255, 0.2);
}
#ld_cmb button:hover svg {
  right: 4px;
}
#ld_cmb button:active:after {
  background: rgba(255, 255, 255, 0.1);
}
#ld_cmb button:focus {
  box-shadow: 0;
}

@keyframes ld_cmb_shake {
  1%, 9% {
    transform: rotate(1deg);
  }
  2%, 8% {
    transform: rotate(10deg);
  }
  3%, 5%, 7% {
    transform: rotate(-10deg);
  }
  4%, 6% {
    transform: rotate(10deg);
  }
}
@media (max-width:500px){
  #ld_cmb {
    width: 100%;
    height: calc(100% - 40px);
    min-height: 240px;
    background: #FEFEFE;
    position: fixed;
    top: auto !important;
    bottom: 40px !important;
    right: -105%;
  }
  #ld_cmb.active {
    right: 0%;
  }
  #ld_cmb .pipedriveWebForms{
    height: calc(100% - 60px) !important;
    transform: scale(.9);
  }
  #ld_cmb .pipedriveWebForms{
    height: calc(100% - 60px) !important;
    overflow-y:scroll !important;
  }
}
