/* template defaults */
fieldset {border:none;margin:0;padding:0}
label {font-weight: bold;}
//p {margin-top: 1.5em;}
textarea {padding:0;font-family:Arial;font-size:12px;color:#000;width:425px;}
	textarea#RegistryCustomCss { width: 300px; clear: both; height: 150px; }
h1, h2, h3 {color:#942d37;margin-bottom:0;}
h4 {font-size:14px;margin:0 0 10px 0}
h5 {font-size:12px;margin:0;font-weight:normal;font-style:italic;overflow:auto;}
h5.edit_headline {color:#22A}
a { font-weight: normal; }
.optional {margin-bottom:10px}
.optional label {padding:3px;display:block;}
.required label {padding:3px;display:block;}
	.required textarea {font-weight:normal;}
.optional input, .required input {padding:2px}
#VisitorcommentAuthorName, #VisitorcommentVisitorcommentText {width:383px;}
.pagedesc {padding-bottom:10px;margin-bottom:10px;}
.spanLink {cursor:pointer;text-decoration:underline;}
.required {margin-bottom:10px}
.mceEditorContainer {float:right;font-size:12px;margin-left:8px;}
.itemName {font-size:14px;font-weight:bold}
.deletebutton {position:absolute;width:auto;padding:2px 0;text-align:center;right:15px;bottom:15px;}
.hidden {display:none}

/* in a few limited cases we want to force labels to display inline */
.force_label_inline { display: inline; }
.force_label_inline label { display: inline; }

/* checkboxes for toggles */
.togglebox {margin: 2px;padding: 2px 2px 2px 2px;border:0;position:relative;z-index:1000;}
.togglebox input {margin: 2px;padding: 2px 2px 2px 2px;border:0}


/* page description (at top of favorites, about, timeline, album, guestbook) */
.pagedesc {width: 95%;font-size:14px;}
.pagedesc h1, .pagedesc h2 {margin-bottom:10px;}
input.pageTitle {width:70%;height:26px;font-size:1.1em;padding-top:4px;color:#454545;margin-bottom:10px;display:block;}

a.ajaxButton1, a.ajaxButton2, a.ajaxButton3 {text-decoration:none;}
a.ajaxButton1 button, button.ajaxButton1, .submit input {font-size:155%;padding:2px;}
a.ajaxButton2 button, button.ajaxButton2 {font-size:135%;}
a.ajaxButton3 button, button.ajaxButton3 {font-size:90%;padding:1px 4px}
.w150 {width:150px} /* needed b/c IE sucks and makes some buttons too big and max-width is not working */


/* editbutton for desc */
.submit {clear:right;margin:0 0 20px 0;}
.editbutton {margin:3px 0 20px 0}
.editbutton a {color:#22a;text-decoration:none;}

/* edit this page button */
.editthispage {}
.btn_addHere {margin:20px 0 0 0;display:block;}

/* common entry styles (favorites, guestbook, timeline) */

/* landing */
h1.landing { text-align: center; }
#posts_container.landing .entrycontent { text-align: center; }


/* common */
.entries {padding-bottom:10px;}
.entries_move {padding-bottom:10px;}
.entries_move ul {list-style-type:none;margin:0;padding:0;}
.entries_move li {margin:0;padding:2px 2px 2px 2px;width:97%}
.entries ul {list-style-type:none;margin:10px 0 0 0;padding:0;}
.entries li {margin:0 0 10px 0;padding:2px ;width:97%}
.entrydesc p {margin:0 0 15px 0;padding:0;text-align:justify;}
.entrydesc li {list-style-type:disc;margin:auto;padding:auto;margin-left:20px;text-align:left;}
.entryauthor {font-style:italic;font-weight:bold;overflow:auto;}
#new_event, #new_post {border-top:1px solid #aaa;}
#new_event.photoGallery {clear:both;text-align:left;} /* unused .photogallery? */
#new_event div label {width:170px}
.suggest {float:right;margin-right:115px;}

#wedding_date { text-align: right; }

#posts_container .entry, #posts_container .entry_even {overflow:hidden; text-align:left;position:relative;}
#posts_container .entry .entrytitle, #posts_container .entry_even .entrytitle {margin:0;text-align:left;font-size:22px;padding-top:5px;overflow:auto;font-weight:normal;}
#posts_container .entry .entrysubtitle, #posts_container .entry_even .entrysubtitle {margin:0;text-align:left;font-size:16px;padding-bottom:5px;font-style:italic;overflow:auto;min-height:16px;}
#posts_container .entry .entryphoto, #posts_container .entry_even .entryphoto {margin:5px auto 10px;width:400px;padding:1px;max-height:300px;overflow:hidden;text-align: center;}
#posts_container .entry .entryphoto img, #posts_container .entry_even .entryphoto img {margin:0;max-width:390px;width:auto;}
#posts_container .entry .entrycreated, #posts_container .entry_even .entrycreated { padding: 0; font-size: 11px; display: inline; }
#posts_container .entry .entrycontent, #posts_container .entry_even .entrycontent { margin-bottom: 10px; }
#posts_container .entry .entryposted_by, #posts_container .entry_even .entryposted_by { clear: both; font-style: italic; }
#posts_container .entry .entrydate, #posts_container .entry_even .entrydate {padding:0;font-size:11px;font-style:italic;float:right;overflow:auto;}
#posts_container .entry .entrylocation, #posts_container .entry_even .entrylocation {padding:0;/*font-size:14px;*/}
#posts_container .entry .entrydesc, #posts_container .entry_even .entrydesc {padding:0;text-align:left;width:100%;}
#posts_container .comments {padding:0 0 10px 0;margin:5px 0;border-bottom:1px solid #bed7e3;}
#posts_container .deletebutton {position:absolute;width:auto;padding:2px 0;text-align:center;right:0px;top:2px;}
#posts_container .entry .boxcontent {padding:0 5px 0 0;}

/* minipics */
#posts_container.minipics .entryphoto { width: auto; max-height:100px; float:left;margin: 0 5px 0 0;}
#posts_container.minipics .entryphoto img {width:100px; max-width: default;}
#posts_container.minipics .entrytitle { font-weight:bold; font-size:18px; margin:0 0 5px 0; }
#posts_container.minipics .entrylocation {margin-bottom:10px;}
#posts_container.minipics .entry_even .entrytitle {margin:0 80px 5px 0;}
#posts_container.minipics .entry_even .entryphoto {float:right;margin:0 10px 0 10px;}
#posts_container.minipics .entry_even .entrydate {padding-right:80px;}
#posts_container.minipics .entry_even .entrylocation {padding-right:80px;}
#posts_container.minipics .entry_even .entrydesc {padding-right:40px;text-align:left;}

/* default nav bar styles */
.siteNav li a.disabled { opacity: 0.33; }
div.handle { display: none; width: 20px; height: 20px; background: url(/images/lightview/handle_l.png) top right no-repeat; position:absolute; right: 0; cursor: move; z-index: 500; }
#body_section1 ul li.nav_functions {color:#aaa;border:1px solid #666;padding:6px 2px 0px 23px;background:url(/images/icons/16x16/068.png) no-repeat 4px 4px #454545;line-height:1em;margin-bottom:-1px;}
#body_section1 ul li.nav_functions.rearrange {background-image:url(/images/icons/16x16/029.png);margin-bottom:10px;}


/* default content box for features */
li.sortable .box {position:relative;zoom:1;overflow:hidden;width:683px;cursor:default;}
li.sortable .box .boxtop {background:url(/images/boxes/timeline/box_top.png) top left no-repeat;height:17px;}
li.sortable .box .boxcontent {background:url(/images/boxes/timeline/box_content.png) top left repeat-y;padding:0px 15px !important;overflow:hidden;}
li.sortable .box .boxbottom {background:url(/images/boxes/timeline/box_btm.png) top left no-repeat;height:17px;}
.entries_move li.sortable .box .boxtop {cursor:move;}
li.sortable .box .entrytitle, li.sortable .box .entrydesc,li.sortable .box .entrylocation {cursor:text;}

/* gift links */
/*
#glentries .entry_even {text-align:left;}
#glentries .entry_even .entrytitle {margin:0 0 5px 0;}
#glentries .entry_even .entryphoto {float:left;margin:0 5px 0 0;}
#glentries .entry_even .entrydate {padding-right:0;}
#glentries .entry_even .entrylocation {padding-right:0;}
#glentries .entry_even .entrydesc {padding-right:0px;}
#gbentries .deletebutton {position:absolute;width:auto;padding:2px 0;text-align:center;right:0px;top:2px;}
*/



/* timeline */
#tl_edit #new_event div label {width:120px}

/* photo gallery */
#photogallery {margin-top:10px;}
.photos {text-align:center;float:left;}
.photos .photogallery {margin:0;padding:0;float:left;text-align:center;} /* unused .photogallery? */
.photos .photo {float:left;margin:0 0 20px 0;padding:0 30px;list-style-type:none;min-height:240px;}
	.editMode .photos .photo { min-height:320px; }
.photos .photo div.entry, .photos .photo div.entry_even {text-align:center;}
.photos .photo div .entryphoto {float:none;margin:0;background:url(/images/photoframes/default.png) top left no-repeat;width:224px;height:194px;overflow:hidden;border:none;max-height:194px;}
.photos .photo div .eventdesc {margin:0 10px;width:200px;text-align:left;}
.photos .photo:hover div.entry, .photos .photo.sfhover div.entry {}
.photos .photo:hover div.entry_even, .photos .photo.sfhover div.entry_even {}
.photos .entrytitle {font-size:14px;width:220px;text-align:center;margin:0;padding:0;min-height:20px;}
.photos .entryphoto img {margin:12px;max-width:192px;width:auto;max-height:170px;border:none;}
#galentries div.deletebutton {display:none;position:absolute;top:130px;left:90px;height:20px;background:#faa;border:1px solid red;width:100px;cursor:pointer;}
#galentries .photo.sfhover div.deletebutton {display:block}
#galentries .photo:hover div.deletebutton {display:block}

/* photoComments - unused? */
.photos .photo .currentComments {position:absolute;z-index:10000000;top:215px;left:0;background:#fff;border:1px solid #454545;width:540px;padding:10px;text-align:left;}
.photos .photo.even .currentComments {left:-266px;}
.photos .photo .comment_addForm {padding:0;}

/* comments */
.comments {padding:0 10px;}
.comment_container {border-bottom:1px solid #454545;position:relative;padding-bottom:5px;}
.comment_quoteOpen {width:35px;height:40px;background:url(../images/quote_open.png) no-repeat;position:absolute;top:2px;left:0;}
.comment_quoteClose {width:35px;height:40px;background:url(../images/quote_close.png) no-repeat;position:absolute;bottom:2px;right:0;margin-bottom:5px;}
.comment_content {margin:5px 45px;}
.comment_addForm {padding:2px 10px;}


body.editMode #shell {padding-top:75px;}
#toolbar {font-size:12px;}
#overlay {height:100%;}

/* templates */
#galentries.photos #templategallery .photo {width:250px;padding:0 10px;}
#templategallery {margin-top:20px;}
#templategallery .updatebutton {position:relative;z-index:1000;}
.photos #templategallery .entrytitle {font-size:14px;width:245px;text-align:center;margin:0;padding:0;min-height:20px;}
.template_badge {position:absolute;left:7px;bottom:25px;}
.matching_invitations {position:absolute;right:10px;top:245px;width:250px;text-align:left;color:#f7941c;}

	/* override for site template gallery */
	#page_body .matching_invitations {position:static;height:50px;text-align:left;color:#f7941c;left:-120px;width:auto;}
	#page_body .matching_invitations img {float:left;margin-top:-15px;}

#mp3_body {background:#fff;background-image:none;}

/* changes to sifr and regenerating sifr font swfs have caused size to grow, we need to hide header until sifr has loaded
   todo: show h1 for non-javascript users */
#header h1 { visibility: hidden; }  

.sIFR-active #header h1 {visibility:hidden;min-height:120px;max-height:240px;width:440px;vertical-align:bottom;position:absolute;bottom:0;} 
.sIFR-active #header h1.both_names.sIFR-replaced {}
.sIFR-active #header h1.ufirstname.sIFR-replaced, #header h1.ufirstname {display:none;}
.sIFR-active #header h1.dfirstname.sIFR-replaced, #header h1.dfirstname {display:none;}
/* Image Cropping Bug Fix */

.entryphoto {max-height: 700px !important}

#nicEditContent {color:#000;}

/* interface box / edit / friends and family */
#page_options { min-width:400px;text-align:left !important; }
#page_options a {color:#72b8b4 !important;}
#page_options_toggle { cursor: pointer; }
#page_options_toggle img {float:left; margin-right: 5px; }
#page_options_choices .togglebox {margin: 2px;padding: 2px 2px 2px 2px;border:0;position:relative;z-index:1000;}

/* Nearlyweds-specific lightview global css settings */
#lightview {color: #666 !important;}
#lightview a {color:#72b8b4 !important;}
#lightview .required label { color: #72b8b4 !important; }
#lightview .optional label { color: #666 !important; }
