
body, html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
body {
    font-family: "Open Sans", Arial, sans-serif;
    /*transition: all 0.3s ease-in-out 0s;*/
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
}
p {
    color: #828282;
    font-size: 17px;
    font-weight: 400;
}
a {
    color: #2c383c;
}
a:hover {
    color: #ffd42d;
}

#wrapper {
    height: 100%;
}

div.main-content {
    overflow: hidden;
    min-height: 660px;
    height: 75%;
}

div.main-content aside {
    float: left;
    width: 365px;
    height: 100%;
    /*background-color: #E54545;*/
    background-color: #e01737;
    text-align: center;
}
div.main-content aside .profile-pic {
    height: 260px;
    position: relative;
    margin-bottom: 5px;
    width: 100%;
}
div.main-content aside .cercle {
    background: url("../img/cercle.png") no-repeat;
    bottom: 0;
    display: table-cell;
    height: 210px;
    left: 0;
    margin: auto;
    padding: 15px;
    position: absolute;
    right: 0;
    top: 0;
    vertical-align: middle;
    width: 210px;
    overflow: hidden;
}

div.main-content aside ul.dates {
    margin: 0;
    padding: 0;
}
div.main-content aside ul.dates li {
    list-style: none;
    font-size: 28px;
    font-weight: 200;
    margin: 0 15px 5px 15px;
    color: #ffffff;
    text-align: center;
}
div.main-content aside ul.dates li span {
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #DA3333;
}

div.main-content aside div.logo {
    border: 15px solid transparent;
    margin: 15px 0 0 0;
    text-align: center;
    max-width: 210px;
    width: auto;
    background-color: #ffffff;
    padding: 3px;
    max-height: 95px;
    display: inline-block;
    overflow: hidden;
}
div.main-content aside div.logo img {
    max-width: 100%;
    max-height: 95px;
}

.img-responsive {
    display: block;
    height: 100%;
    width: 100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

div.main-content section {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
}

div.main-content section #eslogan {
    bottom: 0;
    font-size: 42px;
    font-weight: 400;
    margin: 25px;
    position: absolute;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    padding: 0 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    text-align: right;
}


footer {
    background-color: #E9EAEE;
    width: 100%;
    min-height: 190px;
    height: 25%;
    /*padding: 20px 30px;*/
    z-index: 99;
}

div.center {
    width: 100%;
}

footer div.count {
    float: left;
    background-color: #CBCDD2;
    height: 100%;
    width: 365px;
    text-align: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /*border: 30px solid #bfc1c7;*/
}
footer div.count ul.countdown {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    overflow: hidden;
}
footer div.count ul.countdown li {
    display: inline-block;
    float: left;
}
footer div.count ul.countdown li span {
    font-size: 80px;
    font-weight: 300;
    line-height: 80px;
}
footer div.count ul.countdown li.seperator {
    font-size: 80px;
    line-height: 70px;
    vertical-align: top;
}
footer div.count ul.countdown li p {
    color: #454545;
    margin: 2px 0 0 0;
    font-size: 14px;
}

footer div.operations {
    float: left;
    height: 100%;
    position: relative;
}
footer div.operations p {
    font-size: 28px;
    margin: 30px 30px 0 30px;
}
footer div.operations span {
    display: inline-block;
    position: absolute;
    bottom: 30px;
    right: 30px;
}
footer div.operations #miembros {
    border: medium none;
    bottom: 30px;
    height: 35px;
    left: 30px;
    line-height: 35px;
    padding: 0 5px;
    position: absolute;
    width: 220px;
    font-size: 14px;
}
footer div.operations .fa {
    font-size: 36px;
    color: #E54545;
    cursor: pointer;
    margin: 0 10px;
    width: 35px;
    text-align: center;
}
#referencias{
    font-weight: bold;
    font-size: 30px;
}
#nombre{
    text-transform: uppercase;
}
.overlay {
    height: 100%;
    background-color: white;
}
.disabled{
    opacity: 0.5;
    cursor: default !important;
}
@keyframes finished {
    from {color: black;}
    to {color: red;}
}
.finished{
    animation-name: finished;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}


div.popup-hack {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
}
div.popup-hack div.helper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.popup-hack img {
    max-width: 100%;
}

/************************************************************************************
smaller than 850px height
*************************************************************************************/
@media screen and (max-height: 849px) {
    
    div.main-content {
        min-height: 480px;
    }

    div.main-content aside {
        width: 305px;
    }  
    div.main-content aside .profile-pic {
        height: 170px;
    }
    div.main-content aside .cercle {
        background-size: 145px 145px;
        height: 125px;
        width: 125px;
        padding: 10px;
    }
    div.main-content aside ul.dates li {
        font-size: 18px;
    }    
    div.main-content aside ul.dates li span {
        height: 28px;
        line-height: 28px;
    }
    div.main-content aside div.logo img {
        max-height: 70px;
    }

    div.main-content section #eslogan {
        font-size: 28px;
    }

    footer {
        min-height: 155px;
    }
    footer div.count {
        width: 305px;
    }

    footer div.operations p {
        font-size: 18px;
        margin: 20px 20px 0;
    }   
    footer div.operations #miembros {
        bottom: 20px;
        left: 20px;
    }
    footer div.operations span {
        bottom: 20px;
        right: 20px;
    }

}