.wwidget {
    position: fixed;
    right: 40px;
    bottom: 20px;
    max-width: 300px;
    z-index: 9999;
    width: 60px;
    height: 60px;
}

.wwidget .wwidget-container {
    position: relative;
    display: flex;
    height: 60px;
}

/******************** CTA TEMPLATE 1 ********************/
.wwidget .wwidget-container .wwidget-cta-1 {
    background: rgba(236,236,236,0.95);
    background: linear-gradient(135deg, rgb(184 255 188) 0%, rgb(165 217 168 / 95%) 25%, rgb(236 236 236 / 95%) 100%);
    padding: 15px 20px;
    border-radius: 12px;
    position: relative;
    opacity: 1;
    top: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
        
    width: 250px;
    position: absolute;
    right: 20px;
    transform: translateY(calc(-100% - 10px));
}
.wwidget .wwidget-container .wwidget-cta-1.closed {
    display: none;
    transform: translateY(-110%);
    opacity: 0;
}
.wwidget .wwidget-container .wwidget-cta-1.opening {
    transform: translateY(-110%);
    opacity: 0;
}

.wwidget .wwidget-container .wwidget-cta-1 a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.wwidget .wwidget-container .wwidget-cta-1 span {
    font-size: 14px;
    font-weight: 400;
}
.wwidget .wwidget-container .wwidget-cta-1 p {
    margin-bottom: 0;
}
.wwidget .wwidget-container .wwidget-cta-1 small {
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}
.wwidget .wwidget-container .wwidget-cta-1 small i {
    background: rgb(93,255,120);
    background: linear-gradient(180deg, rgba(93,255,120,1) 0%, rgba(22,174,39,1) 100%);
    border-radius: 5px;
    color: #fff;
    width: 24px;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
}



/******************** WINDOW TEMPLATE 1 ********************/

.wwidget .wwidget-container .wwidget-window-1 {
    -webkit-box-shadow: 0px 3px 33px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 33px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 33px -10px rgba(0,0,0,0.75);
    display: none;
    border-radius: 8px;
    overflow: hidden;
    transition: max-height 0.15s ease-out;
}
.wwidget.show .wwidget-container .wwidget-window-1 {
    display: block;
    position: absolute;
    width: 300px;
    height: auto;
    transform: translate(-245px, -105%);
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-header {
    background-color: #009688;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-header h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-header .wwidget-close {
    color: #fff;
    background: transparent;
    border: none;
    position: absolute;
    font-size: 16px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-header .wwidget-close:hover {
    color: #05cd51;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body {
    background-color: #f0f0f0;
    padding: 15px;
    position: relative;
    display: flex;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body form {
    max-width: 100%;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body input, 
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body textarea {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border: none;
    margin-bottom: 15px;
    -webkit-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.17);
    -moz-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.17);
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.17);
    font-size: 13px;
    outline: none;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body input {
    border-radius: 15px;
    border-radius: 30px;
} 
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body textarea {
    height: 75px;
    border-radius: 10px;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body button[type="submit"]{
    background-color: #009688;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 0;
    border-radius: 20px;
}
.wwidget .wwidget-container .wwidget-window-1 .wwidget-body button[type="submit"]:hover {
    background-color: #05cd51;
}
/******************** WINDOW TEMPLATE 1 ********************/

/******************** WINDOW TEMPLATE 2 ********************/

.wwidget .wwidget-container .wwidget-window-2 {
    -webkit-box-shadow: 0px 3px 33px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 33px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 33px -10px rgba(0,0,0,0.75);
    display: none;
    border-radius: 15px;
    overflow: hidden;
    transition: max-height 0.15s ease-out;
    background: #fff;
    padding: 15px 20px;
    opacity: 1;
    top: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
    right: 10px;
}

.wwidget.show .wwidget-container .wwidget-window-2 {
    display: block;
    position: absolute;
    width: 300px;
    height: auto;
    transform: translate(0px, -105%);
}

.wwidget .wwidget-container .wwidget-window-2 .wwidget-logo {
    display: block;
    background-color: #dedede;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}
.wwidget .wwidget-container .wwidget-window-2 .wwidget-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wwidget .wwidget-container .wwidget-window-2.closed {
    display: none;
    transform: translateY(-110%);
    opacity: 0;
}
.wwidget .wwidget-container .wwidget-window-2.opening {
    transform: translateY(-110%);
    opacity: 0;
}

.wwidget .wwidget-container .wwidget-window-2 a {
    display: block;
    background-color: #1ed019;
    color: #fff;
    text-transform: uppercase;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
}
.wwidget .wwidget-container .wwidget-window-2 a:hover  {
    background: #009688;
}

.wwidget .wwidget-container .wwidget-window-2 span {
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
}
.wwidget .wwidget-container .wwidget-window-2 p {
    margin-bottom: 0;
}
.wwidget .wwidget-container .wwidget-window-2 small {
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
    color: #666;
}
.wwidget .wwidget-container .wwidget-window-2 small i {
    background: rgb(93,255,120);
    background: linear-gradient(180deg, rgba(93,255,120,1) 0%, rgba(22,174,39,1) 100%);
    border-radius: 5px;
    color: #fff;
    width: 24px;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
}

.wwidget.show .wwidget-container .wwidget-window-2 .wwidget-btn-whatsapp-mobile {
    display: none;
}
.wwidget.show .wwidget-container .wwidget-window-2 .wwidget-btn-whatsapp-desktop {
    display: block;
}
/******************** WINDOW TEMPLATE 2 ********************/



.wwidget .wwidget-button {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    color: #fff;
    position: absolute;
    z-index: 999;
    bottom: 0px;
    right: 0px;
    background-color: #009688;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 32px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    z-index: 9999;
    border: none;
    cursor: pointer;
    outline: none !important;
    padding: 10px;
}
.wwidget .wwidget-button img {
    height: 40px;
    margin: 0;
    display: block;
    position: relative;
    padding: 0;
    width: 40px;
}
.wwidget .wwidget-button:hover {
    background-color: #0dc143;
    color: #fff;
}
.wwidget.show .wwidget-button {
    background-color: #0dc143;
    color: #fff;
}


.wwidget ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #999;
}
.wwidget ::-moz-placeholder { /* Firefox 19+ */
  color: #999;
}
.wwidget :-ms-input-placeholder { /* IE 10+ */
  color: #999;
}
.wwidget :-moz-placeholder { /* Firefox 18- */
  color: #999;
}


@media(max-width: 767px) {
    .wwidget:not(.show) {
        width: 100px;
        height: 60px;
        bottom: 15px;
        right: 15px;
        position: fixed;
        top: unset;
        left: unset;
    }
    .wwidget.show {
        position: fixed;
        right: 0px;
        bottom: 0px;
        left: 0;
        top: 0;
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        z-index: 999999999999;
    }
    .wwidget .wwidget-container {
        margin-bottom: 0;
        height: 100%;
    }
    .wwidget.show .wwidget-container {
        height: 100%;
    }
    .wwidget .wwidget-window-1 {
        z-index: 999999999999;
        width: 100%;
        border-radius: 0px !important;
    }
    .wwidget .wwidget-body {
        height: 100%;
    }
    .wwidget .wwidget-container .wwidget-window-1 .wwidget-header {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
    .wwidget .wwidget-container .wwidget-window-1 .wwidget-body {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .wwidget .wwidget-container .wwidget-window-1 .wwidget-body form {
        width: 100%;
    }
    .wwidget.show .wwidget-container .wwidget-window-1 {
        position: relative;
        width: 100%;
        height: 100%;
        transform: unset;
    }
    .wwidget.show .wwidget-container .wwidget-window-2 {
        transform: unset;
        bottom: 80px;
        top: unset;
    }
    
    
    .wwidget.show .wwidget-container .wwidget-window-2 .wwidget-btn-whatsapp-mobile {
        display: block;
    }
    .wwidget.show .wwidget-container .wwidget-window-2 .wwidget-btn-whatsapp-desktop {
        display: none;
    }
}
