#tresc ol.modes {
    padding-left:30px;
}
#tresc ol.modes li {
    padding-bottom:3px;
}

div.gallery_menu {
    width:170px;
    position:relative;
    float:left;
}
div.gallery_menu div.header {
    padding:3px;
    background-image:url(../../images/1px_transparent_black25.png);
    border:1px solid #878787;
    text-align:center;
    font-weight:bold;
    position:relative;
}

div.gallery_menu div.row {
    padding:3px;
    background-image:url(../../images/1px_transparent_white10.png);
    border-bottom:1px solid #878787;
    border-left:1px solid #878787;
    border-right:1px solid #878787;
    text-align:center;
    cursor:pointer;
    position:relative;
}

div.gallery_menu div.row:hover, 
div.gallery_menu div.active {
    background-image:url(../../images/1px_transparent_white5.png);
}

div.gallery_content {
    width:540px;
    height:auto;
    position:relative;
    float:left;
    padding:0 10px 10px 10px;
}

div.gallery_content div.row {
    text-align:center;
    position:relative;
    min-height:20px;
    height:auto;
    overflow:hidden;
    margin:3px 0 13px 0;
}

div.gallery_content div.row div.picture {
    position:relative;
    float:left;
    width:240px;
    height:150px;
    padding:15px 0 15px 0; 
    display:block;
    overflow:hidden;
    margin: 10px 0 10px 0;
}

div.gallery_content div.row div.content {
    position:relative;
    float:left;
    width:290px;
    min-height:10px;
    height:auto;
    padding:5px 0 5px 0; 
    display:block;
    overflow:hidden;
    margin: 10px 0 10px 5px;
}

div.gallery_content div.row div.content div.header {
    position:relative;
    padding:5px;
    display:block;
    font-weight:bold;
    text-align:left;
    color:#ceb67b;
}

div.gallery_content div.row div.content div.description {
    position:relative;
    padding:5px;
    display:block;
    text-align:left;
    margin-bottom:10px;
}

div.gallery_content div.row div.content div.navi {
    margin:0 auto;
    width:auto;
    padding:5px;
    display:block;
    background-image:url(../../images/1px_transparent_black25.png);
    border:1px solid #878787;
    overflow:hidden;
}

div.gallery_content div.row div.content div.navi div.gButton {
    position:relative;
    background-repeat:no-repeat;
    height:16px;
    width:auto;
    padding-left:18px;
    display:block;
    float:left;
    text-align:left;
    overflow:hidden;
    min-width:20px;
}

div.gallery_content div.row div.content div.navi div.gButton:hover {
    text-decoration:underline;
}

div.gallery_content div.row div.content div.navi div.zoom {
    background-image:url(../../images/icons/magnifier.png);
}

div.gallery_content div.row div.content div.navi div.slideshow {
    background-image:url(../../images/icons/film.png);
    margin-left:10px;
}

div.gallery_content div.row div.content div.navi div.comments {
    background-image:url(../../images/icons/comment.png);
    margin-left:10px;
}



/*

div.gallery_content div.row div.picture {
    position:relative;
    float:left;
    width:240px;
    height:150px;
    padding:15px 0 15px 0; 
    display:block;
    overflow:hidden;
    margin: 40px 0 10px 0;
}

div.gallery_content div.row div.text {
    position:relative;
    padding:15px 5px 15px 5px;
    width:270px;
    height:auto;
    display:block;
    text-align:left;
    float:left;
    margin-top:50px;
}

div.gallery_content div.header2 {
    height:29px;
    background-image:url(../../images/1px_transparent_black25.png);
    border:1px solid #878787;
    position:relative;
    right:0;
    top:7px;
    width:100%;
}

div.gallery_content div.header2 div.header {
    padding:5px;
    text-align:left;
    font-weight:bold;
    position:absolute;
    right:1px;
    top:3px;
}

div.gallery_content div.row div.navi {
    position:absolute;
    bottom:30px;
    right:0;
    background-image:url(../../images/1px_transparent_black25.png);
    border:1px solid #7d7d7d;
    display:block;
    padding:8px;
    height:14px;
    width:204px;
    text-align:right;
}
div.gallery_content div.row div.navi div {
    width:16px;
    height:16px;
    position:absolute;
    cursor:pointer;
    background-position:0 0 ;
    background-repeat:no-repeat;
    text-align:left;
}

div.gallery_content div.row div.navi div:hover {
    border:1px solid #7d7d7d;
    margin-top:-1px;
    margin-left:-1px;
}

div.gallery_content div.row div.navi div.zoom {
    background-image:url(../../images/icons/magnifier.png);
    top:8px;
    left:10px;
}

div.gallery_content div.row div.navi div.slideshow {
    background-image:url(../../images/icons/film.png);
    top:8px;
    left:36px;
}

div.gallery_content div.row div.navi div.comments {
    background-image:url(../../images/icons/comment.png);
    top:8px;
    left:62px;
    width:auto;
    padding-left:18px;
}*/

div.gallery_content div.user_comments {
    position:relative;
    display:none;
}

div.gallery_content div.add_comment {
    position:relative;
    margin-bottom:15px;
}

div.gallery_content div.news_comment {
    margin-left:10px;
    margin-bottom:4px;
    background-image:url(../../images/1px_transparent_white5.png);
    border:1px solid #959595;
    padding:4px 8px 4px 8px;
}

div.gallery_content div.add_comment_to_news {
    position:absolute;
    top:2px; 
    right:4px;
    
}


th.photo_footer {
    height:14px;
}

