
@font-face {
    font-family: revicons;
    src: url(../font/revicons/revicons.eot);
    src: url(../font/revicons/revicons.eot)  format('embedded-opentype'),
    url(../font/revicons/revicons.woff)
    format('woff'), url(../font/revicons/revicons.ttf) format('truetype'),
    url(../font/revicons/revicons.svg) format('svg');
    font-weight: 400;
    font-style: normal
}
.gallery {
  width: 100%;
    position: relative;
}

.gallery-container {
  align-items: center;
  display: flex;
  height: 670px;
  margin: 0 auto;
   
  position: relative;
}
.gallery-item img{
    height:100%;
    width: 100%;
}
.gallery-item{
  height: auto;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 260px;
  z-index: 0;
}

.gallery-item-1{
  left: 15%;
  opacity: .4;
  transform: translateX(-50%);
}

.gallery-item-2,
.gallery-item-4{
  height: auto;
  opacity: 1;
  width: 400px;
  z-index: 1;
}

.gallery-item-2{
  left: 30%;
  transform: translateX(-50%);
}

.gallery-item-3{
  /*box-shadow: 0 0 30px rgb(45 175 171 / 5%), 0 0 60px rgb(45 175 171 / 5%), 0 0 110px rgb(45 175 171 / 5%), 0 0 100px rgb(45 175 171 / 5%);*/
  height: auto;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  z-index: 2;
}

.gallery-item-4{
  left: 70%;
  transform: translateX(-50%);
}

.gallery-item-5{
  left: 85%;
  opacity: .4;
  transform: translateX(-50%);
}

.gallery-controls {
  display: flex;
  justify-content: center;

}

.gallery-controls button {
    background-color: #2dafab;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    z-index: 999;
    padding: 0 12px;
    text-transform: capitalize;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    margin-top: -20px;
}

.gallery-controls button:focus {
  outline: none;
}

.gallery-controls-previous {
    position: absolute;
    top: 50%;
    left: 39px;
    transform: translate(-50%, 0%);
}

.gallery-controls-previous::before {
    border: solid white;
    border-width: 0 2px 2px 0;
    content: '';
    display: inline-block;
    height: 14px;
    left: 12px;
    padding: 2px;
    position: absolute;
    top: 8px;
    transform: rotate(135deg) translateY(-50%);
    transition: left 0.15s ease-in-out;
    width: 14px;
}

.gallery-controls-previous:hover::before {
  opacity: 0.5;
}

.gallery-controls-next {
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translate(-50%, 0%);
}

.gallery-controls-next::before {
    border: solid white;
    border-width: 0 2px 2px 0;
    content: '';
    display: inline-block;
    height: 14px;
    left: 15px;
    padding: 2px;
    position: absolute;
    top: 18px;
  transform: rotate(-45deg) translateY(-50%);
  transition: right 0.15s ease-in-out;
    width: 14px;
}

.gallery-controls-next:hover::before {
    opacity: 0.5;
}

.gallery-nav {
  bottom: -15px;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: absolute;
  width: 100%;
}

.gallery-nav li {
  background: #ccc;
  border-radius: 50%;
  height: 10px;
  margin: 0 16px;
  width: 10px;
}

.gallery-nav li.gallery-item-selected{
  background: #555;
}

.gallery-controls-add{
    display: none;
}

.more-sert{
    display: none;
    background: #2dafab;
    border: none;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(0, 50%);
    height: 40px;
    color: white!important;
    font-family: 'Muli';
    width: 100px;
    margin-left: -50px;
    letter-spacing: 0.9px;
    border-radius: 2px;
}

.gallery-item-3 .more-sert{
    display: block!important;}

.magnifig-pop {
    display: none;
    position: absolute;
z-index: 999;
top: 0px;
background: #303031;
min-height: 107%;
width: 100%;
    height: auto;
}

.close-magpop{
    background: #2dafab;
    border: #2dafab;
    padding: 10px;
    border-radius: 2px;
    position: absolute;
    bottom: 10px;
    margin-left: -10px;
}
.close-magpop:before {
    font-family: revicons;
    display: block;
    text-align: center;
    color: #ffffff !important;
    line-height: 19px;
    font-size: 33px;
    content: '\00d7';
}


.magnifig-pop-header{
    font-size: 20px!important;

    letter-spacing: 1.5px!important;
    text-align: center!important;
    color: #fff;
    font-family: 'Muli';


}
.magnifig-pop-header span{
    padding: 34px 0px!important;
    display: inline-block;
    border-bottom:   2px solid #4e4e4e;

}
.magnifig-pop-content{
    font-size: 16px!important;
    line-height: 22px!important;
    letter-spacing: 1.69px!important;
    text-align: center!important;
    color: #fff!important;
    padding: 34px 34px 50px!important;
    font-family: 'Muli'!important;

}

.layer-sert {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #242527;
    opacity: 0.7;
    top: 0px;
    z-index: 1;
}

.gallery-item-3 .layer-sert{
    display: none!important;
}