.opened_form{
    transform: translate(0px, -500px);
    transition-duration: 0.8s;
}
.closed_form{
    transform: translate(20px, 20px);
    transition-duration: 0.8s;
}
.slideout_chat{
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 15px;
    bottom: 120px;
    height: 500px;
    width: 350px;
    background-color: #f2f4f7;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 10px 10px 0 rgba(0, 0, 0, 0.2);
    z-index: 10;
    border-radius: 12px 12px 0px 0px;
}
#contact_form_header{
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    height: 20%;
    color: white;
    background: rgb(4,0,75);
    z-index: 11;
    border-radius: 12px 12px 0px 0px;
    flex-grow:0;
}
.chat__inner{
    color: white;
    padding:10px 10px;
    vertical-align: bottom;
    margin:0 auto;
    max-width:200px;
}
.chat__form{
    height:100%;
    overflow:auto;
    flex-grow:1;
    padding:20px 10px;
}
#contact_form_header_title{
    vertical-align: bottom;
    font-size: 18px;
    font-weight: 600;
}
#contact_form_header_subtitle{
    vertical-align: bottom;
    font-size: 14px;
    font-weight: 100;
}
.hide_chat_element{
    display: none !important;
    /*visibility: hidden !important;*/
}
.gform_wrapper .gform_footer input[type=submit]{
    border: none;
    background-color: #FFCD00;
    border-radius: 25px;
    padding: 12px 35px;
    color: white;
    font-size: 16px;
    weight: 400;
    margin: 0 auto;
    display: block;
}
.gform_wrapper h2.gform_title {
    display: none !important;
}
.gform_wrapper .gform_body .gform_fields .gfield .ginput_container input{
    border-width: 1px !important;
    border: 1px solid #bac1c7;
    height: 50px;
    font-size: 20px;
}
.gform_wrapper .gform_body .gform_fields .gfield .ginput_container input:focus, .gform_wrapper .gform_body .gform_fields .gfield .ginput_container input:active{
    box-shadow: 0 0 6px #FFCD00;
}

/* Override default speech bubble with vector icon */
.speech-bubble{
    min-width:0;
    max-width:68px;
    background-color: #FFCD00;
    /* display:block !important; */
    align-items:center;
    align-content:center;
    overflow:hidden;
    white-space: nowrap;
    transition:max-width 0.4s ease;
    border-radius:50px;
    padding-bottom: 12px;
}
/* #cloudlink-chat-overlay-notification-button,
#cloudlink-chat-overlay-close-button{
    background-color: #FFCD00 !important;
} */
.speech-bubble:hover{
    max-width:180px;
}
.speech-bubble:before{
    content:'';
    display:inline-block;
    width:38px;
    height:38px;
    flex-shrink:0;
    flex-grow:0;
    background:url('chat-ap.svg');
    background-size:contain;
    background-repeat:no-repeat;
    background-position: center;
    vertical-align: top;
}
.speech-bubble>span{
    display:inline-block;
    flex-shrink:0;
    flex-grow:1;
    width:100px;
    padding-left:10px;
    padding-right:15px;
    font-weight:bold;
    color: white;
    vertical-align: top;
    position:relative;
    top:6px;
}
.speech-bubble:after{
    content:none;
    display:none;
}

/* Contact form speech bubble */
.contact-speech-bubble{
    min-width:0;
    max-width:60px;
    background-color: #FFCD00;
    display:flex;
    align-items:center;
    align-content:center;
    overflow:hidden;
    transition:max-width 0.4s ease;
    border-radius:50px;
    padding: 15px;
    cursor:pointer;
}
.contact-speech-bubble:hover{
    max-width:170px;
}
.contact-speech-bubble:before{
    content:'';
    display:block;
    width:30px;
    height:30px;
    flex-shrink:0;
    flex-grow:0;
    background:url('email.svg');
    background-size:contain;
    background-repeat:no-repeat;
    background-position: center;
}
.contact-speech-bubble>span{
    display:block;
    flex-shrink:0;
    flex-grow:1;
    width:100px;
    padding-left:10px;
    padding-right:15px;
    font-weight:bold;
    color: white;
    text-align: center;
    font-size: 16px;
}
.contact-speech-bubble:after{
    content:none;
    display:none;
}
#contact-us-close-button{
    min-width:0;
    max-width:65px;
    height: 65px;
    width: 65px;
    background-color: #FFCD00;
    color: white;
    display:flex;
    align-items:center;
    align-content:center;
    justify-content: center;
    overflow:hidden;
    transition:max-width 0.4s ease;
    border-radius:50px;
    transition: position 0.4s ease;
    cursor:pointer;
}
