File: //home/globfdxw/www/wp-content/plugins/bearsthemes-addons/assets/css/_image-box.scss
.elementor-image-box {
text-align: center;
&--default {
&:hover {
.elementor-image-box {
&__image img {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
margin-bottom: 16px;
img {
width: 100%;
height: auto;
-webkit-transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
}
}
&__title {
font-size: 22px;
font-weight: 500;
margin-bottom: 12px;
a {
color: inherit;
}
}
&__desc {
font-size: 16px;
}
}
}
&--skin-ampato {
text-align: left;
background: #FFFFFF;
border: 1px solid #DEDEDE;
&:hover {
.elementor-image-box {
&__image img {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
img {
width: 100%;
height: auto;
-webkit-transform: scale(1.01);
transform: scale(1.01);
-webkit-transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
}
}
&__content {
padding: 30px;
}
&__title {
font-size: 22px;
line-height: 1.25;
color: #1D2440;
margin-bottom: 12px;
a {
color: inherit;
&:hover {
color: #EFAB23;
}
}
}
&__desc {
font-size: 16px;
line-height: 1.75;
color: #666666;
padding-bottom: 24px;
margin-bottom: 24px;
border-bottom: 4px solid #DEDEDE;
}
&__read-more {
font-size: 16px;
font-weight: 700;
line-height: 1.5;
color: #EFAB23;
svg {
display: inline-block;
vertical-align: middle;
fill: currentColor;
margin: -2px 0 0 8px;
}
}
@media( max-width: $break-xs - 0.02 ) {
&__content {
padding: 24px 16px;
}
}
}
}
&--skin-saltoro {
text-align: center;
overflow: hidden;
.elementor-image-box {
&__header {
position: relative;
display: inline-block;
width: 134px;
height: 134px;
z-index: 3;
}
&__image {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
border-radius: 50%;
-webkit-box-shadow: 5px 0 35px rgba(0,0,0,.07);
box-shadow: 5px 0 35px rgba(0,0,0,.07);
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
&__custom-link {
position: absolute;
bottom: -3px;
right: -3px;
display: flex;
align-items: center;
justify-content: center;
width: 45px;
height: 45px;
color: #FFFFFF;
background: #f97a60;
border-radius: 50%;
&:hover {
background: #f7544f;
}
svg {
fill: currentColor;
}
}
&__content {
position: relative;
background: #FFFFFF;
margin-top: -67px;
padding: 82px 30px 30px;
z-index: 1;
border-radius: 5px;
}
&__title {
font-size: 22px;
line-height: 1.25;
color: #4b3381;
margin-bottom: 4px;
a {
color: inherit;
&:hover {
color: #F97A60;
}
}
}
&__desc {
font-size: 16px;
line-height: 1.75;
color: #716886;
}
@media( max-width: $break-xs - 0.02 ) {
&__content {
padding: 82px 16px 24px;
}
}
}
}
&--skin-batura {
position: relative;
text-align: left;
background: #585e6e;
overflow: hidden;
border-radius: 5px;
&:hover {
.elementor-image-box {
&__image img {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
img {
width: 100%;
height: auto;
-webkit-transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
}
}
&__content {
padding: 40px;
}
&__title {
font-size: 30px;
line-height: 1.25;
color: #FFFFFF;
margin-bottom: 12px;
a {
color: inherit;
}
}
&__desc {
font-size: 17px;
line-height: 1.75;
color: #f0f0f0;
margin-bottom: 30px;
}
&__read-more {
display: inline-block;
font-size: 14px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
color: #0055ff;
background: #FFFFFF;
padding: 10px 20px;
border-radius: 4px;
}
@media( max-width: $break-xs - 0.02 ) {
&__content {
padding: 24px 16px;
}
}
}
}
&--skin-hardeol {
position: relative;
text-align: center;
overflow: hidden;
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
img {
width: 100%;
height: auto;
}
}
&__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.4);
z-index: 1;
}
&__content {
position: absolute;
top: 50%;
left: 0;
width: 100%;
z-index: 3;
padding: 30px 40px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
&__title {
font-size: 28px;
line-height: 1.25;
color: #FFFFFF;
margin-bottom: 12px;
a {
color: inherit;
}
}
&__desc {
font-size: 18px;
line-height: 1.75;
color: #FFFFFF;
margin-bottom: 30px;
}
&__read-more {
display: inline-block;
font-size: 14px;
font-weight: 700;
line-height: 20px;
letter-spacing: 1px;
text-transform: uppercase;
color: #FFFFFF;
background: transparent;
padding: 15px 30px;
border: 3px solid #FFFFFF;
}
@media( max-width: $break-xs - 0.02 ) {
&__content {
padding: 24px 16px;
}
}
}
}
&--skin-nevado {
position: relative;
text-align: left;
overflow: hidden;
&:hover {
.elementor-image-box {
&__overlay{
opacity: 1;
}
&__desc {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
margin-bottom: 16px;
border-top-left-radius: 40px;
border-bottom-right-radius: 40px;
img {
width: 100%;
height: auto;
}
}
&__title {
font-size: 24px;
font-weight: 700;
line-height: 1.25;
color: #002f6c;
margin-bottom: 16px;
a {
color: inherit;
}
}
&__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(#265ed7,.8);
z-index: 1;
opacity: 0;
-webkit-transition: all .4s;
transition: all .4s;
}
&__desc {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
font-size: 16px;
line-height: 1.75;
color: #FFFFFF;
padding: 30px;
z-index: 3;
opacity: 0;
-webkit-transform: translateY(40px);
transform: translateY(40px);
-webkit-transition: all .4s;
transition: all .4s;
}
&__read-more {
display: inline-block;
font-size: 14px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
color: #002f6c;
svg {
display: inline-block;
vertical-align: middle;
fill: currentColor;
margin: -2px 0 0 4px;
}
&:before {
content: "";
display: inline-block;
width: 10px;
height: 10px;
background: #265ed7;
margin-right: 6px;
}
}
@media( max-width: $break-xs - 0.02 ) {
&__desc {
padding: 24px 16px;
}
}
}
}
&--skin-galloway {
position: relative;
text-align: center;
background: #424242;
overflow: hidden;
border-radius: 4px;
.elementor-image-box {
&__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(#000000, 0.63);
z-index: 3;
}
&__image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
line-height: 0;
z-index: 1;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
&__content {
position: relative;
max-width: 520px;
margin: 0 auto;
padding: 50px 30px;
z-index: 5;
}
&__sub-title {
font-size: 18px;
font-weight: 400;
line-height: 1.5;
color: #FFFFFF;
margin-bottom: 4px;
}
&__title {
font-size: 36px;
font-weight: 700;
line-height: 1.25;
color: #FFFFFF;
margin-bottom: 12px;
a {
color: inherit;
}
}
&__desc {
font-size: 16px;
line-height: 1.75;
color: #f0f0f0;
margin-bottom: 30px;
}
&__read-more {
display: inline-block;
font-size: 14px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
color: #FFFFFF;
background: #ffba00;
padding: 20px 35px;
border-radius: 5px;
&:hover {
background: #eba53a;
}
}
@media( max-width: $break-xs - 0.02 ) {
&__content {
padding: 24px 16px;
}
}
}
}
&--skin-paradis {
position: relative;
text-align: center;
background: #424242;
overflow: hidden;
.elementor-image-box {
&__overlay {
position: absolute;
top: calc(100% - 90px);
left: 0;
width: 100%;
height: 100%;
background: rgba(#ef2853, 0.9);
z-index: 3;
-webkit-transition: all .4s;
transition: all .4s;
-webkit-transform: skewY(-8deg);
transform: skewY(-8deg);
}
&__image {
position: relative;
overflow: hidden;
line-height: 0;
z-index: 1;
img {
width: 100%;
height: auto;
}
}
&__content {
position: absolute;
top: calc(100% - 90px);
left: 0;
width: 100%;
padding: 40px 30px;
z-index: 5;
-webkit-transition: all .4s;
transition: all .4s;
-webkit-transform: translateY(0);
transform: translateY(0);
}
&__title {
font-size: 22px;
font-weight: 700;
line-height: 1.25;
color: #FFFFFF;
margin-bottom: 12px;
a {
color: inherit;
}
}
&__desc {
font-size: 16px;
line-height: 1.75;
color: #FFFFFF;
margin-bottom: 20px;
opacity: 0;
-webkit-transition: all .4s;
transition: all .4s;
}
&__read-more {
position: relative;
display: inline-block;
font-size: 14px;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
color: #FFFFFF;
opacity: 0;
border-bottom: 1px solid;
-webkit-transition: all .4s;
transition: all .4s;
svg {
position: absolute;
top: 4px;
right: -18px;
display: inline-block;
fill: currentColor;
}
}
@media( max-width: $break-md - 0.02 ) {
&__content {
padding: 40px 16px;
}
}
}
&:hover {
.elementor-image-box {
&__overlay {
top: 0;
background: rgba(#367978, 0.9);
-webkit-transform: skewY(0);
transform: skewY(0);
}
&__content {
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
&__desc,
&__read-more {
opacity: 1;
}
}
}
}
&--skin-wilson {
position: relative;
text-align: left;
background: #424242;
overflow: hidden;
.elementor-image-box {
&__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: 2;
-webkit-transition: all .4s;
transition: all .4s;
}
&__image {
position: relative;
overflow: hidden;
padding-bottom: 90%;
background: #e7e6e4;
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
}
&__content {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 40px 50px;
z-index: 3;
}
&__title {
font-size: 32px;
font-weight: 800;
line-height: 1.25;
color: #ffffff;
margin: 0;
a {
color: inherit;
}
}
&__sub-title{
font-size: 13px;
line-height: 20px;
text-transform: uppercase;
color: #ffffff;
}
&__desc {
font-size: 16px;
line-height: 1.5;
color: #e7e7e7;
margin: 0;
height: 0;
opacity: 0;
-webkit-transition: All .6s;
-ms-transition: All .6s;
transition: All .6s;
}
&__read-more {
position: relative;
display: inline-block;
width: 40px;
height: 14px;
-webkit-transition: all .4s;
transition: all .4s;
&:before{
content: '';
width: 40px;
background-image: url(../images/icon7.png);
position: absolute;
left: 0;
top: 0;
z-index: 9;
height: 14px;
background-size: cover;
}
}
@media( max-width: $break-md - 0.02 ) {
&__content {
padding: 40px 16px;
}
}
}
&:hover {
.elementor-image-box {
&__desc {
height: 112px;
margin: 15px 0 10px;
opacity: 1;
}
}
}
}
&--skin-grouse {
text-align: left;
&:hover {
.elementor-image-box {
&__image img {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
margin-bottom: 25px;
border-radius: 5px;
img {
width: 100%;
height: auto;
-webkit-transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
}
}
&__title {
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-transform: uppercase;
color: #333333;
margin-bottom: 12px;
a {
color: inherit;
&:hover {
color: #da9100;
}
}
}
&__desc {
font-size: 16px;
font-weight: 400;
line-height: 1.75;
color: #666666;
margin-bottom: 12px;
}
&__read-more {
font-size: 14px;
font-weight: 700;
line-height: 1.5;
text-transform: uppercase;
color: #da9100;
svg {
display: inline-block;
vertical-align: middle;
fill: currentColor;
margin: -2px 0 0 4px;
}
}
}
}
&--skin-sankar {
&:hover {
.elementor-image-box {
&__overlay {
opacity: 1;
}
&__read-more {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
margin-bottom: 25px;
border-radius: 5px;
img {
width: 100%;
height: auto;
}
}
&__overlay {
position: absolute;
top: 15px;
left: 15px;
width: calc(100% - 30px);
height: calc(100% - 30px);
background: rgba(#347d7a, 0.8);
z-index: 3;
opacity: 0;
border-radius: 5px;
-webkit-transition: all .4s;
transition: all .4s;
}
&__read-more {
display: inline-flex;
align-items: center;
justify-content: center;
position: absolute;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
color: #347d7a;
background: #FFFFFF;
z-index: 5;
opacity: 0;
margin: -20px 0 0 -20px;
border-radius: 30px;
-webkit-transform: translateY(-80px);
transform: translateY(-80px);
-webkit-transition: all .7s;
transition: all .7s;
svg {
fill: currentColor;
}
}
&__title {
font-size: 22px;
font-weight: 700;
line-height: 1.25;
color: #333333;
margin-bottom: 12px;
a {
color: inherit;
&:hover {
color: #398985;
}
}
}
&__desc {
font-size: 16px;
font-weight: 400;
line-height: 1.75;
color: #666666;
margin-bottom: 12px;
}
}
}
&--skin-somoni {
position: relative;
background: #f7f5ef;
overflow: hidden;
padding: 12px;
border-radius: 20px;
-webkit-transition: all .3s;
transition: all .3s;
&:hover {
background: #FFFFFF;
-webkit-box-shadow: 0px 20px 30px 0px rgba(189, 60, 43, 0.10);
box-shadow: 0px 20px 30px 0px rgba(189, 60, 43, 0.10);
.elementor-image-box {
&__image img {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
&__read-more {
color: #BD3C2B;
svg {
background: #BD3C2B;
}
}
}
}
.elementor-image-box {
&__image {
position: relative;
overflow: hidden;
line-height: 0;
border-radius: 16px;
img {
width: 100%;
height: auto;
-webkit-transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
transition: all 1.5s cubic-bezier(.11,.52,.53,.79) 0s;
}
}
&__content {
position: relative;
padding: 54px 12px 12px;
}
&__date-wrap {
position: absolute;
top: 0;
left: 50%;
display: flex;
overflow: hidden;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
border-radius: 10px;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
.date {
display: flex;
flex-direction: column;
justify-content: center;
min-width: 60px;
color: #FFFFFF;
background: #BD3C2B;
padding: 5px;
.date-d {
font-size: 24px;
font-weight: 700;
line-height: 1.2;
}
}
.time {
display: flex;
flex-direction: column;
justify-content: center;
min-width: 90px;
color: #0A0A0A;
background: #FFD231;
padding: 5px;
.time-t {
font-size: 24px;
font-weight: 700;
line-height: 1.2;
}
}
}
&__title {
font-size: 20px;
font-weight: 700;
line-height: 1.2;
color: #0A0A0A;
margin-bottom: 12px;
a {
color: inherit;
}
}
&__desc {
font-size: 16px;
font-weight: 400;
line-height: 1.5;
color: #4A4A4A;
margin-bottom: 24px;
}
&__read-more {
display: inline-block;
font-size: 16px;
font-weight: 700;
line-height: 1.5;
color: #0A0A0A;
svg {
display: inline-block;
vertical-align: middle;
fill: #FFFFFF;
background: #0A0A0A;
padding: 5px;
border-radius: 20px;
margin: -1px 0 0 8px;
-webkit-transition: all .3s;
transition: all .3s;
}
}
}
}
}