.px-4{
    padding: 0px 1rem;
}
.pad-10{
    padding: 0 10px;
}
.mar-0{
    margin:25px 0 !important;
        align-items: center;
    justify-content: center;
    display: flex;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
 .px-4{
    padding: 0px;
}
.pad-10{
    padding: 0;
}
.mar-0{
    margin:25px 0 !important;
        align-items: center;
    justify-content: center;
    display: block;
}
}

.new-sec{
    position: relative;
    width: 100%;
    height: 308px;
    display: inline-block;
    float: left;
    overflow: hidden;
    z-index: 2;
    padding-left: 194px;
    text-align: center;
}
div#quad {
    background-color: rgb(0 0 0 / 0%);
    font-size: 0px;
    width: 52%;
    display: flex;
    margin: 0px auto;
    box-shadow: none;
}
div#quad figure { 
  margin: 0;
  width: 40%; 
  height: auto; transition: 1s; 
  display: inline-block; 
  position: relative; overflow: hidden; 
}
div#quad figure {
    margin: 0;
    width: 100%;
    height: auto;
    padding: 0;
    transition: 1s;
     display: flex; 
    position: relative;
    overflow: hidden;
}
div#quad figure:hover { cursor: pointer; z-index: 4; }
div#quad figure img {
    width: 90%;
    height: auto;
}
div#quad figure:nth-child(1) { transform-origin: top left; }
div#quad figure:nth-child(2) { transform-origin: top right; }
div#quad figure:nth-child(3) { transform-origin: bottom left; }
div#quad figure:nth-child(4) { transform-origin: bottom right; }
div#quad figure figcaption { 
  margin: 0; opacity: 0; 
  background: rgba(0,0,0,0.3); 
  color: #fff; padding: .3rem; 
  font-size: 1.2rem; 
  position: absolute; 
  bottom: 0; width: 100%;
	transition: 1s 1s opacity; 
}
.expanded { transform: scale(2); z-index: 5;  }
div#quad figure.expanded figcaption { opacity: 1; }
div.full figure:not(.expanded) { pointer-events: none; }
.preview-list {
    background: linear-gradient( #021919, #021919 var(--line-offset), #efefef var(--line-offset) );
    margin-left: -388px !important;
}