File: /home/f/r/e/frenchy/refonte2023/wordpress/wp-content/themes/gimont/assets/scss/give/_item-give.scss
/* item give form*/
.ova-item-give {
display: grid;
grid-template-columns: 1fr;
grid-gap: 30px;
&.two_column{
grid-template-columns: 1fr 1fr;
@media(max-width: 767px){
grid-template-columns: auto;
}
}
&.three_column{
grid-template-columns: 1fr 1fr 1fr;
@media(max-width: 1024px){
grid-template-columns: 1fr 1fr;
}
@media(max-width: 767px){
grid-template-columns: auto;
}
}
&.four_column{
grid-template-columns: 1fr 1fr 1fr 1fr;
@media(max-width: 1200px){
grid-template-columns: 1fr 1fr 1fr;
}
@media(max-width: 1024px){
grid-template-columns: 1fr 1fr;
}
@media(max-width: 767px){
grid-template-columns: auto;
}
}
}
.ova_give_detail {
position: relative;
margin-bottom: 30px;
background-color: #fff;
&:hover {
transition: .3s all ease;
.image_future {
.thumbnail {
&:after {
opacity: 1;
transition: .5s all ease;
}
img {
transition: .3s all ease;
transform: scale(1.05);
}
}
.media {
transition: all .5s ease;
opacity: 1;
top: 20px;
}
}
.donate-button {
color: #fff;
background-color: var(--primary);
}
}
.post_cat{
color: var(--primary);
a{
transition: all .3s ease;
font-size: 16px;
font-weight: 600;
line-height: 1.3;
&:hover{
transition: all .3s ease;
text-decoration: underline;
}
}
}
.image_future {
position: relative;
.thumbnail {
overflow: hidden;
&:after {
position: absolute;
content: '';
width: 100%;
height: 100%;
background: rgba(0,0,0,0.3);
top: 0;
left: 0;
opacity: 0;
transition: .5s all ease;
@media (max-width: 767px) {
opacity: 1;
background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.15));
}
}
img {
transition: .3s all ease;
width: 100%;
height: 250px;
object-fit: cover;
display: block;
}
}
.media {
transition: all .5s ease;
position: absolute;
top: 0;
left: 20px;
z-index: 1;
opacity: 0;
@media (max-width: 767px) {
opacity: 1;
top: 20px;
bottom: 20px;
}
ul.gallery_archive{
display: none;
}
.gallery, .video{
display: inline-block;
color: #fff;
font-size: 16px;
cursor: pointer;
i {
transition: all .3s ease;
display: inline-flex;
justify-content: center;
align-items: center;
background-color: #fff;
color: var(--primary);
width: 40px;
height: 40px;
border-radius: 50%;
&:hover {
transition: all .3s ease;
background-color: var(--primary);
color: #fff;
}
}
}
}
}
.detail_body {
transition: .3s all ease;
position: relative;
padding: 40px 0 0 0;
.title {
margin: 6px 0 24px 0;
font-size: 24px;
line-height: 1.3;
a {
color: var(--heading);
transition: .3s all ease;
&:hover {
color: var(--primary);
transition: .3s all ease;
}
}
}
.desc {
margin:0 0 15px 0;
}
.donate_remaining {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 25px;
.donate {
transition: .3s all ease;
color: #fff;
font-weight: 400;
font-size: 16px;
line-height: 26px;
text-transform: uppercase;
padding: 10px 20px;
border: 1px solid var(--primary);
border-radius: 4px;
background-color: var(--primary);
&:hover {
transition: .3s all ease;
color: var(--primary);
background-color: #fff ;
}
}
i {
display: inline-flex;
color: var(--primary);
font-size: 21px;
}
}
.raised {
display: flex;
justify-content: space-between;
line-height: 1.5;
gap: 8px;
.income {
span {
font-size: 15px;
font-weight: 700;
color: var(--primary);
}
}
.goal{
span {
font-size: 15px;
font-weight: 700;
color: var(--heading);
}
}
}
}
.donate-button {
position: absolute;
bottom: -20px;
right: 20px;
transition: all .3s ease;
padding: 18px 36px;
display: flex;
justify-content: center;
align-items: center;
font-size: 15px;
line-height: 1.2;
font-weight: 700;
color: var(--heading);
background-color: #fff;
box-shadow: 0px 10px 60px 0px rgba(5, 26, 83, 0.1);
}
}