.cta-fixed .open {
position: fixed;
bottom: 20px;
right: 15px;
cursor: pointer;
z-index: 2;
filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.6));
transition: all 0.2s ease-out;
}
@media (min-width: 768px) {
.cta-fixed .open {
bottom: 30px;
right: 20px;
}
}
@media (min-width: 992px) {
.cta-fixed .open {
bottom: 40px;
right: 30px;
}
}
.cta-fixed .open img {
width: 60px;
height: 60px;
display: block;
transition: all 0.2s ease-out;
}
.cta-fixed .open img.hover-icon {
position: absolute;
top: -1px;
left: -1px;
width: 62px;
height: 62px;
max-width: unset;
}
.cta-fixed .open:not(:hover) img.hover-icon {
transform: scale(0);
}
.cta-fixed .open:hover {
filter: drop-shadow(0, 0, 15px, rgba(0, 0, 0, 0.1));
}
.cta-fixed .sidebar {
padding: 40px 30px;
background-color: #F8F8F8;
position: fixed;
right: 0;
top: 0;
bottom: 0;
width: 500px;
max-width: 100vw;
z-index: 999;
overflow-y: auto;
box-shadow: 0px 0px 25px 3px rgba(0, 0, 0, 0.3);
transition: all 0.4s ease-out;
}
@media (min-width: 768px) {
.cta-fixed .sidebar {
padding: 50px 40px;
}
}
@media (min-width: 1200px) {
.cta-fixed .sidebar {
padding: 60px 40px;
}
}
.cta-fixed .sidebar .close img {
width: 25px;
height: 25px;
margin-left: auto;
cursor: pointer;
display: block;
}
.cta-fixed .sidebar .title-sidebar {
color: #000;
font-family: "Inter Bold";
font-style: normal;
font-weight: 600;
margin-bottom: 10px;
font-size: 20px;
}
@media (min-width: 576px) {
.cta-fixed .sidebar .title-sidebar {
font-size: calc(20px + (26px - 20px) * 0.2909090909);
}
}
@media (min-width: 768px) {
.cta-fixed .sidebar .title-sidebar {
font-size: calc(20px + (26px - 20px) * 0.5090909091);
}
}
@media (min-width: 992px) {
.cta-fixed .sidebar .title-sidebar {
font-size: calc(20px + (26px - 20px) * 0.7636363636);
}
}
@media (min-width: 1200px) {
.cta-fixed .sidebar .title-sidebar {
font-size: 26px;
}
}
.cta-fixed .sidebar .list .item:not(:last-child) {
margin-bottom: 40px;
}
.cta-fixed .sidebar .list .item .form {
margin-top: 40px;
display: none;
}
.cta-fixed .sidebar .list .item .form .wpcf7-form-control-wrap[data-name=privacy] .wpcf7-list-item-label::before {
background-color: #fff;
}
.cta-fixed .sidebar .list .title {
color: #000;
font-family: "Inter Bold";
font-style: normal;
font-weight: 400;
margin-bottom: 5px;
font-size: 18px;
}
@media (min-width: 576px) {
.cta-fixed .sidebar .list .title {
font-size: calc(18px + (22px - 18px) * 0.2909090909);
}
}
@media (min-width: 768px) {
.cta-fixed .sidebar .list .title {
font-size: calc(18px + (22px - 18px) * 0.5090909091);
}
}
@media (min-width: 992px) {
.cta-fixed .sidebar .list .title {
font-size: calc(18px + (22px - 18px) * 0.7636363636);
}
}
@media (min-width: 1200px) {
.cta-fixed .sidebar .list .title {
font-size: 22px;
}
}
.cta-fixed .sidebar .list .link {
text-decoration: underline;
cursor: pointer;
}
.cta-fixed .sidebar .list .link span {
color: #000;
transition: all 0.2s ease-out;
}
.cta-fixed .sidebar .list .link span:hover {
opacity: 1;
}
@media (min-width: 1200px) {
.cta-fixed .sidebar .list .link span:hover {
padding-left: 5px;
}
}
.cta-fixed .sidebar .list .link a {
color: #000;
}
.cta-fixed .sidebar .list .email-link {
color: #5f5f5f;
}
.cta-fixed .sidebar .list .email-link a {
color: #000;
}
.cta-fixed .sidebar .form {
padding: 0;
}
.cta-fixed .sidebar .form form {
margin: 0;
padding: 0;
transition: all 0.4s ease;
}
.cta-fixed .sidebar .form form.form-loading {
opacity: 0.2;
pointer-events: none;
}
.cta-fixed .sidebar .form input.contact-field, .cta-fixed .sidebar .form textarea.contact-field {
padding: 1.75rem 0;
margin-bottom: 2rem;
}
.cta-fixed .sidebar .form .newsletter__checkbox {
display: none;
}
.cta-fixed .sidebar .form .form__footer {
flex-wrap: wrap;
}
.cta-fixed .sidebar .form .form__footer .privacy {
width: 100%;
margin-bottom: 3rem;
}
.cta-fixed .sidebar .form .form__footer .btn:not(:hover) {
background-color: transparent;
}
.cta-fixed .bg {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 100%;
background-color: rgba(255, 255, 255, 0.6);
z-index: 998;
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
transition: all 0.4s ease-out;
}
.cta-fixed:not(.show) .sidebar {
visibility: hidden;
opacity: 0;
transform: translateX(40px);
}
.cta-fixed:not(.show) .bg {
opacity: 0;
visibility: hidden;
}
.cta-fixed.show .open {
opacity: 0;
}
html:not(.scroll) .cta-fixed .open {
display: none;
}
@media (max-width: 767px) {
body.page-template-macro-categoria .cta-fixed .open, body.tax-garsport_trekking_cat .cta-fixed .open, body.tax-garsport_safety_cat .cta-fixed .open, body.tax-garsport_foodmedical_cat .cta-fixed .open {
bottom: 60px;
}
}