﻿/* gallery */

#gallery
{
    padding-top: 2px;
    float: left;
    width:640px;
    display:block;
    float:left;
}

#gallery .images
{
    position: relative;
    margin: 0;
    padding: 0;
    float: left;
}

#gallery .images li
{
    visibility: visible;
    list-style: none;
    width: 640px;
    height: 480px;
    float: left;
    display: block;
    text-align: center;
    position: absolute;
    margin:0;
    padding:0;
}

#gallery .images li.active
{
    visibility: visible;
}

#gallery .images li img
{
    float: left;
    display: inline-block;
    margin:0;
    padding:0;
    border:none;
}

#gallery .thumbnails
{
    float: left;
    width: 650px;
    padding-top: 490px;
}

#gallery .thumbnails a
{
    display: block;
    float: left;
    border: solid 1px #C7C2A8;
    width: 86px;
    height: auto;
    overflow: hidden;
    margin: 0 4px 4px 0;
}

#gallery .thumbnails a:hover
{
    border-color: #ee2f32;
}

#gallery .thumbnails a img
{
    width: 86px;
    height: auto;
    border: none;
}

/* home */
#gallery.home
{
    padding-top: 2px;
    float: left;
    height: 365px;
}

#gallery.home .images li
{
    visibility: visible;
    list-style: none;
    width: 430px;
    height: 365px;
    float: left;
    display: block;
    text-align: center;
    margin-left: 2px;
    position: absolute;
}

/* wide */
#gallery.wide
{
    padding-top: 2px;
    float: left;
}

#gallery.wide .images li
{
    visibility: visible;
    list-style: none;
    width: 640px;
    height: 365px;
    float: left;
    display: block;
    text-align: center;
    position: absolute;
    margin:0;
    padding:0;
}

#gallery.wide .thumbnails
{
    float: left;
    padding-top: 370px;
}


#gallery.wide .thumbnails a
{
    display: block;
    float: left;
    border: solid 1px #C7C2A8;
    height: auto;
    overflow: hidden;
    margin: 0 4px 4px 0;
    width:86px;
}


#gallery.wide .thumbnails a:hover
{
    border-color: #ec008c;
}

#gallery.wide .thumbnails a img
{
    width: 86px;
    height: auto;
    border: none;
}