.raigl-clearfix:before, .raigl-clearfix:after{content: "";display: table;}
.raigl-clearfix::after{clear: both;}
.raigl-hide{display:none;}
.raigl-center{text-align:center;}
.raigl-gallery-wrp *, .raigl-gallery-album-wrp *{box-sizing: border-box; outline:none !important;}
.raigl-gallery-wrp .raigl-inr-wrp{position:relative; overflow: hidden;}
.raigl-gallery-wrp .raigl-img, .raigl-gallery-album-wrp .raigl-img{border-radius:0 !important; box-shadow:none !important; border:0; margin:0; padding:0; object-fit:cover; object-position:top center; height:100% !important; width:100% !important;}
.raigl-img-title{font-weight:bold; padding: 8px 0 0 0;}
.raigl-img-desc{padding: 8px 0 0 0;}
.raigl-gallery-wrp .raigl-img-wrp {line-height: 0;}

.raigl-mfp-popup button.mfp-close{background-color:transparent !important; background-image:none !important; box-shadow:none !important;}
.raigl-mfp-popup button.mfp-arrow {background-color: rgba(51, 51, 51, 0.8) !important; padding: 20px !important; border-radius: 5px !important; box-shadow:none !important;}
.raigl-cnt-wrp .raigl-img-desc p:last-child{margin-bottom: 0;}
.raigl-cnt-wrp .raigl-img-desc p {margin-bottom: 8px;}

.raigl-gallery-album-wrp .raigl-img-wrp{border:1px solid #ccc; padding: 5px; #z-index: 1;}
.raigl-gallery-album-wrp .raigl-img-wrp::after { border-width: 4px !important; bottom: -7px; content: " "; left: -7px; position: absolute; right: 11px; top: 5px; border-style: none none double double !important; border-color: #ccc; z-index: -1;}
.raigl-img-count {font-style: italic; padding: 6px 0 0 0;}

/* Slider CSS Starts */
.raigl-gallery-slider{visibility: hidden; opacity:0; transition:opacity 0.5s linear;}
.raigl-gallery-slider.slick-initialized {visibility: visible !important; opacity:1 !important;}
.raigl-gallery-slider .slick-arrow,
.raigl-gallery-slider .slick-dots li button{text-indent:-99999px;}
.raigl-gallery-slider button.slick-arrow{
    width:32px !important; 
    height:32px !important; 
    position:absolute; 
    z-index:999; 
    border:0px !important; 
    padding:0 !important; 
    border-radius:5px !important; 
    margin: -16px 0 0 0 !important; 
    top: 50% !important;
    background-color: rgba(51, 51, 51, 0.8) !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.raigl-gallery-slider button.slick-arrow:hover {
    opacity: 1 !important;
}

.raigl-gallery-slider button.slick-next,
.raigl-gallery-slider button.slick-next:hover,
.raigl-gallery-slider button.slick-next:focus,
.raigl-gallery-slider button.slick-next:active{
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0xMy4yODYgMjUuNjFjLS4yNC4yNTMtLjUyLjM3Ny0uODQuMzc3LS4zMTggMC0uNi0uMTI0LS44NC0uMzc2bC0xLjI0NS0xLjI5N2MtLjI0LS4yNTItLjM2LS41NDQtLjM2LS44NzggMC0uMzM0LjEyLS42MjYuMzYtLjg3OGw2LjMyOC02LjZMMTAuMzYgOS40M2MtLjI0LS4yNS0uMzYtLjU0LS4zNi0uODY0IDAtLjMyMy4xMi0uNjEyLjM2LS44NjRsMS4yNDUtMS4zMjVjLjI0LS4yNTIuNTIzLS4zNzcuODQ4LS4zNzcuMzIzIDAgLjYwMi4xMjUuODMzLjM3N2w4LjM2NiA4Ljc0NmMuMjQuMjUuMzYzLjU0Ni4zNjMuODgyIDAgLjM0LS4xMjIuNjM0LS4zNjMuODg2bC04LjM2NiA4LjcyeiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJldmVub2RkIi8+Cjwvc3ZnPg==') !important;
    right:20px;
}

.raigl-gallery-slider button.slick-prev, 
.raigl-gallery-slider button.slick-prev:hover, 
.raigl-gallery-slider button.slick-prev:focus, 
.raigl-gallery-slider button.slick-prev:active{
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTguNzE0IDYuMzljLjI0LS4yNTMuNTItLjM3Ny44NC0uMzc3LjMxOCAwIC42LjEyNC44NC4zNzZsMS4yNDUgMS4yOTdjLjI0LjI1Mi4zNi41NDQuMzYuODc4IDAgLjMzNC0uMTIuNjI2LS4zNi44NzhsLTYuMzI4IDYuNiA2LjMyOCA2LjZjLjI0LjI1LjM2LjU0LjM2Ljg2NCAwIC4zMjMtLjEyLjYxMi0uMzYuODY0bC0xLjI0NSAxLjMyNWMtLjI0LjI1Mi0uNTIzLjM3Ny0uODQ4LjM3Ny0uMzIzIDAtLjYwMi0uMTI1LS44MzMtLjM3N2wtOC4zNjYtOC43NDZjLS4yNC0uMjUtLjM2My0uNTQ2LS4zNjMtLjg4MiAwLS4zNC4xMjItLjYzNC4zNjMtLjg4Nmw4LjM2Ni04LjcyeiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+') !important;
    left:20px;
}

.raigl-gallery-slider .slick-prev{left:5px;}
.raigl-gallery-slider .slick-next{right:5px;}

.raigl-gallery-album-slider.raigl-gallery-slider .slick-prev{left:16px;}
.raigl-gallery-album-slider.raigl-gallery-slider .slick-next{right:16px;}

.raigl-gallery-slider .slick-dots{padding:15px 0 !important; margin:0 !important; text-align:center; line-height:0;}
.raigl-gallery-slider .slick-dots li{list-style:none !important; display:inline-block !important; margin:0 3px !important; padding:0px !important;line-height: 0;}
.raigl-gallery-slider ul.slick-dots li::before, .raigl-gallery-slider ul.slick-dots li::after{background:none !important;content:none !important;}
.raigl-gallery-slider .slick-dots li button{background: #fff !important;margin: 0px !important;padding: 0px !important;border: 2px solid #444;border-radius: 50% !important;width: 12px !important; height: 12px !important; box-shadow: none !important;}
.raigl-gallery-slider .slick-dots li button:focus{outline:none !important;}
.raigl-gallery-slider .slick-dots li.slick-active button{background:#8D8C8C !important;}
.raigl-gallery-slider .slick-slide{padding:0 5px !important; text-align:center;}
.raigl-gallery-album-slider.raigl-gallery-slider .slick-slide{padding:0 10px 10px 10px !important; text-align:center;}
/* Slider CSS Ends */

/********************** ALBUM DESIGN-1 ***********************/
.raigl-album-design-1 .raigl-img-title{font-weight: 600;text-transform: capitalize;font-size: 18px;line-height: normal;margin: 15px 0 0; padding: 0;}
.raigl-album-design-1 .raigl-img-desc{padding: 8px 0 0 0;}
.raigl-album-design-1 .raigl-img-wrp{position: relative;height: 300px;width: 100%;}
.raigl-album-design-1 .raigl-img-count{padding-top:8px;}

/********************** GALLERY DESIGN-1 ***********************/
.raigl-design-1 .raigl-hide{display:none;}
.raigl-design-1 .raigl-gallery-wrp *{box-sizing: border-box; outline:none !important;}
.raigl-design-1 .raigl-gallery-wrp .raigl-inr-wrp{position:relative;}
.raigl-design-1 .raigl-gallery-wrp .raigl-img-wrp{line-height:0; height: 225px; position:relative;}
.raigl-design-1 .raigl-gallery-wrp .raigl-img{border-radius:0 !important; box-shadow:none !important; border:0; margin:0; padding:0; -o-object-fit:cover; object-fit:cover; -o-object-position:top center; object-position:top center; height:100%; width:100%;}

.raigl-design-1 .raigl-gallery-wrp .raigl-first{clear:both;}
.raigl-design-1 .raigl-img-caption {z-index: 100;box-sizing: border-box;  bottom: 0; color: #fff; font-size: 16px; padding: 10px 10px; position: absolute; text-align: center; width: 100%; line-height:normal;background: RGBA(51, 51, 51, 0.62);}
.raigl-design-1 .raigl-img-title{font-weight: 600;text-transform: capitalize;font-size: 18px;line-height: normal;margin: 8px 0 0;}
.raigl-design-1 .raigl-img-desc{padding: 8px 0 0 0;}
.raigl-design-1 .raigl-img-wrp{position: relative;height: 300px;width: 100%;}

.raigl-column,
.raigl-columns {width: 100%; position: relative; padding:10px; float:left;}

@media only screen and (min-width: 40.0625em) {  
    .raigl-column,
    .raigl-columns {position: relative; padding: 10px; float:left;}
    .raigl-col-1{ width: 100%; }
    .raigl-col-2{ width: 70%; }
    .raigl-col-3{ width: 33.33333%; }
    .raigl-col-4{ width: 25%; }
    .raigl-col-5{ width:20%; }
    .raigl-col-6{ width: 16.66667%; }
    .raigl-col-7{ width: 14.2857%; }
    .raigl-col-8{ width: 12.5%; }
    .raigl-col-9{ width: 11.11%; }
    .raigl-col-10{ width: 10%; }
    .raigl-col-11{ width: 9.090%; }
    .raigl-col-12{ width: 8.33333%; }
}
