#livechat *{
    margin:0;
    padding: 0;
}

#livechat ul{
    list-style-type: none;
    margin-bottom: 10px;
}

#livechat #ylc-wrapper #ylc-modal-title-close-icon {
    float: right;
    width: 12px;
    height: 12px;
    margin: 2px 0;
    cursor: pointer;
}
#ylc-wrapper #ylc-modal-title {
    display: block;
    background: #ffce00;
    margin: 0;
    padding: 8px 10px;
    text-align: center;
    line-height: 1em;
}
#livechat input {
    width: 100%;
    padding: 6px 6px;
    margin: 8px 0;
    background-color: #f8f8f8;
    border-radius: 4px;
    border: 2px solid #ccc;
    color: rgb(8, 7, 7);
    box-sizing: border-box;
}
#livechat select {
    width: 100%;
    margin: 8px 0;
    padding: 6px 6px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f1f1f1;
}
#livechat textarea {
    width: 100%;
    height: 150px;
    padding: 6px 6px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    resize: none;
}
#livechat .charcnt {
    width: 50px;
   
}
#livechat #outerDiv form{
    margin:auto;
    display: flex;
    align-items: center;
    background-color:#f1f1f1;
    padding:10px 20px;
    border-radius: 5px;
    text-align: center;
    
}

#livechat input:focus {
    background-color: lightblue;
}
#livechat a#sendButton{
    border: 2px solid #ccc;
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: DodgerBlue;
    color: cornsilk;
}
#livechat .inner-box{
    display: flex;
    flex-direction: column;
}

#livechat p{
    margin:0;
    padding: 0; 
}
#livechat .container{
    margin: auto;
}
#livechat #divheader{
    height: auto;
    min-width:auto;
    text-align: center;
    padding: 10px;
    background-color:#0397ce;
	color:#fff;
    border-radius: 0px;
    font-weight: 900;
}
#livechat #divwplogo{
    background-size: auto;
    height: 2em;
    padding: 15px;
  
    width: auto;
    margin-top: 20px;
	color:#fff;
 }
#livechat .maincontainer{
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  box-sizing: border-box;
  max-width: 50%; 
  margin:auto;
  
}
#livechat .wpwelcome{
    margin-bottom:1em;
    font-size: 13px;
    padding: 0.25em 0.25em;
    text-align: center;
    width:20em;
	color:#000000;
    box-sizing: border-box;
}

#livechat .offlineheader{
    background: #fdfe;
}
#livechat .offlinemsg {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #eee;
    flex-basis:auto;
    justify-content:space-between;
}
#livechat .tophead{
    background: lightgrey;
    width: 100%;
    text-align: center;
    border-radius: 7px 7px 7px 7px;
    padding:8px 0px;
}
#livechat .offlinemsg p {
    font-size:12px;
    background: #eee;
    border: 1px solid collapse;
    border-radius: 0px 7px 7px 7px;
    padding: 0.5em;
    overflow:hidden ;
    white-space: wrap;
    width:21em;
    margin:0.5em 2em;
    padding:1em;
    box-sizing: border-box;
    
}
#livechat a.btnlinks{
    border: 2px solid #0397ce;
    border-radius: 0.5em;
    padding: 0.25em 0.25em;
    width: 15em;
    background: transparent;
    margin:1.5em 2em;
    font-weight: 300;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    color:#0397ce;
}
#livechat .btnlinks:hover{
    color:#fff;
    background: #0397ce;
}
#livechat .cancelbtn a{
    text-decoration: none;
    text-align: center;
    width:auto;
    display: block;
    margin: auto;
    color:#000000;
    font-size: 15px;
  }
#livechat .salescontainer,.servicecontainer{
    width: auto;
    padding:2em;
    margin: auto;
    background-size: cover;
    height: auto;
} 
#livechat .modal{
    position: fixed;
    min-height:25%;
    min-width: 14%;
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
    background-color:#fff;
    z-index:1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation-name:modalopen;
    animation-duration:0.5s;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
    display: none;
}
#livechat .modal .modal-body img{
    min-height:10%;
    width:20%;
}

#livechat .livechat img{
    position: fixed;
    bottom:0;
    right:0;
}

#livechat .modal .modal-body {
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    padding:.1em;
    -ms-flex-direction: column;
    -ms-flex-align: center;
    flex-basis: 15%;
}
#livechat .modal  h2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    text-align: center;
    margin: 10px auto;
}
@keyframes modalopen{
    from{ opacity: 0}
    to {opacity: 1}
  }
@media(max-width: 768px){
  
    #livechat #divwplogo{
        background-size: auto;
        height: 2em;
        padding: 2px;
        width: auto;
        margin-top: 30px;
     }
    #livechat .modal .modal-body {
        display:flex;
        flex-direction: column;
        align-items:center;
        justify-content: center;
        padding:1.2em;
        -ms-flex-direction: column;
        -ms-flex-align: center;
    }
    #livechat .modal .modal-body img{
        min-height:10%;
        width:50%;
    }
  }
