/**
 * @file
 * Subtheme specific CSS.
 */

.site-footer .block {
border: 0;
}

.nav-item {
font-weight: bold;
font-size: 1.2em;
}

.field--type-image, .field--type-image img {
margin-right: 0 !important;
}

.card-img-top img {
margin-bottom: 0 !important;
}

div.carousel-caption {
background-color: rgba(0, 0, 0, 0.5);
}

div.carousel-caption a, div.carousel-caption p {
color: #f4f4f4;
}

div.carousel-caption a:hover {
color: #fff;
}

div.card {
margin-bottom: 1em;
}

/* custom image zoom on gallery cards */

.card-img-top {
position: relative;
margin: auto;
overflow: hidden;
width: 325px;
width: 100%;
}

.card-img-top img {
max-width: 100%;
transition: all 2.0s;
display: block;
width: 100%;
height: auto;
transform: scale(1);
}

.card-img-top:hover img {
transform: scale(1.9);
}

/* smooth scrolling with CSS */
html {
scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}

#views-bootstrap-news-view-block-2 div.card:hover { 
transform: scale(1.05);
}

#views-bootstrap-news-view-block-2 div.card {
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
}

#views-bootstrap-news-view-block-2 .card:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

button.eu-cookie-withdraw-tab {
left: 5%;
}
}
