/* ==========================================================================
   MODIFIED SLIDER STYLES FOR 465PX HEIGHT & FIXING 0-HEIGHT COLLAPSE
   Original file location: /modules/slider/css/style.css
   ========================================================================== */

.clearout {
    height: 20px;
    clear: both;
}

.slider_box {
    margin-top: 30px;
}

#flexiselDemo1, #flexiselDemo2, #flexiselDemo3 {
    display: none;
}

/* 1. Force the main outer container to maintain a fixed 465px height */
.nbs-flexisel-container {
    position: relative;
    max-width: 100%;
    height: 465px !important;
    min-height: 465px !important;
}

/* 2. Force the inner track list to 465px height */
.nbs-flexisel-ul {
    position: relative;
    width: 99999px;
    margin: 0px;
    padding: 0px;
    list-style-type: none;   
    text-align: center;
    height: 465px !important;
    min-height: 465px !important;
}

/* 3. Remove float:left collapse on inner wrapper to let containers expand */
.nbs-flexisel-inner {
    position: relative;
    overflow: hidden;
    /* NOTE: float:left removed here to prevent zero-height parent collapse */
    width: 100%;
    height: 465px !important;
    min-height: 465px !important;
    background: none;
    border: none;
    border-radius: 0px;
    margin: 0px 0px;
    padding: 0;
    box-shadow: 0 0px 1px rgba(0, 0, 0, 1), inset 0 0 1px rgba(255, 255, 255, 0.75); 
}

/* 4. Neutralize the line-height: 0px collapse and enforce 465px on list elements */
.nbs-flexisel-item {
    float: left;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    position: relative;
    height: 465px !important;
    min-height: 465px !important;
    line-height: normal !important; /* Overrides original line-height: 0px layout trap */
    text-align: center;
}

/* 5. Force images to fill the 465px frame uniformly using object-fit: cover */
.nbs-flexisel-item img {
    height: 465px !important;
    min-height: 465px !important;
    max-height: 465px !important;
    width: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    cursor: pointer;
    position: relative;
    margin: 0px;
    display: block !important;
}

/*** Navigation Arrows ***/

/* 6. Re-center navigation arrows vertically based on the new 465px height */
.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right {
    padding: 5px 10px;
    position: absolute;
    cursor: pointer;
    z-index: 4;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0,0,0,0.5);
    color: #fff;   
    font-size: 20px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    opacity: 0.5;
    filter: alpha(opacity=50);    
}

.nbs-flexisel-nav-left {
    border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -webkit-border-radius: 0px 5px 5px 0px;
    left: 0px;
}

.nbs-flexisel-nav-left:before {
    content: "\e079";
    font-family: 'Glyphicons Halflings';
}

.nbs-flexisel-nav-left.disabled {
    opacity: 0.4;
}

.nbs-flexisel-nav-right {
    border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -webkit-border-radius: 5px 0px 0px 5px;
    right: 0px;     
}

.nbs-flexisel-nav-right:before {
    content: "\e080";
    font-family: 'Glyphicons Halflings';
}

.nbs-flexisel-nav-right.disabled {
    opacity: 0.4;
}


/*ORIGINAL: */

/*.clearout {*/
/*height:20px;*/
/*clear:both;*/
/*}*/

/*.slider_box{*/
/*	margin-top:30px;*/
/*}*/

/*#flexiselDemo1, #flexiselDemo2, #flexiselDemo3 {*/
/*display:none;*/
/*}*/

/*.nbs-flexisel-container {*/
/*    position:relative;*/
/*    max-width:100%;*/
/*}*/
/*.nbs-flexisel-ul {*/
/*    position:relative;*/
/*    width:99999px;*/
/*    margin:0px;*/
/*    padding:0px;*/
/*    list-style-type:none;   */
/*    text-align:center;*/
/*}*/

/*.nbs-flexisel-inner {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    float:left;*/
/*    width:100%;*/
/*    background:none;*/
/*    border:none;*/
/*    border-radius:0px;*/
/*	margin:0px 0px;*/
/*	padding: 0;*/
/*    box-shadow: 0 0px 1px rgba(0, 0, 0, 1), inset 0 0 1px rgba(255, 255, 255, 0.75); */
/*}*/

/*.nbs-flexisel-item {*/
/*    float:left;*/
/*    margin:0px;*/
/*    padding:0px;*/
/*    cursor:pointer;*/
/*    position:relative;*/
/*    line-height:0px;*/
/*	text-align:center;*/
/*}*/
/*.nbs-flexisel-item img {*/
/*    max-width: 100%;*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*    margin: 0px;*/
/*	display: inline-block;*/
/*}*/

/*** Navigation ***/

/*.nbs-flexisel-nav-left,*/
/*.nbs-flexisel-nav-right {*/
/*    padding:5px 10px;*/
/*    position: absolute;*/
/*    cursor: pointer;*/
/*    z-index: 4;*/
/*    top:41%;*/
/*    background: rgba(0,0,0,0.5);*/
/*    color: #fff;   */
	
/*	font-size: 20px;*/
/*    color: #ffffff;*/
/*    text-align: center;*/
/*    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);*/
/*    opacity: 0.5;*/
/*    filter: alpha(opacity=50);	*/
/*}*/
/*.nbs-flexisel-nav-left{*/
/*	border-radius:0px 5px 5px 0px;*/
/*    -moz-border-radius:0px 5px 5px 0px;*/
/*    -webkit-border-radius:0px 5px 5px 0px;*/
/*}*/

/*.nbs-flexisel-nav-right{*/
/*	border-radius:5px 0px 0px 5px;*/
/*    -moz-border-radius:5px 0px 0px 5px;*/
/*    -webkit-border-radius:5px 0px 0px 5px;*/
/*}*/

/*.nbs-flexisel-nav-left {*/
/*    left: 0px;*/
/*}*/

/*.nbs-flexisel-nav-left:before {*/
/*    content: "\e079";*/
/*	font-family: 'Glyphicons Halflings';*/
/*}*/

/*.nbs-flexisel-nav-left.disabled {*/
/*    opacity: 0.4;*/
/*}*/

/*.nbs-flexisel-nav-right {*/
/*    right: 0px;    */
/*}*/

/*.nbs-flexisel-nav-right:before {*/
/*    content: "\e080";*/
/*	font-family: 'Glyphicons Halflings';*/
/*}*/

/*.nbs-flexisel-nav-right.disabled {*/
/*    opacity: 0.4;*/
/*}*/