.bnf-whatsapp-float {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
@media (min-width: 480px) {
.bnf-whatsapp-float {
bottom: 30px;
right: 30px;
}
}
.bnf-whatsapp-float .bnf-whatsapp-btn {
cursor: pointer;
position: relative;
background-color: #25D366;
box-shadow: 0 5px 7px rgba(0, 0, 0, 0.2);
top: 0;
display: inline-block;
border-radius: 50%;
padding: 15px;
transition: all 0.3s ease-in-out;
font-size: 0;
}
.bnf-whatsapp-float .bnf-whatsapp-btn:hover {
background-color: #21bd5c;
}
.bnf-whatsapp-float .bnf-whatsapp-btn img {
width: 35px;
height: 35px;
}
.bnf-whatsapp-float button {
outline: none;
border: none;
}
.bnf-whatsapp-popup {
max-height: calc(100vh - 125px);
overflow: hidden;
overflow-y: auto;
position: absolute;
bottom: 100%;
right: 0;
width: calc(100vw - 40px);
margin-bottom: 20px;
background-color: #fff;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
padding: 50px 20px 30px 20px;
border-radius: 10px;
}
@media (min-width: 480px) {
.bnf-whatsapp-popup {
padding: 50px 30px 30px 30px;
width: calc(100vw - 60px);
max-height: calc(100vh - 145px);
}
}
@media (min-width: 640px) {
.bnf-whatsapp-popup {
width: 400px;
}
}
.bnf-whatsapp-popup .bnf-whatsapp-header {
text-align: center;
margin-bottom: 20px;
}
.bnf-whatsapp-popup .bnf-whatsapp-title {
font-size: 20px;
color: #1C1C1C;
line-height: 1.5;
font-weight: 700;
}
.bnf-whatsapp-popup .bnf-whatsapp-close {
position: absolute;
cursor: pointer;
top: 15px;
right: 15px;
transition: opacity 0.3s ease-in-out;
opacity: 0.2;
background-color: #fff;
}
.bnf-whatsapp-popup .bnf-whatsapp-close:hover {
opacity: 1;
}
.bnf-whatsapp-popup .bnf-whatsapp-close img {
width: 20px;
}
.bnf-whatsapp-form .form-info {
margin-bottom: 20px;
}
.bnf-whatsapp-form .form-field {
margin-bottom: 20px;
}
.bnf-whatsapp-form .form-info p {
font-size: 16px;
}
.bnf-whatsapp-form .form-info p, .bnf-whatsapp-form .form-info p a {
color: #1C1C1C;
}
.bnf-whatsapp-form .form-info p a {
text-decoration: underline;
}
.bnf-whatsapp-form .form-submit {
position: relative;
text-align: center;
}
.bnf-whatsapp-form .form-submit .ajax-loader, .bnf-whatsapp-form .form-submit .wpcf7-spinner {
position: absolute;
top: 60px;
left: 50%;
transform: translateX(-50%);
margin: 0;
}
.bnf-whatsapp-form input:not([type=submit]) {
font-size: 18px;
padding: 10px;
margin: 0;
background-color: #fff;
border-radius: 5px;
color: #1C1C1C;
border: 1px solid #A5A5A5;
transition: border-color 0.3s ease-in-out;
}
.bnf-whatsapp-form input:not([type=submit]):focus {
border-color: #25D366;
}
.bnf-whatsapp-form input:not([type=submit])::placeholder {
color: #747474;
}
.bnf-whatsapp-form input:not([type=submit]) {
height: 50px;
}
.bnf-whatsapp-form input[type=submit] {
position: relative;
cursor: pointer;
margin: 0;
border: 0;
text-align: center;
display: inline-block;
padding: 0 10px;
height: 50px;
width: 100%;
font-size: 18px;
border-radius: 50px;
color: #fff;
background-color: #25D366;
transition: background-color 0.3s ease-in-out;
}
.bnf-whatsapp-form input[type=submit]:hover {
background-color: #1da851;
}
.bnf-whatsapp-form input[type=submit]:active {
top: 2px;
}
.bnf-whatsapp-form span[role=alert], .bnf-whatsapp-form .wpcf7-not-valid-tip {
font-size: 16px;
color: #F31431;
display: inline-block;
margin-top: 10px;
position: relative;
padding-left: 28px;
}
.bnf-whatsapp-form span[role=alert]:before, .bnf-whatsapp-form .wpcf7-not-valid-tip:before {
content: "!";
position: absolute;
top: 50%;
left: 0;
text-align: center;
font-size: 16px;
border-radius: 50%;
transform: translateY(-50%);
background-color: #F31431;
color: #fff;
width: 20px;
height: 20px;
line-height: 20px;
}
.simple-box {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
background-color: #1C1C1C;
z-index: 9999;
}
.simple-box .simple-loader {
position: relative;
border: 3px solid #fff;
border-top: 3px solid #25D366;
border-radius: 50%;
width: 36px;
height: 36px;
animation: spin 1s linear infinite;
display: inline-block;
}
.simple-box .simple-main {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
width: 100%;
text-align: center;
}
.simple-box .simple-text {
font-size: 18px;
margin-bottom: 30px;
color: #fff;
opacity: 0.8;
padding: 0 20px;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}