/* This stylesheet is used to style the public view of the plugin. */

.djd_site_post_form  {
	border: 1px solid #9f9f9f;
	padding: 5px 10px 5px 10px; 
	margin: 0;
	font-size: 1em;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

.djd_site_post_form h1,
.djd_site_post_form p {
	margin-bottom: 0px;
}

.djd_site_post_form div#field-wrapper {
	margin-bottom: 15px;
	padding: 10px;
}

.djd_site_post_form legend {
	padding: 0px 3px;
	font-weight: bold;
	font-variant: small-caps;
	font-size: 1.5em;
	display: inline-block;
}

.djd_site_post_form label {
	display: block;
	vertical-align: top;
	margin-top: 6px;
}

.djd_site_post_form em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
}

.djd_site_post_form input {
	width: 50%;
	padding: 3px;
}

.djd_site_post_form select {
	width: 30%;
}

.djd_site_post_form input[type=checkbox] {
	width: 10px;
}

.djd_site_post_form button {
	border: 1px solid #CCCCCC;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	font-family: inherit;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 6px;
	padding: 0.428571rem;
}

.djd_site_post_form input:focus,
.djd_site_post_form textarea:focus {
	background: #eaeaea;
}

#djd_site_post_title,
#djd_site_post_tags,
#djd_site_post_date,
#djd_site_post_new_cat {
	width: 99%;
	height: 20px;
	border: 1px solid #9f9f9f;
	margin: 0;
}

#djd_site_post_content {
	height: 200px;
	border: 1px solid #9f9f9f;
	margin: 0;
}

#djd_site_post_excerpt {
	width: 99%;
	height: 100px;
	border: 1px solid #9f9f9f;
	padding: 3px;
	margin: 0;
}

#djd_site_post_cat,
#djd_site_post_new_cat_parent,
#djd_site_post_tag_list {
	width: 100%;
	margin: 0;
}

#djd_site_post_cat_checklist {
	list-style-type: none;
	height: auto;
	max-height: 150px;
	overflow: auto;
	border: 1px solid #9f9f9f;
	width: 99%;
	padding: 2px 0 2px 0;
	margin: 0 0 15px 0;
}

#djd_site_post_cat_checklist li {
	list-style-type: none;
	background: none;
	margin: 0 0 0 2px;
	padding: 0 0 0 0px;
}

#djd_site_post_cat_checklist li ul{
	list-style-type: none;
	margin:0 0 0 10px;
	padding: 0 0 0 5px!important;
}

#djd_site_post_cat_checklist #cats {
	margin:0 0 0 2px;
	padding: 0;
}

#djd_site_post_load {
	margin: 10px 0 0 0;
}

#djd_site_post_page {
	width: 40%;
}

.djd_site_post_taxonomy_box {
	border: 1px solid #9f9f9f;
	margin: 0 0 15px 0;
	padding: 4px 0 4px 4px;
}

.djd_site_post_taxonomy_checklist {
	list-style-type: none;
	height: auto;
	max-height: 150px;
	overflow: auto;
	width: 99%;
	margin: 0 0 5px 0;
}

.djd_site_post_taxonomy_checklist li {
	list-style-type: none;
	background: none;
	margin: 0;
	padding: 0;
}
.djd_site_post_taxonomy_checklist li ul {
	margin:0 0 0 10px;
	list-style-type: none;
}

.djd_site_post_taxonomy_checklist .cats {
	margin:0!important;
}

.djd_site_post_cat_checklist_admin {
	list-style-type: none;
	height: auto;
	max-height: 80px;
	width: 95%;
	overflow: auto;
	border: 1px solid #9f9f9f;
	padding: 0 0 4px 2px;
	text-align: left;
	background-color: #ffffff;
}

.djd_site_post_cat_checklist_admin li {
	margin: 0 0 0 2px;
}

.djd_site_post_cat_checklist_admin li ul {
	margin:0 0 0 10px;
}

.djd_site_post_option_box {
	background-color: #ddd;
	margin: 5px 0px 0px 0px;
	border: 1px solid #d9d9d9;
}

.djd_site_post_option_header_div {
	height: 16px;
}

.djd_site_post_custom_fields {
	height: 80px;
	width: 99%;
	border: 1px solid #d9d9d9;
	overflow: auto;
	margin: 0px 0px 5px 0px;
	padding: 1px 0px 4px 0px;
	text-align: left;
}

.djd_site_post_admin_table {
	text-align: left;
}

/* TinyMCE Hacks to make this messy thing kind of responsive */

.djd_site_post_form .quicktags-toolbar input {
     width: 14%;
}

.djd_site_post_widget .quicktags-toolbar input {
     width: 31%;
	 font-size: 10px;
}

.djd_site_post_widget .button,
.djd_site_post_widget .wp-switch-editor {
	font-size: 10px !important;
}

.djd_site_post_widget .djd_site_post_form label {
	margin-bottom: 5px;
}

.djd_site_post_widget .djd_site_post_form select {
    width: 100%;
}

body .mceToolbar div {
white-space: normal;
}

.mceToolbarStart.mceToolbarStartButton.mceFirst > span {
  float: left;
}

.mceToolbarRow1 * {
    float: left;
}

.mceToolbarRow2 * {
    float: left;
}
.mceToolbarRow1 .mceListBox {
    width: auto !important;
}

.mceToolbarRow2 .mceListBox {
    width: auto !important;
}

.mceToolbarRow1 .mceButton {
    float: none;
}