/*-------------------------------------------------------------------------------------------------------------------
 * Copyright 2004-2006 KOLOR - KAManager
 * geometry.css : CSS présentation des albums et photos
 *-------------------------------------------------------------------------------------------------------------------*/

/* albumbar : toolbar for album display */
#albumbar { height:42px; }
#albumbar .toolbar_element { height:42px; overflow:hidden; }
#albumbar .toolbar_element h4 { margin:0; font-size:10px; }
#albumbar .toolbar_element form { display:inline; }
#albumbar a.button { display:block; text-decoration:none; height:42px; }
#albumbar #tree_button, #albumbar #search_button { float:left; padding-left:30px; margin-left:10px; }
#albumbar #tree_button { width:200px; }
#albumbar #search_button { width:290px; }
#albumbar #mail_to_button, #albumbar #sort_button { float:right; margin-right:10px; padding-left:30px; width:100px; }
#albumbar #tree_button input { width:100%; text-align:left;}

h4.album_description { margin:2px; padding:2px; font: normal 80% "Verdana", Arial, sans-serif; }

/* barre de pagination */
.pagination { float:right; margin-right:1px;}

.pagination ul { margin: 0; padding: 0; }
.pagination li {
    float:left;
    list-style: none;
    overflow: hidden;
}
.pagination span { position: relative; top: 5px; }
.pagination a {
    display: block;
    width: 24px;
    height: 27px;
    padding-top: 5px;
    text-decoration: none;
    text-align:center;
}

/* autres */
.popup
{
    background: #FFF;
    position: absolute;
    top: 142px;
    border: 1px solid #000;
    padding: 5px;
    max-height: 208px;
    overflow: auto;
}

/* album hierarchie */
#tree { left: 40px; }
#tree a
{
    color: #000;
    text-decoration: none;
    display: block;
}
#tree .photo_quantity
{
    visibility: hidden;
}
#tree a:hover
{
    text-decoration: underline;
}
#tree a:hover .photo_quantity
{
    visibility: visible;
}
#tree ul
{
    margin: 0;
    padding: 0 0 0 1em;
}
#tree li .current
{
    background-color: #86B6FF;
}

#search_button label
{
    display: block;
}


#mail_to
{
    right: 0;
}

#thumbs_container
{
    position: absolute;
    bottom: 0;
    top: 150px;
    left: 0;
    right: 0;
    overflow: auto;
    width: 100%;
}
#thumbs_container.multi
{
    /* appels en CSS inline */
    width: auto;
/*     left: 0; */
}

#thumbs
{
/*     width: auto; */
    height: 100%;
    z-index: 10;
    overflow: auto;
}
.multi #thumbs
{
/*     min-height: 150px; */
/*    width: 100px; */
/*     overflow: auto; */
}

#thumbs a
{
    text-decoration:  none;
}

/* sous-albums */
#thumbs .subalbum {
    float: left;
    width: 92px;
    height: 134px;
    overflow: hidden;
    margin: 6px 10px 4px 6px;
    padding: 0;
}
#thumbs .subalbum img
{
    border: 0;
    position: relative;
    left: 11px;
    top: 15px;
}

#thumbs .subalbum a
{
    display: block;
}
#thumbs .subalbum .mini_thumbs a
{
    border: 1px solid #000;
    height: 92px;
}
#thumbs .subalbum .mini_thumbs a:hover
{
    border: 1px solid #FFF;
}
#thumbs .subalbum h3
{
    text-align: center;
    margin: 2px 0 0 0;
    padding: 0;
    font-size: 12px;
    font-weight:normal;
}



#thumbs h2
{
    clear: both;
}

/* reglages du thumb */
#thumbs .thumb {
    float: left;
    margin: 4px 4px 12px ;
}
#thumbs .thumb a {
    display: table-cell;
    text-align: center; /* qui e non su precedente, iCab */
    vertical-align: middle;
    overflow: hidden;
}
#thumbs .thumb img {
    vertical-align: middle;
    border: 1px solid #000;
}

#thumbs .thumb a:hover img {
    border: 1px solid #FFF;
}

#thumbs .thumb a.nopreview { cursor:default; }
#thumbs .thumb a.nopreview:hover img { border-color:#000; }

/*#thumbs .repere
{
    overridé par le css par album
    position: relative;
    top: -150px;
}*/

#thumbs .thumb h4
{
    font-size: 12px;
    margin: 0;
    padding: 0 0 0 0;
    cursor: pointer;
    overflow: hidden;
    height: 17px;
    text-align: center;
}

#thumbs .thumb h4 b
{
    padding-right: 16px;
    background-position: 0 2px;
}

#thumbs .thumb h4 i
{
    font-style:normal;
    position: relative;
    top: 2px;
}

#thumbs .thumb h4.demo_mode i
{
    margin-left: 0;
}

#thumbs .thumb h4.demo_mode b
{
    background-image: none;
    padding-right: 0;
}



#thumbs .thumb.selected img, #thumbs .thumb.selected a.nopreview:hover img
{
    border-color: #ED3713;
}


#thumbs .search_album
{
    clear: both;
    padding: 15px 0 10px 22px;
    margin: 5px 10px 0 10px;
    background-position: 0 15px;
    background-repeat:no-repeat;
}



/* fin des reglages du thumb */



#preview
{
    position: absolute;
    top: 150px;
    right: 0;
    bottom: 0;
/*     width: 768px; taille qui est fixée par la page html elle même */
    text-align: center;
    display: none;
    overflow: auto;
/*     z-index: 1; */
}
#preview.shown
{
    display: block;
}

#preview a
{
    text-decoration: none;
}

#preview img
{
    border: 2px solid #000;
}
#preview a.selected img
{
    border-color: #ED3713;
}

#preview .hidden
{
    display: none;
}

#preview .preview_with_preload
{
    display: block;
    width: 100%;
    height: 10px;
}
#preview .preview_with_preload span
{
    display: block;
    clear: both;
}

#preview .preload, #preview .fullres
{
    position: absolute;
    left: 0; /* fix ie */
    width: 100%;
    cursor: pointer;
}

#preview h3
{
    margin: 4px;
}

#preview_bar
{
}

#preview #preview_bar .cart_selection
{
    float: left;
    width: 25%;
}

#preview #preview_bar #add_to_cart, #preview #preview_bar #remove_from_cart
{
    background-repeat:no-repeat;
    margin-left: 4px;
    padding-left: 20px;
}

#preview #preview_bar a:hover
{
    text-decoration: underline;
}


#preview #preview_bar .navigation
{
    float: left;
    width: 50%;
}

#preview #preview_bar .close_preview
{
    width: 24%;
    float: left;
}
#preview .close
{
    margin-right: 4px;
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: right;
}
