#MB_content {
	font-family: Arial,Helvetica,Verdana,sans-serif !important;
	font-size: 12px !important;
}

/* ModalBox Shape */
#MB_overlay {
	position: absolute;
	margin: auto;
	top: 0;	left: 0;
	width: 100%; height: 100%;
	z-index: 9999;
	background-color: #000!important;
}
#MB_overlay[id] { position: fixed; }

#MB_window {
	position: absolute;
	top: 0;
	border: 0 solid;
	text-align: left;
	z-index: 10000;
	margin-top: 30px; /*Compensation for admin menubar*/
}
/*#MB_window[id] { position: fixed!important; }*/

#MB_frame {
	position: relative;
	background-color: #EFEFEF;
	height: 100%;
}

#MB_header {
	margin: 0;
	padding: 0;
}

#MB_content {
	margin: 6px .75em; /* Originally this was padding but made to margin for the modal_progress_overlay */
	overflow: auto;
}

#MB_caption {
	font: bold 100% "Lucida Grande", Arial, sans-serif;
	text-shadow: #FFF 0 1px 0;
	padding: .5em 2em .5em .75em;
	margin: 0;
	text-align: left;
}

#MB_close {
	display: block;
	position: absolute;
	right: 5px; top: 4px;
	padding: 2px 3px;
	font-weight: bold;
	text-decoration: none;
	font-size: 13px;
}
#MB_close:hover {
	background: transparent;
}

#MB_loading {
	padding: 1.5em;
	text-indent: -10000px;
	background: transparent url('/images/ajax-loader.gif') 50% 50% no-repeat;
}

/* Color scheme */
#MB_frame {
	/*background: #EFEFEF url('/images/modal/background.png') no-repeat 0 30px !important;*/
	padding-bottom: 7px;
	-webkit-border-radius: 7px; 
	-moz-border-radius: 7px;
	border-radius: 7px;
}
#MB_window {
	background-color: #EFEFEF;
	color: #000;
	-webkit-box-shadow: 0 8px 64px #000; 
	-moz-box-shadow: 0 0 64px #000; 
	box-shadow: 0 0 64px #000;
	
	-webkit-border-radius: 7px; 
	-moz-border-radius: 7px;
	border-radius: 7px;
}
#MB_header {
  background-color: #DDD;
  border-bottom: 1px solid #CCC;
}
#MB_caption { color: #000 }
#MB_close { color: #777 }
#MB_close:hover { color: #000 }


/* Alert message */
.MB_alert {
	margin: 10px 0;
	text-align: center;
}

/* Content */

#MB_content textarea {
	resize: none;
	font: 11px "Lucida Grande", Arial, sans-serif !important;
	letter-spacing: .5px !important;
}
#MB_content .modal_table {
	/*font-family: arial, sans-serif !important;*/
	font-family: "Lucida Grande", Arial, sans-serif !important;
	font-size: 12px !important;
	padding-top: 16px;
}
#MB_content .modal_table th {
	font-weight: normal !important;
	text-align: right !important;
	/*height: 50px !important;*/
	padding-right: 25px !important;
	width: 135px !important;
	height: 45px !important;
}
#MB_content .modal_table td {
	/*padding-left: 16px;*/
}
#MB_content .modal_table .file {
	height: 70px !important;
}
#MB_content .modal_table .collection th, #MB_content .modal_table .collection td {
	/*padding-top: 29px !important;*/
}
#MB_content .modal_table tr.description {
	height: 165px !important;
}
#MB_content .modal_table .description th, #MB_content .modal_table .description td {
	vertical-align: top !important;
}
#MB_content .modal_table .permalink td {
	letter-spacing: 1px !important;
}
#MB_content .modal_table input {
	background: none !important;
	border: none !important;
	border-bottom: 1px solid #000000 !important;
	font-weight: bold !important;
}
#MB_content .modal_table .file input {
	border: none !important;
	font-weight: normal !important;
}
#MB_content .modal_table .title input {
	width: 150px;
}
#MB_content .modal_table .permalink input {
	width: 125px !important;
	margin-left: -8px !important;
	padding-left: 3px !important;
}
#MB_content .modal_table .user th {
	height: 35px !important;
}
#MB_content .img_preview {
	position: absolute !important;
	top: 12px !important;
	right: 20px !important;
}
#MB_content .fieldWithErrors input {
	/*background: #FBF592 !important;*/
}
#MB_content .secondary {
	color: #999999 !important;
	font-size: 10px !important;
}
#MB_content .toggle, #MB_content .resume_link {
	color: #777777 !important;
	text-decoration: none !important;
	font-size: 10px !important;
}
#MB_content .toggle:hover, #MB_content .resume_link:hover {
	color: #333333 !important;
}
#MB_content .modal_actions {
	float: right !important;
	position: relative !important;
	right: 15px !important;
	padding-bottom: 10px !important;
}
#MB_content .modal_actions .submit {
	background: transparent url('/images/modal/submit.png') 0 0 !important;
	border: none !important;
	height: 53px !important;
	width: 115px !important;
	padding: 18px 2px 10px 28px !important;
	float: left !important;
	font-size: 14px !important;
	text-align: center !important;
	cursor: pointer !important;
}
#MB_content .modal_actions .submit:hover {
	background: transparent url('/images/modal/submit.png') 0 -56px !important;
}
#MB_content .modal_actions .submit:active {
	background: transparent url('/images/modal/submit.png') 0 54px !important;
}
/* plain submit */
#MB_content .modal_actions .plain {
	background: transparent url('/images/modal/submit-plain.png') 0 0 !important;
	padding: 18px 0 10px 2px !important;
}
#MB_content .modal_actions .plain:hover  {
	background: transparent url('/images/modal/submit-plain.png') 0 -56px !important;
}
#MB_content .modal_actions .plain:active {
	background: transparent url('/images/modal/submit-plain.png') 0 54px !important;
}
#MB_content .cancel {
}
#MB_content .cancel a {
	background: transparent url('/images/modal/cancel.png') 0 0 !important;
	display: block !important;
	float: left !important;
	margin-top: 17px !important;
	height: 20px !important;
	width: 60px !important;
	padding: 10px 0 0 19px !important;
	text-align: center !important;
	color: black !important;
	text-decoration: none !important;
	font-size: 11px !important;
}
#MB_content .cancel a:hover {
	background: transparent url('/images/modal/cancel.png') 0 -30px !important;
}
#MB_content .cancel a:active {
	background: transparent url('/images/modal/cancel.png') 0 31px !important;
}
