/*-- Engagement Form page css --*/
section {
	width: 100%;
	float: left;
}
.engagement-moments{
    background: url('../images/banner-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 60px 0 70px;
    background-position: center;
}
.engagement-moments-title{
    font-size: 36px;
    text-transform: uppercase;
    font-family: "Zap";
    color: #fff;
    padding: 10px 0 20px 0;
    display: inline-block;
    width: 100%;
}
.engagement-moments-disc{
    font-size: 18px;
    font-family: "Zap";
    color: #fff;
    line-height: 22px;
    padding: 0px 0 10px 0;
    display: inline-block;
    width: 100%;
}

.moments-list-section {
  padding: 80px 0;
}
.select-field {
  max-width: 200px;
  display: inline-block;
  border-radius: 0;
  width: 100%;
  box-shadow: none;
  border: 1px solid #ddd;
  height: 45px;
  margin-right: 10px;
  font-size: 14px;
  text-transform: capitalize;
  margin-bottom: 20px;
  padding: 0 10px;
}
.share-moment-button {
  display: inline-block;
  float: right;
  max-width: 320px;
  width: 100%;
  text-align: center;
}
.share-moment-button a {
  background: #3aa4d7;
  padding: 10px 20px;
  color: #fff;
  text-transform: capitalize;
  letter-spacing: .5px;
  display: inline-block;
}
.moments-listing{
    display: inline-block;
    width: 100%;
    padding: 40px 0;
    
}
.moments-listing li{
    width: calc(20% - 20px);
    display: inline-block;
    margin: 0 8px;
    text-align:center;
    margin-bottom: 15px; 
    background:#e2e2e2;
    float:left;

}
.name-text {
    padding: 10px;
    display: inline-block;
    width: 100%;
    min-height:140px;
}
.name-text h4{
    padding: 0;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    color: #000;
    font-size: 16px;
    word-break:break-all;
    margin: 0 auto;
}
.name-text span{
    padding: 5px 0;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    color: #3aa4d7;
    font-size: 16px;
}

.name-text h2 {
    text-align: center;
    margin-top: 0;
    text-transform: capitalize;
        font-weight: 700;
}

.name-text h3{
    font-size: 22px;
    margin-top:35px;
    font-weight: 600;
    text-transform: capitalize;  
}

.moment-modal{
    max-width: 865px;
    width: 100%;
    margin: 0 auto;
    width: 95%;
}
.moment-modal .modal-body {
  padding: 20px 30px;
  width: 100%;
}
.moment-modal .name-text span{
    font-size: 16px;
    color: #000;
    text-align:center;
    text-transform:capitalize
}
.moment-modal .name-text h4{
    font-size: 24px;
}
.modal-img {
    max-width: 380px;
    height: 380px;
    margin:0 auto;
}
.moment-modal .img-detail {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.moment-modal  .disc {
    font-size: 14px;
}
ul.moments-thumbnail li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.close {
  font-size: 26px;
  opacity: .8;
}

.loader {
  position: fixed;
  background: rgba(0,0,0,.3);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left:0;
}
.loader img {
  width: 80px;
  height: 80px;
}
.img-detail {
    display: inline-block;
    width: 100%;
    position:relative;
    width:208px;
    height:208px;
}
.img-detail img {
    width: 100%;
    display: inline-block;
    height: 100%;
    object-fit: cover;
    position:relative;
}
span.month-text {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-transform: uppercase;
    padding: 0 10px;
    background: rgba(58, 164, 215, 0.4);
    color: #fff;
    z-index:1;
  }
ul.moments-thumbnail {
    float: left;
    width: 100%;
}

ul.moments-thumbnail li {
    float: left;
    width: calc(33.33% - 10px);
    margin: 12px 5px;
    max-width: 118px;
    height: 118px;
}
@media (max-width:1024px){
  .moments-listing li{
    width: calc(25% - 20px);

}
}

@media (max-width:992px){
  .moments-listing li{
    width: calc(33.33% - 20px);

}
.share-moment-button{
  float: left;
}
}

@media (max-width:767px){
  .moments-listing li{
    width: calc(50% - 20px);

}
}

@media (max-width:480px){
  .moments-listing li{
    width: 100%;
    margin:0px;

}
    .modal-img {
    max-width:314px;
    height:314px;
    margin:0 auto;
    }
  ul.moments-thumbnail li {
    float: left;
    width: calc(50% - 10px);
    margin: 12px 5px;
}

}