html, body {overflow-x:hidden !important;}
.crasy-photos-container #grid {}
.crasy-photos-container {position:relative} 
.crasy-photos-container .box{display: none;} 
.crasy-photos-container .box img { width: auto;}
.crasy-photos-container #grid-title h3 { margin: 15px 0 30px 0} 

/* *************************************** CATEGORY NAVIGATION BAR *************************************** */
.crasy-photos-container .box:last-child { clear:both !important}  
.crasy-photos-container .category-navbar{ text-align:center; list-style: none; margin: 0 0 10px 0; padding: 7px 0 20px 0px; width: 100%; border-bottom: 1px solid #ddd;}
.crasy-photos-container .category-navbar li:first-child{ margin: 0 0 0 7px;}
.crasy-photos-container .category-navbar li{ display: inline-block;  line-height: 16px;  margin: 0 0 0 0px;  padding: 5px 0 5px 0;}
.crasy-photos-container .category-navbar li a{ cursor:pointer;color: #999;font-size: 27px; text-decoration:none; margin: 0 10px 10px 0;padding:7px 30px 12px 30px; moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius:10px;}
.crasy-photos-container .category-navbar li a:hover{ text-decoration: none;  background: #eee;  color: #222;}
.crasy-photos-container .category-navbar li.select a{ background: #666;  color: #fff;}

/* *************************************** CAPTION STYLE *************************************** */
.crasy-photos-container .box{ cursor: pointer;  overflow: hidden;}
.lightbox-text{ display: none;}
.thumbnail-caption{ position: absolute;  width: 100%;  height: 100%;  background: #313131;  background: rgba(0,0,0,.8);/*url(../img/bg-caption.png)*/  color: #fff;  display: none;}/* The style for centering the caption (vertically and horizontally) */
.thumbnail-caption>div{ height: 100%;  width: 100%;  display: table !important;}
.thumbnail-caption>div>div{ padding: 15px;  display: table-cell !important;    vertical-align: middle; /* FOR VERTICAL ALIGN */    text-align:center; /* FOR HORIZONTAL ALIGN */}
.thumbnail-caption h3 { color:#ffffff;}

/* *************************************** LOADING STYLE *************************************** */

.grid-loader{ width: 43px;  height: 20px;  padding: 10px 15px 10px 15px;  background: url(../img/loader.gif) no-repeat;  background-position:center;  margin: 20px auto;}
.grid-loadMore{ cursor: pointer;  margin: 20px auto; text-align: center;  color: white;  background-color: black;  background: rgba(0,0,0,.6);  border-radius: 2px;  padding: 10px 15px 10px 15px;  font-size: 14px;  font-family: sans-serif; width:200px}
.grid-loadMore:hover{ text-decoration: none;  color: white;  background: rgba(0,0,0,.8);}

/* *************************************** LIGHT-BOX STYLE *************************************** */
.lightbox-timer{ height: 1px;  position: absolute;  bottom: 0;  left: 0;  background: white;}
.lb-loader{ width: 43px;  height: 11px;  background: url(../img/loader.gif);    margin: 20px auto;}
.autoGrid-lightbox{ z-index:1000000; display: none;  position: fixed;  top:0;  width: 100%;  height: 100%;  background: #313131;   background: rgba(0,0,0,.85);  text-align: center;}
.autoGrid-lightbox img{ margin: 0 auto; max-width: 100%; width:auto!important; }
.autoGrid-nav{ margin-top: -57px;  height: 57px;  width: 100%;  background: #383838;  background: #1D1D1D;  border-bottom: 1px solid #323232;}
.autoGrid-play, .autoGrid-close, .autoGrid-next, .autoGrid-prev, .autoGrid-font{  width: 88px;  height: 57px;  position: relative;  cursor: pointer;}
.autoGrid-play:hover, .autoGrid-close:hover, .autoGrid-next:hover, .autoGrid-prev:hover, .autoGrid-font:hover{  background: black; }
.selected{ background: black;}
.selected .iconPlay{ background-position: -164px -3px;}
.autoGrid-lbcaption{ float: left;  color: white;  height: 57px;  font-size: 16px;}
.autoGrid-lbcaption span{ margin-left: 3px;  color: #D7D7D7;  font-size: 11px;}
.autoGrid-lbcaption>div{ height: 100%;  width: 100%;  display: table !important;}
.autoGrid-lbcaption>div>div{ padding: 0 15px 0 15px;  display: table-cell !important;    vertical-align: middle; /* FOR VERTICAL ALIGN */    text-align:center; /* FOR HORIZONTAL ALIGN */}
.autoGrid-play, .autoGrid-close{ float: right;}.autoGrid-next, .autoGrid-prev{  float: right;}
.iconPlay, .iconClose, .iconNext, .iconPrev, .iconFont{ position: absolute;  top: 50%;  left: 50%;  height: 25px;  display: block;} 
.iconClose{ width: 25px;  margin: -13px 0 0 -13px;  background: url(../img/icons.png);  background-position: -2px -3px;}
.iconPlay{ width: 17px;  margin: -13px 0 0 -8px;  background: url(../img/icons.png);  background-position: -137px -3px;  -webkit-transition:all .3s;     -moz-transition:all .3s;       -o-transition:all .3s;      -ms-transition:all .3s;          transition:all .3s;}
.iconFont{  width: 46px;  margin: -13px 0 0 -23px;  background: url(../img/icons.png);  background-position: -85px -3px;}
.iconNext, .iconPrev{ width: 15px;  margin: -13px 0 0 -8px;  background: url(../img/icons.png);}  
.iconPrev{  background-position: -40px -3px;  }  
.iconNext{  background-position: -70px -3px;  }

/* *************************************** GRID STYLE *************************************** */
.crasy-photos-container .centered { margin: auto; }
.crasy-photos-container .box {  /*margin: 2px;   padding: 5px;*/  /*font-size: 11px;*/  line-height: 1.4em;  float: left;  -webkit-border-radius: 0px;     -moz-border-radius: 0px;          border-radius: 0px;}
.crasy-photos-container .box img,#tumblelog img { display: block;  max-width: 100%;border-radius: 0;}
.rtl .box { float: right;  text-align: right;   direction: rtl;}/**** Transitions ****/
.transitions-enabled.masonry,.transitions-enabled.masonry .masonry-brick {  -webkit-transition-duration: 0.7s;     -moz-transition-duration: 0.7s;      -ms-transition-duration: 0.7s;       -o-transition-duration: 0.7s;          transition-duration: 0.7s;}
.transitions-enabled.masonry {  -webkit-transition-property: height, width;     -moz-transition-property: height, width;      -ms-transition-property: height, width;       -o-transition-property: height, width;          transition-property: height, width;}
.transitions-enabled.masonry  .masonry-brick {  -webkit-transition-property: left, right, top;     -moz-transition-property: left, right, top;      -ms-transition-property: left, right, top;       -o-transition-property: left, right, top;          transition-property: left, right, top;}/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry {  -webkit-transition-property: none;     -moz-transition-property: none;      -ms-transition-property: none;       -o-transition-property: none;          transition-property: none;}/**** Clearfix ****/
.grid-clearfix:before, .grid-clearfix:after { content: ""; display: table; }
.grid-clearfix:after { clear: both; }
.grid-clearfix { zoom: 1; }
.crasy-photos-container .centered{ /*overflow: auto;*/}

/* *************************************** LIVE ALBUM ************************************** */
.crasy-photos-paragraph-live {position:relative;display: flex;align-items: center;}
.crasy-photos-paragraph-live .sl-wrapper {position: absolute;right: 0;top: 50%;transform: translateY(-50%);}
.crasy-photos-live-label {background: #ea7024;padding: 10px 45px;color: white;margin: 10px 10px 10px 0;display: inline-block;position: relative;}
.crasy-photos-live-label::before,.crasy-photos-live-label::after {content: '★'; position: absolute;color: #ffd700; font-size: 20px; }
.crasy-photos-live-label::before {top: -7px; right: 7px; }
.crasy-photos-live-label::after {top: 0px;right: 22px;}
@keyframes starPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
.crasy-photos-live-label.animate-stars::before,.crasy-photos-live-label.animate-stars::after {animation: starPulse 0.7s infinite;}

/****************************************** Header Gallery *******************************************/
.obiweb-gallery-header{position:relative;height:80vh;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center}
.obiweb-gallery-header-overlay{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.obiweb-gallery-header-content{position:relative;text-align:center;color:#fff;z-index:2}
.obiweb-gallery-title{font-size:48px;letter-spacing:2px;margin-bottom:10px;text-transform:uppercase;color: white !important;}
.obiweb-gallery-meta{font-size:14px;opacity:.9;margin-bottom:25px}
.obiweb-gallery-button{display:inline-block;padding:12px 30px;border:1px solid #fff;color:#fff;text-decoration:none;font-size:14px;letter-spacing:1px;transition:all .3s ease}
.obiweb-gallery-button:hover{background:#fff;color:#000}
.obiweb-gallery-header-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.75) 0%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.75) 100%)}
.obiweb-gallery-header--spaced{margin-bottom:60px}
