/* CSS Document */
h1 {
    margin:0;
    font-size:23px;
    color:#e40505;
}

.gallery_preview {
    width:480px;
    float:left;
    position:relative;
}

#gallery a {
    text-decoration:none;
    color:black;
}

#preview_gallery {
    width:960px;
}

#preview_gallery h1 {
    background:#dcdcdc;
    border-top:#e40505 2px solid;
    border-bottom:#e40505 2px solid;
    padding:6px 0 6px 15px;
    margin:20px 0 5px 0;
    position:relative; /* this is for the positioning of the category_selector div */
}

#preview_gallery h2 {
    border-bottom:#e40505 2px solid;
    margin:0 15px 0 15px;
    padding-left:0;
}

.gallery_group {
    margin:0 0 0px 15px;
    padding-top:15px;
    overflow:auto;

}

.gallery_block {
    width:217px;
    height:217px;
    margin:0px 15px 15px 0px;
    float:left;
    position:relative;
    border:#dcdcdc 2px solid;
    
}

.gallery_image_box {
    width:217px;
    height:163px;
    /*center image horizontally in all browsers*/
    text-align:center;
    /*center vertically in firefox*/
    display: table-cell;
    vertical-align: middle;
    

}

.gallery_image_box img {
    margin:0; /*clears the default 15px img margin*/
    /*complete vertical centering in firefox*/
    vertical-align:middle;
}

.gallery_caption {
    width:207px;
    height:45px;
    background:#dcdcdc;
    font-size:12px;
    padding:5px;
    font-family:times;
}

.transparent_overlay {
    position:absolute;
    left:0;
    top:0;
    z-index:1;
    margin:0;
    }

.gallery_caption .primary_text {
    color:#e40505;
    font-weight:bold;
}

.gallery_caption .secondary_text {
    color:black;
}

.gallery_caption .more {
    color:blue;
}

/*individual photo gallery styles*/

#pgallery {
    /*separate width and height controls in iefix force pgallery div to fit greybox window*/
    width:868px;
    height:568px;
    border:black thin solid;
    padding:15px;
    background:white;
    overflow:hidden;
}

.pgallery_images {
    float:left;
    width:560px;
}

.pgallery_image_box_wrapper {
    float:left;/*prevents displayed image from drifting to the right*/
}

.pgallery_image_box {
    width:548px;
    height:411px;
    background:#dcdcdc;
    /*center image horizontally in all browsers*/
    text-align:center;
    /*center vertically in firefox*/
    display:table-cell;
    vertical-align:middle;
    /*center vertically in ie*/
    font-size:372px;
    font-family:arial;
}


.pgallery_image_box img {
    margin:0; /*clears the default 15px img margin*/
    /*complete vertical centering in firefox*/
    vertical-align:middle;
}

.pgallery_thumbnails {
    width:560px;
    padding-top:10px;
    float:left; /*causes thumbnails div to space correctly from div above in firefox*/
}

.pgallery_thumbnail_box_wrapper {
    float:left;
    margin-right:10px;
    margin-bottom:10px;

}

.pgallery_thumbnail_box {
    width:83px;
    height:62px;
    background:#dcdcdc;
    /*center image horizontally in all browsers*/
    text-align:center;
    /*center vertically in firefox*/
    display:table-cell;
    vertical-align:middle;
    /*vertical centering for ie is in gallery_iefix css file because it breaks firefox*/
}

.pgallery_thumbnail_box img {
    margin:0; /*clears the default 15px img margin*/
    /*complete vertical centering in firefox - vertical-align:middle must be applied to both parent and img*/
    vertical-align:middle;
}

.pgallery_text {
    float:left;
    width:295px;
    text-align:left;
}

.pgallery_text ul {
    border-top:2px #e40505 solid;
    border-bottom:2px #e40505 solid;
    padding:15px;
    margin-left:15px;
}

.gallery_preview_single {
    /*defaults for included single preview gallery, may be overwritten by $special_class specified in include statement*/
    float:right;
    margin:15px;
    display:inline; /*fix ie6 margin doubling bug*/
    border:groove #e40505 3px;
    
}

.gallery_preview_single .title {
    font-weight:bold;
    width:221px;
    text-align:center;
    background:#dcdcdc;
}

.gallery_preview_single .title span {
    display:block;
}
.gallery_preview_single .title a {
    display:block;
    color:red;
    font-size:20px;
    font-family:georgia, times;
    font-weight:bold;
    text-decoration:underline; /* needed to override default in main.css */
    }

/*single applied as an additional class for single gallery preview*/
.gallery_preview_single .gallery_block {
    margin:0;
}

/*special classes for preview blocks*/
.preview_single_home {
    float:left;
}

.preview_single_rhino {
  float:left;
}

.preview_single_me {
  float:left;
  margin:15px 0 15px 15px;
}

.preview_single_lift {
float:left;
margin:15px 0 15px 15px;
}

#gallery_filter {
    position:absolute;
    right:15px;
    top:3px;
    color:black;
}

#gallery_filter label {
    font:normal 11px arial;
    margin:0;
    padding:0;
}

#gallery_filter .form_section {
    float:left;
}

#gallery_filter select {
    font-size:11px;
    padding-left:2px;
    margin:0 10px 0 0;
    min-width:62px;
    display:block;
    }

#gallery_filter #search, #gallery_filter #reset {
    margin:5px 0 0 0;
    width:65px;
    height:25px;
    padding:0;
    float:left;
}

#gallery_filter #search {
   margin-right:10px;
}

#gallery_filter #vehicle_make {
    width:65px;
}

#no_results {
    width:100%;
    height:170px;
    text-align:center;
    padding-top:80px;
}

#no_results p {
    width:375px;
    margin:auto;
    font-size:18px;
    text-align:left;
}

#slideshow_wrapper {
   float:left;
   width:255px;
   height:360px;
}

#preview_slideshow {
   float:left;
   position:relative;
   width:255px;
   height:315px;
}

#preview_slideshow .gallery_preview_single {
   position:absolute;
   left:0;
   top:0;
   margin-bottom:5px;
}
#slideshow_controls {
   text-align:center;
}

#slideshow_controls img {
   margin:0;
   padding:0;
}