* {
    margin: 0;
    padding: 0;
    font-size: 20px;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

.fiiiii {
    width: 408px; /*2550*/
    height: 528px; /*3300px*/
    background: orange;
}

header {
    width: 100%;
    background: #222222;
    padding: 10px;
    text-align: right;
    box-shadow: 1px 1px 10px gray;
}

header img {
    height: 50px;
}

main {
    width: 100%;
    height: 100%;
    position: relative;
}

main aside {
    height: 100%;
    background: #4c2b0a;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    padding: 10px 15px;
}

main aside nav {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main aside nav ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

main aside nav ul li {
    margin: 20px 0;
}

main aside nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: ease all 0.3s;
}

main aside nav ul li a i {
    font-size: 2em;
}

main aside nav ul li a:hover {
    text-shadow: 1px 1px 2px #000;
}

main article {
    width: 100%;
    height: 100%;
    padding: 20px 20px 20px 100px;
}

main article section {
    color: #333;
}

main article section #titulo {
    text-align: center;
    font-weight: 400;
    font-size: 1.5em;
}

main article section #btnGenerarPDF,
main article section #btnAddDireccion,
#btnEditAcotaciones {
    font-size: 0.8em;
    padding: 5px 10px;
    border: none;
    background: #e48511;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 7px 0 7px 0;
    transition: ease all 0.25s;
    cursor: pointer;
}

main article section #btnAddDireccion {
    float: right;
}

main article section #btnGenerarPDF:hover,
main article section #btnAddDireccion:hover,
#btnEditAcotaciones:hover {
    background: #fff;
    color: #e48511;
    border: 1px solid #e48511;
}

main article section div {
    margin: 20px 0;
}

main article section div.container_fecha {
    text-align: right;
}

main article section div.container_fecha p,
main article section div.container_fecha p strong {
    font-size: 0.9em;
}

main article section div.container_para p {
    font-size: 0.9em;
    padding: 2px 0;
}

main article section div.container_para p span {
    font-size: 0.9em;
    font-weight: 600;
}

main article section div.container_tabla {
    margin-top: 50px;
}

main article section div.container_tabla table {
    width: 100%;
    overflow: auto;
    border-collapse: collapse;
    border: 1px solid #e48511;
    table-layout: auto;
}

main article section div.container_tabla table caption {
    font-size: 1.1em;
    padding: 5px;
    color: #e48511;
    font-weight: 400;
}

main article section div.container_tabla table thead {
    background: #e48511;
    color: #fff;
}

main article section div.container_tabla table thead tr th {
    font-size: 0.8em;
    padding: 5px 10px;
}

main article section div.container_tabla table button {
    background: none;
 	border: none;
 	font-size: 0.9em;
	font-weight: bold;
	color: #2b2b2b;
	display: inline-block;
	cursor: pointer;
	text-align: center;
    vertical-align: middle;
}

main article section div.container_tabla table button img {
 	width: 20px;
 	vertical-align: middle;
}

main article section div.container_tabla table tbody tr {
    transition: ease all 0.25s;
    background: #fff;
    border: 1px solid #f2f2f2;
}

main article section div.container_tabla table tbody tr:hover {
    background: #f2f2f2;
}

main article section div.container_tabla table tbody tr td {
    font-size: 0.9em;
    padding: 5px 10px;
    border-right: 1px solid #e48511;
    transition: ease all 0.25s;
}

main article section div.container_tabla table tbody tr td:focus {
    background: #2b2b2b;
    color: #fff;
	transform: translateX(10%);
}

main article section div.container_tabla table tbody tr td:last-child {
    text-align: center;
    width: 130px;
}

main article section div.container_tabla table tbody tr td:nth-child(3) {
    text-align: center;
    width: 170px;
}

main article section div.container_tabla table tbody tr td:nth-child(4) {
    text-align: center;
    width: 115px;
}

main article section div.container_tabla table tfoot {
    border-top: 1px solid #e48511;
}

main article section div.container_tabla table tfoot tr:first-child:hover,
main article section div.container_tabla table tfoot tr:first-child td:focus {
    background: rgba(255, 120, 0, 0.5);
}

main article section div.container_tabla table tfoot tr:first-child {
    background: rgba(255, 120, 0, 0.1);
    transition: ease all 0.25s;
    border-bottom: 1px solid #e48511;
}

main article section div.container_tabla table tfoot tr:first-child td {
    font-size: 0.9em;
    padding: 5px 10px;
    border-right: 1px solid #e48511;
    transition: ease all 0.25s;
}

main article section div.container_tabla table tfoot tr:first-child td:focus {
    transform: translateX(10%);
}

main article section div.container_tabla table tbody tr td:first-child,
main article section div.container_tabla table tfoot tr:first-child td:first-child {
    text-align: center;
    width: 110px;
}

main article section div.container_tabla table tfoot tr:first-child td:nth-child(3) {
    text-align: right;
    width: 170px;
}

main article section div.container_tabla table tfoot tr:first-child td:last-child {
    text-align: center;
}

main article section div.container_tabla table tfoot tr:first-child td:last-child button {
    margin: 0 10px;
}

main article section div.container_tabla table tfoot tr th:nth-child(2), td {
    border-left: 1px solid #e48511;
}

main article section div.container_tabla table tfoot tr th {
    text-align: right;
    padding: 1px 10px;
}

main article section div.container_tabla table tfoot tr:first-child td:nth-child(2) {
    text-align: left;
}

main article section div.container_tabla table tfoot tr td {
    text-align: right;
    padding: 1px 10px;
}

main article section div.container_tabla table tfoot tr td.finales {
    max-width: 200px;
    border-right: 1px solid #e48511;
}

main article section div.container_final {
    margin-top: 50px;
}

main article section div.container_final p {
    font-size: 0.9em;
    margin: 7px 0;
}

main article section div.container_final p strong {
    font-size: 1em;
}

main article section div.container_final p.firma {
    text-align: center;
}

main article section div.container_final p:nth-child(3) {
    margin-bottom: 70px;
}

main article section div.container_final p.direccion {
    text-align: center;
    margin-top: 50px;
}

main article section div.container_final img {
    width: 50%;
    max-width: 500px;
    float: right;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 1px 1px 5px #e6e6e6;
}

#logo, #firma {
    display: none;
}

#result {
    height: 0px;
    max-height: 250px;
    text-align: left;
    overflow-y: auto;
    border-bottom: 1px solid #e48511;
}

#result ul {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
    color: #2b2b2b;
    list-style: none;
}

#result ul li {
    transition: ease all 0.25s;
    cursor: pointer;
}

#result ul li:hover {
    background: rgba(255, 120, 0, 0.1)
}

/* Estilos de la página files */
.archivosContent {
	width: 100%;
    padding: 20px 40px;
}

.archivosContent table {
	width: 100%;
	margin-top: 20px
}

.archivosContent table tr:not(:first-of-type) {
	transition: ease all 0.25s;
}

.archivosContent table tr td:focus {
	background: #2b2b2b;
	color: #fff;
	transform: translateX(10%);
}

.archivosContent table tr:hover {
	background: #E7E7E7;
}

.archivosContent table th {
	background: #e48511;
	padding: 5px 90px;
	font-family: 'Open sans', sans-serif;
	font-weight: 300;
	font-style: bold;
	color: #fff;
	font-size: 18px;
}

.archivosContent table td {
	padding: 5px 10px;
	transition: ease all 0.3s;
}

.tdCenter {
	text-align: center;
}

.archivosContent .lblFile {
	font-size: 14px;
	font-family: 'Open sans', sans-serif;
}

.archivosContent .btnToolsFile img {
    width: 25px;
    margin: 0 5px;
	vertical-align: middle;
	background: transparent;
}

.archivosContent a {
    text-decoration: none;
}

.archivosContent .btnToolsFile {
    background: none;
 	border: none;
	cursor: pointer;
}

.archivosContent .file_imagen {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.archivosContent .lblFile {
	font-size: 15px;
	font-family: 'Open sans', sans-serif;
	font-weight: bold;
	color: #2b2b2b;
	display: inline-block;
	transition: ease all 0.25s;
	cursor: pointer;
	width: fit-content;
	text-align: center;
	vertical-align: middle;
}

.archivosContent .lblFile img {
	width: 20px;
	margin-left: 10px;
	vertical-align: middle;
}

.archivosContent .elegir {
	width: 20px;
	margin-right: 10px;
}

.archivosContent form {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.archivosContent form #inputFile {
	cursor: pointer;
	font-family: 'Open sans';
	font-weight: 300;
    color: #2b2b2b;
	padding: 5px;
    margin-right: 10px;
    font-size: 16px;
}

.archivosContent form #btnSubir {
	cursor: pointer;
	font-family: 'Open sans';
	font-weight: 300;
	color: #2b2b2b;
	padding: 5px 20px;
	font-size: 16px;
	background: #fff;
	border: 1px solid #e48511;
	transition: ease all 0.25s;
	border-radius: 7px 0px 7px 0px;
}

.archivosContent form #btnSubir:hover {
	color: #fff;
	background: #e48511;
	border-radius: 0px 7px 0px 7px;
}

/* Estilos de las Alertas */
.alert {
    padding: 10px 20px;
    text-align: center;
    font-size: 18px;
    background-color: gray;
    border-radius: 7px 0 0 7px;
    position: fixed;
    z-index: 50;
    right: -150%;
    bottom: 40px;
    color: #fff;
    transition: ease all 0.5s;
}

.alert-true {
    background: green;
}

.alert-false {
    background: red;
}

.modal-direccion {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    display: none;
}

.modal-direccion .modal-backdrop {
    width: 90%;
    max-width: 400px;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.modal-direccion .modal-backdrop .modal-head {
    padding: 20px 0;
    position: relative;
}

.modal-direccion .modal-backdrop .modal-head .modal-title {
    color: #e48511;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
}

.modal-direccion .modal-backdrop .modal-body {
    padding: 20px 0;
}

.modal-direccion .modal-backdrop .modal-body textarea {
    width: 100%;
    height: 100px;
    max-width: 100%;
    min-width: 100%;
    max-height: 150px;
    min-height: 100px;
    border: none;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 120, 0, 0.5);
}

.modal-direccion .modal-backdrop .modal-footer {
    text-align: right;
    padding-bottom: 20px;
}

.modal-direccion .modal-backdrop .modal-footer .button-save,
.modal-direccion .modal-backdrop .modal-footer .button-cancelar {
    font-size: 0.8em;
    padding: 5px 10px;
    border: none;
    background: #e48511;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 7px 0 7px 0;
    transition: ease all 0.25s;
    cursor: pointer;
}

.modal-direccion .modal-backdrop .modal-footer .button-save:hover,
.modal-direccion .modal-backdrop .modal-footer .button-cancelar:hover {
    background: #fff;
    color: #e48511;
    border: 1px solid #e48511;
}

#btnCloseModalDireccion {
    position: absolute;
    right: 0;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #e48511;
}

.modal-acotaciones {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    display: none;
}

.modal-acotaciones .modal-backdrop {
    width: 90%;
    max-width: 400px;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.modal-acotaciones .modal-backdrop .modal-head {
    padding: 20px 0;
    position: relative;
}

.modal-acotaciones .modal-backdrop .modal-head .modal-title {
    color: #e48511;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
}

.modal-acotaciones .modal-backdrop .modal-body {
    padding: 20px 0;
}

.modal-acotaciones .modal-backdrop .modal-body textarea {
    width: 100%;
    border: none;
    height: 100px;
    max-width: 100%;
    min-width: 100%;
    font-size: 16px;
    margin-top: 10px;
    padding: 5px 10px;
    max-height: 150px;
    min-height: 100px;
    color: rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(255, 120, 0, 0.5);
}

.modal-acotaciones .modal-backdrop .modal-body label {
    width: 100%;
    font-size: 16px;
}

.modal-acotaciones .modal-backdrop .modal-body input {
    width: 95%;
    border: none;
    font-size: 16px;
    padding: 5px 10px;
    margin: 10px auto 20px auto;
    color: rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.modal-acotaciones .modal-backdrop .modal-footer {
    text-align: right;
    padding-bottom: 20px;
}

.modal-acotaciones .modal-backdrop .modal-footer .button-save,
.modal-acotaciones .modal-backdrop .modal-footer .button-cancelar {
    font-size: 0.8em;
    padding: 5px 10px;
    border: none;
    background: #e48511;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 7px 0 7px 0;
    transition: ease all 0.25s;
    cursor: pointer;
}

.modal-acotaciones .modal-backdrop .modal-footer .button-save:hover,
.modal-acotaciones .modal-backdrop .modal-footer .button-cancelar:hover {
    background: #fff;
    color: #e48511;
    border: 1px solid #e48511;
}

#btnCloseModalAcotaciones {
    position: absolute;
    right: 0;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #e48511;
}

.buttons-container-final {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
}