@charset "UTF-8";

/* Fonts */
@font-face {
  font-family: "Flama-Bold";
  src: url("../fonts/Flama-Bold.eot");
  src: url("../fonts/Flama-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Flama-Bold.svg") format("svg"),
    url("../fonts/Flama-Bold.ttf") format("truetype"),
    url("../fonts/Flama-Bold.woff") format("woff"),
    url("../fonts/Flama-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Flama-Medium";
  src: url("../fonts/Flama-Medium.eot");
  src: url("../fonts/Flama-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Flama-Medium.svg") format("svg"),
    url("../fonts/Flama-Medium.ttf") format("truetype"),
    url("../fonts/Flama-Medium.woff") format("woff"),
    url("../fonts/Flama-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Karla-Bold";
  src: url("../fonts/Karla-Bold.eot");
  src: url("../fonts/Karla-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Karla-Bold.svg") format("svg"),
    url("../fonts/Karla-Bold.ttf") format("truetype"),
    url("../fonts/Karla-Bold.woff") format("woff"),
    url("../fonts/Karla-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Karla-Regular";
  src: url("../fonts/Karla-Regular.eot");
  src: url("../fonts/Karla-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Karla-Regular.svg") format("svg"),
    url("../fonts/Karla-Regular.ttf") format("truetype"),
    url("../fonts/Karla-Regular.woff") format("woff"),
    url("../fonts/Karla-Regular.woff2") format("woff2");
}

/* Fonts */

/* Reset */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  font-weight: normal;
  color: inherit;
  line-height: normal;
  text-decoration: none;
}

img {
  display: block;
}

button,
input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}

/* Reset */

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f1dd;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

/* 00. DRUPAL */
body.admin-menu.adminimal-menu:before {
  display: none;
}

#messages {
  display: none !important;
}

div.tabs {
  position: absolute;
  z-index: 98;
  top: 45px;
  left: 0;
}

.logged-in div.tabs {
  top: 74px;
}

div.tabs h2 {
  display: none;
}

div.tabs ul {
  overflow: hidden;
  margin: 0;
  padding: 20px;
  border: 0;
}

div.tabs li {
  float: left;
  margin: 0 5px 5px 0;
  display: block;
}

div.tabs ul li:last-child {
  margin: 0;
}

div.tabs li a {
  margin: 0;
  padding: 8px 10px 7px;
  border: 0 !important;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  display: block;
  font: 12px "Arial";
}

div.tabs li a:hover {
  background: #fff;
}

div.tabs li a span {
  display: none;
}

/* Login */
#user-login {
  width: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -160px;
  transform: translateY(-50%);
  display: block;
}

#user-login>div {
  overflow: hidden;
}

#user-login .form-item:first-child {
  margin: 0 0 16px 0;
}

#user-login .form-item:nth-child(2) {
  margin: 0 0 24px 0;
}

#user-login .form-actions {
  overflow: hidden;
  margin: 0;
  font-size: 0;
  text-align: center;
}

#user-login label {
  display: block;
  margin-bottom: 5px;
  padding-left: 8px;
  font: 16px "Karla-Bold";
  letter-spacing: -0.5px;
}

#user-login label span {
  color: #000;
}

#user-login .form-item input {
  width: 100%;
  height: 32px;
  margin-bottom: 8px;
  padding: 0 8px;
  box-sizing: border-box;
  background: #fff;
  display: block;
  font: 14px "Karla-Regular";
}

#user-login .description {
  padding: 0 8px;
  font: 11px "Karla-Regular";
}

#user-login .form-actions input {
  padding: 11px 24px 12px;
  background: #e4dfa4;
  display: inline-block;
  cursor: pointer;
  font: 14px "Flama-Bold";
  color: #6e6c2b;
  text-transform: uppercase;
}

/* Login */
/* 00. DRUPAL */

#global {
  width: 100%;
  height: 100vh;
  overflow: auto;
  position: relative;
  box-sizing: border-box;
}

/* 01. HOME */
.front #global {
  padding-left: 10%;
}

/* Sidebar */
#sidebar {
  width: 10%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
}

#sidebar div {
  width: 100%;
  height: 100%;
  position: relative;
}

#sidebar ul {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  list-style: none;
}

#sidebar li {
  position: absolute;
  left: 25%;
  margin-left: 17px;
  padding: 2px 5px;
  transform: translateY(-50%);
  cursor: pointer;
  font: 12px "Karla-Regular";
  color: #c7c04f;
}

#sidebar ul li:first-child {
  top: 10%;
}

#sidebar ul li:nth-child(2) {
  top: 50%;
}

#sidebar ul li:last-child {
  top: 70%;
}

#sidebar li:hover {
  background: #000;
  color: #fff;
}

#sidebar li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 100%;
  margin: -12px 5px 0 0;
  border: 2px solid #d5d07e;
  background: #fff;
  display: block;
  transition: 250ms;
}

#sidebar li.active::before {
  background: #d5d07e;
}

#sidebar figure {
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 25%;
  margin-left: -1px;
  background: rgba(0, 0, 0, 0.1);
}

#sidebar figure span {
  width: 100%;
  height: 10%;
  background: #d5d07e;
  display: block;
}

/* Sidebar */

#logo-agd {
  width: 8%;
  position: fixed;
  z-index: 99;
  top: 0;
  right: 2%;
  display: block;
}

#logo-agd img {
  width: 100%;
}

#social {
  position: fixed;
  z-index: 99;
  bottom: 20px;
  right: 2%;
}

#social a {
  display: block;
  margin-top: 8px;
}

/*#social a:first-child {
    margin-bottom: 10px;
}*/

#social a img {
  width: 40px;
  height: 40px;
}

#global>.block {
  height: 100vh;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

/* Bloque 1 */
#block1::before,
#block1::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  pointer-events: none;
}

#block1::before {
  background-image: url(../images/bg-block1-1.jpg);
}

#block1::after {
  z-index: 1;
  background-image: url(../images/bg-block1-2.png);
}

#block1 .wrapper {
  width: 33%;
  position: absolute;
  top: 45%;
  left: 36%;
  padding: 3% 6%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}

#block1 .wrapper img {
  max-width: 75%;
  margin-bottom: 27px;
}

#block1 .wrapper p {
  font: 15px "Karla-Regular";
  color: #1e1700;
  line-height: 17px;
}

/* Bloque 1 */

/* Bloque 2 */
#block2 {
  background: #f3f1dd;
}

#block2::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/bg-block2.png) left center no-repeat;
  background-size: contain;
  mix-blend-mode: multiply;
  display: block;
}

#block2::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/shadow.png) 0 0 no-repeat;
  background-size: contain;
  display: block;
  pointer-events: none;
}

#block2 .wrapper {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: nowrap;
}

#block2 .wrapper::before {
  content: "";
  width: 100%;
  height: 6px;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 60px;
  border-top: 3px solid #fff;
  border-bottom: 1px solid #fff;
  display: block;
}

#block2 .wrapper .col.left {
  width: 30%;
  position: relative;
}

#block2 .wrapper .col.right {
  width: 70%;
}

#block2 .wrapper .col.left img:first-child {
  width: 100%;
}

#block2 .wrapper .col.left img:last-child {
  width: 80%;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(-40%);
}

#block2 .wrapper p {
  position: relative;
  padding-left: 30px;
  font: 29px "Flama-Medium";
  color: #6e6c2b;
  line-height: 26px;
  text-transform: uppercase;
}

#block2 .wrapper p img {
  width: 50%;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 58px;
}

#block2>img {
  width: 15%;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

/* Bloque 2 */

/* Bloque 3 */
#block3 {
  padding-bottom: 70px;
}

#block3>.wrapper {
  width: 100%;
  height: 100%;
}

#block3 h2 {
  height: 33.33%;
  position: relative;
}

#block3 h2 span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -6px;
  transform: translate(-50%, -50%);
  font: 147px "Flama-Bold";
  color: #e9e4b2;
}

#block3 .thumbs {
  height: 66.67%;
}

#block3 .teaser {
  width: 50%;
  height: 50%;
  position: relative;
  float: left;
  display: block;
}

#block3 .teaser div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#block3 .teaser div::before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: block;
  transition: 250ms;
}

#block3 .teaser:hover div::before {
  opacity: 0;
}

#block3 .teaser h3 {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  font: 23px "Flama-Medium";
  color: #fff;
  text-transform: uppercase;
  line-height: 20px;
  text-align: center;
}

#block3 .teaser img {
  position: absolute;
  bottom: 25%;
  left: 50%;
  margin: 0 0 -5.5px -5.5px;
}

#block3 .view-footer {
  width: 100%;
  height: 70px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #e4dfa4;
}

#block3 .view-footer p {
  width: 100%;
  height: 100%;
}

#block3 .view-footer p a {
  width: 100%;
  height: 100%;
  display: block;
  font: 19px "Flama-Medium";
  color: #6e6c2b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 70px;
  text-align: center;
}

/* Bloque 3 */

/* Bloque 4 */
#block4 {
  background: #f3f1dd;
}

#block4::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/bg-block4.jpg) center no-repeat;
  background-size: auto 94%;
  mix-blend-mode: multiply;
  display: block;
}

#block4 figure {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/shape-oval.svg) center no-repeat;
  background-size: auto 94%;
}

#block4 .wrapper {
  width: 45%;
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: nowrap;
}

#block4 .wrapper .col.left {
  width: 70%;
}

#block4 .wrapper .col.right {
  width: 30%;
}

#block4 .wrapper p {
  position: relative;
  font: 20px "Flama-Medium";
  color: #d5d07e;
  line-height: 20px;
  text-transform: uppercase;
}

#block4 .wrapper p span {
  font-size: 33px;
  color: #6e6c2b;
  line-height: 29px;
}

#block4 .wrapper p img:first-child {
  width: 50%;
  position: absolute;
  bottom: 100%;
  left: 0;
  transform: translateX(-50%);
}

#block4 .wrapper p img:last-child {
  width: 40%;
  position: absolute;
  top: 100%;
  right: 0;
}

#block4 .wrapper .col:last-child img {
  width: 100%;
}

/* Bloque 4 */

/* Bloque 5 */
#block5 {
  padding: 0 30px;
  background: #fff url(../images/bg-block5.svg) center -1px no-repeat;
  background-size: 100% auto;
}

#block5 .grid {
  max-width: 960px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

#block5 .wrapper {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: wrap;
}

#block5 .wrapper .col.left {
  width: 60%;
}

#valores {
  width: 100%;
  margin-bottom: 60px;
}

#valores tbody {
  width: 100%;
  border: 0;
}

#valores tr {
  height: 25px;
  border-bottom: 1px solid #d5d07e;
}

#valores tr:last-child {
  border: 0;
}

#valores th,
#valores td {
  width: 33.33%;
  font: 14px "Flama-Medium";
  text-align: center;
}

#valores th {
  height: 35px;
  padding: 0;
  border: 0;
}

#valores tr td:first-child {
  padding-left: 25px;
  text-align: left;
}

#valores tr th:nth-child(2),
#valores tr td:nth-child(2) {
  border-right: 1px solid #fff;
  background: #eae7bd;
}

#valores tr th:nth-child(3),
#valores tr td:nth-child(3) {
  background: #eae7bd;
}

#ingredientes {
  margin-bottom: 60px;
  font: 14px "Flama-Medium";
}

#envases {
  width: 100%;
}

#envases tbody {
  width: 100%;
  border: 0;
}

#envases tr {
  height: 25px;
  border-bottom: 1px solid #d5d07e;
}

#envases tr:last-child {
  border: 0;
}

#envases th,
#envases td {
  width: 20%;
  border-right: 1px solid #d5d07e;
  font: 14px "Flama-Medium";
  text-align: center;
}

#envases th {
  padding: 0;
  border-bottom: 0;
  color: #d5d07e;
}

#envases tr th:first-child,
#envases tr td:first-child {
  text-align: left;
}

#envases tr th:last-child,
#envases tr td:last-child {
  border: 0;
}

#block5 .wrapper .col.right {
  width: 40%;
  padding-left: 60px;
  box-sizing: border-box;
}

#block5 .wrapper .col.right p,
#block5 .wrapper .col.right li {
  font: 21px "Flama-Medium";
  color: #d5d07e;
  text-transform: uppercase;
  line-height: 21px;
}

#block5 .wrapper .col.right p span {
  font-size: 35px;
  line-height: 30px;
}

#block5 .wrapper .col.right ul {
  position: relative;
  margin-bottom: 60px;
  display: block;
  list-style-position: inside;
}

#block5 .wrapper .col.right ul img {
  width: 40%;
  position: absolute;
  top: 100%;
  right: 0;
  transform: translate(30%, -50%);
}

#block5 .wrapper .col.right>img {
  width: 100%;
}

#block5 .wrapper>p {
  width: 100%;
  margin-top: 15px;
  padding: 10px 30px;
  box-sizing: border-box;
  background: #e4dfa4;
  font: 13px "Karla-Regular";
  color: #6e6c2b;
  text-align: center;
}

#block5 .wrapper>p strong {
  font-family: "Karla-Bold";
}

#block5 .wrapper>p a:hover {
  text-decoration: underline;
}

/* Bloque 5 */
/* 01. HOME */

/* 02. RECETAS */
/* Navbar */
.not-front #global {
  padding-top: 45px;
}

.not-front.logged-in #global {
  padding-top: 74px;
}

#navbar {
  width: 100%;
  height: 45px;
  position: absolute;
  top: 0;
  left: 0;
  background: #c7c04f;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.3);
}

.not-front.logged-in #navbar {
  top: 29px;
}

#navbar .logo {
  width: 194px;
  height: 100%;
  float: left;
  background: #fff;
}

#navbar .logo a {
  width: 88px;
  height: 29px;
  margin: 8px auto;
  display: block;
}

#btnMenu {
  display: none;
}

#menu {
  height: 100%;
  float: left;
  margin: 0 25px;
  display: block;
  list-style: none;
}

#menu li {
  height: 100%;
  float: left;
  margin-right: 50px;
  display: block;
  font: 12px "Karla-Regular";
  color: #fff;
  line-height: 45px;
}

#menu li:last-child {
  margin: 0;
}

#menu li a:hover {
  color: #6e6c2b;
  text-decoration: underline;
}

#menu li a {
  cursor: pointer;
}

#buscador {
  height: 100%;
  float: left;
}

#buscador form {
  height: 25px;
  position: relative;
  margin: 10px 0;
  cursor: pointer;
}

#buscador .form-item {
  margin: 0;
}

#buscador .form-item label {
  display: none;
}

#buscador .form-item input {
  width: 25px;
  height: 25px;
  border-radius: 12.5px;
  box-sizing: border-box;
  background: #fff url(../images/btn-search.svg) left center no-repeat;
  background-size: 25px 25px;
  display: block;
  pointer-events: none;
  font: 12px "Karla-Regular";
}

#buscador form.active .form-item input {
  width: 227px;
  padding: 0 69px 0 25px;
  pointer-events: all;
  transition: 500ms;
}

#buscador .form-actions {
  margin: 0;
}

#buscador .form-actions input {
  height: 25px;
  border-top-right-radius: 12.5px;
  border-bottom-right-radius: 12.5px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 12.5px;
  background: #000;
  cursor: pointer;
  display: none;
  font: 12px "Karla-Regular";
  color: #fff;
  text-transform: uppercase;
}

#navbar .social {
  height: 25px;
  float: right;
  margin: 10px 0;
}

#navbar .social a {
  float: left;
  display: block;
  margin-left: 8px;
}

/*#navbar .social a:first-child {
    margin-right: 10px;
}*/

#navbar>a {
  float: right;
  margin: 10px 25px;
  display: block;
}

#categorias {
  width: 100%;
  height: 120px;
  overflow: hidden;
  position: absolute;
  z-index: 99;
  top: 45px;
  left: 0;
  background: #fff;
  display: none;
}

.logged-in #categorias {
  top: 74px;
}

#categorias .view,
#categorias .view-content,
#categorias .item-list {
  width: 100%;
  height: 100%;
}

#categorias ul {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: nowrap;
}

#categorias li {
  width: 90px;
  margin: 0 5px;
  display: block;
}

#categorias li .views-field,
#categorias li .field-content {
  width: 100%;
}

#categorias li .views-field-field-icono {
  margin-bottom: 5px;
}

#categorias li .views-field-field-icono a {
  width: 45px;
  height: 45px;
  margin: 0 auto;
  display: block;
}

#categorias li .views-field-field-icono a img {
  width: 45px;
  height: 45px;
}

#categorias li .views-field-name .field-content {
  display: block;
  font-size: 0;
  text-align: center;
}

#categorias li .views-field-name a {
  display: inline-block;
  font: 12px "Karla-Regular";
  color: #c7c04f;
  text-transform: uppercase;
  text-align: center;
}

/* Navbar */

.not-front .recetas-listado {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 120px 0 45px;
  box-sizing: border-box;
}

.not-front .recetas-listado .view-header {
  width: 100%;
  height: 120px;
  position: absolute;
  top: 0;
  left: 0;
}

.not-front .recetas-listado .view-header h1 {
  width: 100%;
  height: 100%;
  font: 48px "Flama-Bold";
  color: #e4dfa4;
  text-transform: uppercase;
  line-height: 116px;
  text-align: center;
}

/* FIX BUG Category list - Infinite Scroll */
.not-front .recetas-listado .view-header .view-content .views-row,
.not-front .recetas-listado .view-header .view-content div {
  display: none;
}

.not-front .recetas-listado .view-header .view-content div:first-child {
  display: block;
}

.not-front .recetas-listado>.views-infinite-scroll-content-wrapper h1 {
  display: none;
}

/* END FIX BUG */

.not-front .recetas-listado>.views-infinite-scroll-content-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

.not-front .recetas-listado .views-row {
  width: 25%;
  height: 50%;
  float: left;
}

.not-front .recetas-listado .teaser {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.not-front .recetas-listado .teaser div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.not-front .recetas-listado .teaser div::before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: block;
  transition: 250ms;
}

.not-front .recetas-listado .teaser:hover div::before {
  opacity: 0;
}

.not-front .recetas-listado .teaser h3 {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  font: 23px "Flama-Medium";
  color: #fff;
  text-transform: uppercase;
  line-height: 20px;
  text-align: center;
}

.not-front .recetas-listado .teaser img {
  position: absolute;
  bottom: 25%;
  left: 50%;
  margin: 0 0 -5.5px -5.5px;
}

.recetas-listado ul.pager {
  width: 100%;
  height: 45px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #c0c0c0;
}

.recetas-listado ul.pager li,
.recetas-listado ul.pager li a {
  width: 100%;
  height: 100%;
  display: block;
}

.recetas-listado ul.pager li a {
  background: #e4dfa4;
}

.recetas-listado ul.pager li a::after {
  content: "VER MÁS RECETAS";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  font: 18px "Flama-Medium";
  color: #6e6c2b;
  text-transform: uppercase;
  line-height: 45px;
  text-align: center;
}

.recetas-listado ul.pager li a.progress-disabled::after {
  content: "CARGANDO...";
}

.recetas-listado ul.pager .ajax-progress {
  display: none !important;
}

/* 02. RECETAS */

/* 03. RECETA */
#receta {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#receta .cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  height: calc(100vh - 90px);
  width: 100%;
}

#receta .outer {
  width: 100%;
  position: relative;
  padding-top: 45px;
  box-sizing: border-box;
}

#receta h1 {
  width: 100%;
  height: 45px;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  font: 22px "Flama-Medium";
  color: #6e6c2b;
  text-transform: uppercase;
  line-height: 45px;
  text-align: center;
}

#receta .inner {
  width: 100%;
  height: auto;
}

#receta .grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 25px 0 15px;
}

#receta .top {
  width: 100%;
  margin-bottom: 31px;
  display: flex;
  justify-content: center;
}

#receta .top>div {
  height: 25px;
  padding-left: 35px;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: left center;
  font: 12px "Karla-Bold";
  color: #666666;
  line-height: 25px;
}

#timing {
  margin-right: 30px;
  background-image: url(../images/i-timing.svg);
}

#porciones {
  background-image: url(../images/i-porciones.svg);
}

#receta .cols {
  width: 100%;
  overflow: hidden;
  margin-bottom: 35px;
}

#receta .col {
  float: left;
}

#receta .col.left {
  width: 40%;
  box-sizing: border-box;
  padding-right: 30px;
}

#receta .col.right {
  width: 60%;
}

#receta .col>h2 {
  margin-bottom: 15px;
  font: 16px "Karla-Bold";
  color: #6e6c2b;
}

#receta .col .field h1,
#receta .col .field h2,
#receta .col .field h3,
#receta .col .field h4,
#receta .col .field h5,
#receta .col .field h6 {
  font: 14px "Karla-Bold";
  color: #666666;
  text-transform: uppercase;
  line-height: 20px;
}

#receta .col .field ul {
  list-style: none;
}

#receta .col .field li,
#receta .col .field p {
  font: 14px "Karla-Regular";
  color: #666666;
  line-height: 20px;
}

#receta .col .field p strong {
  font-family: "Karla-Bold";
}

#receta .service-links {
  margin-top: 9px;
}

#receta .service-links ul {
  list-style: none;
}

#receta .service-links a {
  width: 24px;
  height: 24px;
  position: relative;
  background: url(../images/btn-share.svg) center no-repeat;
  background-size: 24px 24px;
  display: block;
}

#receta .service-links a::after {
  content: "Compartir";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 8px;
  transform: translateY(-50%);
  display: block;
  font: 12px "Karla-Bold";
  color: #6e6c2b;
  letter-spacing: -0.5px;
}

#receta .service-links a img {
  display: none;
}

#receta .nav {
  width: 100%;
}

#receta .nav ul {
  width: 100%;
  height: 30px;
  list-style: none;
}

#receta .nav li {
  padding: 0;
  border: 1px solid #6e6c2b;
  display: block;
}

#receta .nav li.flippy-next {
  float: left;
}

#receta .nav li.flippy-previous {
  float: right;
}

#receta .nav li.empty {
  display: none;
}

#receta .nav li a {
  height: 28px;
  background-size: 5px 10px !important;
  display: block;
  font: 12px "Karla-Regular";
  color: #6e6c2b;
  line-height: 28px;
}

#receta .nav li.flippy-next a {
  padding: 0 10px 0 15px;
  background: url(../images/btn-prev.svg) 5px 9px no-repeat;
}

#receta .nav li.flippy-previous a {
  padding: 0 15px 0 10px;
  background: url(../images/btn-next.svg) right 5px top 9px no-repeat;
}

#receta .outer>a {
  width: 100%;
  height: 45px;
  background: #e4dfa4;
  display: block;
  font: 18px "Flama-Medium";
  color: #6e6c2b;
  line-height: 45px;
  text-align: center;
}

.field-name-field-video {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

.field-name-field-video div {
  width: 100%;
  height: 100%;
}

.field-name-field-video .field-label {
  display: none;
}

.field-name-field-video .field-item a,
.field-name-field-video .field-items a {
  width: 100%;
  height: 100%;
  display: block;
}

.field-name-field-video .field-item a::after,
.field-name-field-video .field-items a::after {
  content: "";
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -35px 0 0 -35px;
  background: rgba(0, 0, 0, 0.25) url(../images/btn-play.svg) center no-repeat;
  background-size: 100% 100%;
  -webkit-filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5));
  display: block;
}

.field-name-field-video .field-item a img,
.field-name-field-video .field-items a img {
  display: none;
}

.node-type-receta #cboxLoadedContent {
  margin-bottom: 0;
}

.node-type-receta #colorbox,
.node-type-receta #cboxOverlay,
.node-type-receta #cboxWrapper {
  position: initial;
}

.node-type-receta #cboxOverlay {
  background: initial;
  z-index: 1;
}

.node-type-receta #cboxContent,
.node-type-receta #cboxWrapper {
  background: initial;
}

/* Tasty */
.node-type-receta #colorbox {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 101;
  background: rgba(249, 239, 187, 0.8);
}

.node-type-receta #cboxWrapper {
  width: auto !important;
  max-width: 1024px !important;
  height: 100% !important;
  margin: 0 auto;
}

.node-type-receta #cboxWrapper>div:nth-child(2),
.node-type-receta #cboxContent {
  width: 100% !important;
  height: 100% !important;
  float: none !important;
}

.node-type-receta #cboxMiddleLeft,
.node-type-receta #cboxMiddleRight {
  display: none;
}

.node-type-receta #cboxLoadedContent {
  width: 100% !important;
  height: 0 !important;
  position: relative;
  top: 50%;
  padding-bottom: 56.25%;
  transform: translateY(-50%);
}

.node-type-receta #cboxLoadedContent iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  display: block;
}

.node-type-receta #cboxClose {
  width: 30px;
  height: 30px;
  overflow: hidden;
  position: fixed;
  top: 30px;
  right: 30px;
  background: transparent url(../images/btn-close.svg) center no-repeat;
  background-size: 100% 100%;
  display: block;
  cursor: pointer;
  text-indent: -999px;
}

/* Tasty */

/* 03. RECETA */

/* 04. ERROR */
#node-page-57,
#node-page-58 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#node-page-57 p,
#node-page-58 p {
  font: 16px "Karla-Bold";
  letter-spacing: -0.5px;
  text-align: center;
}

#node-page-57 .field-item p:first-child,
#node-page-58 .field-item p:first-child {
  margin-bottom: 20px;
}

#node-page-57 p a,
#node-page-58 p a {
  padding: 11px 24px 12px;
  background: #e4dfa4;
  display: inline-block;
  cursor: pointer;
  font: 14px "Flama-Bold";
  color: #6e6c2b;
  text-transform: uppercase;
}

/* 04. ERROR */

#alert {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  font: 16px "Flama-Bold";
  color: #6e6c2b;
  text-transform: uppercase;
  white-space: nowrap;
}

/* RESPONSIVE */
/* Desktop Fix */
@media only screen and (max-height: 768px) {
  #block4 .wrapper {
    width: 40%;
    left: 35%;
  }

  #block5 {
    padding: 9.2% 30px 0;
  }

  #block5 .wrapper {
    position: static;
    transform: none;
  }
}

/* Alert */
@media only screen and (max-width: 812px) {
  #global {
    display: none;
  }

  #alert {
    display: block;
  }
}

/* iPhone 8 Plus (Portrait) */
@media only screen and (max-width: 412px) {
  #alert {
    display: none;
  }

  #global {
    display: block;
  }

  /* Drupal */
  #user-login {
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Drupal */

  /* Home */
  .front #global {
    padding-left: 48px;
  }

  #sidebar {
    width: 48px;
  }

  #sidebar li {
    left: 50%;
    text-indent: -999px;
  }

  #sidebar li:hover {
    background: transparent;
  }

  #sidebar figure {
    left: 50%;
  }

  #logo-agd {
    /*width: 56px;
    right: 0;*/
    display: none;
  }

  #social {
    bottom: 10px;
    right: 10px;
  }

  #social a img {
    width: 30px;
    height: 30px;
  }

  #block1 {
    padding: 0 20px;
  }

  #block1::before,
  #block1::after {
    background-position: 24.6% center;
  }

  #block1 .wrapper {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 2;
    top: 20px;
    left: auto;
    right: 20px;
    padding: 0;
    background: #fff url(../images/btn-info.svg) center no-repeat;
    background-size: 100% 100%;
    transform: none;
  }

  #block1 .wrapper img,
  #block1 .wrapper p {
    display: none;
  }

  #block1 .wrapper.active {
    width: auto;
    height: auto;
    border-radius: 0;
    position: relative;
    top: 50%;
    right: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
    display: block;
  }

  #block1 .wrapper.active img,
  #block1 .wrapper.active p {
    display: block;
  }

  #block1 .wrapper img {
    margin-bottom: 11px;
  }

  #block1 .wrapper p {
    font-size: 12px;
    line-height: 14px;
  }

  #block2 {
    padding: 0 20px;
  }

  #block2::before {
    background-size: auto 100%;
  }

  #block2::after {
    display: none;
  }

  #block2 .wrapper {
    width: auto;
    position: relative;
    left: 0;
  }

  #block2 .wrapper::before {
    margin-bottom: 45px;
  }

  #block2 .wrapper .col.left {
    display: none;
  }

  #block2 .wrapper .col.right {
    width: 100%;
  }

  #block2 .wrapper p {
    padding: 0;
    font-size: 22px;
    line-height: 19px;
  }

  #block2 .wrapper p img {
    margin-top: 30px;
  }

  #block2>img {
    display: none;
  }

  #block3 h2 {
    height: 20%;
  }

  #block3 h2 span {
    margin-top: -3px;
    font-size: 56px;
  }

  #block3 .thumbs {
    height: 80%;
  }

  #block3 .teaser {
    width: 100%;
    height: 25%;
  }

  #block3 .teaser h3 {
    width: 100%;
    overflow: hidden;
    left: 0;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #block3 .teaser img {
    display: none;
  }

  #block4 {
    padding: 0 20px;
  }

  #block4::before,
  #block4 figure {
    display: none;
  }

  #block4 .wrapper {
    width: auto;
    position: relative;
    left: 0;
  }

  #block4 .wrapper .col.left {
    width: 100%;
  }

  #block4 .wrapper .col.right {
    display: none;
  }

  #block4 .wrapper p {
    font-size: 16px;
    line-height: 16px;
  }

  #block4 .wrapper p span {
    font-size: 26px;
    line-height: 23px;
  }

  #block4 .wrapper p img:first-child {
    display: none;
  }

  #block5 {
    height: auto !important;
    padding: 40px 20px 60px;
  }

  #block5 .grid {
    height: auto;
  }

  #block5 .wrapper {
    display: block;
  }

  #block5 .wrapper .col.left {
    width: 100%;
    margin-bottom: 45px;
  }

  #valores {
    margin-bottom: 45px;
  }

  #valores th,
  #valores td {
    font-size: 12px;
  }

  #valores tr td:first-child {
    padding-left: 0;
  }

  #envases th,
  #envases td {
    font-size: 10px;
  }

  #block5 .wrapper .col.right {
    width: 100%;
    padding: 0;
  }

  #block5 .wrapper .col.right p,
  #block5 .wrapper .col.right li {
    font-size: 16px;
    line-height: 16px;
  }

  #block5 .wrapper .col.right p span {
    font-size: 27px;
    line-height: 23px;
  }

  #block5 .wrapper .col.right ul {
    margin-bottom: 45px;
  }

  #block5 .wrapper .col.right ul img {
    display: none;
  }

  #block5 .wrapper>p {
    padding: 10px 15px;
  }

  /* Home */

  /* Recetas */
  #navbar .logo {
    width: 128px;
  }

  #btnMenu {
    width: 25px;
    height: 25px;
    float: right;
    margin: 10px 0;
    background: transparent url(../images/btn-menu.svg) center no-repeat;
    background-size: 100% 100%;
    display: block;
  }

  #btnMenu.close {
    background-image: url(../images/btn-menu-close.svg);
  }

  #menu {
    width: 100%;
    height: 120px;
    float: none;
    position: absolute;
    z-index: 99;
    top: 45px;
    margin: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
  }

  #menu li {
    height: auto;
    float: none;
    margin-right: 15px;
    line-height: normal;
    color: #6e6c2b;
  }

  #buscador {
    display: none;
  }

  #navbar .social {
    margin: 10px 20px;
  }

  #navbar>a {
    display: none;
  }

  #categorias li {
    width: 32px;
    margin: 0 4px;
  }

  #categorias li .views-field-field-icono {
    margin: 0;
  }

  #categorias li .views-field-field-icono a {
    width: 32px;
    height: 32px;
  }

  #categorias li .views-field-field-icono a img {
    width: 32px;
    height: 32px;
  }

  #categorias li .views-field-name {
    display: none;
  }

  .not-front .recetas-listado .view-header .view-categoria-titulo h1 {
    font-size: 24px;
  }

  .not-front .recetas-listado .views-row {
    width: 100%;
    height: 25%;
    float: none;
  }

  .not-front .recetas-listado .teaser h3 {
    width: 100%;
    overflow: hidden;
    left: 0;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .not-front .recetas-listado .teaser img {
    display: none;
  }

  /* Recetas */

  /* Receta */
  #receta .cover {
    height: 50%;
  }

  #receta .outer {
    height: 75%;
  }

  #receta h1 {
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #receta .grid {
    box-sizing: border-box;
    padding: 25px 20px 15px;
  }

  #receta .col {
    float: none;
  }

  #receta .col.left {
    width: 100%;
    padding: 0 0 30px;
  }

  #receta .col.right {
    width: 100%;
  }

  /* Receta */
}

/* RESPONSIVE */

.user-pass,
.user-login-form {
  width: 320px;
  display: block;
  margin: 0 auto;
  margin-top: 8%;
}

.user-pass label,
.user-login-form label {
  display: block;
}

.user-pass input,
.user-login-form input {
  width: 100%;
  height: 30px;
}