/**
 *
 * @copyright     Copyright 2015, Megabyte Computación S.R.L.
 * 
 */

* {
	margin:0;
	padding:0;
}

body {
	background: #00589E;
	color: #fff;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
        /*font-family: Arial, Helvetica, sans-serif;*/
        /*font-family: Verdana, Arial, Helvetica, sans-serif;*/
    font-size:80%;
	margin: 0;
}
a {
	color: #0074C5;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #367889;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
	margin-bottom:0.5em;
}
h1 {
   	color: #000;
	font-family: "Varela Round", Arial, Helvetica, sans-serif;
	font-size: 14px;
    margin-left: 12px;
}
h2 {
	color: #00589E;
	font-family: "Varela Round", Arial, Helvetica, sans-serif;
	font-size: 100%;
	text-align: left;
	display: inline-table;
    margin: 0 auto;
}
h3 {
	color: #fff;
	font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
	font-size: 165%;
}
h4 {
	color: #993;
	font-weight: normal;
}
h5 {
	color: #000;
	font-size: 190%;
}
ul, li {
	margin: 0 12px;
}

/** Layout **/
#contenedor {
	text-align: left;
}

#header {
	height: 70px;
}
#header h1 {
	line-height:35px;
	background: #00589E url('logomega.png') no-repeat left;
	color: #fff;
	padding: 0px 30px;
}
#header h1 a {
	color: #fff;
	background: #00589E;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #00589E;
	text-decoration: underline;
}
#header h2 {
	color: #fff;
	margin: 0 auto;
	background: #00589E;
	font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
	font-size: 160%;
}

#header h3 {
	font-family: 'arial black','lucida grande', helvetica, sans-serif;
	line-height:25px;
	background: #00589E;
	color: #fff;
	padding: 0px 30px;
	font-size: 200%;
}

#headercedar {
	margin: 0 10px;
	float:left;
}

#headertitulo {
	width: 950px;
	height: 26px;
	float: left;
	margin-top: 23px ;
	margin-left: 7%;
}

#usuario {
	float: right;
	clear: right;
	margin-top: 7px;
	margin-right: 7px;
}

#logout a{
	float: right;
	clear: right;
	font-family: Verdana, arial, sans-serif; 
	margin-top: 25px;
	margin-right: 7px;
	text-decoration: none;
}

#logout a:hover{
	text-decoration: underline;
}


#headercedar img {
	width: 100%;
	height: 100%;
}

 #contenido{
	clear: both;
	color: #333;
	padding: 10px 20px 40px 20px;
	overflow: auto;
	background: #fff;
        /*display: table-row;*/
}
#footer {
	clear: both;
	/*padding: 0px 0px;*/
	text-align: right;
	/*height: 40px;	*/
}

#footer a {
	color: #fff;
	background: #00589E;
	font-weight: normal;
	text-decoration: none;
}
#footer a:hover {
	color: #fff;
	background: #00589E;
	text-decoration: underline;
}

/** containers **/
div.form,
div.index,
div.cuerpo {
	float:right;
	width:79%;
	/*border-left:1px solid #666;*/
    /*display: table-cell;*/
	padding:10px 2%;
    height: 100%;
/*  border:4px solid #0080FF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 8px 8px 6px #808080;
    -moz-box-shadow: 8px 8px 6px #808080;
    box-shadow: 8px 8px 6px #808080;*/
    background-color: #fff;
    padding: 10px;
    /*font-family: Verdana, Geneva, sans-serif;*/
    color: #0B173B;
	overflow: auto;
}
div.menu {
	float:left;
	width:16%;
	padding:10px 1.5%;
        
    /*display: table-cell;*/
    min-height: 100%;
/*  border:4px solid #0080FF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;*/
/*  border-radius: 10px;
    -webkit-box-shadow: 8px 8px 6px #808080;
    -moz-box-shadow: 8px 8px 6px #808080;
    box-shadow: 8px 8px 6px #808080;*/
    background-color: #fff;
    border-right:  4px solid #00589E;
    padding: 10px;
    /*font-family: Verdana, Geneva, sans-serif;*/
    color: #99AE6B;

}
div.menu h3 {
	padding-top:0;
	color:#777;
}


/** Tablas **/
table {
/*	background: #fff;*/

/*	border-right:0;*/
        font-family: "Varela Round", Arial, Helvetica, sans-serif;
        font-size: 130%;
        padding: 6px;
        border-collapse: separate;
        border-radius: 5px;
        border: 2px #00589E solid;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
        background-color: #00589E;
        border-right: 1px solid #00589E;
        border-bottom: 1px solid #00589E;
        color: white;
        text-align: center;
        vertical-align: middle;
	padding:6px;
}
table tr th h3 {
        margin: 0px !important;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	contenido: ' ⇣';
}
th a.desc:after {
	contenido: ' ⇡';
}
table tr td {
/*	background: #fff;*/
	padding: 6px;
	text-align: center;
	vertical-align: middle;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
	background-color: #ccc;
}
/*table .altrow td {
	background: #f5f5f5;
}*/
td.actions {
	text-align: center;
	white-space: nowrap;
	text-align: center;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
	text-align: center;
}

/** Paging **/
div.paging {
	background:#fff;
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
div.paging span.disabled {
	color: #ddd;
	display: inline;
}
div.paging span.current {
	color: #c73e14;
}
div.paging span a {
}


/** Forms **/
form {
	clear: both; 
	margin-right: 0px;
	padding: 0px;
	width: 95%;
}
fieldset {
	border: 0px;
	margin-bottom: 1em;
	padding: 0px;

}
fieldset legend {
	color: #00589E;
	font-family: "Varela Round", Arial, Helvetica, sans-serif;
	font-size: 190%;
    margin: 0px 12px 15px 12px;
}
fieldset.menu legend {
	background:#8cee7c;
	color: #777;
	font-size: 100%;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 100%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 0;
	padding: 0px;
	vertical-align: text-top;
}
form .input {
	color: #444;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	contenido: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 0px;
	vertical-align: middle;
}
label {
	display: block;
	font-size: 100%;
	margin-bottom:3px;
}
input, textarea {
    margin: 5px;
	clear: both;
	font-size: 100%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
    padding: 3px;
    /*width: 70%;*/
}
select {
	clear: both;
	font-size: 100%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 110%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
/*input[type=checkbox] {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        border: 2px solid #00589E;
        -moz-border: 2px solid #00589E;
        -webkit-border: 2px solid #00589E;
        background-color: #CEECF5;
        width: 20px;
        height: 20px;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        margin: 0 15px;
}
div.checkbox label {
        font-family: "Varela Round", Arial, Helvetica, sans-serif;
        font-size: 14px;
	clear: left;
        float: left;
}*/
div.checkbox {
        width: 200px;
        margin: 15px 9px;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
        font-size: 16px;
        height: 33px;
	width: 110px;
        border: none;
        text-shadow: none;
        color: #fff;
        /*margin-left: 37%;*/
        margin-top: 6px;
        margin-bottom: 10px;
}
form .submit input[type=submit] {
        font-family: "Varela Round", Arial, Helvetica, sans-serif;
        font-size: 16px;
		background: #00589E;
        border: none;
        text-shadow: none;
        color: #fff;
/*	background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));
	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);*/
}
form .submit input[type=submit]:hover {
		background: #279AD0;
        border: 2px solid;
		border-bottom-color: #00589E;
        text-shadow: none;
        color: #00589E
/*	background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));*/
/*	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);*/
}

/** Noticaciones **/
div.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #c73e14;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #fff;
	font-weight: bold;
	background: #c73e14;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: rgba(255,0,0,1);
	color: white;
	display: block;
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 140%;
	/*padding: 0.8em;*/
	margin: 10px 0;
}
.error {
	background: red;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
        color: #fff;
}
.success {
	background: green;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
        color: #fff;
}

/**  Menu  **/
div.menu ul {
	margin: 0;
	padding: 0;
}
div.menu li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.menu ul li a {
        font-family: "Varela Round", Arial, Helvetica, sans-serif;
        font-size: 16px;
	background: #00589E;
        border: 2px solid;
        border-color: #8cee7c;
        text-shadow: none;
        color: #fff;
        font-weight: normal;
        margin: 0 auto;
	display: block;
        clear: both;
        height: 24px;
}
div.menu ul li a:hover {
        font-family: "Varela Round", Arial, Helvetica, sans-serif;
        font-size: 16px;
	background: #279AD0;
        border: 2px solid;
	border-color: #00589E;
        display: block;
        clear: both;
        height: 20px;
        text-shadow: none;
        color: #00589E;
        
}

input[type=submit],
div.menu ul li a,
td.menu a {
	font-weight:normal;
	padding: 4px 8px;
	background:#00589E;
/*	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);*/
	color:#fff;
	border: 0px;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	/*text-shadow: #fff 0px 1px 0px;*/
	min-width: 0;
}
input[type=submit]:hover,
div.menu ul li a:hover,
td.menu a:hover {
	background: #279AD0;
	/*background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));*/
}

.combo select {
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin: -4px 7px 0px 12px;
    vertical-align: middle;
    background: url("flecha.png");
    background-position: right;
    background-repeat: no-repeat;
    width: 85px;
    padding: 5px;
    border-radius: 5px;
    border: 2px #00589E solid;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    /*-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);*/
}

.combocereal select {
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin: -4px 7px 0px 12px;
    vertical-align: middle;
    background: url("flecha.png");
    background-position: right;
    background-repeat: no-repeat;
    width: 185px;
    padding: 5px;
    border-radius: 5px;
    border: 2px #00589E solid;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    /*-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);*/
}
.combocereal label {
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    width: 240px;
    /*margin-top: 5px;*/
    clear: left;
    float: left;
}

.combo label {
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    width: 240px;
    /*margin-top: 5px;*/
    clear: left;
    float: left;
}
.combo select:hover{
	background-color: #CEECF5;
}

.combo {
	margin: 0px 10px 3px 0px;
    padding: 10px;
    width: 384px;
    /*border: 1px solid;
    border-color: #00589E;
    border-radius: 5px;*/
   
}

.combocereal {
	margin: 0px 10px 3px 0px;
    padding: 10px;
    width: 484px;
    /*border: 1px solid;
    border-color: #00589E;
    border-radius: 5px;*/
    
}
.combo input[type=text]{
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    margin: -4px 7px 0px 12px;
    height: 29px;
    padding: 0px 10px 0px 10px;
    border-radius: 5px;
    border: 2px #00589E solid;
/*    float: left;
    clear: none;
    margin-top: 11px;
    margin-right: 5px;*/
    font-size: 14px;
}

.combo input[type=text]:hover {
	background-color: #CEECF5;
}

.combo img {
    float: right;
    width: 30px;
    height: 30px;
}

.inputtextform {
	float: left
}

.inputtextform label {
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    float: left;
    margin: 15px 0px 9px 9px;;
}

.inputtextform input[type=text]:hover {
	background-color: #CEECF5;
}

.inputtextform input[type=password]:hover {
	background-color: #CEECF5;
}

.inputtextform input {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: left;
    border: 2px solid;
    border-radius: 5px;
    border-color:  #00589E;
    height: 25px;
    background-color: white;
}
.combonew select {
	float: left;
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin: -4px 7px 0px 12px;
    vertical-align: middle;
    background: url("flecha.png");
    background-position: right;
    background-repeat: no-repeat;
    width: 170px;
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
    border: 2px #00589E solid;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    /*-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);*/
}

.combodes {
	float: left;
	font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin: -4px 7px 0px 12px;
    vertical-align: middle;
    background: url("flecha.png");
    background-position: right;
    background-repeat: no-repeat;
    width: 170px;
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
    border: 2px #00589E solid;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    /*-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);*/
}

.combonew select:hover{
	background-color: #CEECF5;
}

.combonew label {
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 14px;
	margin-top: 5px;
    float: left;
}
.combonew {
    margin: 0px 10px 3px 0px;
    padding: 10px;
    /*border: 1px solid;
    border-color: #00589E;
    border-radius: 5px;*/
}

.checkbox input[type=checkbox] {
	position:absolute;
	z-index: -1000;
	left: -1000px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

.checkbox input[type=checkbox] + label.checkbox-label {
	padding-left:35px;
	height:30px; 
	display:inline-block;
	line-height:30px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:14px;
	vertical-align:middle;
	cursor:pointer;
}

.checkbox input[type=checkbox]:checked + label.checkbox-label {
	background-position: 0 -30px;
}
label.checkbox-label {
    background-image: url(checkbox.png);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#footer a img {
    display: block;
    float: right;
    margin: 6px 5px 0px 0px;
    width: 13%;
    height: 13%;
    vertical-align: middle;
}

#footer p {
	font-size: 7pt;
    display: block;
    float: right;
    margin: 10px 5px 0px 0px;
    vertical-align: middle;
    height: 40px;
}

/*THUMBNAIL HOVERPOPUPS AYUDA*/

.thumbnail  {
	position: relative;
	/*float: left;*/
	padding: 5px;
	/*z-index: 0;*/
}

.thumbnail:hover {
	background-color: #fff;
	/*z-index: 50;*/
	color: #335500;
	text-decoration: none;
}

.thumbnail span { /*CSS for enlarged image*/
	position: absolute;
	background-color: #fff;
	padding: 5px;
	/*left: -1000px;*/
        border-radius: 5px;
	border: 2px #00589E solid;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

.thumbnail span img { /*CSS for enlarged image*/
	border-width: 0px; 
        width: 100%;
        height: 100%;
	/*padding: 2px;*/
}

.thumbnail:hover span { /*CSS for enlarged image on hover*/
        position:  fixed;
	visibility: visible; 
	width: 301px;
        height: 220px;
	top: 150px;  
	left: 900px;/*position where enlarged image should offset horizontally */
}
