form {display: inline; margin: 0px;}
body {
	margin:0;
	padding:0;
}
table, td {padding: 0; margin: 0;}

#img {border: 2px solid black}

.div_categ {
    background-position: 3px 3px;
    padding-left: 23px;
    background-repeat: no-repeat;
    line-height: 22px;
}

#mypanel #panel_eventeditor_notes {
		width: 370px;
		height: 70px;
}

#mypanel {display: none}
#mypanel .bd {
	background-color:#fff;
}
#mypanel .ft {
	height:15px;
    padding:0;
}
#calendarcontainer {
	padding:10px;
}
#calendarmenu {
	position: absolute;    
}
#calendarpicker  {
	vertical-align: baseline;
}

.yui-calendar td.calcell.selected a { 
    background-color:orange !important; 
    color:#000; 
} 


.yui-skin-sam .yui-calendar td.calcell.highlight1 { font-weight: bold; background-color: white; }

.yui-skin-sam .yui-calendar .calrowhead, .yui-skin-sam .yui-calendar .calrowfoot { 
	font-weight:bold; 
} 


a.upload_photos_del {
	text-decoration: none; position: relative; top: -90px; left: -1px; font-weight: bold; font-size: 8pt;
}

.div_themepack_links a {
    color: silver; font-weight: bold; font-size: 9pt; font-family: Arial;
}

#text_entry {
    width: 600px;
    height: 70px;
}

#text_entry2 {
    /*width: 600px;*/
    width: 100%;
    height: 70px;
}

#diary_content {
    border: 2px solid black;
    min-height: 100px;
    font-size: 10pt;
    padding: 10px;
}

#table_diary {
    width: 100%;
}

#diary_calendar {
    width: 435px;
    float: right;
    text-align:center;
}

.div_diary_entry {
    position:relative;
    width: 99%;
    right: 0px;
    left: 0px;
    border: 1px solid silver;
    padding: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    background-color: #dddddd;
}

.div_diary_entry_new {
    border: 1px solid green;
}

.span_entry_text {
    overflow: hidden;
}

#diary_entry_btn {
    position: absolute;
    display: none;
    bottom: 0px;
    right: 5px;
    font-size: 9pt; color: red; z-index: 100;
    text-align: right;
}

#diary_entry_favorites {
    position: relative;
    display: none;
    right: 5px;
    font-size: 9pt; color: red; z-index: 100;
    text-align: right;
    border: 1px solid gray;
    padding: 5px;
    margin-bottom: 5px;
    float:right;
}

input.diary_entry_edit_link {
    width: 400px; height:14px; display: inline; position:relative; top: -5px;
    font-family: Arial;
    font-size: 8pt;
    display: none;
}

div.div_photo_link {
    position: absolute;
    bottom: 5px;
    left: 3px;
}

.div_entry_time {
    text-align: right;
    font-size: 8pt;
    font-weight: bold;
    color: #555555;
    height: 28px;
}

pre {
    padding: 0;
    margin: 0;
    /*white-space: normal;*/
}

.entry_username {
    float: left;
    font-weight: bold;
    text-align: center;
    width: 160px;
    left: -10px;
}

#diary_entry_reply {
    display: none;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 10px;
}

div.form_photo {
    display: none; height: 18px; overflow: hidden; position:absolute; bottom: 23px; left: 1px; width: 200px;
}

.form_photo .edit_caption {
    width: 155px;
    font-size: 7pt;
    padding: 0px;
    border: 1px solid black;
    margin: 0px;
}

.form_photo .btn_submit {
    font-size: 7pt;
    width: 30px;
    height: 16px;
    border: 1px solid gray;
    background-color:silver;
    padding: 0px;
    margin: 0px;
}

div.photo_caption_text {
    overflow:hidden; width: 180px; height: 16px; text-align: center; position:absolute; bottom: 23px; font-size: 9pt;
}

div.photo_caption_date {
    overflow:hidden; width: 195px; height: 13px; text-align:right; font-style:italic; font-size: 8pt; position:absolute; bottom: 10px;
}

div.photo_caption_enlarge {
    overflow:hidden; width: 195px; height: 13px; text-align:left; font-style:italic; font-size: 8pt; position:absolute; bottom: 10px;
}


div.photo_caption_text2 {
    font-size: 9pt;
}

div.photo_caption_date2 {
    font-size: 9pt;
}

#div_themepack_caption {
    font-weight: bold;
    font-size: 9pt;
    text-align: center;
    height: 28px;
    overflow: hidden;
}

div.community_entry {width: 95%; border: 1px solid gray; padding: 10px; margin-bottom: 15px; overflow: hidden;}
div.community_add_entry {width: 410px; border: 1px solid black; padding: 10px; margin-top: 10px; display: none; overflow: hidden; }
div.community_share_page {width: 410px; border: 1px solid black; padding: 10px; margin-top: 10px; display: none; overflow: hidden;}
div.community_share_entry {width: 400px; border: 1px solid black; padding: 10px; margin-top: 10px; display: none; overflow: hidden; position:absolute; right: 10px; background-color: #aaaaaa;}
div.diary_paging {
    padding: 10px;
    font-size: 12pt;
}

a.link_album {
    width: 400px;
    display: block;
    padding: 5px;
    margin-right: 5px;
    border: 1px solid white;
}

a.link_album_hover {
    border: 1px solid gray;
    background-color: silver;
}

div.community_search_item {
    float:left; position: relative;
    width: 100px; height: 70px;
    text-align:center;
    margin: 10px;
}

div.community_search_item img {
    border: 0;
    max-width:66px;
    max-height:50px;
    width: expression(this.width > 66 && (this.width/this.height) > (66/50) ? 66 : true);
    height: expression(this.height > 50 && (this.width/this.height) <= (66/50) ? 50 : true);
}