.banner_body_right {
right: 0;
}
.banner_body_left {
left: 0;
}
.banner_body_left, .banner_body_right {
text-align: center;
position: fixed;
top: 40px;
width: 15%;
z-index: 999;
} .container-home {
display: grid;
gap: 10px;
width: 100%;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
}
.container-home .h3-category {
margin-top: 20px;
}
.container-home img {
border-radius: 5px;
}
.item-home-in {
padding: 10px;
display: flex;
flex-direction: column;
align-items: stretch;
width: 100%;
}
.item-home {
padding: 10px;
width: 100%;
}
.full-width {
grid-column: span 2;
display: flex;
justify-content: space-between;
width: 100%;
}
.ads-block-home {
grid-column: span 2;
}
@media (max-width: 768px) {
.container-home {
grid-template-columns: 1fr;
display: flex;
flex-direction: column;
}
.full-width {
grid-column: span 1;
flex-direction: column;
align-items: normal;
flex-wrap: wrap;
}
.item-home, .item-home-in {
grid-column: span 1!important;
width: 100%;
}
.ads-block-home {
grid-column: span 1!important;
max-width: 100vw;
width: 100vw; max-width: 100%;
overflow: hidden;
}
.container-project {
display: flex;
flex-direction: column;
align-items: center;
}
.content-block {
width: 100%;
}
.block-image {
max-width: 100%;
height: auto;
}
.btn-more {
width: 100%;
text-align: center;
}
}
button.btn-more {
width: 100%;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 5px;
background: #0096df;
color: white;
font-size: 14px;
}
button.btn-white {
background: white;
border: 1px #0096df solid;
color: #0096df;
}
button.btn-more:hover {
background-color: #0096dfa3;
}
button.btn-white:hover {
background-color: #0095dc10;
} .slider-container {
position: relative;
overflow: hidden;
width: 100%;
max-width: 1200px;
margin: auto;
}
.slider-wrapper {
overflow: hidden;
width: 100%;
}
.slider {
display: flex;
transition: transform 0.3s ease-in-out;
}
.slide {
min-width: 100%;
box-sizing: border-box;
position: relative;
}
.slide-link {
text-decoration: none;
color: inherit;
}
.slide-image {
max-height: 400px;
display: block;
object-fit: cover;
width: 100% !important;
height: 100% !important;
}
.slide-info {
position: absolute;
bottom: 20px;
left: 20px;
background: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 10px;
border-radius: 5px;
}
.slide-category {
font-size: 14px;
font-weight: bold;
display: block;
}
.slide-title {
font-size: 18px;
margin: 5px 0;
}
.slide-date {
font-size: 14px;
opacity: 0.8;
}
.slider-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.5);
color: #fff;
border: none;
padding: 10px;
cursor: pointer;
z-index: 100;
}
.slider-button.prev {
left: 10px;
}
.slider-button.next {
right: 10px;
}