.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}
* {
	outline: 0;
}
.relative{
    position: relative;
}
/* ============================== */
/* ! Clearfix hack para IE        */
/* ============================== */

html.lt-ie7 .row,
html.lt-ie7 .clr,
html.lt-ie7 .group							{ zoom: 1; } /* IE6 */


html.lt-ie8 *:first-child+html .row,
html.lt-ie8 *:first-child+html .clr,
html.lt-ie8 *:first-child+html .group		{ zoom: 1; } /* IE7 */


/* ============================== */
/* ! Font faces                   */
/* ============================== */
/**/
@font-face {
    font-family: 'nbold';
    src: url('../font/NescafeSans-Bold.eot');
    src: url('../font/NescafeSans-Bold.eot?#iefix') format('embedded-opentype'),
     url('../font/NescafeSans-Bold.woff') format('woff'),
     url('../font/NescafeSans-Bold.ttf') format('truetype'),
     url('../font/NescafeSans-Bold.svg#NescafeSans-Bold') format('svg');
    font-weight: lighter;
    font-style: lighter;
}

@font-face {
    font-family: 'nitalic';
    src: url('../font/NescafeSans-Italic.eot');
    src: url('../font/NescafeSans-Italic.eot?#iefix') format('embedded-opentype'),
     url('../font/NescafeSans-Italic.woff') format('woff'),
     url('../font/NescafeSans-Italic.ttf') format('truetype'),
     url('../font/NescafeSans-Italic.svg#NescafeSans-Italic') format('svg');
    font-weight: lighter;
    font-style: lighter;
}


@font-face {
    font-family: 'nlight';
    src: url('../font/NescafeSans-Light.eot');
    src: url('../font/NescafeSans-Light.eot?#iefix') format('embedded-opentype'),
     url('../font/NescafeSans-Light.woff') format('woff'),
     url('../font/NescafeSans-Light.ttf') format('truetype'),
     url('../font/NescafeSans-Light.svg#NescafeSans-Light') format('svg');
    font-weight: lighter;
    font-style: lighter;
}


@font-face {
    font-family: 'nregular';
    src: url('../font/NescafeSans-Regular.eot');
    src: url('../font/NescafeSans-Regular.eot?#iefix') format('embedded-opentype'),
     url('../font/NescafeSans-Regular.woff') format('woff'),
     url('../font/NescafeSans-Regular.ttf') format('truetype'),
     url('../font/NescafeSans-Regular.svg#NescafeSans-Regular') format('svg');
    font-weight: lighter;
    font-style: lighter;
}

/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

body,html{
    color: #333; 
    height: 1417px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: #dfe0d2;
}
body {
    font-family: 'nregular';
    font-size: 23px;
    font-weight: lighter;
    
}
h1{
    font-family: 'nbold';
}
.italic{
    font-family: 'nitalic';
}
.regular{
    font-family: 'nregular';
}
.light{
    font-family: 'nlight';
}
.bold{
    font-family: 'nbold';
}

.seccion{
    position: relative;
}

#container{
    background-color: #f6eede;
    background-image: url("../img/bg.jpg");
    background-repeat: no-repeat;
    height: 1417px;
    left: 50%;
    margin-left: -405px;
    overflow: hidden;
    position: relative;
    width: 810px;
}

.volver{
    background-color: #EC1D23;
    border-bottom: 3px solid #C1181D;
    border-radius: 10px;
    border-right: 3px solid #C1181D;
    box-shadow: 0 0 0 3px #FFFFFF;
    color: #FFFFFF;
    font-size: 21px;
    padding: 10px 7px 7px 10px;
    position: absolute;
    text-transform: uppercase;
    top: 20px;
    left: 20px;
    text-decoration: none;
}
.volver:hover{
    border-bottom: none;
    border-right: none;
    border-left: 3px solid #C1181D;
    border-top: 3px solid #C1181D;
    padding: 7px 10px 10px 7px;
    cursor: pointer;
}
/* ====== */
#header{
    height: 320px;
    position: relative;
    width: 100%;
}
#header .votaygana{
    background-image: url('../img/votaygana.png');
    width: 145px;
    height: 160px;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1;
}
#header .logoNescafe{
    background-image: url("../img/logo.png");
    height: 57px;
    left: 50%;
    margin-left: -109px;
    position: absolute;
    top: 30px;
    width: 217px;
}
#header .logoRF{
    background-image: url("../img/logoRF.png");
    height: 190px;
    left: 50%;
    margin-left: -265px;
    position: absolute;
    top: 120px;
    width: 531px;  
}
#header .modalpremios{
    background-color: #e10613;
    box-shadow: 0px 0px 10px #333;
    width: 520px;
    height: 160px;
    color: #fff;
    position: absolute;
    display: none;
    right: 0px;
    padding: 10px;
}
#header .modalpremios h2{
    font-family: 'nregular';
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
}
#header .modalpremios p{
    font-family: 'nregular';
    font-size: 15px;
    width: 140px;
}
#header .modalpremios .goprochica{
    background-image: url("../img/goproChica.png");
    height: 103px;
    position: absolute;
    right: 150px;
    top: 57px;
    width: 168px;
}
#header .modalpremios .btnVotarhistoria{
    background-color: #EC1D23;
    border-bottom: 3px solid #C1181D;
    border-radius: 10px;
    border-right: 3px solid #C1181D;
    box-shadow: 0 0 0 3px #FFFFFF;
    color: #FFFFFF;
    font-size: 18px;
    padding: 10px 7px 7px 10px;
    position: absolute;
    text-transform: uppercase;
    font-family: 'nregular';
}
#header .modalpremios .btnVotarhistoria:hover{
    border-bottom: none;
    border-right: none;
    border-left: 3px solid #C1181D;
    border-top: 3px solid #C1181D;
    padding: 7px 10px 10px 7px;
    cursor: pointer;
}

#content{
    position: relative;
    width: 100%;
}
#content .cajaVideo{
    background-color: #fff;
    box-shadow: 0 0 10px #333333;
    width: 590px;
    height: 320px;
    padding: 10px;
    left: 50%;
    position: relative;
    margin-left: -300px;
}
#content .medio{
    position: relative;
}
#content .medio h1{
    font-size: 33px;
    text-align: center;
}
#content .medio p{
    font-size: 17px;
    text-align: center;
}
#content .medio .caja_texto{
    height: 190px;
    position: relative;
    width: 100%;
}
#content .medio .caja_texto textarea{
    border: 1px solid #D1D1D1;
    border-radius: 10px;
    color: #333333;
    font-family: 'nregular';
    font-size: 14px;
    height: 130px;
    left: 50%;
    margin-left: -255px;
    padding: 5px 5px 27px;
    position: relative;
    resize: none;
    width: 510px;
}
#content .medio .caja_texto .btn{
    background-color: #EC1D23;
    border-bottom: 3px solid #C1181D;
    border-radius: 10px;
    border-right: 3px solid #C1181D;
    box-shadow: 0 0 0 3px #FFFFFF;
    color: #FFFFFF;
    font-size: 21px;
    left: 50%;
    margin-left: -100px;
    margin-top: -20px;
    padding: 10px 7px 7px 10px;
    position: absolute;
    text-transform: uppercase;
}
#content .medio .caja_texto .btn:hover{
    border-bottom: none;
    border-right: none;
    border-left: 3px solid #C1181D;
    border-top: 3px solid #C1181D;
    padding: 7px 10px 10px 7px;
    cursor: pointer;
}
#content .medio .caja_texto a{
    bottom: 8px;
    color: #333333;
    font-family: 'nregular';
    font-size: 11px;
    position: absolute;
    right: 142px;
    text-decoration: none;
}
#content .medio .premios{
    height: 270px;
    margin-left: 50px;
    position: relative;
    width: 90%;
}
#content .medio .premios .gopro{
    background-image: url('../img/gopro.png');
    width: 380px;
    height: 250px;
    position: relative;
    float: left;
}
#content .medio .premios .mug{
    background-image: url("../img/mugs.png");
    float: right;
    height: 229px;
    margin-top: 20px;
    position: relative;
    width: 332px;
}
#content .medio .footer{
    font-family: 'nbold';
    position: relative;
}
#content .medio .footer p{
    font-size: 14px;
    text-align: center;    
}

/* HISTORIAS */
#contentHistorias{
    height: 560px;
    margin-left: 28px;
    position: relative;
    width: 760px;
}
#contentHistorias .cbtn{
    height: 40px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}
#contentHistorias .cbtn .ordenarpor{
    background-color: #EE3339;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 17px;
    height: 23px;
    left: 50%;
    margin-left: -110px;
    padding: 5px;
    position: relative;
    text-align: left;
    width: 220px;
}
#contentHistorias .cbtn .flecha{
    background-image: url("../img/flecha.png");
    cursor: pointer;
    height: 13px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 15px;
}
#contentHistorias .relatos{
    height: 530px;
    padding-left: 12px;
    position: relative;
    width: 760px;
}
#contentHistorias .relatos .block{
    background-color: #FFFFFF;
    box-shadow: 0 0 5px #333333;
    float: left;
    height: 265px;
    margin: 10px 15px 20px 10px;
    position: relative;
    width: 215px;
}
#contentHistorias .relatos .block .picture{
    border-radius: 30px;
    float: left;
    height: 40px;
    margin-left: 10px;
    margin-top: 10px;
    position: relative;
    width: 40px;
}
#contentHistorias .relatos .block .name{
    float: right;
    font-family: 'nbold';
    font-size: 16px;
    margin-top: 20px;
    width: 150px;
}
#contentHistorias .relatos .block .historia{
    float: left;
    font-family: 'nregular';
    font-size: 12px;
    height: 163px;
    margin: 0;
    padding: 5px;
    text-align: left;
    width: 206px;
}
#contentHistorias .relatos .block .votos{
    background-color: #EE3339;
    bottom: 6px;
    color: #FFFFFF;
    float: left;
    font-family: 'nregular';
    font-size: 15px;
    height: 18px;
    margin-left: 5px;
    padding: 5px;
    position: absolute;
    text-align: right;
    text-transform: uppercase;
    width: 60px;
}
#contentHistorias .relatos .block .votos .corazon{
    background-image: url("../img/corazon.png");
    float: left;
    height: 14px;
    width: 16px;
    margin-top: 2px;

}
#contentHistorias .relatos .block .votar{
    background-color: #EE3339;
    bottom: 5px;
    color: #FFFFFF;
    cursor: pointer;
    float: right;
    font-family: 'nregular';
    font-size: 15px;
    height: 20px;
    margin-right: 5px;
    padding: 5px;
    position: absolute;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    width: 80px;
}

/* MODALES */
#modal{
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    position: fixed;
    top: 0;
    width: 810px;
    z-index: 10;
    left: 0px;
}
#modal .cerrar{
    background-color: #EC1D23;
    border: 3px solid #FFFFFF;
    border-radius: 25px;
    color: #FFFFFF;
    cursor: pointer;
    font-family: 'nlight';
    font-size: 25px;
    height: 25px;
    padding: 5px 5px 10px;
    position: absolute;
    right: -20px;
    text-align: center;
    top: -20px;
    width: 32px;
}
#modal .cerrar:hover{
    background-color: #fff;
    border: 3px solid #EC1D23;
    color: #EC1D23;
}
#modal .cuadro{
    background-color: #dbdccf;
    border: 5px solid #fff;
    border-radius: 10px;
    position: absolute;
    top: 25%;
    left: 50%;
    width: 590px;
    margin-left: -245px;
    height: 305px;
    padding: 10px;
}
#modal .cuadro .btn{
    background-color: #EC1D23;
    border-bottom: 3px solid #C1181D;
    border-radius: 10px;
    border-right: 3px solid #C1181D;
    box-shadow: 0 0 0 3px #FFFFFF;
    color: #FFFFFF;
    font-family: 'nregular';
    font-size: 18px;
    padding: 10px 7px 7px 10px;
    position: relative;
    text-transform: uppercase;
    width: 130px;
    float: left;
}
#modal .cuadro .btn:hover{
    border-bottom: none;
    border-right: none;
    border-left: 3px solid #C1181D;
    border-top: 3px solid #C1181D;
    padding: 7px 10px 10px 7px;
    cursor: pointer;
}
#modal .nuevo h1{
    font-size: 27px;
    width: 300px;
    margin: 0px;
}
#modal .nuevo p{
    font-size: 15px;
    width: 300px;
    font-family: 'nregular';
}
#modal .nuevo .vergaleria{
    margin-right: 15px;
}
#modal .taza{
    background-image: url("../img/tazaModal.png");
    height: 236px;
    position: absolute;
    right: 10px;
    top: 30px;
    width: 436px;
}
#modal .yaenvio h1{
    font-size: 37px;
    width: 300px;
    margin: 0px;
}
#modal .yaenvio p{
    font-size: 22px;
    width: 300px;
    font-family: 'nregular';
}
