#sf_admin_container {
  margin-top: 10px;
}

/* embedded form */
div.sf_admin_form form ul.dm_form_elements {
  clear: both;
  box-shadow: 0 0 5px #aaa;
  -moz-box-shadow: 0 0 5px #aaa;
  -webkit-box-shadow: 0 0 5px #aaa;
  padding: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
div.sf_admin_form form ul.dm_form_elements li.dm_form_element {
  margin: 5px;
}

div.sf_admin_form_inner {
  margin-top: 10px;
  font-size: inherit;
}

div.sf_admin_form form .dm_help_wrap,
div.sf_admin_form form .help {
  color: #888;
  margin-left:20%;
}

div.sf_admin_form fieldset {
  margin: 0 0 10px 0;
}

div.sf_admin_form fieldset .fieldset_title {
  height: 24px;
  background: url(../../dmCorePlugin/images/default_bg.png) center left repeat-x;
}

div.sf_admin_form fieldset .fieldset_title > span.fieldset_name {
  line-height: 22px;
  cursor: default;
  font-size: 14px;
}

div.sf_admin_form fieldset .ui-accordion-header {
  position: inherit;
}
div.sf_admin_form fieldset .ui-accordion-header .ui-icon {
  position: inherit;
  float: left;
  margin-top: 4px;
}

div.sf_admin_form .fieldset_content {
  overflow: visible;
  padding: 0;
  margin: 0;
  position: inherit;
  border-top: none;
  border-color: #D3D3D3;
}

div.sf_admin_form .fieldset_content_inner {
  background: url(../images/edit/separator_bg.png) 50% 50% no-repeat;
}

div.sf_admin_form fieldset.single .fieldset_content_inner {
  background: none;
}

div.sf_admin_form .fieldset_none {
  border-top: 1px solid #D3D3D3;
}

div.sf_admin_form div.sf_admin_form_row {
  float: left;
  min-width: 48%;
  padding: 1%;
}

div.sf_admin_form fieldset.single div.sf_admin_form_row, div.sf_admin_form div.sf_admin_form_row.odd.last {
    float:none;
    background: #fff;
}
/* not certain if display is set to none whether some browsers wont count the inputs inside*/
.sf_widget_form_dm_paginated_doctrine_choice div.hidden {
	visibility: hidden;
	height: 0;
	width: 0;
	overflow: hidden;
}
div.sf_admin_form div.sf_admin_form_row.dm_row_modified {
  background: #E0F1AD;
}

div.sf_admin_form div.sf_admin_form_row.big {
  width: 98%;
}

div.sf_admin_form div.sf_admin_form_row div.dm_related_records {
  margin-left: 20%;
  padding: 10px;
  box-shadow: 0 0 5px #aaa;
  -moz-box-shadow: 0 0 5px #aaa;
  -webkit-box-shadow: 0 0 5px #aaa;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

div.sf_admin_form div.sf_admin_form_row_inner div.label_wrap,
div.sf_admin_form ul.dm_form_elements li.dm_form_element label {
  float: left;
  width: 20%;
}

div.sf_admin_form .sf_admin_form_row.odd.last div.sf_admin_form_row_inner div.label_wrap {
	width: 10%;
}

div.sf_admin_form div.sf_admin_form_row_inner div.label_wrap,
div.sf_admin_form ul.dm_form_elements li.dm_form_element label,
div.sf_admin_form div.sf_admin_form_row_inner label {
  font-weight: bold;
}

div.sf_admin_form div.sf_admin_form_row_inner label.fnone {
  float: none;
  width: auto;
}

div.control span.select_all,
div.control span.unselect_all,
div.control span.see_selected,
div.control span.see_unselected,
div.control span.see_all
 {
  margin-top: 1em;
  cursor: pointer;
  display: block;
  color: #046BCA;
  font-weight: normal;
}

div.sf_admin_form div.sf_admin_form_row_inner input,
div.sf_admin_form div.sf_admin_form_row_inner select,
div.sf_admin_form div.sf_admin_form_row_inner textarea {
  width: 76%;
}
div.sf_admin_form div.sf_admin_form_row_inner textarea.dm_markdown {
  width: 98.5%;
}
div.sf_admin_form div.sf_admin_form_row_inner input[type=checkbox] {
  width: auto;
}

div.sf_admin_form div.sf_admin_form_row_inner input.datepicker_me {
  width: auto;
}

div.sf_admin_form div.sf_widget_form_date_time select,
div.sf_admin_form div.sf_widget_form_i18n_date_time select {
  width: auto;
}

div.sf_admin_form .error {
  border: 1px solid #D7BBB8;
  padding: 5px;
  margin-bottom: 5px;
  background: #F6DCD9 url(../images/flash/red.gif) repeat-x top left;
  color: #DD0000;
}

.dm_error_list li {
  list-style: disc inside;
}

div.dm_form_action_bar {
  padding: 5px;
  background:#E6E6E6 url(../../dmCorePlugin/images/default_bg.png) repeat-x scroll 50% 50%;
  border:1px solid #D3D3D3;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

div.dm_form_action_bar_top {
  margin-bottom: 5px;
}
div.dm_form_action_bar_bottom {
  margin-top: 5px;
}
div.dm_form_action_bar ul.sf_admin_actions {
  float: left;
}

div.dm_form_action_bar li {
  float: left;
  display: block;
  margin-left: 5px;
}

div.dm_form_action_bar a {
  height: 16px;
  display: block;
  margin-top: 3px;
}
div.dm_form_action_bar a.sf_admin_action {
  margin-left: 20px;
}

div.dm_form_action_bar div.dm_form_pagination > a {
  float: left;
}
div.dm_form_action_bar div.dm_form_pagination > span.disabled {
  float: left;
  opacity: 0.3;
  height: 16px;
  display: block;
  margin-top: 3px;
}

div.dm_form_pagination {
  float: right;
}

div.sf_admin_form ul.checkbox_list,
div.sf_admin_form ul.radio_list
 {
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 0 5px #aaa;
  -moz-box-shadow: 0 0 5px #aaa;
  -webkit-box-shadow: 0 0 5px #aaa;
}

div.sf_admin_form ul.radio_list {
  width: 80%;
  float: right;
}

div.sf_admin_form ul.radio_list > li {
	width: 99%;
	float: right;
}

div.sf_admin_form ul.checkbox_list > li,
div.sf_admin_form ul.radio_list > li {
  display: block;
  padding: 2px 4px;
  cursor: pointer;
  border: 1px solid #fff;
  border-width: 1px 0;
  background: #fff;
}

div.sf_admin_form ul.checkbox_list > li.active,
div.sf_admin_form ul.radio_list > li.active {
  background-color: #E1FEE5;
  border-color: #E1FEE5;
}

div.sf_admin_form ul.checkbox_list > li:hover,
div.sf_admin_form ul.radio_list > li:hover {
  background-color: #F1F5FE;
  border-color: #ddd;
}

div.sf_admin_form ul.checkbox_list > li label,
div.sf_admin_form ul.radio_list > li label {
  float: none;
  width: auto;
  cursor: pointer;
}

div.sf_admin_form ul.checkbox_list > li input,
div.sf_admin_form ul.radio_list > li input {
  vertical-align: middle;
  cursor: pointer;
}

div.sf_admin_form div.dm_checkbox_tools{
	padding: 5px 10px;
  background: url(../../dmCorePlugin/images/default_bg.png) repeat-x 50% 50%;
  border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  border: 1px solid #D4D4D4;
  overflow: hidden;
  box-shadow: 0 0 5px #aaa;
  -moz-box-shadow: 0 0 5px #aaa;
  -webkit-box-shadow: 0 0 5px #aaa;

}

div.sf_admin_form div.dm_checkbox_search_filter,
div.sf_admin_form div.dm_form_pagination {
  display: inline;
}

div.sf_admin_form div.dm_form_pagination > div, a{
  display: inline;
}

div.sf_admin_form div.dm_checkbox_tools select.dm_max_per_page{
  width: auto;
  float: left;
}

div.sf_admin_form > div.dm_form_pagination {
  float: right;
  margin: 3px 0 0 0;
}

div.dm_form_pagination > a,
div.dm_form_pagination > div {
  float: left;
  margin: 0 3px;
}
div.dm_form_pagination > div.dm_pagination_status {
  text-align:center;
  width:100px;
}
div.dm_form_pagination > div.disabled {
  opacity: 0.3;
}

div.sf_admin_form > select.dm_max_per_page {
  float: right;
  margin-right: 10px;
}

div.dm_form_pagination strong {
}

div.sf_admin_form div.dm_checkbox_search_filter {
  padding-left: 10px;
}

div.sf_admin_form div.sf_admin_form_row_inner input.dm_submit{
  width: 50px;
  background: url("../../dmCorePlugin/images/default_bg.png") repeat-x scroll left center transparent;
  border-color: #D3D3D3 #D3D3D3 #D3D3D3 -moz-use-text-color;
  border-style: solid solid solid none;
  border-width: 1px 1px 1px medium;
  color: #444444;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 0px 1px;
}

div.sf_admin_form div.dm_checkbox_search_filter > input,
div.sf_admin_form div.dm_form_pagination > input
 {
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  padding: 2px 5px;
  width: 134px;
  color: #666;
  font-family: Verdana,Arial,sans-serif;
  font-size: 12px;
  background: #FFFFFF;
  border: 1px solid #D4D4D4;
}

div.sf_admin_form div.dm_checkbox_tools span.clear{
  padding-left: 5px;
}

div.sf_admin_form div.dm_checkbox_tools span.clear a{
  text-decoration: none;
}

div.sf_admin_form .dm_media_file {
  position: relative;
}
div.sf_admin_form .dm_media_file .view {
  float: left;
}
div.sf_admin_form .dm_media_file .view img {
  box-shadow: 2px 2px 5px #888;
  -moz-box-shadow: 2px 2px 5px #888;
  -webkit-box-shadow: 2px 2px 5px #888;
  border: 1px solid #aaa;
}
div.sf_admin_form .dm_media_file .infos {
  margin-left: 260px;
  font-size: 11px;
}

div.sf_admin_form img.dm_label_culture {
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0.7;
}

div.sf_admin_form img.dm_label_required {
  vertical-align: middle;
}

.fullscreen {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  z-index: 9999;
  margin: 0;
  padding: 0;
  background: inherit;
  border: 1px 1px 1px 1px;
}