/*BizIQChatBot CONTAINERS*/
#BizIQChatBotWrapper{
	z-index: 999999;
}
#BizIQChatBotOuter {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 300px;
    position: fixed;
    z-index: 99999;
    right: 50px;
    bottom: 110px;
    border: none;
    background: rgba(44, 151, 196, 1);
    border: 2px solid rgba(44, 151, 196, 1);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4em;
}

#BizIQChatBotContainer {
    max-height: 340px;
    min-height: 100px;
    height: 40vh;
    overflow-y: scroll;
    background: #fff;
    padding: 0px 12px 10px;
}


/*BizIQChatBot HEADER*/
#BizIQChatBotHeader {
    -ms-flex-direction: row!important;
    flex-direction: row!important;
    display: -ms-flexbox;
    align-items:center;
    display: flex;
    padding: 1em;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.BIQCBHeaderContent {
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    color: #fff;
}

.BIQCBHeaderContent strong {
    display: inline-block;
    max-width: 95%;
    margin-right: .5em;
}

#BizIQChatBotClose {
    width: 45px;
    height: 31px;
    cursor: pointer;
    order: 3;
}

.SmartMessageIcon,
#BizIQChatBotCloseIcon {
    display: block;
    width: 100%;
    height: 100%;
    background: url(img/close-chat.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.SmartMessageIcon {
    background: url("https://dashboard.goiq.com/biqchatbot/img/closechatIcon.png");
}

#BizIQChatBotInput {
    margin-top: 10px;
}

#RepInitialMessage, .BizIQChatBotWelcomeMessage {
    padding: 10px 0;
    font-size: 13.0px;
    line-height: 18px;
    text-align:center;
}


#BizIQChatBotText {
    overflow: auto;
    vertical-align: top;
    width: 100%;
    font-size: 13px;
    border-radius: 10px;
    clear: both;
    margin-bottom: 10px;
    padding: 7px 10px;
    resize: none;
    height: 55px;
}


/*TOP CTA BUTTONS*/

.BizIQChatBotOptions {
    text-align:center;
    margin:0 auto;
    padding-left: 5px;
}

.negForm button,
.BizIQChatBotOptions a, #BIQCBRepBox a {
    padding: .8em 1.2em;
    margin: 0 5px 5px;
    border-radius: 50px;
    background: #065c80;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    opacity: 1;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.BizIQChatBotOptions a:hover, #BIQCBRepBox a:hover {
    background: rgb(1 50 71);
    text-decoration: none;
}
 
/*BizIQChatBot ICON*/

#BizIQChatBotIcon {
    position: fixed;
    z-index: 9999;
    display: block;
    bottom: 40px;
    right: 50px;
    border-radius: 50px;
    background: #065c80;
    padding: 2px;
}

#BizIQChatBotIcon img {
    margin-top: 8px;
    cursor:pointer;
}

#BizIQChatBotIconOpen {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    cursor:pointer;
}

#BizIQChatBotOpenIcon{
    display: block;
    width: 100%;
    height: 100%;
    background: url("img/chatIcon.png");
    background-repeat: no-repeat;
    background-position:center;
    background-size: 100%;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

#BizIQChatBotOpenIcon:hover {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}


/*FOOTER*/

#BizIQChatBotFooter {
    clear: both;
    margin-bottom: 20px;
    padding: 0 20px;
    color: #fff;
    text-align: center;
    height: 100%;
}

textarea {
    resize:none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}


/*SEND BUTTON*/

#BizIQChatBotSendBtn {
    margin: 0 auto;
    display: inline-block;
    padding: .8em 1.0em;
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    color: #065c80;
    border: 2px solid #065c80;
    font-size: 13px;
    font-weight: 700;
    float: right;
    min-width: 50px;
    line-height:1em;
    opacity: 1;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#BizIQChatBotSendBtn:hover {
    color: #fff;
    background: rgba(2, 36, 50,0.7);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/*REPUTATION MANAGEMENT*/

#BIQCBRepBox {
    clear: both;
    display: block;
    text-align: center;
    background: #ededed;
    border-radius: 10px;
    padding: 1em 1.2em;
    margin: 10px 0;
    font-size: 13px;
}
 
#BIQCBRepBox #RepPositiveBtn {
    display:inline-block;
}
 
#RepInitialMessage a {
    width:500%;
}

.RepPositiveMessage, .RepNegativeMessage {
    padding: 5px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4em;
}
 
.negForm {
    text-align: left;
    padding: 0;
    font-weight:700;
}

.negForm input {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 20px;
    border-radius:10px;
    padding:10px 8px;
}

.negForm textarea {
    resize: none;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 20px;
    border-radius:10px;
    padding:10px 8px;
}

.negForm button {
    display: block;
    background: #fff;
    cursor: pointer;
    color: #065c80 !important;
    border: 2px solid #065c80;
    font-weight: 700;
}

.negForm button:hover {
    background: #065c80;
    color: #fff !important;
}

.RepThankYou {
    font-size: 13px;
    line-height: 20px;
    padding: 20px;
}

#BizIQChatBotFooterText {
    text-decoration: none;
    color: #fff;
    font-size: 12px !important;
    font-weight: 700;
     opacity: 1;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-align: left;
    display: flex;
    align-items: left;
    justify-content: left;
    margin-top: 6px;
}

#BizIQChatBotFooterText a {
	font-size: 12px !important;
    color: #fff !important;
    cursor: pointer;
}

#BizIQChatBotFooterText a:hover {
    text-decoration: underline;
}

/*MESSAGE TIMESTAMPS*/
.SmartMessageTimeStamp ,
.VisitorMessageTimeStamp {
    font-size: 13px;
    color: #555;
    display: flex;
    text-align: right;
    justify-content: flex-end;
    margin-right: 1.2em;
    text-transform: uppercase;
}

.SmartMessageTimeStamp  {
    text-align: left;
    justify-content: flex-start;
    margin-left: 3.6em;
}


/*MESSAGE ICONS*/

.VisitorMessageIcon {
    display: none;
}

.SmartMessageIcon {
    display: block;
    background: url("img/chatbot-icon-white.png");
    background-repeat: no-repeat;
    background-position:center;
    background-size: 100%;
    background-color:#065c80;
    height: 35px;
    width: 35px;
    border-radius: 50px;
    float: left;
    clear: both;
}

/*MESSAGE STYLES*/

.VisitorMessageContainer{
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-top: 20px;
  margin-right:0;
  align-items: center;
  justify-content: flex-end;
}

div#SmartChatContainer .VisitorMessageContainer .VisitorMessageIcon {
    order: 3;
}

div.VisitorMessageContainer .VisitorMessageIcon {   
    order: 3;
}

#BizIQChatBotOuter .VisitorMessage {
    color:#fff;
    background: #2c97c4;
    text-align: right;
}
  
.SmartMessageContainer {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-top: 15px;
    align-items: center;
    justify-content: flex-start;
}

#BizIQChatBotOuter .SmartMessage, #BizIQChatBotOuter .VisitorMessage {
    width: calc(85% - 50px);
    float: left;
    clear: both;
    padding: 10px;
    margin: 10px 10px 5px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 1px 1px 5px 0px #999;
}

#BizIQChatBotText::-webkit-input-placeholder {
  color: #333 !important;
}


/*MEDIA QUERIES*/

@media  (min-width: 325px) and (max-width: 667px)  { 
    #BizIQChatBotIcon {
        bottom: 10px;
        right: 30px;
        margin-bottom: 30px;
    }
    
    #BizIQChatBotOuter {
        position: fixed;
        z-index: 9999;
        right: 0;
        bottom: 30px;
        margin: 0 auto;
    }
} 


@media  (min-height: 370px) and (max-height: 590px)  { 
    #BizIQChatBotContainer {
        height: 30vh;
    }
}

@media  (min-height: 150px) and (max-height: 369px)  { 
    #BizIQChatBotContainer, #BizIQChatBotIcon {
         display:none;
    } 
}