/*!
 * jQuery Custom Select Plugin - Master Source
 * 2014-02-06
 *
 * http://www.blissmedia.com.au/
 *
 * Copyright 2013 Bliss Media
 * Released under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 */

/* Standard
----------------------------------*/

.tabladatos .celdadatos .celdacontenido{
	min-height:30px;
}

.custom-select {
/*  width: 240px;  */
  margin:0 auto;
  display: block;
  
  position:absolute; 
  height: 30px;
  border: 1px solid #AAAAAA;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;  

  background-color:#fafafa;
  background-image: url('data:image/;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAyCAIAAADeABw2AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABTSURBVHjaYly1apWOji4DiYCJgSwwqm1U26i2UW3U0MaCKaSlpYkpeO3adQK2oanAKoLdkcjqMPXg8xtENVY9BIIEl57RVDKqbVTbqLaRpA0gwADsJhd+MyrHYgAAAABJRU5ErkJggg==');
  background-position:right center;
  background-repeat:no-repeat;
}

.custom-select a {
  display: inline-block; 
/*  width: 210px; */
  height: 20px;
  padding: 5px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  padding-right:25px;
}


.custom-select a span {
  display: inline-block;
  width: 100%; 
  white-space: nowrap;
  overflow: hidden;
}

.custom-select select {
  display: none !important;
}

.custom-select > div {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 1px 0 0 -1px;
  width: 100%; 
  border: 1px solid #AAAAAA;
  background: #FFFFFF;
  z-index: 10;
  overflow: hidden;
}

.custom-select input {
/*  width: 300px; */
  border: 1px solid #AAAAAA;
  margin: 5px 5px 0;
  padding: 5px;
  font-size: 14px;
}

.custom-select > div  {
/*  width: 320px; */
}

.custom-select > div > div {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  margin: 5px;
  max-height: 220px;
}

.custom-select div ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-select div ul li {
  display: none;
  padding: 5px;
}


.custom-select div ul li.active {
  display: block;
  cursor: pointer;
}
.custom-select div ul li:hover {
  background: #66bbff;
  color: #fff;
}
.custom-select div ul li.option-hover {
  background: #3399ff;
  color: #fff;
}
.custom-select div ul li.option-disabled {
  color: #999;
}
.custom-select div ul li.option-disabled:hover {
  background: #ff9999;
  color: #fff;
}
.custom-select div ul li.option-hover.option-disabled {
  background: #ff6666;
  color: #fff;
}

.custom-select div ul li.no-results {
  display: none;
  background:#FFD6D6;
  color: #000;
  text-align:center;
}

/* Custom Select - Open
----------------------------------*/
.custom-select-open {
  border-bottom: 1px solid #AAAAAA;
}

.custom-select-open div {
  display: block;
}

/* Hide Input Box
----------------------------------*/
.custom-select input.custom-select-hidden-input {
  position: absolute !important;
  top: 0 !important;
  left: -1000px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: -1 !important;
}















































/* Mobile Override
----------------------------------*/
.custom-select-mobile select {
  display: inline !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%;
}


td .custom-select {
  width: 255px;
  position:absolute;
  margin-top: -18px !important;
  margin-left: 0 !important;
  height: 30px;
  border: 1px solid #AAAAAA;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;  
  background-color:#fafafa;
  background-image: url('data:image/;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAyCAIAAADeABw2AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABTSURBVHjaYly1apWOji4DiYCJgSwwqm1U26i2UW3U0MaCKaSlpYkpeO3adQK2oanAKoLdkcjqMPXg8xtENVY9BIIEl57RVDKqbVTbqLaRpA0gwADsJhd+MyrHYgAAAABJRU5ErkJggg==');
  background-position:right center;
  background-repeat:no-repeat;
}


td .custom-select a {
  display: inline-block;
  width: 225px;
  height: 20px;
  padding: 5px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  padding-right:25px;
}


td .custom-select a span {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

td .custom-select select {
  display: none !important;
}

td .custom-select > div {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 1px 0 0 -1px;
  width: 100%;
  border: 1px solid #AAAAAA;
  border-top: 0; 
  background: #FFFFFF;
  z-index: 10;
  overflow: hidden;
}

td .custom-select input {
  width: 300px;
  border: 1px solid #AAAAAA;
  margin: 5px 5px 0;
  padding: 5px;
  font-size: 14px;
}

td .custom-select > div  {
  width: 320px;
}

td .custom-select > div > div {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  margin: 5px;
  max-height: 220px;
}

td .custom-select div ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

td .custom-select div ul li {
  display: none;
  padding: 5px;
}


td .custom-select div ul li.active {
  display: block;
  cursor: pointer;
}

td .custom-select div ul li:hover {
  background: #66bbff;
  color: #fff;
}

td .custom-select div ul li.option-hover {
  background: #3399ff;
  color: #fff;
}

td .custom-select div ul li.option-disabled {
  color: #999;
}

td .custom-select div ul li.option-disabled:hover {
  background: #ff9999;
  color: #fff;
}

td .custom-select div ul li.option-hover.option-disabled {
  background: #ff6666;
  color: #fff;
}

td .custom-select div ul li.no-results {
  display: none;
  background:#FFD6D6;
  color: #000;
  text-align:center;
}

/* Custom Select - Open
----------------------------------*/
td .custom-select-open {
  border-bottom: 1px solid #eee;
}

td .custom-select-open div {
  display: block;
}

/* Hide Input Box
----------------------------------*/
td .custom-select input.custom-select-hidden-input {
  position: absolute !important;
  top: 0 !important;
  left: -1000px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: -1 !important;
}

/* Mobile Override
----------------------------------*/
td .custom-select-mobile select {
  display: inline !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




/**** Movil ****/
@media (max-width: 549px) {
	.custom-select {
/*	  width: 265px; */
	  width: 85%;
	  margin:0 auto;
	  text-align: center;
	}


	.custom-select li {
	  text-align: left;
	}

	.custom-select a {
/*	  width: 235px; */
	  width: 95%;
	  margin:0 auto;
  	  text-align: left;
	}

	.custom-select input {
	  width: 92%;
	  margin:5px;
	  text-align: center;
	}
	
	.custom-select > div  {
	  width: 100%;
	}
}

/**** Tablet ****/
@media (min-width: 550px) and (max-width: 1024px) {
	.custom-select {
	  width: 265px; 
	}

	.custom-select a {
	  width: 235px;
	}

	.custom-select input {
	  width: 300px;
  	  margin:5px;
	}
	
	.custom-select > div  {
	  width: 320px; 
	}
}

/**** Web ****/
@media (min-width: 1025px) {
	.custom-select {
	  width: 230px; 
	}

	.custom-select a {
	  width: 200px;
	}

	.custom-select input {
	  width: 300px;
  	  margin:5px;
	}
	
	.custom-select > div  {
	  width: 320px; 
	}

}


