/*My css MDC*/

body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size:14px;
    line-height:1.428571429;
    color:#333;background-image:url(../res/img/bg.png);}

/* Makes images fully responsive */
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------- Carousel Styling ------------------- */

.carousel-inner {
  border-radius: 0px;
}

.carousel-caption {
  background-color: rgba(0,0,0,.5);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 0 0 10px 25px;
  color: #fff;
  text-align: left;
}

.carousel-indicators {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  margin: 0;
  padding: 0 25px 25px 0;
  text-align: right;
}

.carousel-control.left,
.carousel-control.right {
  background-image: none;
}

/* ------------------- Section Styling - Not needed for carousel styling ------------------- */

button {
  font: 700 .85em  Verdana, Tahoma, Arial, sans-serif;
  background-color: #fff;
  border: 1px solid #428bca;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px;
  cursor: pointer;
  border-radius: 4px;
  color:#428bca;
}

button:hover{
    background-color:#eee;/*e9f0f7*/
    color:#0000ff;
    text-decoration:none;
}

/*button a{color: #539928}*/

.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 10px;background: rgba(0,0,0,0.15);border-radius: 4px;}
.btn-labeled {padding-top: 0;padding-bottom: 0;margin-bottom:.8em;}

.btn-header{
    color: #f5f5f5;
    background-color: #c00;
    border-color: #bbb;
}

.btn-header2{
    color: #f5f5f5;
    background-color: #428bca;
    border-color: #bbb;
}

.btn-respuestas {
  font: 700 .85em  Verdana, Tahoma, Arial, sans-serif;
  background-color: #fff;
  border: 1px solid #ff7000;
  padding: 14px 6px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
  cursor: pointer;
  border-radius: 4px;
  color:#ff7000;
}

.btn-respuestas:hover{
    background-color:#ff7000;
    color:#fff;
    text-decoration:none;
}

.container2 {
  background: #39D;
}

.ocultar {
    display: none;
}

.mostrar {
    display: block;
}

.margin-top{margin-top: 1em}

.margin-bottom{margin-bottom: 1em}

.margin-right{margin-right: 1em}

.margin-left{margin-left: 1em}

.azul{color:#428bca;}

.rojo{color:#ff0000;}

.verde{color:#00cc00;}

.gris{color:#777;}

.sombra{text-shadow: 1px 1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000;}

.sombra-blanca{text-shadow: 1px 1px 1px #fff;}

.mayusc {
    text-transform: uppercase;
}

.switch {
    position: relative;
    display: block;
    vertical-align: top;
    width: 100px;
    height: 30px;
    padding: 3px;
    margin: 0 10px 10px 0;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
    border-radius: 18px;
    box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    box-sizing:content-box;
}
.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    box-sizing:content-box;
}
.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 14px;
    text-transform: uppercase;
    background: #eceeef;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
    box-sizing:content-box;
}
.switch-label:before, .switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    box-sizing:content-box;
}
.switch-label:before {
    content: attr(data-off);
    right: 11px;
    color: #aaaaaa;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch-label:after {
    content: attr(data-on);
    left: 11px;
    color: #FFFFFF;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
    opacity: 0;
}
.switch-input:checked ~ .switch-label {
    background: #57a600;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
    opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
    opacity: 1;
}
.switch-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
    background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
    border-radius: 100%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
.switch-handle:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
    border-radius: 6px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}
.switch-input:checked ~ .switch-handle {
    left: 74px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}
 
/* Transition
========================== */
.switch-label, .switch-handle {
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
    -moz-transition: All 0.3s ease;
    -o-transition: All 0.3s ease;
}

.checkbox label {
    display: inline-block;
    margin: 1.1em 0 .1em 0;
}

.header-margin{margin:.6em 0 0}

.botonera1, .botonera2{margin-top:.25em;}

@media all and (max-width: 1023px) {
    .header-margin{margin: .3em  0; text-align: end;}
    .botonera1 { display: none;}
}

@media all and (min-width: 1024px) {
    .botonera2 { display: none;}
}

.wrapper {
  display: flex;  
  flex-flow: row wrap;
  font-weight: bold;
  text-align: center;
}

.wrapper > * {
  padding: 10px;
  flex: 1 100%;
}


.header-pleca {  
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
} 

/*.header-pleca1{
    width: 100%;
    height: 15px;
    background: linear-gradient(#448bc9, #3b75a7);
    -webkit-box-shadow: inset 0px -1px 4px 1px rgba(0,0,0,0.3);    
    box-shadow: inset 0px -1px 4px 1px rgba(0,0,0,0.3);
}*/

.header-pleca1{
    width: 100%;
    height: 10px;
    background: #c8962b;/*#7cc7ff#bb2299;*/
}

.header-pleca2{
    width: 100%;
    height: 48px;
    background: #004f60;
/*    background: linear-gradient(#004f60, #3b75a7);      */
    -webkit-box-shadow: 0px 8px 7px -7px #000000, inset 0px 2px 5px 1px rgba(0,0,0,0.3);
    box-shadow: 0px 8px 7px -7px #000000, inset 0px 2px 5px 1px rgba(0,0,0,0.3);

}

.footer-pleca {
     background: #c8962b;
/*    background: linear-gradient(#004f60, #3b75a7);*/
    -webkit-box-shadow: inset 0px 1px 4px 1px rgba(0,0,0,0.3);
    box-shadow: inset 0px 1px 4px 1px rgba(0,0,0,0.3);
    color:#fff;
    padding:.2em;
    border-bottom: 1px solid #555;
 }

 .div-usuario{ 
  display: inline-flex;
  font: 700 .85em  Verdana, Tahoma, Arial, sans-serif;
  background-color: #fff;
  border: 1px solid #428bca;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px;
  cursor: pointer;
  border-radius: 4px;
  color:#428bca;
  list-style:none
}

 .div-iconos{ 
  display: inline-flex; flex-wrap: wrap;
}

.bg{
    /* Color de fondo si la imagen no se encuentra o mientras se está cargando */
    background-color: #fff; 
    background-image: url(../res/img/fondo.jpg); 
    background-position: center center;
     /* El fonde no se repite */
     background-repeat: no-repeat;
     /* Fijamos la imagen a la ventana para que no supere el alto de la ventana */
     background-attachment: fixed;
     /* El fonde se re-escala automáticamente */
     background-size: cover;     
}

.div-imagen {
  display:inline-block;
  position:relative;

  font: 700 .85em Verdana, Tahoma, Arial, sans-serif;
    /*background-color: #fff;
    border: 1px solid #fff;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-radius: 4px ;*/
    cursor: pointer;
}

.div-imagen:hover{
    color: #e8edf2; background-color: #e8edf2;
    /*border: 1px solid #e8edf2;
    border-top: 1px solid #e8edf2;
    border-left: 1px solid #e8edf2;*/
}

.div-imagen > div {
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  padding:10px;
  margin:0;
}

.div-pregunta{
    text-align:left; 
    font: 700 1.3em  Verdana, Tahoma, Arial, sans-serif;
    color:#428bca;
    margin: .5em 0;
}

.desvanecer:hover {
  opacity: 0.30;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  -ms-transition: opacity 500ms;
  transition: opacity 500ms;
}

.bg-white  { background-color: var(--white) }

/* Zoom In #1 */
.hoverzoom figure img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.hoverzoom figure:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

/* Circle */
.hovercircle figure {
    position: relative;
}
.hovercircle figure::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255,255,255,.2);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}
.hovercircle figure:hover::before {
    -webkit-animation: circle .75s;
    animation: circle .75s;
}
@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}
@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}

/* Flashing */
.hoverflashing figure:hover img {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
}
@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}
@keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

.tabs * {
  box-sizing: border-box;
}

.tab-content {
  background: rgba(0, 0, 0, 0.1);
  padding: 1em;
/*  border: 1px solid #ddd;*/
  border-radius: 4px;
}