.btnselidiom {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#777777;
	font-family:Trebuchet MS;
	font-size:15px;
	padding:2px 18px;
	text-decoration:none;
	cursor: pointer;
}
.btnselidiom:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
	cursor: pointer;
}
.btnselidiom:active {
	position:relative;
	top:1px;
	cursor: pointer;
}

.fotopanel::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.fotopanel::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

.fotopanel::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
.tesi-enlace{
	color: rgb(0, 0, 238) !important;
	text-decoration: underline;
	cursor:	pointer;
}
#preview{
	position:absolute;
	padding:5px;
	display:none;
}
.btnzonas {
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  color: #050505;
  border: solid #9db7c7 1px;
  text-decoration: none;
  color: #000000;
}

.btnzonas:hover {
  background: #a2cbe8;
  background-image: -webkit-linear-gradient(top, #a2cbe8, #3498db);
  background-image: -moz-linear-gradient(top, #a2cbe8, #3498db);
  background-image: -ms-linear-gradient(top, #a2cbe8, #3498db);
  background-image: -o-linear-gradient(top, #a2cbe8, #3498db);
  background-image: linear-gradient(to bottom, #a2cbe8, #3498db);
  text-decoration: none;
}
.btnzonas_inac {
  background: #637d8f;
  background-image: -webkit-linear-gradient(top, #637d8f, #2980b9);
  background-image: -moz-linear-gradient(top, #637d8f, #2980b9);
  background-image: -ms-linear-gradient(top, #637d8f, #2980b9);
  background-image: -o-linear-gradient(top, #637d8f, #2980b9);
  background-image: linear-gradient(to bottom, #637d8f, #2980b9);
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  background: #bbbcbd;
}
.btnzonas:target {
  background: #a2cbe8;
  background-image: -webkit-linear-gradient(top, #a2cbe8, #3498db);
  background-image: -moz-linear-gradient(top, #a2cbe8, #3498db);
  background-image: -ms-linear-gradient(top, #a2cbe8, #3498db);
  background-image: -o-linear-gradient(top, #a2cbe8, #3498db);
  background-image: linear-gradient(to bottom, #a2cbe8, #3498db);
  text-decoration: none;
}
.btnzonas_clicked{
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  color: #ffffff;
  text-decoration: none;
}
.btnzonas_boca {
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  color: #050505;
  border: solid #9dc7ae 1px;
  text-decoration: none;
  color: #000000;
}
.btnzonas_boca:hover {
  background: #a1e6b7;
  background-image: -webkit-linear-gradient(top, #a1e6b7, #34d960);
  background-image: -moz-linear-gradient(top, #a1e6b7, #34d960);
  background-image: -ms-linear-gradient(top, #a1e6b7, #34d960);
  background-image: -o-linear-gradient(top, #a1e6b7, #34d960);
  background-image: linear-gradient(to bottom, #a1e6b7, #34d960);
  text-decoration: none;
}
.btnzonas_clicked_boca{
  background: #34d960;
  background-image: -webkit-linear-gradient(top, #34d960, #2bb840);
  background-image: -moz-linear-gradient(top, #34d960, #2bb840);
  background-image: -ms-linear-gradient(top, #34d960, #2bb840);
  background-image: -o-linear-gradient(top, #34d960, #2bb840);
  background-image: linear-gradient(to bottom, #34d960, #2bb840);
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  color: #ffffff;
  text-decoration: none;
}

.btnzonas_clicked_elast{
  background: #174663;
  background-image: -webkit-linear-gradient(top, #174663, #174663);
  background-image: -moz-linear-gradient(top, #174663, #174663);
  background-image: -ms-linear-gradient(top, #174663, #174663);
  background-image: -o-linear-gradient(top, #174663, #174663);
  background-image: linear-gradient(to bottom, #174663, #174663);
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  color: #ffffff;
  text-decoration: none;
}
.btnzonas {
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  color: #050505;
  border: solid #9db7c7 1px;
  text-decoration: none;
  color: #000000;
}
.btnzonas_elim {
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  border: solid #ccc 1px;
  text-decoration: none;
  color: #000000;
  background: #FF4D4D;
  font-weight:600;
}
.btnzonas_elim:hover {
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  font-family: Arial;
  border: solid #ccc 1px;
  text-decoration: none;
  color: #000000;
  background: #CC0000;
  font-weight:600;
}


.tipzona{
	background-color:rgb(51,51,51);
	-moz-border-radius:6px ;
	-webkit-border-radius:6px ;
	border-radius:6px ;
	font-family:Arial;
	color:#FFF;
	font-size: 0.8em;
}

.blueButton {
  color: white;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2), color-stop(0.5, #889bb3), color-stop(0.5, #8195af)) !important;
  background-image: linear-gradient(to bottom, #b0bccd 0%, #889bb3 50%, #8195af 50%, #6d84a2 100%) !important;
}

.whiteButton {
  border-color: white;
  cursor: default;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#ffffff), color-stop(0.5, #fcfcfc), color-stop(0.5, #fcfcfc)) !important;
  background-image: linear-gradient(to bottom, #f0f0f0 0%, #fcfcfc 50%, #ffffff 100%) !important;
}

.customMobiNetButton {

}

.mblButton {
	padding: 0 10px;
	height: 29px;
	border-style: outset;
	border-width: 1px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#cecece), color-stop(0.5, #f8f8f8), color-stop(0.5, #eeeeee));
	background-image: linear-gradient(to bottom, #fdfdfd 0%, #f8f8f8 50%, #eeeeee 50%, #cecece 100%);
	font-family: Helvetica;
	line-height: 29px;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	border-color: #9cacc0;
	border-radius: 5px;
	color: black;
	font-size: 13px;
}
.mblButtonSelected {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#bfbfbf), color-stop(0.5, #ebebeb), color-stop(0.5, #dedede));
	background-image: linear-gradient(to bottom, #f0f0f0 0%, #ebebeb 50%, #dedede 50%, #bfbfbf 100%);
	color: black;
}
.mblButtonDisabled,.mblButton:disabled {
	border-color: grey;
	background-image: none;
	color: grey;
	cursor: default;
}

#divPopup {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1001;
	margin: 0px;
	border: 0px;
}

.popupContent {
	padding: 10px;
	border-radius: 5px;
	background-color: #FFFFFF;
	box-shadow: 0 2px 5px #666666;
	z-index: 1000;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

#divPopupTitulo {
	top: 0px;
	margin: 5px 0 5px 0;
	text-align: center;
}

#divPopupMensaje {
	text-align: center;
	margin: 25px 0 25px 0;
	width: 500px;
	min-width: 200px;
	display: table-cell;
}

.inputPopup {
	margin: 5px 0 5px 0;
	padding: 10px;
}

.inputPopup > input[type="text"]{
	width: 65%;
}

.inputPopup > span{
	width: 30%;
	display: inline-block;
}

#divPopupBotones {
	text-align: center;
}

.popupOverlay {
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 999;
	display:none;
	background-color: #777777;
	cursor: pointer;
	opacity: 0.7;
}

#divPopup button {
	background-color: #8CD4F5;
	color: white;
	border: none;
	box-shadow: none;
	font-size: 17px;
	font-weight: 500;
	border-radius: 5px;
	padding: 10px 32px;
	margin: 26px 5px 0 5px;
	cursor: pointer;
}

#divPopup button:focus {
	outline: none;
	box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

#divPopup button:hover {
	background-color: #7ecff4;
}

#divPopup button:active {
	background-color: #5dc2f1;
}

#divPopup button.cancel {
	background-color: #c1c1c1;
}

#divPopup button.cancel:hover {
	background-color: #b9b9b9;
}

#divPopup button.cancel:active {
	background-color: #a8a8a8;
}

#divPopup button.cancel:focus {
	box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important;
}

#divLoading {
	background: url('../img/loading.gif') no-repeat center center;
	height: 100px;
	width: 100px;
	position: fixed;
	left: 50%;
	top: 50%;
	margin: -25px 0 0 -25px;
	z-index: 1000;
}

.btnnavvar2 {
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	border:1px solid #dcdcdc;
	text-decoration:none;
	background:-moz-linear-gradient( center top, #ededed 5%, #D6D6D6 100% );
	background:-ms-linear-gradient( top, #ededed 5%, #D6D6D6 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#D6D6D6');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #D6D6D6) );
	background-color:#ededed;
	display:inline-block;
	text-shadow:1px -2px 0px #ffffff;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	box-shadow:inset 1px 1px 0px 0px #ffffff;
	cursor: pointer;
}.btnnavvar2:hover {
	background:-moz-linear-gradient( center top, #D6D6D6 5%, #ededed 100% );
	background:-ms-linear-gradient( top, #D6D6D6 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#D6D6D6', endColorstr='#ededed');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #D6D6D6), color-stop(100%, #ededed) );
	background-color:#D6D6D6;
	cursor: pointer;
}.btnnavvar2:active {
	position:relative;
	top:1px;
	cursor: pointer;
}

input[type=range].tesi-slider
{
  -webkit-appearance: none;
  margin: 0.7px 0;
}
input[type=range].tesi-slider:focus
{
  outline: none;
}

input[type=range].tesi-slider:disabled::-webkit-slider-runnable-track
{
  background: #f1f1f1;
  cursor: default;
}

input[type=range].tesi-slider::-webkit-slider-runnable-track
{
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: #CFE5FA;
  border-radius: 2px;
  border: 0px solid #010101;
  top: 0px;
  box-shadow: 1px 1px 1px #4D4D4D, 0px 0px 1px #0d0d0d;
}

input[type=range].tesi-slider::-webkit-slider-thumb
{
  box-shadow: 0px 0px 1px #000, 0px 0px 0px #000;
  border-radius: 5px;
  height: 22px;
  width: 24px;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5px;
}

input[type=range].tesi-slider:disabled::-webkit-slider-thumb
{
  background: #CCC;
  cursor: default;
}

input[type=range].tesi-slider:focus::-webkit-slider-runnable-track
{
  background: #A7C7E5;
}

input[type=range].tesi-slider::-moz-range-track
{
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: #CFE5FA;
  border-radius: 2px;
  border: 0px solid #010101;
  top: 0px;
  box-shadow: 1px 1px 1px #4D4D4D, 0px 0px 1px #0d0d0d;
}

input[type=range].tesi-slider:disabled::-moz-range-track
{
  background: #f1f1f1;
  cursor: default;
}

input[type=range].tesi-slider::-moz-range-thumb
{
  box-shadow: 0px 0px 1px #000, 0px 0px 0px #000;
  border-radius: 5px;
  height: 22px;
  width: 24px;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  margin-top: -5px;
}

input[type=range].tesi-slider::-ms-track
{
  width: 100%;
  height: 14px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range].tesi-slider::-ms-fill-lower
{
  background: #CFE5FA;
  border: 0px solid #010101;
  border-radius: 2px;
}

input[type=range].tesi-slider::-ms-fill-upper
{
  background: #CFE5FA;
  border-radius: 2px;
}

input[type=range].tesi-slider::-ms-thumb
{
  box-shadow: 0px 0px 1px #000, 0px 0px 0px #000;
  border-radius: 5px;
  border: 1px solid #8A8A8A;
  height: 12px;
  width: 24px;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  margin-top: 0px;
}

input[type=range].tesi-slider:focus::-ms-fill-lower
{
  background: #CFE5FA;
}

input[type=range].tesi-slider:focus::-ms-fill-upper
{
  background: #CFE5FA;
}

input[type=range].tesi-slider::-ms-tooltip {
    display: none;
}

input[type=range].tesi-arcoiris
{
  -webkit-appearance: none;
  margin: 0.7px 0;
}

input[type=range].tesi-arcoiris:focus
{
  outline: none;
}

input[type=range].tesi-arcoiris:disabled::-webkit-slider-runnable-track
{
  background: #f1f1f1;
  cursor: default;
}

input[type=range].tesi-arcoiris::-webkit-slider-runnable-track
{
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: -webkit-linear-gradient(left,red,orange,yellow,green);
  border-radius: 2px;
  border: 0px solid #010101;
  top: 0px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19);
}

input[type=range].tesi-arcoiris::-webkit-slider-thumb
{
  box-shadow: 0px 0px 1px #000, 0px 0px 0px #000;
  border-radius: 5px;
  height: 22px;
  width: 24px;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5px;
}

input[type=range].tesi-arcoiris:disabled::-webkit-slider-thumb
{
  background: #CCC;
  cursor: default;
}

input[type=range].tesi-arcoiris:focus::-webkit-slider-runnable-track
{
  background: -webkit-linear-gradient(left,red,orange,yellow,green);
}

input[type=range].tesi-arcoiris::-moz-range-track
{
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: #CFE5FA;
  background: -moz-linear-gradient(left,red,orange,yellow,green);
  border-radius: 2px;
  border: 0px solid #010101;
  top: 0px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19);
}

input[type=range].tesi-arcoiris:disabled::-moz-range-track
{
  background: #f1f1f1;
  cursor: default;
}

input[type=range].tesi-arcoiris::-moz-range-thumb
{
  box-shadow: 0px 0px 1px #000, 0px 0px 0px #000;
  border-radius: 5px;
  height: 22px;
  width: 24px;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  margin-top: -5px;
}

input[type=range].tesi-arcoiris::-ms-track
{
  width: 100%;
  height: 14px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range].tesi-arcoiris::-ms-fill-lower
{
  background: linear-gradient(to right, yellow,green);
  border: 0px solid #010101;
  border-radius: 2px;
}

input[type=range].tesi-arcoiris::-ms-fill-upper
{
	background: linear-gradient(to right, red,orange);
  border-radius: 2px;
}

input[type=range].tesi-arcoiris::-ms-thumb
{
  box-shadow: 0px 0px 1px #000, 0px 0px 0px #000;
  border-radius: 5px;
  border: 1px solid #8A8A8A;
  height: 12px;
  width: 24px;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  margin-top: 0px;
}

.tesi-slider-salida
{
  position: absolute;
  margin-top: 5px;
  min-width: 38px;
  height: 18px;
  border: 1px solid #e2e2e2;
  background-color: #fff;
  border-radius: 3px;
  color: #777;
  font-size: .8em;
  line-height: 18px;
  text-align: center;
}

input[type=range] + output
{
  display: block;
  transform: translateX(-50%);
}
.btntablaitems
{
	display:table !important;
	width:100% !important;
	border-spacing:5px 2px;
	box-sizing:border-box;
	padding-right:8px !important;
}

.ordenmul
{
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  color: #fff;
  display: none;
}

.tesi-plegado, .tesi-desplegado
{
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.tesi-iconplegado
{
  position: absolute;
  right: 0px;
  cursor: pointer;
  margin-top: 8px;
  z-index: 100;
}

.tesi-textoplegado
{
  display: inline-block;
}

.tesi-plegado:before
{
  content: "\f078";
}

.tesi-desplegado:before
{
  content: "\f077";
}

.tesi-oculto
{
  display: none;
}

.tesi-resplegado
{
  font-size: 14px;
  color: #888;
  display: block !important;
}

.tesi-resdesplegar
{
  display: none;
}

@media (max-width: 750px)
{
  .tesi-oculto
  {
    display: inline;
  }

  .tesi-textoplegado
  {
    width: 95% !important;
  }
}

.tesi-novisible
{
  visibility: hidden;
}


.tesi-closeicon
{
  font-size: 8px;
  cursor: pointer;
  color: #696969;
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  float: right;
}

.tesi-iconopc:hover
{
  color: darkgray;
}

.tesi-iconopc:hover .fa-inverse
{
  color: #000;
}

.tesi-redeful
{
  list-style-type: none;
  float: left;
  margin: 0;
  padding: 0;
}

.tesi-dragoculta{

}
.tesi-dragprinc{
  display: table;
  min-height: 200px;
  height: 100%;
  width:100%
}
.tesi-dragizq{
  width: 50%;
  display: table-cell;
  height: 100%;
  vertical-align:top;
}

.tesi-dragizq ul:not(:last-child)
{
  margin-bottom: 10px;
}

.tesi-dragder{

}

.tesi-dragorigen
{
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  min-height: 100%;
  cursor: pointer;
}

.tesi-dragorigen ul
{
}

.tesi-dragorigen li, .tesi-dragdestino li,
.tesi-dragorigen-hor li, .tesi-dragdestino-hor li
{
  margin: 0 5px 5px 5px;
  padding: 10px;
  border: 1px solid #c5c5c5;
  background-color: #f6f6f6;
  position: relative;
}

.tesi-dragdestino
{
  display: inline-block;
  width: 100%;
  border: 1px dashed #c5c5c5;
  box-sizing: border-box;
  min-height: 100%;
  height: auto;
  cursor: pointer;
}

.tesi-dragimggrid li
{
  float: left;
}

.tesi-dest2
{
  min-height: calc(50% - 10px);
  height: auto;
  //margin-top: 10px;
}

.tesi-dest3
{
  min-height: calc(33% - 10px);
  height: auto;
  margin-top: 10px;
}

.tesi-dest4
{
  min-height: calc(25% - 10px);
  height: auto;
  margin-top: 10px;
}

.tesi-dest5
{
  min-height: calc(20% - 10px);
  height: auto;
  margin-top: 10px;
}

.tesi-draghueco
{
  width:auto;
  background-color: #c9c9c9 !important;
}

.tesi-dragtxtdest
{
  text-align: center;
  background-color: #e9e9e9;
  padding: 3px;
  margin-bottom: 3px;
  margin-top: -4px;
}
.tesi-ordendrop{
    position: absolute;
    font-weight: bold;
    right: 10px;
    bottom: 0;
    font-size: 11pt;
}


.tesi-grippy {
  content: '....';
  width: 10px;
  height: 20px;
  display: inline-block;
  overflow: hidden;
  line-height: 5px;
  padding: 3px 4px;
  cursor: move;
  vertical-align: middle;
  margin-top: -.7em;
  margin-right: .3em;
  font-size: 12px;
  font-family: sans-serif;
  letter-spacing: 2px;
  //color: #cccccc;
  //text-shadow: 1px 0 1px black;
  float: left;
  margin-right: 5px;
  font-weight: bold;
}
.tesi-grippy::after {
  content: '.. .. .. ..';
}
.tesi-excluyente{
}


.estrellas
{
}

.estrellas .rating-group
{
  display: inline-flex;
}

.estrellas .rating__icon
{
  pointer-events: none;
}

.estrellas .rating__input
{
  position: absolute !important;
  left: -9999px !important;
}

.estrellas .rating__label
{
  cursor: pointer;
  padding: 0 0.1em;
  font-size: 2rem;
}

.estrellas .rating__icon--star
{
  color: orange;
}

.estrellas .rating__icon--none
{
  color: #eee;
}

.estrellas .rating__input--none:checked + .rating__label .rating__icon--none
{
  color: red;
}

.estrellas .rating__input:checked ~ .rating__label .rating__icon--star
{
  color: #ddd;
}

.estrellas .rating-group:hover .rating__label .rating__icon--star
{
  color: orange;
}

.estrellas .rating__input:hover ~ .rating__label .rating__icon--star
{
  color: #ddd;
}

.estrellas .rating-group:hover .rating__input--none:not(:hover) + .rating__label .rating__icon--none
{
  color: #eee;
}

.estrellas .rating__input--none:hover + .rating__label .rating__icon--none
{
  color: red;
}


.estrellas-med {
}
.estrellas-med .rating-group {
  display: inline-flex;
}
.estrellas-med .rating__icon {
  pointer-events: none;
}
.estrellas-med .rating__input {
  position: absolute !important;
  left: -9999px !important;
}
.estrellas-med .rating__label {
  cursor: pointer;
  /* if you change the left/right padding, update the margin-right property of .rating__label--half as well. */
  padding: 0 0.1em;
  font-size: 2rem;
}
.estrellas-med .rating__label--half {
  padding-right: 0;
  margin-right: -0.6em;
  z-index: 2;
}
.estrellas-med .rating__icon--star {
  color: orange;
}
.estrellas-med .rating__icon--none {
  color: #eee;
}
.estrellas-med .rating__input--none:checked + .rating__label .rating__icon--none {
  color: red;
}
.estrellas-med .rating__input:checked ~ .rating__label .rating__icon--star {
  color: #ddd;
}
.estrellas-med .rating-group:hover .rating__label .rating__icon--star,
.estrellas-med .rating-group:hover .rating__label--half .rating__icon--star {
  color: orange;
}
.estrellas-med .rating__input:hover ~ .rating__label .rating__icon--star,
.estrellas-med .rating__input:hover ~ .rating__label--half .rating__icon--star {
  color: #ddd;
}
.estrellas-med .rating-group:hover .rating__input--none:not(:hover) + .rating__label .rating__icon--none {
  color: #eee;
}
.estrellas-med .rating__input--none:hover + .rating__label .rating__icon--none {
  color: red;
}

.tesi-zoomicon
{
  position: absolute;
  right: 0;
  padding: 1px;
  font-size: 0.6em;
  /* cursor: pointer; */
  color: #696969;
  bottom: 5px;
}

.tesi-zoom
{
  /* cursor: -webkit-zoom-in; */
  /* cursor: zoom-in; */
  cursor: pointer;
}

/*David - Clase añadida*/
.lupa {
  cursor: zoom-in;
  position: absolute;
  background-color: #fff;
  padding: 3px;
  border-radius: 6px;
}
#tesi-myImg
{
  border-radius: 5px;
  transition: 0.3s;
}

#tesi-myImg:hover
{
  opacity: 0.7;
}

.tesi-modal
{
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.43);
  -webkit-user-select: none;
  z-index: 1000;
}

/** David - Cambios para que las imágenes se ajusten al dispositivo cuando se hace zoom*/

.tesi-modal-content
{
  display: block;
  margin-left: auto;
  margin-right:auto;
  max-height:60vh;
}

#tesi-caption
{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.tesi-modal-content, #caption
{
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes tesi-zoom
{
  from
  {
    -webkit-transform: scale(0)
  }

  to
  {
    -webkit-transform: scale(1)
  }
}

@keyframes tesi-zoom
{
  from
  {
    transform: scale(0)
  }

  to
  {
    transform: scale(1)
  }
}

.tesi-close
{
  color: #fff;
  transition: 0.3s;
  font-size:0.8em;
}

.tesi-close:hover, .tesi-close:focus
{
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px)
{
  .tesi-modal-content
  {
    width: 100%;
  }
}

.tesi-tomar-vid{
  width: 100%;
  
  background-color: #8195af;
  margin-right: 5px;
}
.tesi-tomar-preview{
  border: 2px solid #FFF;
  box-sizing: border-box;
  position: absolute;
  width: 25%;
  height: 25%;
  bottom: 5px;
  left: 4px;
  border-radius: 5px;
  background-color: #F1F3FF;
}


.tesi-botgrab
{
  width: 40px;
  border: 0;
  height: 40px;
  padding: 0 10px;
  font-size: 12px;
  box-shadow: 0px 4px 4px #AAAAAB;
  font-style: normal;
  font-weight: 800;
  border-radius: 5px;
  margin-bottom: 4px;
  text-transform: none;
  box-sizing: border-box;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  color: #fff;
  cursor: pointer;
  background-color: #aaaaaa;
}

.tesi-micro{
  background-color: #dc493a;
}
.tesi-play{
	background-color: #3adc70;	
}
.tesi-botgrab:disabled{
	background-color: #aaaaaa;
}

.tesi-grabtext
{
  text-align: center;
  margin: 0 auto 10px;
  padding: 4px;
  width: 60px;
  background: hsla(0,0%,100%,.4);
  color: #000;
  border-radius: 5px;
  border: 2px solid #f0eded;
  margin-left: 10px;
}

.tesi-video-playboton::before {
    content: "\f04b";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 60px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    border-radius: 15px;
    padding: 14px;
}