/**
 * $RCSfile: Image.css,v $ $Revision: 1.5 $ $Date: 2010-03-01 08:37:35 $
 *
 * Copyright 2007 Olaf Havnes. All Rights Reserved.
 * http://www.havnes.com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

/**
 * Different image schemes: pad images and captions, add double borders etc.
 *
 * @author      Olaf Havnes
 * @version     $Revision: 1.5 $ $Date: 2010-03-01 08:37:35 $
 */


/* Add a fat (single) border round a logo image */
*.logoBox img
{
    margin: 0;
    padding: 0;

    width: 8.0em;
    height: 8.0em;

    border-width: 0.5em;
    border-style: solid;
    border-color: #551010;
    float: left;
}



/* Build an oldfashioned image border */
*.imageBox div
{
    margin: 0 0 1.0em 0;
    padding: 0 0 8px 0;
    font-size: 1.0em;
}

*.imageBox img, *.imageBox object
{
    margin: 8px 8px 0 8px;
    padding: 0;
}


/* Tighten the image captions */
*.imageBox p
{
    margin: 0;
    padding: 0px 8px;

    position: relative;
    top: 0.3em;

    word-spacing: -0.1em;
    line-height: 0.8em;
    font-size: 0.8em;
    font-variant: small-caps;
}

*.imageBox a
{
    color: #9b776e;
    background-color: #ffffff;
    text-decoration: none;
}

*.imageBox div, *.imageBox p, *.imageBox a:hover
{
    color: #551010;
    background-color: #ffffff;
}

*.imageBox div, *.imageBox img, *.imageBox object
{
    border-width: 1px;
    border-style: solid;
    border-color: #551010;
}

*.imageBox div, *.imageBox img, *.imageBox p, *.imageBox object
{
    float: left;
}




/* Build a more simplified version of the old-fashioned image border */

*.smallImageBox div
{
    width: 154px;
    margin: 0 auto;
    padding: 0;
}

*.smallImageBox img
{
    margin: 0;
    padding: 4px;
    float: left;

    color: #000000;
    background-color: #ffffff;

    border-width: 1px;
    border-style: solid;
    border-color: #af958a;
}

*.smallImageBox p
{
    margin: 0 0 0.5em 0;
    padding: 0;
    font-size: 0.7em;
    word-spacing: -0.15em;
    line-height: 1.0em;
}
