#detail_menu {
    position: relative; 
    margin-left: auto; 
    margin-right: auto; 
    width: 100%; 
    height: 100px; 
    text-align: center;
}

#detail_menu div{
    border: 0px solid green; 
}
#detal_menu img {
    border: 0;
}
#detail_menu div a{
    color: black; 
    display: block ; 
    border: 1px solid #f1f1f1; 
    width: 70px;
    height: 66px;
    margin: 4px;
    padding: 4px 2px 0 2px;
    overflow: hidden;
}

.textUnderIcon {

}

#send_mess a{
    background: url(/static/design/newd1/gallery_detail/send_message_off.gif) no-repeat top;
}
#send_mess a:hover{
    color: red;  
    background-color: #c1c1c1; 
    background: url(/static/design/newd1/gallery_detail/send_message_on.gif) no-repeat top;
}

#send_postcard a{
    background: url(/static/design/newd1/gallery_detail/send_postcard_off.gif) no-repeat top;
}
#send_postcard a:hover{
    color: red;  
    background-color: #c1c1c1; 
    background: url(/static/design/newd1/gallery_detail/send_postcard_on.gif) no-repeat top;
}

#send_gift a{
    background: url(/static/design/newd1/gallery_detail/send_gift_off.gif) no-repeat top;
}
#send_gift a:hover{
    color: red;  
    background-color: #c1c1c1; 
    background: url(/static/design/newd1/gallery_detail/send_gift_on.gif) no-repeat top;
}

#send_profile a{
    background: url(/static/design/newd1/gallery_detail/send_profile_off.gif) no-repeat top;
}
#send_profile a:hover{
    color: red;  
    background-color: #c1c1c1; 
    background: url(/static/design/newd1/gallery_detail/send_profile_on.gif) no-repeat top;
}

#send_video a{
    background: url(/static/design/newd1/gallery_detail/send_video_off.gif) no-repeat top;
}
#send_video a:hover{
    color: red;  
    background-color: #c1c1c1; 
    background: url(/static/design/newd1/gallery_detail/send_video_on.gif) no-repeat top;
}

#send_wink a{
    background: url(/static/design/newd1/gallery_detail/send_wink_off.gif) no-repeat top;
    display: block;
}
#send_wink a:hover{
    background: url(/static/design/newd1/gallery_detail/send_wink_on.gif) no-repeat top;
    color: red;
}

#send_cat-gift a{
    background: url(/static/design/newd1/gallery_detail/send_cat-gift_off.gif) no-repeat top;
}
#send_cat-gift a:hover{
    background: url(/static/design/newd1/gallery_detail/send_cat-gift_on2.gif) no-repeat top;
    color: red;
}

#send_ice-break a{
    background: url(/static/design/newd1/gallery_detail/ice_break_off.gif) no-repeat top;
}
#send_ice-break a:hover{
    background: url(/static/design/newd1/gallery_detail/ice_break_on.gif) no-repeat top;
    color: red;
}

#send_mess, #send_postcard, #send_gift, #send_profile, #send_video, #send_wink, #send_cat-gift, #send_ice-break {
    float: left;
}

#send_mess a, #send_postcard a, #send_gift a, #send_profile a, #send_video a, #send_wink a, #send_cat-gift a, #send_ice-break a {
    color: black;
    text-decoration: none;
}

#heart_on {
    background: url(/static/design/newd1/gallery_detail/heart_on.gif) no-repeat top;
    width: 16px;
    height: 16px;
}
#heart_med {
    background: url(/static/design/newd1/gallery_detail/heart_med.gif) no-repeat top;
    width: 16px;
    height: 16px;
}
#heart_off {
    background: url(/static/design/newd1/gallery_detail/heart_off.gif) no-repeat top;
    width: 16px;
    height: 16px;
}

#add_to_friends a{
    background: url(/static/design/newd1/gallery_detail/add_to_friends_on.gif) no-repeat left;
    display: block;
    height: 24px;
    width: 100px;
    color: black;
    text-decoration: none;
}
#add_to_friends a:hover {
    background: url(/static/design/newd1/gallery_detail/add_to_friends_off.gif) no-repeat left;
    display: block;
    height: 24px;
    color: red;
}

#drop_from_friends a{
    background: url(/static/design/newd1/gallery_detail/drop_from_friends_on.gif) no-repeat left;
    display: block;
    height: 24px;
    width: 110px;
    color: black;
    text-decoration: none;
}
#drop_from_friends a:hover {
    background: url(/static/design/newd1/gallery_detail/drop_from_friends_off.gif) no-repeat left;
    display: block;
    height: 24px;
    color: red;
}
