/*===========================
17.ACTION 2 css
===========================*/
.news-area{
background: $heading-color;
padding-top: 105px;
padding-bottom: 120px;
& .section-title-2{
& .title{
color: $white;
}
& p{
color: $white;
}
}
& .single-news{
position: relative;
overflow: hidden;
height: 370px;
overflow: hidden;
& .img{
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
@include transition(0.5s);
}
& .single-news-overlay{
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
background: -moz-linear-gradient(to bottom, rgba(0, 34, 73, 0.1) 0%, rgba(0, 34, 73, 0.01) 1%, rgba(0, 34, 73, 0.6) 100%);
background: -webkit-linear-gradient(to bottom, rgba(0, 34, 73, 0.1) 0%, rgba(0, 34, 73, 0.01) 1%, rgba(0, 34, 73, 0.6) 100%);
background: linear-gradient(to bottom, rgba(0, 34, 73, 0.1) 0%, rgba(0, 34, 73, 0.01) 1%, rgba(0, 34, 73, 0.6) 100%);
@include transition(0.3s);
padding: 240px 40px 37px;
@media #{$lg} {
padding: 175px 40px 37px;
}
@media #{$md} {
padding: 205px 40px 37px;
}
@media #{$xs} {
padding: 140px 20px 20px;
}
@media #{$sm} {
padding: 260px 20px 20px;
}
& span{
font-weight: 700;
color: $white;
font-size: 14px;
}
& .title{
font-size: 24px;
padding-top: 10px;
font-weight: 600;
@media #{$lg} {
font-size: 20px;
}
& a{
color: $white;
}
}
& > a{
color: $white;
margin-top: 180px;
font-size: 30px;
@media #{$lg} {
margin-top: 105px;
}
@media #{$md} {
margin-top: 135px;
}
@media #{$xs} {
margin-top: 85px;
}
@media #{$sm} {
margin-top: 185px;
}
}
}
&:hover{
& .img{
transform: scale(1.2) rotate(5deg);
}
& .single-news-overlay{
padding: 37px 40px 37px;
background: rgba(0, 109, 232,.9) !important;
@media #{$xs} {
padding: 20px;
}
}
}
}
&.news-area-2{
padding-top: 90px;
}
}