html {
    scroll-behavior: smooth;

}
body{
    /*background: #7da8c3;*/
    background: #2a2a2a;
    font-family: 'Catamaran', sans-serif;
}
button.principal {
 /*
    padding: 80px;
    min-height: 459px;
    */
    position: relative;

    min-height: 259px;
}
button.principal img {
    position: relative;
    float: left;
    z-index: 10;
    margin-bottom:5px;
    overflow: hidden;
}
button.principal:hover img {
    width: 100%;
    filter: grayscale(1);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
button.principal img:hover  {

    mix-blend-mode: multiply;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
button.principal h6 {
    clear: both;
    position: relative;
    float: left;
    z-index: 12;
    margin-bottom:1px;
    opacity: 70%;
}
button.principal small {
    position: relative;
    float: left;
    z-index: 11;
    margin-top: 0px;
    top:30px;
    background: rgba(125,168,195,0.3);
    width: 100%;
    color: #000000;

    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;

}
button.principal .oculta{
    visibility: hidden;
    line-height: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
button.principal:hover  .oculta{
    visibility: visible;
    font-size: 1.8em;
    line-height: 1.6em;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
button.principal:hover small {
    /*position: float;*/
    float: left;
    z-index: 11;
    top:60px;
    background: rgba(125,168,195,0.7);
    width: 100%;
    color: #FFFFFF;
    font-size: larger;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;

}
button.principal small p {
    visibility: hidden;
    height: 0;
    width: 0;
}
button.principal:hover small p{
    visibility: visible;
    font-size: small;
    height: 18px;
    width: auto;
}
button.principal2 {

width: 90%;
    opacity: 0.7;
    border:0;
    background: none;

}
button.principal2:hover {
    /*width: 92%;*/

    opacity: 0.9;
}
.horizontal a{
display: block;
width: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: 100% auto;
-webkit-transition: all 200ms ease-in-out 100ms;
-moz-transition: all 200ms ease-in-out 100ms;
transition: all 200ms ease-in-out 100ms;
height: 250px;
padding-top: 1%;
/*overflow: hidden;*/
text-decoration: none;
}
.horizontal a:hover{
    height: 500px;
}
.imagetodas{
    width: 100%;
/*
    max-height: 250px;
    overflow: hidden;
*/
}
.horizontal a code{
    position: relative;
    top:50px;
    text-align: center;
    font-size: 3em;

    padding-left: 150px;
 }
.horizontal2{
    position: relative;
    float: inherit;
}
.horizontal2 a{
    position: relative;
    float: left;
    /*float: inherit;*/
    display: block;
    width: 25%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    -webkit-transition: all 200ms ease-in-out 100ms;
    -moz-transition: all 200ms ease-in-out 100ms;
    transition: all 200ms ease-in-out 100ms;
    height: 250px;

  /*  padding-top: 1%;*/
    /*overflow: hidden;*/
    text-decoration: none;
}
.horizontal2 a code{
    position: relative;
    /*float: left;*/
    float: inherit;
    top:50px;
    text-align: center;
    font-size: 1.5em;

    padding-left: 15px;
    z-index: 15;
}
.horizontal2 a code small{

    font-size: 0;
    color:#666666;

}
.horizontal2:hover a code small{

    font-size: 0.5em;
    color:#666666;

}
.horizontal2 a img{
    position: relative;
    float: inherit;
    /*float: left;
    top:50px;*/

}

.horizontal2 a:hover code{
    color: #1b6d85;
    width: 100%;
    z-index: 20;
}
.horizontal2 a:hover img{
    z-index: 19;
    height: auto;

}
.horizontal2 p.velo{


    text-align: center;
    font-size: 0.9em;
    z-index: 16;
    background: rgba(255,255,255,0.3);

}

/* cambio a 3 */
/*cambio a 6 */

.horizontal6{
    position: relative;
    float: left;
    /*height: 350px;
    width: auto;
    overflow: hidden;
    box-shadow: 0px 2px 10px 0px rgba(255, 255, 255, 0.5);
    margin: 7px;*/

}
.horizontal6 a img{
    /*position: relative;
    float: inherit;*/
    height: 95px;
    width: auto;
    /*float: left;
    top:50px;*/
    -webkit-transition: all 200ms ease-in-out 200ms;
    -moz-transition: all 200ms ease-in-out 200ms;
    transition: all 200ms ease-in-out 200ms;
}
.horizontal6 a:hover img{
    transform: scale(1.80);
    overflow: hidden;
    z-index: 150;
    -webkit-transition: all 200ms ease-in-out 100ms;
    -moz-transition: all 200ms ease-in-out 100ms;
    transition: all 200ms ease-in-out 100ms;
}
.horizontal6 a code{
    /*
    float: left;
    float: inherit;
    top:5px;*/
    position: fixed ;
    top:50px;
    left: 0;
    margin: auto;
    text-align: center;
    font-size: 1.5em;
    border-radius: 0;
    padding-top: 15px;
    padding-bottom: 25px;
    padding-left: 10px;

    z-index: 15;
    visibility: hidden;
    color: green;
}
.horizontal6 a:hover code {
    visibility: visible;
    mix-blend-mode: lighten ;
    background-blend-mode: difference;
    background: rgba(255,255,255,0.8);
    -webkit-transition: all 200ms ease-in-out 100ms;
    -moz-transition: all 200ms ease-in-out 100ms;
    transition: all 200ms ease-in-out 100ms;
}

/*cambio a 6 */

.horizontal5{
    position: relative;
    float: left;
    /*height: 350px;
    width: auto;
    overflow: hidden;*/
    box-shadow: 0px 2px 10px 0px rgba(255, 255, 255, 0.5);
    margin: 7px;

}
.horizontal5 a img{
    /*position: relative;
    float: inherit;*/
    height: 295px;
    width: auto;
    /*float: left;
    top:50px;*/
}
.horizontal5 a code{
    /*
    float: left;
    float: inherit;
    top:5px;*/
    position: absolute ;
    top:50px;
    left: 0;
    margin: auto;
    text-align: center;
    font-size: 1.5em;
    border-radius: 0;
    padding-top: 15px;
    padding-bottom: 25px;
    padding-left: 10px;

    z-index: 15;
    visibility: hidden;
    color: green;
}
.horizontal5 a:hover code {
    visibility: visible;
    mix-blend-mode: lighten ;
    background-blend-mode: difference;
    background: rgba(255,255,255,0.6);
}


/* 4 */
.horizontal4{
    position: relative;
    float: left;
    height: 240px;
    /*width: auto;*/
    overflow: hidden;
    box-shadow: 0px 2px 10px 0px rgba(255, 255, 255, 0.8);
    margin: 7px;

}
.horizontal4 a{
    /*position: relative;
    float: left;*/
    /*float: inherit;*/
    display: inline-block;
    /*width: 25%;
    width: auto;*/



    /*  padding-top: 1%;*/
    /*overflow: hidden;*/
    text-decoration: none;
}
.horizontal4 a code{
    /*position: sticky ;
    float: left;
    float: inherit;
    top:5px;*/

    text-align: center;
    font-size: 1.5em;
    border-radius: 0;
    padding-top: 15px;
    padding-bottom: 25px;
    padding-left: 10px;

    z-index: 15;
    visibility: hidden;
    color: green;
}
.horizontal4 a:hover code{
    visibility: visible;
    position: sticky;
    float: top;
    top: 70px;
    left: 250px;
    width: 100%;
}
.horizontal4 a code small{

    font-size: 0;
    color:#666666;

}
.horizontal4:hover a code small{

    font-size: 0.5em;
    color:#666666;


}
.horizontal4 a img{
    /*position: relative;
    float: inherit;*/
    height: 280px;
    width: auto;
    /*float: left;
    top:50px;*/

}

.horizontal4 a:hover code{
    color: #1b6d85;
    width: 55%;
    z-index: 20;
    visibility: visible;
    mix-blend-mode: lighten ;

}
.horizontal3 a:hover img{
    z-index: 19;
    /*height: auto;*/


}
.horizontal4 p.velo{


    text-align: center;
    font-size: 0.9em;
    z-index: 16;
    background: rgba(21,143,8,0.7);
    width: auto;
    mix-blend-mode: exclusion;
    color: #FFFFFF;
}

/*cambio a 3*/



.dentro{
    /*position: absolute;
    float: left;*/
    top:20px;
    padding-top: 5px;

    width: 100%;
    height: 105px;
    background: rgba(0,0,0,0.6);



}
.dentro h3, .dentro h4{
    color: #ffffff;
}
h4 span {
    position:absolute;
    right:20px;
    width:0;
    background: #FFFFFF;
    border-left: 1px solid #000;
    animation: escribir 5s steps(30) infinite alternate;
}
@keyframes escribir {
    from { width: 90% }
    to { width:10% }
}
/*
.dentro:after{
    font-size: 35px;
    content: '->';
    width: 30%;
    height: 95px;
    background: #00b3ff;
}
*/
.dentro .principal2:hover h3{
    color: coral;
}

.fotocategoria {
    box-shadow: 0px 2px 10px 0px rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    overflow: hidden;
}

.fotocategoria img:hover{

    transform: scale(1.80);

}

.alante{
    z-index: 3;
    width: 650px;
    left: -525px;
    bottom: 50px;
    opacity: 0.2;
    -webkit-transition: all 200ms ease-in-out 100ms;
    -moz-transition: all 200ms ease-in-out 100ms;
    transition: all 200ms ease-in-out 100ms;
 /*   mix-blend-mode:soft-light   ;*/

}
.alante:hover{
    left: 0px;
    opacity: 0.99;
}
.btn-warning {
    color: #fff;
    background-color: darkorange;
    border-color: darkorange;
}
.overlay{
    z-index: 1000;
}

 .pie{
     background: #666666;
 }
.row .col.s2 {
    width: 20.0%;
    margin-left: auto;
    left: auto;
    right: auto;
}
.row .col {
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 0.75rem;
    min-height: 1px;
}
.activo{
    color:red;
}
.activo2{
    color:orange;
}


#listaNumeros {
    counter-reset: li;
    list-style: none;
    *list-style: decimal;
    font-size: 15px ;
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

#listaNumeros ol {
    margin: 0 0 0 2em;
}

#listaNumeros {
    list-style-type: none;
    list-style-type: decimal !ie; /*IE 7- hack*/

    margin: 0;
    margin-left: 1em;
    padding: 0;

    counter-reset: li-counter;
}

#listaNumeros > li{
    position: relative;
    margin-bottom: 1.5em;
    padding: 1.5em;
    background-color: #F2F2F2;
}

#listaNumeros > li:before {
    position: absolute;
    top: -0.3em;
    left: -0.5em;
    width: 1.8em;
    height: 1.2em;

    font-size: 2em;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    color: #F2F2F2;
    background-color: #000;

    transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -webkit-transform: rotate(-20deg);
    z-index: 99;
    overflow: hidden;

    content: counter(li-counter);
    counter-increment: li-counter;
}



#listaNumeros2 ol {
    counter-reset: li;
    list-style: none;
    *list-style: decimal;
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

#listaNumeros2 ol {
    margin: 0 0 0 2em;
}

#listaNumeros2 {
    list-style-type: none;
    list-style-type: decimal !ie; /*IE 7- hack*/

    margin: 0;
    margin-left: 3em;
    padding: 0;

    counter-reset: li-counter;
}

#listaNumeros2 > li{
    position: relative;
    margin-bottom: 20px;
    padding: 1em;
    border-left: 2px solid #95c260;
    background-color: #95c262;
    color:#FFF;
}
#listaNumeros2 > li a{
    color: #ffffff;
    font-weight: bold;
}
#listaNumeros2 > li:before {
    position: absolute;
    top: 0;
    left: -0.95em;
    width: 1em;

    font-size: 4em;
    line-height: 1;
    font-weight: bold;
    text-align: right;
    color: #95c262;

    transform: rotate(-25deg);
    -ms-transform: rotate(-25deg);
    -webkit-transform: rotate(-25deg);
    z-index: -99;
    overflow: hidden;

    content: counter(li-counter);
    counter-increment: li-counter;
}
.Fotofondo0{
    background: url("/imagenes/medni/ATARDECER7.JPG");
    opacity: 0.8;
    background-repeat: no-repeat;
    background-size: cover;
}
.Fotofondo20{
    background: url("/imagenes/medni/ATARDECER5.JPG");
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
}
.Fotofondo22{
    background: url("/imagenes/medni/ATARDECER0.JPG");
    opacity: 0.8;
    background-repeat: no-repeat;
    background-size: cover;
}
.Fotofondo23{
    background: url("/imagenes/medni/ATARDECER01.JPG");
    opacity: 0.8;
    background-repeat: no-repeat;
    background-size: cover;
}
blockquote{
    background: rgba(81,158,194,0.7);
    color: #FFFFFF;
}



.milky {

    font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif;;
    text-transform: uppercase;
    display: block;
    font-size: 36px;
    color: #f1ebe5;
    text-shadow: 0 8px 9px #c4b59d, 0px -2px 1px #fff;
    font-weight: bold;
    letter-spacing: -2px;
    text-align: center;
    background: linear-gradient(to bottom, #ece4d9 0%,#e9dfd1 100%);

    padding: 50px 50px;
    /*
    position: absolute;
    top: 65%;
    left: 50%;

    transform: translate(-50%,-50%);
    */
    border-radius: 20px;
}
.blancotexto{
    color: #ffffff;
}
.titulin{
    color: #ffffff;
    /*background: rgba(255,255,255,0.6);*/
    background: rgba(0,0,0,0.6);
}
.azulon{
color:rgba(149,182,199,0.8);
}
.fondoblanco{
    background: #ffffff;
}
.fondoazulon{
    background: rgba(149,182,199,0.8);
}
.media {
    margin-top: 0px;
}
h4 span {
    position:absolute;
    right:20px;
    width:0;
    border-left: 1px solid #000;
    animation: escribir 5s steps(30) infinite alternate;
}
/*
@keyframes escribir {
    from { width: 100% }
    to { width:0 }
}*/

@keyframes escribir {
    from { width: 90% }
    to { width:10% }
}

@keyframes tipsy {
0 {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
}
100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
}
}
a.imposible {
    color: #fffbf1;
    text-shadow: 0 20px 25px #2e2e31, 0 40px 60px #2e2e31;
    font-size: 36px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: -3px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);

}
a.imposible:hover {
    color: rgba(149,182,199,0.8);
}
a.imposible:before,
a.imposible:after {
    content: '';
    padding: .9em .4em;
    position: absolute;
    left: 50%;
    width: 100%;
    top: 50%;
    display: block;
    border: 15px solid rgba(149,182,199,1);

    transform: translateX(-50%) translateY(-50%) rotate(0deg);
    animation: 10s infinite alternate ease-in-out tipsy;

}

a.imposible:before {
    border-color: rgba(149,182,199,1) rgba(149,182,199,1) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    z-index: -1;
}

a.imposible:after {
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(149,182,199,1) rgba(149,182,199,1);
    box-shadow: 25px 25px 25px rgba(46, 46, 49, .8);
}
/* fin imposible titular */

/* inicio titu peuqeño con imposible */

a.enlaceimposible {
    color: #fffbf1;
    text-shadow: 0 20px 25px #2e2e31, 0 40px 60px #2e2e31;
    /*font-size: 36px;*/
    font-weight: bold;
    text-decoration: none;
    letter-spacing: -1px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
a.enlaceimposible:hover {
    color: rgba(149,182,199,0.8);
}
a.enlaceimposible:before,
a.enlaceimposible:after {
    content: '';
    padding: .9em .4em;
    position: absolute;
    left: 50%;
    width: 100%;
    top: 50%;
    display: block;
    border: 2px solid red;

    transform: translateX(-50%) translateY(-50%) rotate(0deg);
    animation: 10s infinite alternate ease-in-out tipsy;
}

a.enlaceimposible:before {
    border-color: #d9524a #d9524a rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    z-index: -1;
}

a.enlaceimposible:after {
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #d9524a #d9524a;
    box-shadow: 15px 15px 15px rgba(46, 46, 49, .8);
}

/* inicio titu peuqeño con imposible */

@media only screen and (max-width: 1200px) {
    .horizontal2 a{
        position: relative;
        float: left;
        display: block;
        width: 33%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        -webkit-transition: all 200ms ease-in-out 100ms;
        -moz-transition: all 200ms ease-in-out 100ms;
        transition: all 200ms ease-in-out 100ms;
        height: 250px;
        padding-top: 1%;
        /*overflow: hidden;*/
        text-decoration: none;
    }
}
@media only screen and (max-width: 800px) {
    .horizontal2 a{
        position: relative;
        float: left;
        display: block;
        width: 50%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        -webkit-transition: all 200ms ease-in-out 100ms;
        -moz-transition: all 200ms ease-in-out 100ms;
        transition: all 200ms ease-in-out 100ms;
        height: 250px;
        padding-top: 1%;
        /*overflow: hidden;*/
        text-decoration: none;
    }
}
@media only screen and (max-width: 500px) {
    .horizontal2 a{
        position: relative;
        float: left;
        display: block;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        -webkit-transition: all 200ms ease-in-out 100ms;
        -moz-transition: all 200ms ease-in-out 100ms;
        transition: all 200ms ease-in-out 100ms;
        height: 250px;
        padding-top: 1%;
        /*overflow: hidden;*/
        text-decoration: none;
    }
}
