

.field-with-errors, .errorlist {
    text-align: left;
    color: #ff7777;
}

.required label, .required legend {
    font-weight: bold;
}

.loteinfo{
    font-size: 0.8em;
    display:inline;
}

.listkey {
    font-weight: bold;
}

.listvalue {
    color: yellow;
}

.boton-movil {
    text-align: left;
}

span.datakey {
    color: white;
}
span.datavalue {
    color: white;
    font-weight: bold;
}

div.workdatacontainer {
 -webkit-columns: 2 300px;
     -moz-columns: 2 300px;
          columns: 2 300px;
}

div.workdatacontainer div.dataline {
    line-height: 1.6em;
}


div.workdatacontainer span.datavalue {
    color: white;
    font-weight: bold;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius:10px 10px 10px 10px;
    padding: 3px 10px;
}

span.datacolor {
    color: white;
    font-weight: bold;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius:10px 10px 10px 10px;
    padding: 0px 10px;
}

span.dataunit {
    color: #bbbbbb;
    }
span.datavalue .datalink {
    color: white!important;
}
div.grouptitle {
    color: yellow;
    font-weight: bold;
    margin-top:1em;
}

.iconlink {
    text-decoration: none !important;
}

.dataline .iconlink .imglink {
    vertical-align: middle !important;
}
div.map-popup{
    text-shadow: none;
}
div.map-popup span.datakey {
    color: black;
}
div.map-popup span.datavalue {
    color: black;
    font-weight: bold;
}
div.map-popup .datavalue .datalink {
    color: black!important;
}
div.map-popup span.dataunit {
    color: #bbbbbb;
}
div.map-popup div.grouptitle {
    color: #0000aa;
    font-weight: bold;
    margin-top:1em;
}

div.map-title {
    color: white;
    font-weight: bold;    
    text-align: center;
    background-color: black;
}

div.map-title a, div.map-title a:visited {
    color: white!important;
}

#headertext {
    font-size: 12px;
    color: #eee;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius:5px 5px 5px 5px;
    z-index:1000;
    background-color:#444;
    white-space: nowrap;
    padding: 3px;
}

#headerstatus.connected {
	background: url(images/connected.png);
	background-size: 16px 16px;
}
#headerstatus.connecting {
	background: url(images/connecting.gif);
	background-size: 16px 16px;
}
#headerstatus.authenticating {
	background: url(images/authenticating.png);
	background-size: 16px 16px;
}

#hour-histo-table, #unimap-movil-histo th, #work-histo-table, 
    #unimap-work-histo th, #unimap-preaplicaciones-info th, #unimap-presiembra-info th{
    font-size: 12px;    
    text-align: center;
}

#hour-histo-table, #unimap-meteostation-histo th, .generic-table, .generic-table th {
    font-size: 12px;    
    text-align: center;
}

#unimap-meteostation-histo td, .generic-table td {
    text-align: center;
    vertical-align:middle;
}

#unimap-movil-histo td, #unimap-work-histo td, 
    #unimap-preaplicaciones-info td, #unimap-presiembra-info td {
    text-align: center;
    vertical-align:middle;
}

#unimap-preaplicaciones th {
    font-size: 12px;    
    text-align: center;
}

#unimap-preaplicaciones td {
    text-align: center;
    vertical-align:middle;
}

#unimap-preaplicaciones .ui-select {
    margin: auto auto !important;
}

#unimap-presiembra th {
    font-size: 12px;    
    text-align: center;
}

#unimap-presiembra td {
    text-align: center;
    vertical-align:middle;
}

th .unit {
    font-size: 10px;    
    color: gray;
}

.ui-fullsize .ui-btn-inner, .ui-fullsize .ui-btn-inner {
    font-size: 0.8em;
    padding: 0.6em 20px;
}

#realtime .message {
    text-align: center;
    font-size: 20px;
    color: #bbbbbb;
    line-height: 5em;
}

#map_canvas {
    padding: 0;
}

.ui-body-a a.table-link, .ui-body-a a.table-link:visited {
    color: #ffffff;
    text-decoration: none;
}
a.ui-link, a.ui-link:visited {
    color: #ffffff;
}


#movilalert {
 	background: url(images/warning.png);
    background-size: 16px 16px;
    padding-left: 20px;
    background-repeat: no-repeat;
    display:none;
}

.toolbutton {
    padding-top:0 !important;
    margin-top:0 !important;
}
    
#base-sidepanel .ui-panel-inner {
    padding:0;
}

.realt_hist_container {
    font-size: 13px;
    display: inline;
    border-bottom-style: none;
}

.realt_hist_container label {
    width: 18% !important;
    display: inline-block;
    vertical-align: middle;
}

.realt_hist_container .ui-select{
    max-width: 80% !important;
    width: 80%;
    display: inline-block;
    vertical-align: middle;
}

.sidepanel_data, .sidepanel_data label {
    font-size: 13px;
}

@media (max-width:465px){
    #headerlogo {
        display: none;
    }
}

@media ( min-width: 45em ) {

	/* wrap on wide viewports once open */
	.ui-panel-page-content-open.ui-panel-page-content-position-left {
		margin-right: 17em;
	}
	.ui-panel-page-content-open.ui-panel-page-content-position-right {
		margin-left: 17em;
	}
	.ui-panel-page-content-open {
		width: auto;
	}

	/* disable "dismiss" on wide viewports */
	.ui-panel-dismiss {
		display: none;
	}

	/* same as the above but for panels with display mode "push" only */
	.ui-panel-page-content-open.ui-panel-page-content-position-left.ui-panel-page-content-display-push {
		margin-right: 17em;
	}
	.ui-panel-page-content-open.ui-panel-page-content-position-right.ui-panel-page-content-display-push {
		margin-left: 17em;
	}
	.ui-panel-page-content-open.ui-panel-page-content-display-push {
		width: auto;
	}

	.ui-panel-dismiss-display-push {
		display: none;
	}
}

.panel_inline {
    display:inline-block;
    vertical-align: middle;
}
.panel_margin {
    margin-left: 3.2rem;
}
.panel_loading {
    display:inline-block;
    vertical-align: middle;
    padding-top: 10px;
    padding-left: 8px;
    color: #bbbbbb;
}

.sp-dark {
    border: solid 1px #999 !important;
}
.sp-dark.sp-replacer {
    padding: 1px;
}

.sp-dd {
    display: none;
}

.sp-preview {
    width: 14px !important;
    margin: 0px !important;
}

.ui-popup {
    margin: auto auto !important
}

#popupText {
    padding: 0.5em;
    margin: 1em;
}
#popupText .popupNote {
    font-size: 0.7em;
}

.ui-btn a, .ui-btn a:visited {
    color: #ffffff!important;
    text-decoration: none!important;
}

.separator {
 	background: url(images/icons-png/carat-r-white.png);
    background-repeat: no-repeat;
    background-position: left center;    
    margin-left: -5px;
    clear: both;
    width: 85%;
    background-color:  #111;
    padding-left: 22px;
    padding-top: 5px;
    padding-bottom: 5px;
    
    font-size: 12.5px;
    font-weight: normal;
    
   -moz-border-radius-topright:10px;
   -moz-border-radius-bottomright:10px;
    -webkit-border-top-right-radius:10px;
    -webkit-border-bottom-right-radius:10px;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
}

.ui-icon-fullscreen:after {
    background: url("images/fullscreen-white.png") no-repeat rgba(0, 0, 0, 0.4) !important;
    background-position: center center !important;
}

.ui-icon-polysup:after {
    background: url("images/polysup-white.png") no-repeat rgba(0, 0, 0, 0.4) !important;
    background-position: center center !important;
}

.ui-icon-polynosup:after {
    background: url("images/polynosup-white.png") no-repeat rgba(0, 0, 0, 0.4) !important;
    background-position: center center !important;
}

.ui-icon-view:after {
    background: url("images/view-white.png") no-repeat rgba(0, 0, 0, 0.4) !important;
    background-position: center center !important;
}

.ui-icon-follow:after {
    background: url("images/follow-white.png") no-repeat rgba(0, 0, 0, 0.4) !important;
    background-position: center center !important;
}



.geopos-button {
    background: url("images/geopos.png") no-repeat;
    background-position: center center;
    background-size: 16px 16px;
    height: 25px;
    width: 20px;
}
.polygon-button {
    background: url("images/polygon.png") no-repeat;
    background-position: center center;
    background-size: 16px 16px;
    height: 25px;
    width: 20px;
}

.inlineIcon {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: auto !important;
    padding: 0 !important;
}


.datetime-date {
    display: inline-block;
    width: 60%;
}

.datetime-time {
    display: inline-block;
    width: 35%;
}

.not-selectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.histo_grad_select {
    text-align: center;
    padding: 0.446em !important;
}
.histo_grad_image {
    padding-top: 1em;
}
.histo_grad_button {
    margin-top: 1em !important;
    width: 100% !important;
}

#maphisto-popup {
    width:300px;
    position:fixed;
    z-index:1000;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);   
    background-color:#222; 
    border-radius: .6em;
    display:none;
}
#maphisto-popup span {
    margin: 10px;
    display: block;
}

#maphisto-popup .ui-title {
    margin: 0 auto;
    width: 95%;
    text-align: center
}

#popupBasic-popup .ui-title {
    margin: 0 auto;
    width: 95%;
    text-align: center
}

.maphisto-popup-screen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 1px;
    position: absolute;
    filter: Alpha(Opacity=0);
    opacity: 0.5;
    z-index: 1000;
    display:none;
}

.ui-collapsible-content {
    padding: .5em 0.6em;
}

.realt_histo_length {
    font-weight: bold;
}

@media (max-width:700px) {
    .popup-indicador-help {
        max-width: 90%;
    }
}

@media (min-width:700px) {
    .popup-indicador-help {
        max-width: 50%;
    }
}

.popup-indicador-help #popupText {
    padding: 0.3em;
    margin: 0.6em;
}

#contrato-texto {
    text-align: justify;
    width: 100%;
    height: 250px
}

#contrato-texto textarea {
    width: 100%;
    height: 220px;
    background-color: transparent;
    color: #fff;
    resize: none;

    padding: 5px;
    border-style: inset;
    border-width: 1px;
    border-radius: 3px;
}

#contrato-form {
    display: table;  
    table-layout: fixed;
    width: 90%;
    margin: 0 auto;
}

#contrato-form p {
    display: table-row;
    margin: auto auto;
}

#contrato-form label {
    display: table-cell;
    margin-top: 8px;
    text-align: left;
    max-width: 30%;
    width: 30%;
    padding-left: 10%
}

#contrato-form input[type=text] {
    display: table-cell;
    margin-top: 8px;
    margin-right: auto;
    max-width: 80%;
    width: 80%;    
    height: 1.5em;
    
    border-style: inset;
    border-width: 1px;
    border-radius: 6px;
}

#contrato-form #accept-label {
    align-self: center !important;
    padding-left: 0% !important;
}

#contrato-form input[type=checkbox] {
    margin-top: 8px;
    margin-left: 50%;
}

.contrato-button {
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
    width: 12em;
    height: 2em;

    border-style: inset;
    border-width: 1px;
    border-radius: 6px;
}

.contrato-button:hover{
    background-color: #fff;
    opacity: 0.6
}

#contrato-errors {
    color: yellow;
    text-align: center;
    margin: 5px auto;
}

@media (max-width:700px) {
    #popupBasic-popup {
        max-width: 95% !important;
    }
}

@media (min-width:700px) {
    #popupBasic-popup {
        max-width: 70% !important;
    }
}

.contratoSubmit-container {
    width: 100%; 
    text-align: center;
}

.speed_animation_select {
    text-align: center;
    padding: 0.446em !important;
}

#preaplicacion-form {
    max-width: 95%;
    margin: auto auto;
    text-align: left !important;
}

#preaplicacion-form .ui-field-contain {
    width: 100%;
    margin: 0.5em auto;
}

#preaplicacion-form .ui-state-disabled {
    opacity: 0.75;
}

#preaplicacion-form .ui-field-contain .ui-input-text {
    width: 60% 
}

#preaplicacion-form .ui-field-contain .ui-select {
    width: 60% !important
}

#preaplicacion-form .ui-field-contain > label {
    width: 30% !important
}

#presiembra-form {
    max-width: 95%;
    margin: auto auto;
    text-align: left !important;
}

#presiembra-form .ui-field-contain {
    width: 100%;
    margin: 0.5em auto;
}

#presiembra-form .ui-state-disabled {
    opacity: 0.75;
}

#presiembra-form .ui-field-contain .ui-input-text {
    width: 50% 
}

#presiembra-form .ui-field-contain .ui-select {
    width: 60% !important
}

#presiembra-form .ui-field-contain .ui-checkbox {
    width: 25% !important;
}

#presiembra-form .ui-field-contain > label {
    width: 30% !important
}

#preaplicacion-form-buttons, #presiembra-form-buttons {
    width: 50%;
    margin: 5px auto;
}

#new-preaplicaciones-button {
    font-size: 18px;
}

#new-presiembra-button {
    font-size: 18px;
}

.preaplicacion-form-required::after, .presiembra-form-required::after {
    content: '*';  
}

#unimap-preaplicaciones-info .ui-panel-wrapper {
    min-height: 0%
}

#unimap-presiembra-info .ui-panel-wrapper {
    min-height: 0%
}

.form-container {
    -webkit-columns: 2 300px;
    -moz-columns: 2 300px;
    columns: 2 300px;
}

.twocolumns-form {
    margin: 0;
}

.formfield {
    display: inline-block;
    width: 100%;
}

.ui-field-contain fieldset {
    width: 60% !important;
}

/* preset breakpoint to switch to stacked grid styles below 35em (560px) */
@media (max-width: 35em) {
	.table-responsive > .ui-block-a,
	.table-responsive > .ui-block-b,
	.table-responsive > .ui-block-c,
	.table-responsive > .ui-block-d,
	.table-responsive > .ui-block-e {
		width: 100%; 
		float: none; 
	}
}

/* Preset breakpoints if ".table-responsive" class added to table */
/* Show priority 1 at 320px (20em x 16px) */
@media screen and (min-width: 20em) {
	.ui-table-columntoggle.table-responsive th.ui-table-priority-1,
	.ui-table-columntoggle.table-responsive td.ui-table-priority-1 {
		display: table-cell;
	}
}
/* Show priority 2 at 480px (30em x 16px) */
@media screen and (min-width: 30em) {
	.ui-table-columntoggle.table-responsive th.ui-table-priority-2,
	.ui-table-columntoggle.table-responsive td.ui-table-priority-2 {
		display: table-cell;
	}
}
/* Show priority 3 at 640px (40em x 16px) */
@media screen and (min-width: 40em) {
	.ui-table-columntoggle.table-responsive th.ui-table-priority-3,
	.ui-table-columntoggle.table-responsive td.ui-table-priority-3 {
		display: table-cell;
	}
}
/* Show priority 4 at 800px (50em x 16px) */
@media screen and (min-width: 50em) {
	.ui-table-columntoggle.table-responsive th.ui-table-priority-4,
	.ui-table-columntoggle.table-responsive td.ui-table-priority-4 {
		display: table-cell;
	}
}
/* Show priority 5 at 960px (60em x 16px) */
@media screen and (min-width: 60em) {
	.ui-table-columntoggle.table-responsive th.ui-table-priority-5,
	.ui-table-columntoggle.table-responsive td.ui-table-priority-5 {
		display: table-cell;
	}
}
/* Show priority 6 at 1600px (100em x 16px) */
@media screen and (min-width: 100em) {
	.ui-table-columntoggle.table-responsive th.ui-table-priority-6,
	.ui-table-columntoggle.table-responsive td.ui-table-priority-6 {
		display: table-cell;
	}
}
/* Unchecked manually: Always hide */
.ui-table-columntoggle th.ui-table-cell-hidden,
.ui-table-columntoggle td.ui-table-cell-hidden,
.ui-table-columntoggle.table-responsive th.ui-table-cell-hidden,
.ui-table-columntoggle.table-responsive td.ui-table-cell-hidden {
	display: none;
}
/* Checked manually: Always show */
.ui-table-columntoggle th.ui-table-cell-visible,
.ui-table-columntoggle td.ui-table-cell-visible,
.ui-table-columntoggle.table-responsive th.ui-table-cell-visible,
.ui-table-columntoggle.table-responsive td.ui-table-cell-visible {
	display: table-cell;
}

.buttonlink {
    background:none!important;
    color:inherit;
    border:none; 
    border-radius: 0 !important;
    padding:0!important;
    font: inherit;
    cursor: pointer;
    width: 25px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

fieldset.ui-controlgroup-horizontal div.ui-controlgroup-controls {
    width: 100% !important;
}

td .ui-checkbox input {
    position: unset;
    margin-top: auto !important;
    margin-bottom: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 18px;
    height: 18px;
}

ul[id^=autocomplete] {
    list-style-type: none;
    height:200px;
    overflow:hidden;
    overflow-y:scroll;
}

ul[id^=autocomplete] .ui-li-static {
    border: none !important;
    height: 12px !important;
}

#preaplicacion-form textarea {
    overflow-y: scroll;
    height: 120px;
    min-height: 120px!important;
    max-height: 120px!important;
    resize: none; 
}

#preaplicacion-form .ui-field-contain .ui-checkbox {
    width: 31% !important;
    border-radius: 0% !important;
    margin: .320em !important;
}

#preaplicacion-form .ui-field-contain .ui-checkbox label {
    border-width: 1px !important;
    text-align: center;
}
