html,
body {
	padding: 38px 0px 0px 0px;
	margin: 0px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
	font-size: 14px;
	letter-spacing: 0.2px;
	line-height: 1.8em;
	scroll-behavior: smooth;
	color: #1b1b1b;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


.container > h2 {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555555;
}

.container > h2::before {
    content: " ";
    display: block;
    height: 2px;
    flex: 0 0 15%;
    margin-right: 20px;
    background-color: #555555;
    border-top-left-radius: 2000px;
}
.container > h2::after {
    content: " ";
    display: block;
    height: 2px;
    border-top-right-radius: 100px;
    flex: 0 0 15%;
    margin-left: 20px;
    background-color: #555555;
}

::selection {
	color: #fff;
	background: #da0903;
}

::-webkit-selection {
	color: #fff;
	background: #da0903;
}

::-o-selection {
	color: #fff;
	background: #da0903;
}

::-moz-selection {
	color: #fff;
	background: #da0903;
}


.gallery-items {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    justify-content: stretch;
    margin: 20px 0px;
    
}


.gallery-item {
    max-width: 25%;
    flex: 0 0 25%;
    overflow: hidden;
    align-self: stretch;
    position: relative;
    padding: 7px;
}

.gallery-item img{
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: 0px;
    object-fit: cover;
    transform: scale(1);
    -webkit-transform: scale(1);
    transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    -o-transition: .3s;
    border-radius: 10px;
}

.gallery-item > .overlay {
    position: absolute;
    top: 6px;
    bottom: 5px;
    left: 6px;
    right: 6px;
    background-color: rgba(0, 0, 0, .6);
    opacity: 0;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    color: #eeeeee;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.gallery-item > .overlay > button {
    background-color: transparent;
    padding: 5px 20px;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 10px;
    transform: translate(0px, -30px);
    -webkit-transform: translate(0px, -30px);
    transition: .6s;
    -o-transition: .6s;
    -moz-transition: .6s;
    -webkit-transition: .6s;
    opacity: 0;
}


.gallery-item:hover > .overlay > button {
    opacity: 1;
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
}

.gallery-item:hover > .overlay {
    opacity: 1;
}

.gallery-item:hover > img{
    padding: 0px;
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
}


@media(max-width: 992px){
    .gallery-item {
        max-width: 50%;
        flex: 0 0 50%;
    }
}


.btn:focus, .btn:active, button:focus, button:active {
    outline: none !important;
    box-shadow: none !important;
  }
  
#image-gallery .modal-footer{
    display: block;
}

.thumb{
    margin-top: 15px;
    margin-bottom: 15px;
}


@media(max-width: 500px){
    .gallery-item {
        max-width: 100%;
        flex: 0 0 100%;
    }
}