.c-reboot-smart-link,
.c-reboot-smart-link__title,
.c-reboot-smart-link__description {
-webkit-transition: all .3s ease-in-out !important;
-o-transition: all .3s ease-in-out !important;
transition: all .3s ease-in-out !important;
}
.c-reboot-smart-link {
position: absolute;
z-index: 10;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
color: inherit !important;
text-decoration: none !important;
opacity: 0;
-webkit-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
cursor: default;
}
.c-reboot-smart-link p:empty {
display: none;
}
a.c-reboot-smart-link {
cursor: pointer;
}
.c-reboot-smart-link__content {
position: absolute;
z-index: 10;
top: 20px;
right: 20px;
bottom: 20px;
left: 20px;
background-color: #fff;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 0, 0, 0.2);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 30px;
}
.c-reboot-smart-link__title {
margin: 0;
padding: 0;
-webkit-transform: translateY(10px);
-ms-transform: translateY(10px);
transform: translateY(10px);
}
.c-reboot-smart-link__description {
margin: 5px 0 0;
padding: 0;
-webkit-transform: translateY(20px);
-ms-transform: translateY(20px);
transform: translateY(20px);
line-height: 1.3;
}
.c-reboot-smart-link__description > *:last-child {
margin-bottom: 0;
} .c-reboot-smart-link:hover {
opacity: 1;
background-color: rgba(255, 185, 1, 0.8);
}
.c-reboot-smart-link:hover .c-reboot-smart-link__title,
.c-reboot-smart-link:hover .c-reboot-smart-link__description {
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
} .u-position-relative {
position: relative !important;
}
@media (max-width: 991px) {
.c-reboot-smart-link {
font-size: 12px;
}
.c-reboot-smart-link__title {
font-size: 16px;
}
.c-reboot-smart-link__content {
padding: 15px;
}
}
@media (max-width: 767px) {
.c-reboot-smart-link__content {
top: 10px;
right: 10px;
bottom: 10px;
left: 10px;
padding: 10px;
}
}
@media (max-width: 479px) {
.c-reboot-smart-link {
font-size: 11px;
}
.c-reboot-smart-link__title {
display: none;
}
.c-reboot-smart-link__content {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
}