/********************
 * CUSTOM GRIDS
 *******************/

.ct-grid.row {
    width: 100%;
    justify-content: center;
}

.ct-grid.row .card {
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, .2), 0 6px 10px 0 rgba(0, 0, 0, .19);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .2), 0 6px 10px 0 rgba(0, 0, 0, .19);
    height: 100%;
    position: relative
}

.ct-grid.row>[class*=col] {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.ct-grid .card-img {
    height: 200px
}

.ct-grid .card-img a {
    display: block;
    height: 100%
}

.ct-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.ct-grid .card>a {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s
}

.ct-grid h2 {
    color: #fff;
    text-shadow: 0 3px 3px rgba(0, 0, 0, .5);
    font-size: 35px;
}

.ct-grid .card>a:hover {
    background: rgba(0, 0, 0, .4)
}

.ct-grid .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    height: calc(100% - 300px);
}

.ct-grid .card-body a {
    background: var(--main-color);
    padding: 10px;
    color: #fff
}

.ct-grid .card-body>div {
    padding: 10px;
}

.loc-box.clicked h2 {
    color: var(--main-color);
}

.service-box-btn.clicked {
    opacity: .7;
}

.ct-grid h2,
.ct-grid .btn {
    transition: all .3s;
}

.ct-grid hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin-top: 2rem;
    padding: 0;
}

.header-container{
    position: relative;
    height: 350px;
}

.ct-grid .header-container img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ct-grid .header-container h2{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
}
 
.products-col .btn {
    background: var(--secondary-color)!important;
}

/***********************************************/