/*******************************************************
 *
 * Gallery Details
 *
 *******************************************************/



.img-canvas {
    position: relative;
}
.img-canvas canvas {
    display: block;
    width: 100%;
    height: auto;
}
.img-canvas img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.ip-gallery-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ip-gallery-slide {
    display: flex !important;
}

.ip-gallery-slider-col {
    width: 50%;
    padding: 20px;
}
.ip-gallery-slides p {
    display: none !important;
}
.ip-gallery-slide-control {
    display: flex;
    justify-content: space-between;
}
.ip-gallery-slide-control button {
    border: none;
    background: none;
}
.ip-gallery-slide-control button i {
    font-style: normal !important;
}
.ip-gallery-slide > div:not(.ip-gallery-slide-full) {
    width: 50%;
}


.ip-gallery-slide-before::before,
.ip-gallery-slide-after::before{
    display: block;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.050em;
    padding-bottom: 10px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.ip-gallery-slide-before::before {
    content: 'Before';
}

.ip-gallery-slide-after::before {
    content: 'After';
}

.ip-gallery-slide-full .img-canvas img,
.image-contain .img-canvas img {
    object-fit: contain;
    object-position: center;
}




.history-btn {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-flow: row wrap;
}

.history-btn button {
    font-size: 12px;
    text-transform: uppercase;
    background: #00a3b3;
    color: #fff;
    border-color: #00a3b3;
    border: 0;
    padding: 16px;
    transition: all 0.3s ease-in-out;
}

.history-btn button:hover {
    background: rgba(0,163,179,70%);
}

div#inner-page-wrapper .container {
    width: 100%;
}











.galbtn {
    display: flex;
    justify-content: center;
}

.galbtn a {
    padding: 20px 30px;
    color: #fff;
    background: var(--primary-color);
}


.ip-gallery-slide-info {
    text-align: center;
}




.ip-gallery-slider-col {
    width: 100%;
}

.ip-gallery-slider {
    width: 50%;
    margin: 0px auto;
}



/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

    .ip-gallery-slider {
        display: block;
    }
    .ip-gallery-slider-col {
        width: 100%;
        padding: 30px 0;
    }


    .ip-gallery-slider {
        width: 100%;
        margin: 0px auto;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {

}
