#nuanMessagingFrame.floating-nuan-chat {
  position: fixed;
  height:1px;
  width:1px;
  max-width: 680px;
  max-height: 280px;
  margin: 0 auto;
  right:0px;
  bottom:0px;
  background: transparent;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-style: none;
  border-width: 0px;
  z-index: 99999;
  padding:5px;
  transition: height 150ms linear, width 150ms linear, opacity 500ms linear;
  box-sizing: border-box;
}

/* Don't animate on mobile */
@media (max-height:900px) and (max-width: 500px), (max-width:900px) and (max-height: 500px){
    #nuanMessagingFrame.floating-nuan-chat {
	  position: fixed;
	  height:1px;
	  width:1px;
	  right:0px;
	  bottom:0px;
	  background: transparent;
	  background-repeat: no-repeat;
	  background-attachment: fixed;
	  border-style: none;
	  border-width: 0px;
	  z-index: 99999;
	  padding:0px !important;
	  transition: none;
	  box-sizing: border-box;
    }
}


body {
  margin:0px;
}

.floating-nuan-chat.embedded {
   width:100% !important;
   height:300px !important;
   position: static !important;
}

.floating-nuan-chat.persistent-chat {
   width:100% !important;
   height:100% !important;
}

body.chatopen {
  position: fixed;
        width: 100%;
        top: 0px;
        overflow: hidden;
}

.floating-nuan-chat iframe {
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 200ms linear;
  z-index: 100;
  position: relative;
}

/* Don't animate on mobile */
@media (max-height:900px) and (max-width: 500px), (max-width:900px) and (max-height: 500px){
	.floating-nuan-chat iframe {
	  width: 1px;
	  height:1px;
	  opacity: 0;
	  transition: opacity 200ms linear;
	  z-index: 100;
	  position: relative;
	}
}

/* IE fix */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.floating-nuan-chat iframe {
	  opacity: 1;
	}
}


.floating-nuan-chat.persistent-chat iframe {
   width:100%;
   height:100%;
   opacity: 1;
}


.floating-nuan-chat.embedded iframe {
   width:100%;
   height:100%;
   opacity: 1;
   border: 0;
}

.floating-nuan-chat iframe.enter {
  opacity: 1 !important;
  border: 0;
}


.floating-nuan-chat.adjust-height {
  top:0px;
  height:auto !important;
}

.floating-nuan-chat.adjust-width {
  left:0px;
  width:auto !important;
}

.floating-nuan-chat.adjust-height iframe {
  transition:none;
  height:100% !important;
}

.floating-nuan-chat.adjust-width iframe {
  transition:none;
  width:100% !important;
}

.floating-nuan-chat.adjust-height .nuance-chat-button {
  display:none;
}