body {
  margin: 0px;
  overflow:hidden;
}

#leyenda {
    display: none;
}

table.layout {
  width: 100%;
  height: 100%;
}
.modalwindow {
  display: none;
  position: fixed;
  z-index: 1900;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-top: 75px;
  background-color: rgba(0,0,0,0.2);
}
.modalbox {
    position: relative;
    background-color: #fefefe;
    border: 1px solid #014898;
    border-radius: 10px;
    box-shadow: 6px 6px 10px rgba(0,0,0,0.6), -6px 6px 10px rgba(0,0,0,0.6);
    text-align: justify;
    font-family: Verdana;
    font-size: 11px;
    color: #4a4a4a;
    margin: auto;
    width: 43%;
    padding: 1px;
}

.modalbox {
  position: relative;
  background-color: #fefefe;
  border: 1px solid #014898;
  border-radius: 10px;
  box-shadow: 6px 6px 10px rgba(0,0,0,0.6), -6px 6px 10px rgba(0,0,0,0.6);
  text-align: justify;
  font-family: Verdana;
  font-size: 11px;
  color: #4a4a4a;
  margin: auto;
  width: 43%;
  padding: 1px;
}
.headmodalbox {
  top: 0px;
  left: 0px;
  border-radius: 10px;
  background-color: #014898;
  padding: 10px 0px 8px 0px;
  text-align: center;
  text-shadow: 1px 1px 2px #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  border-bottom: 1px solid #9b9b9b;
}
.bodymodalbox {
  padding: 10px 16px 10px 16px;
}
.footmodalbox {
  bottom: 0px;
  right: 0px;
  border-radius: 0px 0px 6px 6px;
  background-color: #ffffff;
  padding: 6px 0px 8px 0px;
  text-align: center;
}
.footmodalbox button {
  border: 1px solid #ffffff;
  border-radius: 5px;
  background-color: #1a75ff;
  padding: 4px 12px 4px 12px;
  color: #ffffff;
}
.footmodalbox button:hover {
  cursor: pointer;
}

/* Titulo y logos */
.maintitle {
  position:relative;
  top:5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  color:#0A4C97;
  padding:0px 0px 0px 120px;
}
div.logoescale {
  float:left;
  margin:0px 0px 4px 15px;
}
div.logominedu {
  float:right;
  margin:0px 10px 4px 0px;
}

/* Menu superior */
div.menubar {
  clear: right;
  background-color: #444;
  color: #ececec;
  padding: 8px 10px 8px 10px;
  overflow:auto;
}
div.menubarleft {
  display: flex;
  flex-wrap: wrap;
  float:left;
}
div.menubarright {
  float:right;
  padding: 5px 4px 0px 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:11px;
}
div.pages {
  padding: 1px 1px 3px 1px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;  
}
div.pages a {
  color: #ececec;
  text-decoration: none;
}
div.seps {
  padding: 1px 10px 3px 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
div.sepshome {
  display: none;
  padding: 1px 12px 3px 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
div.sepshome:hover {
  cursor: pointer;
}
/*  */

#search {
  position:relative;
  height: 100%;
  width:270px;
  min-width:18px;
  max-width:800px;
  box-shadow: 0px -5px 5px rgba(0,0,0,0.4);
  overflow: auto;
}
#searchbox {
  position:relative;
  padding: 0px 0px 0px 17px;
  overflow: hidden;
}
#barleft {
  position:absolute;
  right:0;
  bottom:0;
  border: 0px solid blue;
  width:8px;
  height:100%;
  background:transparent;
  cursor:e-resize;
}
#barleft:hover {
  background:#bbb;
}
#search * {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

/* Opciones de consulta */
table.options {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color:#4a4a4a;
}
table.adds td {
  padding: 2px 4px 2px 0px;
}
table td.title{
  font-size: 18px;
  font-weight: bold;
  padding: 8px 0px 12px 0px;
  color:#393939;
}
table td.msg{
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 12px;
  padding: 5px 0px 3px 5px;
  color:#393939; /*#999;*/
}
#optionsugel {
  display:none;
}
#moreoptions {
  display:none;
}

#opciones_ {
    display: none;
}



td.searchelement {
  padding: 0px 0px 0px 4px;
}
div.optionstitle {
  background-color: #014898;
  border-radius: 5px;
  padding: 6px 0px 5px 8px;
  width: 225px;
}
div.optionstitle:hover {
  cursor: pointer;
}
div.optionstitle table {
  width: 222px;
  border-collapse: collapse;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
}
div.optionstitle td {
  padding: 0px 5px 0px 0px;
}
div.optionsbox {
  padding: 0px 0px 0px 4px;
}
div.nohand:hover {
  cursor: default !important;
}
.arrowoptions {
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin: 0px 3px 5px 3px;
}
.selsearchubigeo {
  font-size:12px;
  width:140px;
  color:#4a4a4a;
}
input.txtsearch {
  width:225px;
}
div.controlnivel {
  width:210px;
  height:62px;
  border: 1px solid #777777;
  overflow-y:scroll;
  overflow-x:hidden;
}
div.controlnivel > table{
  font-size:12px;
  color: #4a4a4a;
}
.buttonsearch{
  border: 1px solid #efefef;
  border-radius: 5px;
  background-color:#014898; 
  padding:4px 12px 4px 12px;
  color:#ffffff;
}
.buttonsearch:hover {
  cursor: pointer;
}
div.buttonsearchbox{
  padding: 0px 0px 0px 43px;
}
div.datafield {
  display:none;
}
/* */

#mapid {
  height:100%;
  box-shadow: 0px -5px 5px rgba(0,0,0,0.4);
}

/* Custom control */
div.controlcustom {
  background-color:#fff;
  width:30px;
}
div.controlelement {
  position:relative;
  background-color:#fff;
  height:30px;
  text-align:center;
  border-radius: 5px;
  font-family: "Times New Roman", Times, serif;
  font-weight:bold;
  font-size:22px;
}
div.controlelement img {
  position:absolute;
  margin:auto;
  top:0;
  left:0;
  right:0;
  bottom:0;
}
div.middletop {
  border-top: 1px solid #ccc;
  border-radius: 0px !important;
}
div.middle {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 0px !important;
}
div.controlelement:hover {
  background-color:#ececec;
  cursor: pointer;
}
div.controlxy {
  background-color:#fff;
  padding:3px 5px 4px 5px;
}
div.controlxy img {
  opacity: 0.8;
}
div.controlxy:hover {
  background-color:#eee;
  cursor: pointer;
}
#searchxy {
  display:inline-block;
}
div.controlxyinput {
  display:inline-block;
  padding:0px 10px 0px 0px;
  border:0px solid red;
  overflow:hidden;
}
div.controlxylabel {
  display:inline-block;
  padding:0px 1px 0px 1px;
  height:22px;
  font-weight:bold;
  font-size: 14px;
  color: #4a4a4a;
  border:0px solid red;
  overflow:hidden;
}
table.textpopup {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color:#3a3a3a;
}
div.identifybox {
  overflow:auto;
}
table.identifycontent {
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  color:#3a3a3a;
}
table.identifycontent th {
  border: 1px solid #fff;
  background-color: #4CAF50;
  color: #ffffff;
  padding:2px 5px 2px 5px;
}
table.identifycontent td {
  border: 1px solid #fff;
  padding:2px 5px 2px 5px;
  border-bottom: 1px solid #b2b2b2;
}
td.identifytitle {
  text-align: center;
  border: 0px solid #ffffff !important;
  font-size: 12px;
  font-weight: bold;
  padding:0px 5px 2px 5px !important;
}
.legend {
  font-size: 14px;
  font-weight: bold;
  color: #dfdfdf;
  padding:0px 10px 0px 10px;
  text-shadow: 1px 0px 5px #000000, -1px 0px 5px #000000, 0px 1px 5px #000000, 0px -1px 5px #000000; 
}
.legend img {
  display:none;
}
.legend:hover img {
  display:block;
}
.legend:hover div {
  display:none;
}
.customcursor {
  cursor: default;
}
/* */

#results {
  position:relative;
  padding:1px;
  border-top: 1px solid #ccc;
  overflow:hidden;  
}
#resultsbox {
  padding:0px 10px 0px 10px;
  height:200px;
  min-height:25px;
  max-height:500px;
  display:none;
  overflow:auto; 
}
#resultsdatagrid {
  position:relative;
  display:inline-block;
  width:100%;
}
#barbottom {
  position:absolute;
  top:0;
  left:0;
  right:0;
  border: 0px solid blue;
  width:100%;
  height:5px;
  background:transparent;
  cursor:n-resize;
}
#barbottom:hover {
  background:#bbb;
}
.notextselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

/* Cuadro de resultados */
table.datagrid {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  font-size: 11px;
  width: 100%;
}
table.datagrid tr:hover {background-color: #f5f5f5;}
table.datagrid th {
  background-color: #014898; 
  color: #fff;
  padding: 6px 5px 6px 5px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
table.datagrid td {
  padding: 3px 5px 3px 5px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
.pager:hover {background-color: #fff !important;}
.pager td {border-bottom: 0px solid #fff !important;}
.pager td table {
  border-collapse: collapse;
}
.pager td table {margin:5px !important;}
.pager td table tr:hover{background-color: #fff !important;}
.pager td table td {padding: 0px;}
.pager td table a:hover:not(.active) {background-color: #ddd;}
.pager td table a {
  display: inline-block;
  padding: 5px 15px;
  font-size: 13px;
  color: black;
  text-decoration: none;
}
.pager td table span {
  display: inline-block;
  padding: 5px 15px;
  background-color: #4CAF50;
  font-size: 13px;
  color: white;
}
.pagernext {
  color: #000;
}
td.detailsicon img{
  display:block;
  margin-left:auto;
  margin-right:auto;
}
td.detailsicon img:hover{
  cursor:pointer;
}
.fixedheader {
  position:relative; 
}
/* */

table.resultstext {
  border-collapse: collapse;
  background-color: #fff;
}
table.resultstext td {
  padding: 3px 0px 0px 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:12px;
}
.exportbutton {
  padding: 0px 5px 0px 5px;
  width:72px;
}
.exportbutton:hover{
  cursor:pointer;
}
.exportbuttonlabel {
  display: inline-block;
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
  padding: 0px 0px 3px 0px;
  overflow:hidden;
}
.exportbuttonlogo {
  display: inline;
  padding: 2px 0px 0px 0px;
}

#arrowupbox {
  width:30px;
  height:17px;
  text-align:center;
  border:1px solid #bbb;
  border-bottom:0px solid #fff;
  border-radius: 5px 5px 0px 0px;
  background-color:#ddd;
  position:relative;
  display:none;
}
#arrowupbox:hover {
  cursor: pointer;
}
.arrowup{
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  margin: 6px 3px 0px 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
#arrowdownbox {
  padding: 0px 12px 5px 5px;
}
#arrowdownbox:hover {
  cursor: pointer;
}
.arrowdown{
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* Loader */
#resultsloader {
  position: relative;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 80px;
  height: 80px;
  margin: -76px 0 0 -76px;
  border: 12px solid #f3f3f3;
  border-radius: 50%;
  border-top: 12px solid #1a75ff;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/*  */

/* Boton consulta .Net*/
#btnGetData {
  display:none;
}
#btnExportar {
  display:none;
}
/* */

@media screen and (max-width:800px ) {
  #search {
    display:none;
  }
  div.logoescale {
    display:none;
  }
  .maintitle {
    top:0px;
    font-size: 25px;
    padding:0px;
  }
  div.logominedu {
    margin:0px 5px 10px 0px;
  }
  div.logominedu img {
    height:26px;
  }
  div.sepshome {
    display:block;
  }
  .menubarright {
    display:none;
  }
  .addcolumns {
    display:none;
  }
  #resultsbox {
    padding:0px 5px 0px 5px;
  }
  #arrowdownbox {
    display:none;
    padding: 0px 5px 5px 5px;
  }
}
