body {
	font-family: 'Roboto', sans-serif;
}
.disabled a,
a.disabled {
	pointer-events: none;
}

a:hover {
	color: #000;
}

a {
	color: #777;
}

ul {overflow:hidden}
ul li{ list-style-type: none}

header {
	background-color: #D33C44;
	color: #ffffff;
	font-size: 30px;
	height: 84px;
	line-height: 64px;
	padding: 16px 0px;
	box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
}

header .header-title {
	padding-left:80px
}


p.head{padding-top:0.5rem}
.presupuestos h2,
.presupuestos h3{font-size:1.2rem; font-weight:bold; text-transform: uppercase} 
.archivos h3{font-size:1.2rem; font-weight:bold; text-transform: none} 

.empresa {border: solid 1px #CCCCCC;
overflow:auto; padding:10px; width:100%}
.empresa ul {margin-bottom:0}
div.row.cuerpo {margin-top:1rem; padding-left:1rem}
hr {border-color:#000; margin-bottom:2rem; margin-top:1rem}

form label {font-weight:bold}

legend {
	color:#404041;
}

.actions.columns {
	margin-top:1rem;
	border-left: 5px solid #404041;
	padding-left: 15px;
	padding: 32px 20px;
}

.actions.columns h3 {
	color:#404041;
}

.related table {
	border: 0;
	width: 100%;
	table-layout: fixed;
}

.index table thead {
	height: 3.5rem;
}

.header-help {
	float: right;
	margin-right:2rem;
	margin-top: -80px;
	font-size:16px;
}

.header-help span {
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	display: inline-block;
	padding: 0.25rem 0.5rem 0.375rem;
	font-size: 0.8rem;
	background-color: #0097a7;
	color: #FFF;
	border-radius: 1000px;
}

.header-help a {
	color: #fff;
}

ul.pagination li a {
	color: rgba(0, 0 ,0 , 0.54);
}

ul.pagination li.active a {
	background-color: #DCE47E;
	color: #FFF;
	font-weight: bold;
	cursor: default;
}
ul.pagination .disabled:hover a {
	background: none;
}

.paginator {
	text-align: center;
}

.paginator ul.pagination li {
	float: none;
	display: inline-block;
}

.paginator p {
	text-align: right;
	color: rgba(0, 0 ,0 , 0.54);
}

.asc:after {
	content: " \2193";
}
.desc:after {
	content: " \2191";
}

.form .error-message {
	display: block;
	padding: 0.375rem 0.5625rem 0.5625rem;
	margin-top: -1px;
	margin-bottom: 1rem;
	font-size: 0.75rem;
	font-weight: normal;
	font-style: italic;
	color: rgba(0, 0, 0, 0.54);
}

.required > label {
	font-weight: bold;
}
.required > label:after {
	content: ' *';
	color: #C3232D;
}

select[multiple] {
	min-height:150px;
	background: none;
}
input[type=checkbox],
input[type=radio] {
	margin-right: 0.5em;
}

.date select,
.time select,
.datetime select {
	display: inline;
	width: auto;
	margin-right: 10px;
}

.error label,
.error label.error {
	color: #C3232D;
}

.view h2 {
	color: #6F6F6F;
}

.view .columns.strings {
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
	margin-right:0.7rem;
}

.view .numbers {
	background-color: #B7E3EC;
	color: #FFF;
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
	margin-right: 0.7rem;
}

.view .columns.dates {
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
	margin-right:0.7rem;
	background-color:#DCE47E;
	color: #fff;
}

.view .columns.booleans {
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
	margin-right:0.7rem;
	background-color: #8D6E65;
	color: #fff;
}

.view .strings p {
	border-bottom: 1px solid #eee;
}
.view .numbers .subheader, .view .dates .subheader {
	color:#747474;
}
.view .booleans .subheader {
	color: #E9E9E9
}

.view .texts .columns {
	margin-top:1.2rem;
	border-bottom: 1px solid #eee;
}

/** Notices and Errors **/
.cake-error,
.cake-debug,
.notice,
p.error,
p.notice {
	display: block;
	clear: both;
	background-repeat: repeat-x;
	margin-bottom: 18px;
	padding: 7px 14px;
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}

.cake-debug,
.notice,
p.notice {
	color: #000000;
	background: #ffcc00;
}

.cake-error,
p.error {
	color: #fff;
	background: #C3232D;
}

pre {
	background: none repeat scroll 0% 0% #FFF;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
	margin: 15px 0px;
	color: rgba(0, 0 ,0 , 0.74);
	padding:5px;
}

.cake-error .cake-stack-trace {
	margin-top:10px;
}

.cake-stack-trace code {
	background: inherit;
	border:0;
}

.cake-code-dump .code-highlight {
	display: block;
	background-color: #FFC600;
}

.cake-error a,
.cake-error a:hover {
	color:#fff;
	text-decoration: underline;
}

.checks {
	padding:30px;
	color: #626262;
	background-color: #B7E3EC;
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
	margin-bottom: 2em;
}

.checks h4 {
	margin-bottom: 1.5rem;
}

.checks hr {
	border: 0;
	height: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.checks .success,
.checks .problem {
	margin-left: 10px;
}
.checks .success:before,
.checks .problem:before {
	line-height: 0px;
	font-size: 28px;
	height: 12px;
	width: 12px;
	border-radius: 15px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	position: relative;
	left: -11px;
}

.checks .success:before {
	content: "✓";
	color: green;
	margin-right: 9px;
}

.checks .problem:before {
	content: "✘";
	color: red;
	margin-right: 9px;
}


ul.side-nav{padding:0}

ul.side-nav li {
	text-transform:initial; border: solid 1px #ddd; border-width: 0 0 0 1px;
display: inline-block}

ul.side-nav li a:not(.button){color:#000; font-size:1em}

nav li a:not(.button) {
	color: #777;
}

nav li a:not(.button):hover {
	color: #404041;
}

nav li.heading>a {
	color: #ff7e2e;
	font-size: 0.875rem;
	font-weight: bold;
	text-transform: uppercase;
	padding-right:0.875rem;
	border:0
}

nav li ul a {display:block}

.index table {
	margin-top: 0rem;
	border: 0;
	width: 100%;
	table-layout: fixed;
}

table {
	background: #fff;
	margin-bottom: 1.25rem;
	border: none;
	table-layout: fixed;
	width: 100%;
}

table thead {
	background: none;
}

table thead tr {
	border-bottom: 1px solid #ff7e2e;
}

table tr th {
	padding: 0.5625rem 0.625rem;
	font-size: 0.875rem;
	color: #000;
	text-align: left;
	border-bottom: 1px solid #000;
}

table tr:nth-of-type(even) {
	background: none;
}

table tfoot {
	background: #F5F5F5;
	border: solid 1px #000;
	background-color: #ccc;
}
fieldset {
	border: none;
	padding: 1.25rem;
	margin: 1.125rem 0;
}

fieldset legend {
	border-bottom: 2px solid #ff7e2e;
	width: 100%;
	line-height: 2rem;
}

fieldset fieldset {
	border: solid 1px #ccc;
	border-radius: 25px;
}

.form button[type="submit"] {
	float: right;
	text-transform: uppercase;
	box-shadow: none;
	padding:0.8rem 2rem;
	color:#fff;
	background-color: #000;
}

.form button:hover, .form button:focus {
	background: #575757;
	box-shadow: none;
}

button {
	background: #000000;
}

div.message {
	text-align: center;
	cursor: pointer;
	display: block;
	font-weight: normal;
	padding: 0 1.5rem 0 1.5rem;
	transition: height 300ms ease-out 0s;
	background-color: #808080;
	color: #626262;
	top: 15px;
	right: 15px;
	z-index: 999;
	overflow: hidden;
	height: 50px;
	line-height: 2.5em;
	box-radius: 5px;
}
div.message a { color:#fff}

.top-bar .name {
	color:#FFF;
	padding-left: 1em;
	font-size: 1.0625rem;
	margin: 0;
	padding-top:7px;	
}

li.novedades  a {
	display:inline}

.no-js .top-bar {
	display: none;
}

@media screen and (min-width: 40em) {
	.no-js .top-bar {
		display: block;
	}

	.no-js .title-bar {
		display: none;
	}
}

.top-bar-left { padding: 20px 0 0 8px}

.cy-novedades div.message{
	background-color: #ef7b35;
	text-align: left;
	color: #FFF;
	font-size:1.2em;
	line-height:2em;
	font-weight:bold;
}
li.novedades .cy-novedades div.message a {
color:#000; background-color: #ef7b35!important}
.cy-promociones div.message {height:auto}
.cy-promociones div.message a {display:inline-block; color:#FFFFFF; background-color:#333333}
.cy-promociones h2 {font-size: 1.5em;
	line-height: 1em;
	color: #808080;
}
h4.promo {
	margin: 0 15px 0 0;
	background-color: #333;
	padding: 0.5em;
	text-align: center;
	border-bottom: solid 1px #ddd;
	color: #fff;
}
div.message:before {
	line-height: 0px;
	font-size: 20px;
	height: 12px;
	width: 12px;
	border-radius: 15px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	position: relative;
	left: -11px;
	background-color: #FFF;
	padding: 12px 14px 12px 10px;
	content: "i";
	color: #a0d3e8;
}

div.message.error {
	background-color: #C3232D;
	color: #FFF;
}

div.message.error:before {
	padding: 11px 16px 14px 7px;
	color: #C3232D;
	content: "x";
}

input.form-error {
	border-color: red;
	color: black;
	font-weight: bold;
	background-color: #ff9494;
}

div.message.hidden {
	height: 0;
}


.vertical-table th {
	padding: 0.5625rem 0.625rem;
	font-size: 0.875rem;
	color: #ff7e2e;
	border: none;
	text-align: left;
}

.vertical-table {
	vertical-align: middle;
}

.vertical-table td {
	text-align: right;
}

.content {
	padding: 1rem;
}

#actions-sidebar{height:100%;}

#actions-sidebar ul li:first{width: 80%}

/* Use 'one true layout' methods to get equal height columns */
.container {
	min-height: 92%; /* full height almost always */
}

@media(max-width: 640px) {
	#actions-sidebar {
		padding-bottom: 2rem;
		margin-bottom: 0;
	}
}

.content h3 {
	color: #EF7B35;
	padding-bottom: 0.5rem;
	margin-bottom: 20px;
	clear:both;
}

.content h4 {
	color: #000;
	font-size: 1em;
	padding-bottom: 0.5rem;
	margin-bottom: 20px;
	margin-top:1.5rem;
	border-bottom: 2px solid #000;
}

.content.adicionales h4 {font-weight:bold}
.content.adicionales .acc {margin-bottom:1.2em; overflow:auto; clear:both}
.content.adicionales span {font-weight:normal; padding-left:2em}

fieldset fieldset legend {
	margin-top:3em;
	font-size:1.1em
}

.content .related h4 {
	color: #4d8f97;
	padding-bottom: 0.5rem;
	margin-top: 20px;
	margin-bottom: 10px;
	border-bottom: 0px;
}

table td {
	vertical-align: top;
	word-break: break-all;
}

th.last, td.last {text-align: right}


.index tbody tr:nth-child(odd) {
	background-color: #fafafa;
}



.presupuestos table th:nth-child(2), 
.presupuestos table td:nth-child(2) {
	text-align:right; 
}
.presupuestos.index {overflow-x: auto}
.presupuestos.index table th:nth-child(2), 
.presupuestos.index table td:nth-child(2) {
	text-align:left; 
}


.presupuestos table th:nth-child(3), 
.presupuestos table td:nth-child(3) {
	text-align: center;
}

.presupuestos input[type="text"][readonly] {
	background-color:#FFF; border:0; display:inline;
	width:60px;
}

.auto {position:relative;}
.auto .clear {
	position: absolute;
	right: 0.9em;
	top: 1.4em;
	font-size: 1.2em;
}

.ui-widget-content li div span {font-size:0.8em; display:block}

.presupuestos dt {
	margin-bottom: 0.3rem;
	font-weight: normal;
	float: left;
	margin-right: 8px;
}

.presupuestos dd {font-weight:bold}

.menuadmin{padding:0; margin:0}

table .actions { white-space:nowrap}
table .actions i{font-size:1.4em; padding-right:10px}
table .s {width:60px;}
table .f {width:122px;}
table caption {text-align:left}
.condiciones table{margin-bottom: 3em; border: solid 1px #cccccc; max-width:1024px; clear:both;}
.condiciones table td {border:solid 1px #cccccc}
#head {
	overflow: auto;
	display: block;
	width: 90%;
	max-width:1024px;
	background: url('/img/logo.png') no-repeat;
	padding-top: 56px;
}

#head h1 {border-bottom: solid 1px #f7af3c;
text-align:right; font-size:16px}
hr {border-bottom: solid 1px #f7af3c; color:#f7af3c; height:0}

.novedades .n h3 {padding-top:2em}
.novedades .n h3 .t {text-transform: capitalize} 

div.formtecnica p {clear:both; position:relative;}

@media screen and (max-width:39.9375em) {
	.presupuestos table th:nth-child(3), .presupuestos table td:nth-child(3) {text-align:left} 
}

.ordenest td {word-break:keep-all; overflow:hidden}

#attachs{position:relative; overflow:auto; clear:both}
#attachs .i {position:relative; float: left;
	max-width: 45%;
	margin: 2%;
}
#attachs .i .elim {position:absolute; right:0; top:0; background-color: #FFF; padding:4px; font-size:1em; margin:4px}

p.firma img {background:#FFFFFF}

table.ordenest { font-size:0.75rem!important; width:100%!important}
table.ordenest thead tr td{
	position: relative; padding:0;
}

table.ordenest tbody td, 
table.ordenest thead th {padding:0; font-size:0.75rem!important}
table.ordenest tbody tr {cursor: pointer}
table.ordenest .fa.fa-eye {font-size:1rem}

.ordenes fieldset {margin:0; padding:0}
.newdom.row {border:solid 1px #ccc; padding:1em}


.ordenest td {white-space: nowrap;
	text-overflow: ellipsis;
word-break: break-all;}

table.dataTable.ordenest.compact thead td .chosen-choices,
table.dataTable.ordenest.compact thead td .fdatepicker,
table.dataTable.ordenest.compact thead td select{font-size:0.7rem; margin:0; padding:0}
table.dataTable.ordenest.compact thead td
[type="text"] {   margin:0; padding:0; width:50%; 
float:left}
table.dataTable.ordenest #responsable,
table.dataTable.ordenest #tecnico {width:50%; height:inherit}
table.dataTable.ordenest.compact thead td {margin:0; padding:0}

table.dataTable.ordenest.compact thead td input.full {width:100%!important}

table.ordenest tbody tr.selected {
	color: white;
	background-color: #eeeeee;  /* Not working */
}


.contratos [type="email"], 
.contratos [type="month"], 
.contratos [type="number"],
.contratos [type="tel"], 
.contratos select,
.contratos [type="text"] {
	border-width: 0 0 1px 0;
	box-shadow: none;
	border-style:  dashed;
	border-color: #000;
}

.contratos .gris [type="email"], 
.contratos .gris [type="month"], 
.contratos .gris [type="number"],
.contratos .gris[type="tel"], 
.contratos .gris select,
.contratos .gris [type="text"] {
	background-color:#eaeaea;
}

.contratos fieldset.gris {
	background-color:#eaeaea; border-top:solid 1px #000
}
.contratos .gris .input-group-label { background:#eaeaea;}

.contratos h4 {border:0; margin:0; font-weight:bold}
.contratos .input-group-label { background:#fff;text-align:right; padding:0; border:0}

.contratos .radio label {display:inline}
.contratos .radio .input-group-label {padding-right:1em}

.presupuestos .align-middle{line-height:140px}

.contratos.view 
table tbody tr:nth-child(2n) {
	border-bottom: 0;
	background-color: #fff;
}


.adjuntos a:before{
	margin: 0 5px 0 10px;
	background-size:16px 16px; width:16px;height:16px;
}

.adjuntos	a[href$=".pdf"]:before {
	content:url(/img/pdf-icon.png);
}
.adjuntos	a[href$=".jpeg"]:before,
.adjuntos	a[href$=".jpg"]:before,
.adjuntos	a[href$=".gif"]:before,
.adjuntos	a[href$=".png"]:before
{
	content:url(/img/img-icon.jpg);
}

#map {
	height: 480px;
}

#infowindow-content .title {
	font-weight: bold;
}

#infowindow-content {
	display: none;
}

#map #infowindow-content {
	display: inline;
}

.pac-card {
	margin: 10px 10px 0 0;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	background-color: #fff;
	font-family: Roboto;
}

#pac-container {
	padding-bottom: 12px;
	margin-right: 12px;
}

.pac-controls {
	display: inline-block;
	padding: 5px 11px;
}

.pac-controls label {
	font-family: Roboto;
	font-size: 13px;
	font-weight: 300;
}

#pac-input {
	background-color: #fff;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	margin-left: 12px;
	padding: 0 11px 0 13px;
	text-overflow: ellipsis;
	width: 400px;
}

#pac-input:focus {
	border-color: #4d90fe;
}

#loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-size: 128px 128px!important;
	background: url(/img/loader.gif) center no-repeat #fff;
}

ul.notificados > li >span {
	font-weight: bold;
	float: left;
	margin-right: 10px;
	width: 128px;
}
ul.notificados > li {
}

#nomod {width:100%}
#nomod ul li li label {
	font-weight: normal
}
#nomod ul li li {
	float: left;
	width: 25%;
	white-space:nowrap;
}


#nomod input[type="checkbox"] {margin:0!important}
#map {height:240px}

.event  { 
	background-color: rgba(255, 127, 47, 0.7);
	border-color: rgb(129, 205, 242);
	color: #444;
	border-radius: 5px;
	margin: 2px;
	line-height: 1.2em;
	padding: 4px;
}
.event span {font-size:0.8em}
table.calendar tr th, table.calendar tbody tr td {border:solid 1px #ccc!important; background:#fff }
table.calendar tr th {border: solid 1px #000!important; text-align: center }


.empresas table td {font-weight:normal}

.checkbox {
  display: inline-block;
  width: 25%;
}
