html {
    overflow: hidden;
}
body {
    background: black;
    color: white;
    font-family: arial, sans-serif;
    font-size: 13px;
    line-height: 17px;
    margin: 0;
    padding: 0;
}

p, form { margin: 0; padding: 0; }

.clear { clear: both; height: 1px; font-size: 1px; }
a { color: white; text-decoration: underline; }
a:hover { color: #f90; }
a:focus { border: none; outline: none; };

#page img.pixel { position: absolute; width: 1px; height: 1px; }

/* layout */
#page { min-width: 760px; margin: 0; padding: 0; }
#gal_header { height: 40px; background: #3e3e3e; }
#pic img { border: 1px solid #666; }
#pic a.npic:hover img { border: 1px solid #f90; }
#gal_txt {
    margin-right: 15px; padding-top: 20px; float: right; width: 210px;
}

#rightad {
    /*
    position: absolute;
    right: 0;
    */
    top: 0;
    width: 160px;
    padding: 5px;
    margin-bottom: -20px;
    background: #3e3e3e;
    float: right;
    text-align: center;
}

/* header */
#gal_header a#gal_logo {
    float: left;
    display: block;
    width: 130px;
    height: 40px;
    border-right: 10px solid black;
}

#gal_header a#gal_logo span { display: none; }

body.index #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_index.gif') no-repeat; }
body.sportgeza #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_sg.gif') no-repeat; }
body.velvet #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_velvet.gif') no-repeat; }
body.velvet.celeb #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_hcdb.gif') no-repeat; }
body.totalcar #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_tc.gif') no-repeat; }
body.totalbike #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_tb.png') no-repeat; }
body.divany #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_divany.png') no-repeat; }
body.hetkepei #gal_header a#gal_logo { background: url('/static/images/2008/gal_logo_index.gif') no-repeat; }
body.hetkepei #gal_header #gal_title {
    padding-left: 110px;
    background: url('/static/images/2008/gal_title_bg_hetkepei.gif') left no-repeat;
}

body.hetkepei #gal_header select { width: 120px; float: right; margin: 9px 10px 0 0; }
body.hetkepei #gal_header optgroup {
    background-color: #ccc;
    color: #666;
    font-weight: normal;
    font-style: normal;
}

body.hetkepei #gal_header optgroup option {
    color: #000;
    background-color: #fff;
}



#gal_header #gal_title {
    float: left;
    height: 29px;
    padding: 11px 10px 0 15px;
    background: url('/static/images/2008/gal_title_bg.gif') left no-repeat;
    overflow: hidden;
}

body.velvet #gal_header #gal_title {
    background: url('/static/images/2008/gal_title_bg_velvet.gif') left no-repeat;
}

#gal_header #gal_title span.title { font-size: 15px; font-weight: bold; }
#gal_header #gal_title span.date { color: #808080; }

/* galeria navi */
#gal_txt #gal_navi { width: 210px; height: 30px; margin-bottom: 15px; }

#gal_txt #gal_navi a.arrow, #gal_txt #gal_navi div.aSubstitute {
    display: block;
    width: 40px;
    height: 30px;
    float: left;
    background-repeat: no-repeat;
}

#gal_txt #gal_navi a.arrow span { display: none; }

#gal_txt #gal_navi a.arrow.arrow_prev { background-image: url('/static/images/2008/gal_arrow_prev.gif'); }
#gal_txt #gal_navi a.arrow.arrow_prev:hover { background-image: url('/static/images/2008/gal_arrow_prev_hi.gif'); }
#gal_txt #gal_navi a.arrow.arrow_next { background-image: url('/static/images/2008/gal_arrow_next.gif'); }
#gal_txt #gal_navi a.arrow.arrow_next:hover { background-image: url('/static/images/2008/gal_arrow_next_hi.gif'); }

#gal_txt #gal_navi span#picnum {
    display: block;
    float: left;
    width: 130px;
    padding: 7px 0 0 0;
    text-align: center;
    font-size: 14px;
    color: #808080;
}

p.hetkepei a {
    display: block;
    margin: 10px 0px;
}

/* szoveg */
#gal_txt p { margin: 10px 0; }
#gal_txt p.info { margin: 20px 0; }
#gal_txt p.info, #gal_txt p.info a, p.hetkepei a { color: #808080; }
#gal_txt a.fotos { text-decoration: none; }
#gal_txt a.fotos:hover { text-decoration: underline; }
#gal_txt p.info a:hover, p.hetkepei a:hover { color: #f90; }

/* thumbnailz */
#page #thumbz {
    float: left;
    clear: both;
    position: absolute;
    bottom: 0;
    width: 720px;
}

#page #thumbz #showthumb { width: 800px; height: 23px; }

#page #thumbz #showthumb a {
    display: block;
    width: 90px;
    height: 20px;
    padding: 3px 0 0 40px;
    float: left;
    color: #d6d6d6;
    font-weight: bold;
    text-decoration: none;
    background: url('/static/images/2008/gal_tn_trigger.png');
}

#page #thumbz #showthumb a:hover { background: url('/static/images/2008/gal_tn_trigger_hi.png'); color: white; }


#page #thumbz #thumblist {
    width: 800px;
    height: 105px;
    overflow: auto;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    background-color: #3a3a3a;
}

#page #thumbz #thumblist #image_thumbs { padding: 5px 5px 0 0; }

#page #thumbz #thumblist #image_thumbs a img {
    display: block;
    float: left;
    border: 2px solid #666;   
    margin-left: 5px;
}

#page #thumbz #thumblist #image_thumbs a:hover img { border-color: #f90; }
#page #thumbz #thumblist #image_thumbs a img.selected { border-color: white; }

/* bigpic */
#bigpic {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-image: url('http://img.index.hu/assets/totalcar/gal/hover.png');
}

#bigpic img { border: 1px solid white; }

#bigpic #bezar { text-align: center; }

#bigpic a img {
    margin-top: 20px;
}

#bigpic #bezar a {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    color: white;
}

#pic a.npic { text-decoration: none; }

#pic a.npic #katt {
    display: none;
    position: absolute;
    bottom: 4px;
    left: 20px;
    width: 200px;
    height: 50px;
    background: transparent url('/static/images/2008/nmeret.png') scroll left bottom;
    color: #fff;
    margin: 0px;
}

/*
#pic a.npic:hover #katt {
    display: block;
}

#pic.noBigger a.npic #katt {
    display: none;
}
*/
#pic.theEnd a.npic:hover img {
    border: 1px solid #666;
}

#pic.theEnd a.npic:hover  {
    cursor: default;
}


#pic {
    padding: 20px 0 0 5px;
    text-align: center;
}

a#imagezoom {
    display: none;
    padding: 2px 0 4px 30px;
    background-repeat: no-repeat;
    background-image: url('/static/images/2008/gal_zoom.gif');
    text-decoration: none;
    color: #808080;
}

a#imagezoom:hover {
    background-image: url('/static/images/2008/gal_zoom_hi.gif'); color: #f90;
}

