@media (max-width: 1260px) {
    #header > div:nth-child(2) { padding:0 10px; box-sizing: border-box;}
    #header > div:nth-child(2),
    #header > .botonera {  width:100%; }
    #header .botonera > li > a { font-size:1.1vw; line-height: 1.1vw;}
    #header .botonera > li > a:after { margin:0 1vw;}
    .recetas_home { height: 20vw;}
    .recetas_home ul li { width: calc((100vw - 20px)/4 - (30px/4)); }
    .container { padding-left:10px; padding-right: 10px; box-sizing: border-box;}
	.video_fb { max-height:730px; }
}

@media (max-width: 1100px) {
    #footer > div:nth-child(2) > div:first-child { display:none;}
    #footer > div:nth-child(2) > div:nth-child(2) { width:35%;}
    #footer > div:nth-child(2) > div:nth-child(3) { width:35%;}
    #footer > div:nth-child(2) > div:nth-child(4) { width:30%;}
	.video_fb { max-height:430px; }
}

@media (max-width: 1000px) {
	.video_fb { max-height:430px; }
}

@media (max-width: 900px) {
    #header .social li { margin:0 10px;}
    #header form input:not([type="submit"]) { width:180px; }
    #header > div:nth-child(2) > div:nth-child(3) { display:  none;}
    #header > div:nth-child(2) > div:nth-child(4) { width:calc((100% - 320px)/2); }
	.video_fb { max-height:430px; }
    .botvolv2 a{font-size: 20px;}
    .list_galeria2017 {width: calc(50% - 10px);}
}

/*Mobile*/
@media(max-width: 840px) {
  .cajas_opciones {
    background: #28282a;
    color: #fff;
    padding: 0 10px;
  }
  .cajas_opciones .texts h2 {
    color: #fff;
    font-size: 20px;
    font-family: 'Montserrat';
    font-weight: 700;
  }
}
@media(max-width: 800px) {
    body { margin-top:80px;}
    #header { transition:.3s .2s ease-out; height: 80px; overflow: hidden;}
    #header .best { display:none;}
    #header > div:nth-child(2) > :first-child { position:absolute; display:none;}
    #header > div:nth-child(2) > div:nth-child(4) { opacity: 0; position: absolute; width:100%; left:0; bottom:0; text-align: center; padding:0 10px; box-sizing: border-box; transition:opacity .3s ease-out; display:block; visibility: hidden;}
    #header .hamburguer { width:40px; height:40px; background: url("/images/hamburguer.png") center center no-repeat #000; background-size: 26px; position: absolute; top: 20px; right:20px; border-radius: 5px;}
    #header > div:nth-child(2) > div:nth-child(2) { width:100%; text-align: left; padding-left:10px; padding-top: 10px;}
    #header > div:nth-child(2) > div:nth-child(2) > a > img { height: 60px;}
    #header .botonera { opacity: 0; border-bottom:0; padding:0; transition: .3s ease-out;}
    #header .botonera > li { display:block; }
    #header .botonera > li > a:after { display:none;}
    #header .botonera > li > a { font-size:14px; line-height: 30px; }
    #header form { margin-bottom:10px; }
    #header form input:not([type="submit"]) { width: calc(100% - 33px);}

    #header.expanded { height:100vh; position:fixed;  transition: .3s ease-out;}
    #header.expanded .botonera { opacity: 1; transition: .3s .2s ease-out;}
    #header.expanded > div:nth-child(2) > div:nth-child(4) { opacity:1; transition: .3s .2s ease-out; visibility:visible;}

    #footer > div:nth-child(2) > div:nth-child(2),
    #footer > div:nth-child(2) > div:nth-child(3),
    #footer > div:nth-child(2) > div:nth-child(4){ width:100%; display:block; margin-bottom:30px;}

    .container > .content { display:block; }
    .container > .right_col { display:block; width:100%; padding-left:0;}

    .col_news.three .noticia { width:calc(50% - 10px); }
    .col_news.three .noticia:nth-child(3n) { margin-left:0;}
    .col_news.three .noticia:nth-child(3n - 1) { margin:0;}
    .col_news.three .noticia:nth-child(3n - 2) { margin-right:0;}
    .col_news.three .noticia:nth-child(2n) { margin-left:10px;}
    .col_news.three .noticia:nth-child(2n - 1) { margin-right:10px;}

    .two_cols > div,
    .two_cols.table > div{ width:100%; display:block}
    .two_cols > div:first-child { margin-right:0; margin-bottom:20px;}
    .two_cols > div:last-child { margin-left:0;}

    .label.big { max-width:400px; width:100%; min-height: 32px; height: auto; }
    .separator.big:before { max-width: 400px; width:100%; }

    .restaurante > div { display:block; vertical-align: top;}
    .restaurante > div:first-child { padding-right:0; width:100%; margin-bottom:10px;}

    .buscador_restaurantes { padding-left:0; background:none;}
    .buscador_restaurantes input[type="checkbox"]:not(:first-child) { margin-left:10px;}
    .buscador { padding-left:0;}
    .recetas_home { height: 38vw;}
	.video_fb { max-height:500px; }

}

@media (max-width: 700px) {
	.video_fb { max-height:660px; }
}
@media (max-width: 600px) {
    .recetas_home ul li { width: calc((100vw - 20px)/2 - (20px/2)); margin:0 10px; }
    .recetas_home ul li:nth-child(4n - 3) { margin-left:10px;}
    .recetas_home ul li:nth-child(4n) { margin-right:10px;}
    .recetas_home ul li:nth-child(2n - 1) { margin-left:0px;}
    .recetas_home ul li:nth-child(2n) { margin-right:0px;}
	.video_fb { max-height:560px; }
	#finalistas .noticia:nth-child(6n), #finalistas .noticia { position: relative; width: 100%; float: none; margin: 0 auto; margin-bottom: 20px; max-width: 485px; }
	.desk { display:none; }
	.mov { display:block; }
}

@media(max-height: 590px) {
    #header .botonera > li > a { line-height: calc((100vh - 200px) / 13); }
}

@media(max-width:600px) {

    .entrada_empleo{
        height:auto;
        background:none;
        text-align:left;
        padding-left:0;
        margin-top:20px;
    }

    .cabecera_oferta,
    .cabecera_demanda{
        height:auto;
        background:none;
        text-align:left;


    }
    #cabecera_ficha {
        background: none;
        padding:0;
        min-height: 0;
    }

    #cabecera_ficha tr,
    #fondo_ficha tr {
        display:block;
    }
    #cabecera_ficha tr td,
    #fondo_ficha tr td {
        display:block;
        width:100%;
        padding:10px 0;
    }
    #fondo_ficha {
        background:none;
        padding:0;
        min-height: 0;
    }

}


@media(max-width: 500px) {
    .col_news.three .noticia { width:100%; display:block; }
    .col_news.three .noticia:nth-child(2n) { margin-left:0;}
    .col_news.three .noticia:nth-child(2n - 1) { margin-right:0;}

    .col_news.two .noticia { width:100%; display:block; }
    .col_news.two .noticia:nth-child(2n) { margin-left:0;}
    .col_news.two .noticia:nth-child(2n - 1) { margin-right:0;}
    .noticia .description { margin-bottom:20px;}

    .yearBox { width:33.3333%;}
    .recetario { position:relative;}
    .recetario > div:nth-child(2) { display:block; width:100%; padding-right:0; margin-top:40px;}
    .recetario > div:last-child { display:none; width:100%; background-color: #FFF; padding:5px; box-sizing: border-box;}
    .recetario .filtros { display:inline-block; float:right; cursor: pointer;}

    .xxs-hidden { display:none;}

    .pagination li { min-width: 9vw;}
	.video_fb { max-height:260px; }
	
}
@media(max-width: 420px) {
	.musicg{ display:none; }
	.musicr{ display:block; }
	.video_fb { max-height:200px; }
    .list_galeria2017 {width: 100%;float: none;margin-right: 0;text-align: center;}
  .cajas_opciones .texts h2 {
    color: #fff;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 700;
  }
}
