section.attractions_wrapper {
    padding-top: 40px;
}


.attractions-item-wrap {
    margin-top: 20px;
    justify-content: center;
}

.attr_img.mdl {
    aspect-ratio: 0.712;
}

.attr_img {
    height: 367px;
    object-fit: cover;
    aspect-ratio: 1.5;
    position: relative;
    overflow: hidden;
    transition: all .5s ease-in-out;
    box-shadow: 0px 0px 3px #bbb;
    width: 100%;
}

.attr_img img {
    position: relative;
    /* border-radius: 10px 10px 0 0; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease-in-out;
}


.attr-over {
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 90%);
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 20px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attr-over h4 {
    color: var(--white-color);
    font-size: 23px;
    margin-bottom: 0px;
    transition: all .5s ease-in-out;
    font-weight: 500;
    font-family: var(--heading-font);
}

.attractions_wrapper .attr-over p {
    display: none;
}

.attr-over p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--white-color);
    margin-bottom: 0px;
    margin-top: 20px;
}

.attr_img.mdl {
    aspect-ratio: 0.712;
}

.attr_img:hover {
    border-radius: 0px;
}

.attr_img {
    height: 367px;
    object-fit: cover;
    aspect-ratio: 1.5;
    position: relative;
    overflow: hidden;
    transition: all .5s ease-in-out;
    box-shadow: 0px 0px 3px #bbb;
    width: 100%;
}


.attr-over {
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 90%);
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 20px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attr_img:hover .attr-over p {
    display: block;
    text-align: center;
}

.attractions_left {
    margin-bottom: 1.5rem;
}






section.c-gallery .head-sec{
 margin-bottom:40px; 
}
.gallery-box a{
  display: block;
    position: relative;
}
.gallery-box a::before, .gallery-box a::after{
display: inline-block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #fff;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
    z-index: 100; 
}
.gallery-box a::before{
      top: 20px;
    left: 20px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translate3d(-20px, -20px, 0);
    transform: translate3d(-20px, -20px, 0);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}
.gallery-box a::after{
 top: 20px;
    right: 20px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: translate3d(20px, -20px, 0);
    transform: translate3d(20px, -20px, 0);
    -webkit-transition-delay: .1s;
    transition-delay: .1s; 
}
.link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(39,39,39,.75);
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}
.gallery-box {
    display: block;
    position: relative;
}
.gallery-box::before, .gallery-box::after{
 display: inline-block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #fff;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
    z-index: 100; 
}
.gallery-box::before{
      bottom: 20px;
    left: 20px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translate3d(-20px, 20px, 0);
    transform: translate3d(-20px, 20px, 0);
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}
.gallery-box::after{
  bottom: 20px;
    right: 20px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: translate3d(20px, 20px, 0);
    transform: translate3d(20px, 20px, 0);
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}
.details-wrap {
    display: block;
    line-height: 20px;
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    left: 50%;
    margin: 0 auto;
    position: absolute;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    padding: 0;
    visibility: none;
    opacity: 0;
    vertical-align: middle
}
.details-wrap h3{
  font-size: 22px;
  color: var(--white-color);
  text-transform: uppercase;
  margin-bottom: 0;
}
.gallery-box:hover::before, .gallery-box:hover::after, .gallery-box:hover a::after, .gallery-box:hover a::before{
 -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1; 
}
.gallery-box:hover .link-overlay {
    opacity: 1
}
.gallery-box:hover .details-wrap {
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    text-align: center;
    visibility: visible;
    opacity: 1
}
.fancybox-content .attr-over{
    display:none;
}