
#customer-form {

position: fixed;
right: 0px;
bottom: 0px;
height: 370px;

z-index: 999;
}

#customer-form iframe {
  height: 390px;
width: 290px;
margin-right: 5px;
}
.chat-form-small {

    position: fixed;
    right: 0px;
    bottom: 0px;
    height: 52px;
    background-color: #62989A;
    border: 5px solid white;
    border-bottom: 0;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 300px;
    z-index: 999;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .chat-form-small {
      position: fixed;
      right: 0px;
      bottom: -54px;
      height: 54px;
      background-color: #62989A;
      border: 5px solid white;
      border-bottom: 0;
      padding: 10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      width: 300px;
      z-index: 999;
      cursor: pointer;
    }

}

.chat-form-small.big {
  height: 550px;
}

.big{
  animation: animationFrames ease 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: animationFrames ease 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: animationFrames ease 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: animationFrames ease 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: animationFrames ease 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
}

@keyframes animationFrames{
  0% {
    opacity:0;
    transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    transform:  translate(0px,0px)  ;
  }
}

@-moz-keyframes animationFrames{
  0% {
    opacity:0;
    -moz-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -moz-transform:  translate(0px,0px)  ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    opacity:0;
    -webkit-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -webkit-transform:  translate(0px,0px)  ;
  }
}

@-o-keyframes animationFrames {
  0% {
    opacity:0;
    -o-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -o-transform:  translate(0px,0px)  ;
  }
}

@-ms-keyframes animationFrames {
  0% {
    opacity:0;
    -ms-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -ms-transform:  translate(0px,0px)  ;
  }
}

.chat-form-small p:first-of-type {

  margin-top: -55px !important;

}
.chat-form-small p {
  text-align: center !important;
  margin-top: -55px !important;
  color: white !important;
}

.chat-form-small input {
  height: 30px !important;
}

.chat-form-circle {
  border-radius: 50%;
  width: 65px;
  height: 65px;
  background: #62989A;
  position: relative;
  margin: 0 auto;
  top: -55px;
  border: 5px solid white;

}

@media screen and (max-width: 600px) {
    .chat-form-circle {
      border-radius: 50%;
      width: 65px;
      height: 65px;
      background: #62989A;
      position: relative;
      margin: 0;
      top: -83px;
      border: 5px solid white;
      right: -200px;
    }

    .chat-form-small.big .chat-form-circle {

      top: -55px;
      margin:  0 auto;
      right: 0;
    }
}

.chat-form-circle .material-icons {
  font-size: 35px;
  text-align: center;
  color: white;
  display: block;
  margin-top: 20%;
}



	/* Toggle icon based on state */
.chat-form-small.big .mi-clear {
  display: block;
}
.chat-form-small.big .mi-bubble {
  display: none;
}
.chat-form-small .mi-bubble {
  display: block;
}
.chat-form-small .mi-clear {
  display: none;
}

	/* Hide STARTA */
  #chat-btn.hide-chat-btn {
    display: none;
  }
  #chat-btn {
    display: block;
    background: transparent;
  }

.chat-form-small.big {
  cursor: default;
}
.chat-form-small.big .chat-form-circle {
  cursor: pointer;
}
