*, *:after, *:before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}
html{
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
}

/* Unwrapped */

.chat{
    height: 100%;
    width: 340px;
    max-width: 100%;
    padding: 15px;
    border-radius: 10px 40px 10px 10px;
    position: relative;
    overflow: hidden;
    font-weight: 300;
}
div.chat{
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important;
    box-shadow: none !important;
}
#allSocialNetworkChat,
#socialNetworkOpenFrame,
#frameRealHeightMain,
#chatOpenFrame {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important;
    box-shadow: none !important;
    position: fixed;
    bottom: 0px;
    right: 0;
    padding: 5px 5px 0;
}

#allSocialNetworkChat,
#frameRealHeightMain {
    margin-right: 20px;
}
#socialNetworkOpenFrame,
#chatOpenFrame {
    margin-bottom: 10px;
    margin-right: 20px;
    padding-bottom: 5px;
}
section.is_mobile #allSocialNetworkChat,
section.is_mobile #frameRealHeightMain {
    margin-bottom: 5px;
    padding-bottom: 5px;
}
section.is_mobile #socialNetworkOpenFrame {
    margin-bottom: 5px;
    margin-right: 30px;
    padding-bottom: 5px;
}
.chat:before{
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #6daa10;
    border-radius: 50%;
    right: -40px;
    top: -40px;
}
.chat--light{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.39);
    background-color: #fff;
    color: #333434;
}
.chat--green{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.39);
    background-color: #0f9301;
    color: #fff;
}
.chat--black{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.39);
    background-color: #30324b;
    color: #fff;
}
.social-chats{
    border-radius: 10px 40px 10px 10px;
    position: relative;
    overflow: hidden;
    font-weight: 300;
    margin-left: auto !important;
    margin-right: 0px !important;
}
.social-chats-name--light a:link {
    color: black;
}
.social-chats-name--light a:visited {
    color: black;
}
.social-chats-name--green a:link,.social-chats-name--black a:link {
    color: white;
}
.social-chats-name--green a:visited,.social-chats-name--black a:visited {
    color: white;
}
#socialNetworkOpenFrame .social-chats a{
    text-decoration: none;
}
#socialNetworkOpenFrame .social-chats-content{
    text-align: center;
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
}
#socialNetworkOpenFrame .social-chats-content>a>img {
    max-width: none !important;
    max-height: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
}
.header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.chat__header{
    padding-right: 10px;
    margin-bottom: 20px;
}
.header__text{
    font-size: 1.15rem;
}
.header__text--bold{
    font-weight: 600;
}
.header__close{
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
    margin-right: 10px;
}
.form{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}
.chat__body{
    height: calc(100% - 47px)
}
.chat__fields{
    margin-bottom: 25px;
}
.field{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.name{
    margin-bottom: 5px;
}
.input{
    height: 45px;
    border-radius: 45px;
    padding: 0 15px;
}
.input--light{
    border: 1px solid #ced4da;
}
.input--green{
    border: 1px solid #0f9301;
}
.input--black{
    border: 1px solid #30324b;
}
.button{
    border-radius: 45px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.form__button{
    height: 45px;
    padding: 0 15px;
    margin-bottom: 25px;
    width: 100%;
}
.button--light{
    background-color: #6daa10;
    border: 1px solid #6daa10;
}
.button--green{
    background-color: #333434;
    border: 1px solid #333434;
}
.button--black{
    background-color: #6daa10;
    border: 1px solid #6daa10;
}
.copyright{
    display: block;
    text-align: center;
    opacity: 0.54;
    font-size: 13px;
}

/* Unwrapped */

/* Wrapped */
.chat-head{
    font-family: 'Roboto', sans-serif;
    width: 300px;
    padding: 15px 35px;
    border-radius: 10px 40px 0px 0px;
    position: relative;
    overflow: hidden;
}
.chat-head:before{
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #6daa10;
    border-radius: 50%;
    right: -40px;
    top: -40px;
}
.chat-head--light{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.39);
    background-color: #fff;
    color: #333434;
}
.chat-head--green{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.39);
    background-color: #0f9301;
    color: #fff;
}
.chat-head--black{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.39);
    background-color: #30324b;
    color: #fff;
}
.header__logo{
    position: relative;
    width: 35px;
    height: 35px;
}
.header__logo:after{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    content: '';
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 0;
}
/* Wrapped */

/* Chat */
.max-h{
    max-height: 100%;
}
.chat__control{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.button--send{
    height: 100%;
    width: 40px;
    padding: 10px;
    background: transparent;
    border: none;
    color: #6daa10;
}
.button--send svg{
    color: #6daa10;
}
.messaging__input{
    width: 70%;
}
textarea[name='msgInFrame']{
    border-radius: 10px;
    overflow-y: scroll !important;
    min-height: 75px !important;
    max-height: 75px !important;
    padding: 5px;
}
.messaging__input:focus{
    outline: #fff;
}
.icon{
    color: #6daa10;
}
.messaging{
    height: 400px;
    max-height: calc(100% - 126px - 1rem);
    margin-bottom: 1rem;
    overflow-y: auto;
    word-wrap: break-word;
}
.message{
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    margin-right: 10px;
}
.message--client{
    flex-direction: row;
}
.message--employee{
    flex-direction: row-reverse;
}
.message__reply{
    cursor: pointer;
    display: block;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;
}
.message__reply--icon{
    display: inline-block;
    background-image: url("data:image/svg+xml, %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 60 60' style='enable-background:new 0 0 60 60;width: 10px;' xml:space='preserve'%3E%3Cpath fill='currentColor' d='M37,22H12c-0.552,0-1,0.448-1,1s0.448,1,1,1h25c0.552,0,1-0.448,1-1S37.552,22,37,22z'%3E%3C/path%3E%3Cpath fill='currentColor' d='M12,16h10c0.552,0,1-0.448,1-1s-0.448-1-1-1H12c-0.552,0-1,0.448-1,1S11.448,16,12,16z'%3E%3C/path%3E%3Cpath fill='currentColor' d='M38,31c0-0.552-0.448-1-1-1H12c-0.552,0-1,0.448-1,1s0.448,1,1,1h25C37.552,32,38,31.552,38,31z'%3E%3C/path%3E%3Cpath fill='currentColor' d='M30,39c0-0.552-0.448-1-1-1H12c-0.552,0-1,0.448-1,1s0.448,1,1,1h17C29.552,40,30,39.552,30,39z'%3E%3C/path%3E%3Cpath fill='currentColor' d='M12,46c-0.552,0-1,0.448-1,1s0.448,1,1,1h14c0.552,0,1-0.448,1-1s-0.448-1-1-1H12z'%3E%3C/path%3E%3Cpath fill='currentColor' d='M3,2h29v14h14v17h2V14.586L33.414,0H1v60h31v-2H3V2z M34,3.414L44.586,14H34V3.414z'%3E%3C/path%3E%3Cpath fill='currentColor' d='M35,36v24h24V36H35z M57,58h-9V45.414l4.293,4.293l1.414-1.414L47,41.586l-6.707,6.707l1.414,1.414L46,45.414V58h-9V38h20 V58z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    height: 15px;
    width: 15px;
}
.message__text{
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    max-width: 70%;
}
.message__text--client{
    margin-left: 12px;
    background-color: #f7f7f7;
    position: relative;
    border-top-left-radius: 0;
}
.message__text--employee{
    margin-left: 12px;
    background-color: #bae081;
    position: relative;
    border-top-right-radius: 0;
}
.message__text--client:after{
    content: "";
    position: absolute;
    right: 99%;
    top: 0;
    border: solid transparent;
    height: 0;
    width: 0;
    pointer-events: none;
    border-top-color: #f7f7f7;
    border-width: 8px;
    margin-left: -1px;
    border-right-color: #f7f7f7;
}
.message__text--employee:after{
    content: "";
    position: absolute;
    left: 99%;
    top: 0;
    border: solid transparent;
    height: 0;
    width: 0;
    pointer-events: none;
    border-width: 8px;
    margin-left: -1px;
    border-color: transparent;
    border-left-color: #bae081;
    border-top-color: #bae081;
}
.message__text--employee{
    margin-right: 12px;
}

.message__icon{
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #6daa10;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: #6daa10;
}
.message__icon--client{
    background-image: url(../images/user.svg);
    background-size: 80%;
    background-position: 50% 5px;
}
.message__icon--employee{
    background-image: url(../images/user.svg);
    background-size: cover;
}
/* Chat */
.consultant-list-opener {
    cursor: pointer;
}
/* Social network chat */
.social-network-list-opener {
    position: fixed;
    bottom: 0px;
    right: 0px;
    cursor: pointer;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
}

.show-time-client{
    font-size: 0.6rem;
    color: #6c757d;
    float: left;
}

.show-time-employee{
    font-size: 0.6rem;
    color: #6c757d;
    float: right;
}

.chat-head-mobile {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-head-mobile:before {
    display: none;
}

.header__logo img{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: block;
    max-height: 33px;
    max-width: 33px;
}

::-webkit-scrollbar-track {
    background: #00000000 !important;
}
::-webkit-scrollbar-thumb {
    background: #6daa10 !important;
    border-radius: 4px;
}
::-webkit-scrollbar {
    width: 8px;
}
.g-recaptcha > div {
    transform: scale(0.75);
    transform-origin: 0 0;
}
.rc-anchor {
    display: none !important;
}
.message__text img {
    max-height: 30vh;
    width: auto;
    max-width:100%;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.stop-button {
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
}
.stop-chat,.restart-chat {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
a:link, a:visited {
    color: black;
}
section {
    font-family: "Open Sans", sans-serif;
}