body {
        font-family: Helvetica, Arial, Sans-Serif;
    }
    .overlay {
        width: 100%;
        height: 100%;
        background: #000000;
        opacity: 0.88;
        filter: alpha(opacity=88);
        position: absolute;
        z-index: 2;
        display: none;
    }

	.gallery-button{
		width: 287px;
		height: 47px;
		background: url("../img/gallery-btn.png");
		position: relative;
		margin: auto;
		margin-top: 10px;
		cursor: pointer;
	}
	
	
    #gallery-wrraper{
	    display:none;
		position: relative;
		z-index: 800000;
        width: 680px;
        height: 815px;
        margin: 0 auto;
		margin-top:-275px;
        
    }
    .gallery-nav{
        width: 93%;
        position: relative;
        margin: 0px;
        display: inline-block;
        float: left;
    }
    
    .gallery-nav-left{
        width: 370px;
        float: left;
        
    }
    
    .gallery-nav-left ul {
          float: left;
          margin: 0;
          padding: 0;
    }
   
    .gallery-nav-left ul li.up{ 
        text-decoration: none;
        float: left;
        color:#000000;
        font-size: 18px;
        font-family:'Helvetica';
        font-weight: bold !important;
        /*background: #333333;*/
        background: red;
        text-align: left;
        margin-bottom: 5px;
        
     }

    
    .gallery-nav-left ul li.up a{
        
        text-decoration: none;
        float: left;
        color:#000000;
        font-size: 18px;
        font-family:'Helvetica';
        font-weight: bold !important;
        width:327px;
        height: 32px;
        text-align: left;
        padding: 10px 0 0 14px;
        
    }

    .gallery-nav-left ul li.up a:hover,
    .gallery-nav-left ul li.up a:hover,
    .gallery-nav-left ul li.active{
        background: #ff0000;
        /*color:#121212;*/
		color: white;
    }


    .gallery-nav-left ul li.down{
        float: left;
    }




    .gallery-nav-right{
        width: 95px;
        height: 91px;
        float: right;
        background:url( "../img/gallery-popup-car-icon.png") no-repeat;
		margin-right: -4px;
    }

    #gallery_select_cars {
        width: 341px;
        height: 42px;
        background:url( "../img/select-bg.png") no-repeat;
        border: none;
        outline:none;
        display: inline-block;
        -webkit-appearance:none;
        -moz-appearance:none;
        appearance:none;
        z-index: 10;
        font-family:'Helvetica';
        font-size: 18px;
        color: #000000;
        text-decoration: none;
        font-weight: bold !important;
        text-align: left;
        padding: 2px 0 0 51px;
    }
 

    
    .gallery-nav-left ul li {
        /*display: inline;*/
    }


    
     /* image scroll content */

    #gallery-content{
        width:640px;
        min-height:694px;
        height:80%;
        top:97px;
        position: absolute;
        overflow:hidden;
    }
    #gallery-content img{margin-right:5px; margin-bottom:5px;}

    #gallery-content .gallery_scroller{
        position: relative;
        overflow:hidden;
        height:633px;
        width:640px;
        
        padding:0;
        margin:0
    }

    
    

    /*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
*/
/* line 9, scss/_scroll.scss */
.gallery_scroller .jspContainer {
    overflow: hidden;
    position: relative;
}

/* line 15, scss/_scroll.scss */
.gallery_scroller .jspPane {
    position: absolute;
    width: 632px;
    margin-left: 6px;
}

/* line 20, scss/_scroll.scss */
.gallery_scroller .jspVerticalBar {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
}

/* line 29, scss/_scroll.scss */
.gallery_scroller .jspVerticalBar *,
.gallery_scroller .jspHorizontalBar * {
    margin: 0;
    padding: 0;
}

/* line 35, scss/_scroll.scss */
.gallery_scroller .jspCap {
    height: 100%;
}

/* line 40, scss/_scroll.scss */
.gallery_scroller .jspHorizontalBar .jspCap {
    float: left;
}

/* line 45, scss/_scroll.scss */
.gallery_scroller .jspTrack {
    position: relative;
    width: 8px!important;
}

/* line 52, scss/_scroll.scss */
.gallery_scroller .jspDrag {
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
}


.gallery-nav-left .sbHolder {
    width: 341px;
    height: 42px;
    float:right;
    background: #ffffff;
    position: relative;
    font-size: 18px;
    font-family: 'tradegothicbold'; z-index:10000;
}

.gallery-nav-left .sbHolder ul{
   z-index:10000;
}


.gallery-nav-left .sbSelector {
    background:url("../img/select-bg-inactive.png") no-repeat;
    width: 341px;
    height: 34px;
    padding-top: 8px;
    display: block;
    text-align: left;
    color: #000000;
    text-decoration: none;
	padding-left: 56px;
	text-transform: uppercase;
}

.gallery-nav-left .sbSelector:hover {
	background:url("../img/select-bg.png") no-repeat !important;
	color: white;
}



.gallery-nav-left .sbOptions {
    /*background: #ff0000;*/
    background: whitesmoke;
    /*width: 205px;*/
	width: 100% !important;
    color: #000000;
    top: 29px;
    max-height: 215.5px;
    display: none;
	text-transform: uppercase;
}

.gallery-nav-left .sbOptions li {
    float: none;
    height: 30px;
    padding-top: 5px;
    padding-left: 10px;
	text-align: left;
}

.gallery-nav-left .sbOptions li:hover {
  background: #b50f13;
  color: white;
}

.gallery-nav-left .sbOptions li a {
    display: block;
    text-decoration: none;	
}


/***popup image******/
/* gallery popup overlay window */
    .gallery-popup-background {
        /*width:100%;*/
        height:100%;
        min-height: 835px;
        position:absolute;
        z-index:25;
        background:url("../img/gallery-popup.jpg") no-repeat;
        color: #070706;
        opacity:0.9;
        top:149px;
        left: 34%;
        right: 34%;
    }   
    
    .gallery-popup-overlay {
        display:none;
		width:100%;
		height:100%;
		position:absolute;
		background:url("../img/gallery-opacity-bg.png") repeat scroll 0 0 transparent;
		opacity:0.9;
		/*top:67px;
		z-index:25;*/
			z-index:230;
			top:0px;	
    }
    
    .gallery-hide-this {
        display:none;
    }
    
    .gallery-close-popup {
        float:right;
        /*margin-top: 1%;*/
			margin-top: 4%;
        margin-right: 28%;
        cursor: pointer;
		width: 36px;
        height: 36px;
    }   

    
    .gallery-popup-content {
        height: 700px;
        width: 640px;
        display: inline-block;
        margin: 0 auto;
    }
       

    .car_selector {
        width: 206px;
        height: 206px;
        margin-right: 7px;
        margin-bottom: 7px;
        float: left;
        position: relative;
        cursor: pointer;
		overflow: hidden;
    }
    
     .car_selector_hover, 
     .car_selector_hover_checked {
        background: #ff0000;
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.6;
        filter: alpha(opacity=60);
        display: none;
		z-index: 1; 
    }

    .car_selector_hover_checked{
       display: block;
    }

    .car_selector:hover .car_selector_hover{
    display: block;

    }

    #gallery-content img{
        /*width: 206px;
        height: 206px;*/
        margin-right: 7px;
        margin-bottom: 4px;
    }

	#gallery-content .pagination {
	    position: relative;
		width: 170px;
		height: 46px;
		top: 5px;
		margin: auto;
	}
	
	.gallery-slider-arrow {
	width: 17px;
	height: 43px;
	background: url("../img/arrows-gallery.png");
	position: relative;
	top: 1px;
	cursor: pointer;
	}
	
	.gallery-slider-arrow.back {
	float: left;
	margin-left: 1px;
	}

	.gallery-slider-number {
		/*width: 976px;
		height: 165px;*/
		text-align: center;
		overflow: hidden;
		float: left;
		color: white;
		width: 149px;
		margin-top: 9px;
		font-size: 22px;
		font-family: 'tradegothicbold2';
	}

	.gallery-slider-arrow.next {
	float: right;
	background-position: 17px 0;
	margin-right: -25px;
	}
