/*  
Theme Name: MerceM.com ACE Theme
Theme URI: mercem.com
Description: MerceM ACE theme in green
Version: 1
Author: MerceM
Author URI: http://www.mercem.com

	Valid XHTML 1.0 Strict & CSS2

*/

@import 'default-green.css';

#powered {
    text-align: center;
    font-size: x-small;
}

#tabs {
    margin: 5em auto 1em;
}

.narrow {
    width: 30em;
}

.medium {
    width: 40em;
}

.wide {
    width: 800px;
}

.vwide {
    width: 950px;
}

#menu {
    margin-bottom: 1em;
}

#heading {
    border-top: 0px solid #4E473D;
    border-bottom: 0px solid #4E473D;
    background-color: #f0fff0;
    text-align: center;
}

.form {
    margin: 1em auto;
    background-color: #ffffff;
    border-collapse: collapse;
}

.form th {
    border: 1px solid white;
	background-color: #4E473D;
	color: white;
	font: bold;
    padding: 5px 10px;
}

.form td {
    border: 1px solid #4E473D;
    padding: 5px 10px;
    vertical-align: baseline;
}

.form .topsep {
    border-top: 3px solid #4E473D;
}

.form .bottomsep {
    border-bottom: 3px solid #4E473D;
}

.form .submit {
    text-align: center;
}

.form .mergeleft {
    border-left: 0px;
    padding-left: 0px;
}

.form .mergeright {
    border-right: 0px;
    padding-right: 0px;
}

.form .mergeup {
    border-top: 0px;
}

.form .mergedown {
    border-bottom: 0px;
}

.form table {
    margin: 0px;
    border: 0px;
    padding: 0px;
    border-collapse: collapse;
}

.form table td {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

.form table .spacer {
    padding: 5px;
}

td.largecelllabel {
    vertical-align: middle;
}

td.largecell {
    padding: 10px;
}

td.largecell * {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#navigation {
    text-align: center;
}

#addnew {
    text-align: center;
}

.graphs {
    padding: 5em 0px;
    text-align: center;
}

.yes {
    color: #408040;
}

.no {
    color: #ff4040;
}

#changebanner {
    margin: 10px auto 0px;
    display: block;
}

.banner {
    margin: 10px auto;
    display: block;
}

/* Work around a bug in jQuery 1.5.2, where the buttons are slightly off the
   bottom of dialogue boxes: */

.ui-dialog-buttonpane {
    padding-bottom: 10px;
}


/* Formato de la pantalla de diálogo */


.dialogue {
    font-size: small;
    display: none;
}


.ui-dialog {
	background-color: #e6f7d4;
}

.ui-dialog .ui-dialog-titlebar,
.ui-dialog-titlebar {
	border-bottom: 1px solid #d8d2aa;
/*	background: #ff9900 url(http://cdn.mercem.com/thememm/i/dialog-title.gif) repeat-x; */
	background: #4E473D url(http://cdn.mercem.com/thememm/i/dialog-title.gif) repeat-x;
	padding: 0px;
	height: 28px;
	_height: 29px;
}

.ui-draggable .ui-dialog-titlebar,
.ui-dialog-titlebar {
	cursor: move;
}

.ui-draggable-disabled .ui-dialog-titlebar,
.ui-dialog-titlebar {
	cursor: default;
}

.ui-dialog .ui-dialog-titlebar-close,
.ui-dialog-titlebar-close {
	width: 16px;
	height: 16px;
	background: url(http://cdn.mercem.com/thememm/images/dialog-titlebar-close.png) no-repeat;
	position:absolute;
	top: 6px;
	right: 7px;
	cursor: default;
}

.ui-dialog .ui-dialog-titlebar-close span,
.ui-dialog-titlebar-close span {
	display: none;
}

.ui-dialog .ui-dialog-titlebar-close-hover,
.ui-dialog-titlebar-close-hover {
	background: url(http://cdn.mercem.com/thememm/images/dialog-titlebar-close-hover.png) no-repeat;
}

.ui-dialog .ui-dialog-title,
.ui-dialog-title {
	margin-left: 5px;
	color: white;
	font-weight: bold;
	position: relative;
	top: 7px;
	left: 4px;
}

.ui-dialog .ui-dialog-content,
.ui-dialog-content {
	margin: 1.2em;
}

.ui-dialog .ui-dialog-buttonpane,
.ui-dialog-buttonpane {
	position: absolute;
	bottom: 8px;
	right: 12px;
	width: 100%;
	text-align: right;
}

.ui-dialog .ui-dialog-buttonpane button,
.ui-dialog-buttonpane button {
	margin: 6px;
}

/* Dialog handle styles */
.ui-dialog .ui-resizable-n,
.ui-resizable-n { cursor: n-resize; height: 6px; width: 100%; top: 0px; left: 0px; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-n.gif) repeat scroll center top; }

.ui-dialog .ui-resizable-s,
.ui-resizable-s { cursor: s-resize; height: 8px; width: 100%; bottom: 0px; left: 0px; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-s.gif) repeat scroll center top; }

.ui-dialog .ui-resizable-e,
.ui-resizable-e { cursor: e-resize; width: 7px; right: 0px; top: 0px; height: 100%; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-e.gif) repeat scroll right center; }

.ui-dialog .ui-resizable-w,
.ui-resizable-w { cursor: w-resize; width: 7px; left: 0px; top: 0px; height: 100%; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-w.gif) repeat scroll right center; }

.ui-dialog .ui-resizable-se,
.ui-resizable-se { cursor: se-resize; width: 9px; height: 9px; right: 0px; bottom: 0px; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-se.gif); }

.ui-dialog .ui-resizable-sw,
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-sw.gif); }

.ui-dialog .ui-resizable-nw,
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 29px; left: 0px; top: 0px; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-nw.gif); }

.ui-dialog .ui-resizable-ne,
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 29px; right: 0px; top: 0px; background: transparent url(http://cdn.mercem.com/thememm/images/dialog-ne.gif); }

/* Prueba para los menús */

#nav2{
        background-color: #FFFFFF;
        display: block;
        font-size:1.1em;
        height:50px;
        width:960px;

}

#nav2, #nav2 ul {
	line-height: 1;
	list-style-type: none;
}

#nav2 a ,#nav2 a:hover{
	border:none;
	display: block;
	text-decoration: none;
}

#nav2 li {
/*	background-color: #EBEAE5;*/
	float: left;
	list-style-type: none;
	display: inline; 
	font-size: 13px;
	width: 100px;
}

#nav2 a,#nav2 a:visited {
/*	color: #3E352E; */
	display:block;
/*	font-weight:bold;
	padding:6px 12px; */
}

#nav2 a:hover, #nav2 a:active {
	color: #3E352E;
/*	color:white; */
	text-decoration:none;
	background: url(http://cdn.mercem.com/images/menu_bk_1.png) repeat-x;
}	

#nav2 li ul {
	border-bottom: 5px none #a9a9a9;
	height: auto;
	left: -999em;
	position: relative;
	width: 900px;
	z-index:999;
}

#nav2 li li {
	width: auto;
}

#nav2 li li a,#nav2 li li a:visited {
	color: #817F79; 
	font-weight:normal;
/*	font-size:0.9em; */
}

#nav2 li li a:hover,#nav2 li li a:active {
/*	color:#fff; */
/*	font-weight: bold; */
	color: #3E352E;
	text-decoration:none;
	background: white;
}	

#nav2 li:hover ul, #nav2 li li:hover ul, #nav2 li li li:hover ul, #nav2 li.sfhover ul, #nav2 li li.sfhover ul, #nav2 li li li.sfhover ul {
	left: 30px;
}
