html, body {
    margin: 0;
    height: 100%;
}

.cabecera{
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #cbcbcb;
    line-height: 53px;
    position: fixed;
    z-index:100;
    background:#FFFFFF;
    width: 100%;
}

.divenlaces{
    height: 100%;
    display: flex;
    align-items: stretch;
    min-height: 100%;
}

.enlace{
    display: list-item;
    width: 50%;
    list-style: none;
    height: 100%;
    min-height: 100%;
    transition: all ease 0.3s;
    text-align: center;
}

.enlace img{
    display: none;
}

.meideo{
    background: url(images/meideo.jpg) no-repeat center top;
    background-size: cover;

}

.meideo:hover{
    background: url(images/meideo2.jpg) no-repeat center top;
    background-size: cover;
}

.heartime{
    background: url(images/medcritic.jpg) no-repeat center top;
    background-size: cover;

}

.heartime:hover{
    background: url(images/medcritic2.jpg) no-repeat center top;
    background-size: cover;
}

.anestcritic{
    background: url(images/anestcritic.jpg) no-repeat center top;
    background-size: cover;

}

.anestcritic:hover{
    background: url(images/anestcritic2.jpg) no-repeat center top;
    background-size: cover;
}

.pie{
    background: #040606;
    position: fixed;
    bottom: 0px;
    padding:20px;
    color:#FFFFFF;
    width: 100%;
}

.pie a{
    color: #FFFFFF !important;
}

.ekko-lightbox-container{
    overflow-y: scroll;
}

@media (max-width: 992px) {

    .enlace img{
        display: inline-block;
        margin-top:50%;
    }

    .pie{
        position: relative;
    }

    .cabecera{
        position: relative;
    }

    .divenlaces{
        height: auto;
        display: block;
        min-height: auto;
    }

    .enlace{
        display: block;
        width: 100%;
        list-style: none;
        height: 500px;
        min-height: auto;
        transition: all ease 0.3s;
    }


.meideo:hover{
    background: url(images/meideo.jpg) no-repeat center top;
    background-size: cover;
}

.heartime:hover{
    background: url(images/medcritic.jpg) no-repeat center top;
    background-size: cover;
}

.anestcritic:hover{
    background: url(images/anestcritic.jpg) no-repeat center top;
    background-size: cover;
}
}

@media (max-width: 768px) {

    .pie {
		margin-left: -5px;
		white-space: nowrap;
	    font-size: 12px;
	}

}