/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Before & After */
.nhatweb-compare-images {
  position: relative;
/*   width: 100%;
  height: auto; */
  overflow: hidden;
}
.nhatweb-compare-images-container {
  position: relative;
  display:block;
  width: 100%;
  max-width:100%;
  height:auto;
  min-height:385px;
  overflow: hidden;
}
.nhatweb-compare-images-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.nhatweb-compare-images-before {
  z-index: 10;
  clip: rect(0, auto, auto, 0);
}
.nhatweb-compare-images-after {
  z-index: 20;
  clip: rect(0, 100%, auto, auto);
}
.nhatweb-compare-images:hover:before {
    content: "Before";
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 99;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-left: 10px;
    top: 47%;
    background: #00000070;
    padding: 5px 10px;
    border-radius: 5px;
    width: 82px;
    justify-content: center;
}
.nhatweb-compare-images:hover:after {
    content: "After";
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 99;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-right: 10px;
    top: 47%;
    background: #00000070;
    padding: 5px 10px;
    border-radius: 5px;
    right: 0;
    width: 82px;
    justify-content: center;
}
.nhatweb-compare-images-dragger {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
	left:50%;
    height: 100%;
    min-height: 390px;
    cursor: ew-resize;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nhatweb-compare-images-dragger:before {
    bottom: 50%;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    content: "";
    width: 2px;
    height: 100%;
    background: #fff;
    z-index: 999;
    position: absolute;
    box-shadow: 0px 5px 12px rgba(51, 51, 51, 0.5);
}
.nhatweb-compare-images-dragger:after {
    top: 50%;
    margin-top: 20px;
    -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    content: "";
    width: 2px;
    height: 100%;
    background: #fff;
    z-index: 999;
    position: absolute;
    box-shadow: 0px 5px 12px rgba(51, 51, 51, 0.5);
}
.nhatweb-compare-images-dragger:active {
  cursor: grabbing;
}
.thanh-keo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 100%;
}
.thanh-keo:before {
    background-image: url(https://sparklingphotos.vn/wp-content/uploads/2023/04/icon-left-right.svg);
    background-size: 42px 42px;
    width: 42px;
    height: 42px;
    content: "";
    position: absolute;
}
@media (max-width:570px) { 
	.nhatweb-compare-images-container {
		min-height:192px;
	}
	.nhatweb-compare-images-dragger {
		min-height:195px;
	}
}
/* dự Án */
/* li.image-duan.lslide {
    align-items: center;
    justify-content: center;
    display: flex;
} */
.portfolio-inner img {
    display: none;
}

ul#albumanh {
    max-height: 550px !important;
    margin-bottom: 5px;
}
.lSSlideOuter .lightSlider > *, .lSSlideOuter .lSGallery li {
    float: left;
    margin: 0 5px;
}
.album-anh ul#albumanh {
    margin-left: 0;
    margin-right: 0;
}
.album-anh .lSSlideWrapper {
    border:1px solid #cecece !important;
}
.album-anh ul.lSPager.lSGallery {
	margin:1px;
    display: flex;
    margin: 0 auto;
}
.album-anh .lSSlideWrapper img {
    display: flex;
	width:100%;
	height:550px;
	margin: 0 auto;
	object-fit: cover;
}
.lSSlideOuter .lSPager.lSGallery li.active {
	margin-left:0;
}

@media (max-width:570px) {
	ul#albumanh {
		max-height: 350px !important;
	}
	.album-anh .lSSlideWrapper img {
		height:350px;
	}
	#albumanh .lSPager.lSGallery {
        margin-top: 20px;
    }
    
    #albumanh .lSPager.lSGallery li {
        width: calc(33.33% - 10px) !important;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}
/* end dự án */

/* Custtom */
.box-shadow, .box-shadow-2, .box-shadow-2-hover:hover, .row-box-shadow-2 .col-inner, .row-box-shadow-2-hover .col-inner:hover {
    border: 1px solid #DEDEDE;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 8%), 0px 4px 12px rgb(0 0 0 / 5%);
}
.bg-mo .col-inner {
    background: #3f3f3f2b !important;
    backdrop-filter: blur(8px);
    border: 2px solid #848484;
    border-radius: 20px !important;
    padding: 40px;
    transition: 0.5s;
    color: #fff !important;
}
.bt-amina .button.icon i {
    color: #272727;
}
.bt-amina a.button.open-video.icon.circle.is-outline {
    background: #fff;
}
.bt-amina .button.icon:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
}
@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}