.bg-primary {
background-color:#e9e5dc;
height: 100%;
min-height: 200px;
}

.gallery_item {
display: flex;
align-items: center;
justify-content: center;
/* height: 200px ;
width: 200px ; */
/* min-height: 200px; */
position: relative;
background-color: #D9D9D9 !important;
margin-top: 50px;
clear: both;
}

@media screen and (max-width: 800px) {
    .gallery_item {
        height: 140px !important;
        width: 140px !important;
    }
    .db{
        width: 100%;
    }
}
.gallery-caption {
  display: block;
  color: black;
  padding: 5px;
  width: 100%;
  margin-top: 12px;
  max-width: 100%;
  border-radius: 0 4px 0 0;
  background: none;
  margin-left: -38px;
  font-size: 14px;
  font-weight: bold;
  /* padding-bottom: 30px; */
}

.gallery_link {
    background-color: #D9D9D9 !important;
width: 100%;
height: 100%;
/* min-height: 200px; */
display: flex;
align-items: center;
justify-content: center;
}
.w-fifth-md{
    display: flex;
    align-items: center;
    justify-content: center;
}

.relative {
    position:relative
}

.row {
    margin-right: -1.25rem;
    margin-left:-1.25rem
}

.w-100 {
    width:100%
}

.justify-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content:center
}

.items-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items:center
}

.items-stretch {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items:stretch
}

.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap:wrap
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display:flex
}

.row {
    margin-right: -1.25rem;
    margin-left:-1.25rem
}

.pa3 {
    padding:1.25rem
}

.col {
    margin-bottom: 2rem;
}

.mw-100 {
    max-width:70%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.db {
    display: flex !important;
    width: 100% !important;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing:border-box
}

@media (min-width: 576px) {
    .w-50-xs {
        width:50%
    }
}

@media (min-width: 768px) {
    .w-third-sm {
        width:33.33333%
    }
}

@media (min-width: 992px) {
    .w-25-md {
        width: 25%
    }
    .w-20-md {
        width: 20%;
    }
    .w-sixth-md {
        width: 16.6667%;
    }
    
}

@media (min-width: 1200px) {
    .w-sixth-lg {
        width: 16.6667%;
    }
}
