/*---theme eight--*/
:root {
  --surface-color: #fff;
  --curve: 40;
}

* {
  box-sizing: border-box;
}

.module-container #CMTilesLayout_1046 .theme-eight {
    margin: 0 0 0rem !important;
}
#CMTilesLayout_1046 .theme-eight {
  
}
#CMTilesLayout_1046 .theme-eight .kofc-council--tiles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem 1rem;
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item {
    position: relative;
    margin: 1rem 0.5rem 0;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item:before {
    content: "";
    background: rgba(0,0,0,.75);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1;
    transition: all .4s ease;
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item:hover:before {
    background: rgba(0,0,0,.4);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item img {
    width: 100%;
    height: auto;
    transition: all .4s ease;
    display: block;
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item:hover img {
    transform: scale(1.05);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-decoration: none;
    color: #F4BA1C;
    font-size: 2rem;
    font-size: clamp(1rem,3vw,2rem);
    font-weight: 900;
    padding: 1.15rem 1.5rem;
    border: 6px solid #EF3D3A;
    max-width: 310px;
    width: 100%;
    min-width: 30%;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
    transition: all .4s ease;
    background: transparent;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item:hover span {
    transform: scale(1.05) translate(-50%,-50%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-6,
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-4,
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-3 {
	max-width: none !important;
	padding-right: 0px;
    padding-left: 0px;
}
@media screen  and (min-width: 767px)  and (max-width: 1199px) {
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-4 span {
    max-width: 70%;
    width: 100%;
}
}
@media screen and (min-width: 992px) {
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-4  {
    flex: 1 1 calc(33.33% - 2rem);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-3  {
    flex: 1 1 calc(50% - 2rem);
}
}
@media screen and (min-width: 767px) and (max-width: 991px) {
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-6  {
    flex: 1 1 calc(50% - 2rem);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-4  {
    flex: 1 1 calc(50% - 2rem);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-3  {
    flex: 1 1 calc(50% - 2rem);
}
#CMTilesLayout_1046 .theme-eight .kofc-council--item.col-md-3 span {
    max-width: 70%;
    width: 100%;
}
}
@media screen and (max-width: 766px) {
#CMTilesLayout_1046 .theme-eight .kofc-council--item {
    flex: 1 1 calc(100% - 2rem);
}
}
.kofc-council--tiles
.kofc-council--item
.kofc-council--link
.kofc-council--image
.kofc-council--title