/*
Theme Name: Qualica RD Theme
Theme URI: https://qualicard.eu/
Author: Web Cordoba
Author URI: https://webcordoba.es
Description: Qualica RD Theme for WordPress
Version: 1.2.2
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Text Domain: qualicard-theme
*/
/* --------------------------------------------- */
/* Variables */
:root {
  --theme-font: "Poppins", sans-serif;
  --theme-font-two: "Poppins", sans-serif;
  --theme-font-three: "Poppins", sans-serif;
  --theme-font-four: "Poppins", sans-serif;
  --theme-base: #FB1010;
  --theme-base-rbg: 251, 16, 16;
  --theme-font-color: #787878;
  --theme-white: #ffffff;
  --theme-black: #141518;
  --theme-black-rbg: 20, 21, 24;
  --theme-negro: #000000;
}
/* --------------------------------------------- */
/* General */
body {
  font-family: var(--theme-font);
  color: var(--theme-black);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  position: relative;
  max-width: 100vw;
  overflow-x: hidden;
}
body main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/images/fondo-qualicard.jpg');
  background-size: 200px;
  background-repeat: repeat;
  background-position: top left;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}
body main .QRD__Main_Content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/images/fondo-qualicard.jpg');
  background-size: 200px;
  background-repeat: repeat;
  background-position: top left;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}
body.locked {
  overflow: hidden;
}
a {
  color: var(--theme-base);
}
a,
a:hover,
a:focus,
a:visited {
  text-decoration: none;
  transition: all 500ms ease;
}
p {
  color: var(--theme-font-color);
  margin-bottom: 1rem;
}
a:hover {
  text-decoration: underline;
}
h1 {
  font-size: 44px;
  line-height: 60px;
  font-weight: bold;
  margin-bottom: 1rem;
}
h2 {
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 1rem;
  font-weight: bold;
}
h3 {
  font-size: 24px;
  line-height: 25px;
  margin-bottom: 1rem;
  font-weight: bold;
}
.webc_size-44 {
  font-size: 44px;
  line-height: 60px;
}
.webc_size-30 {
  font-size: 30px;
  line-height: 40px;
}
.webc_size-24 {
  font-size: 24px;
  line-height: 32px;
}
.webc_size_16 {
  font-size: 16px;
  line-height: 24px;
}
.webc_size_14 {
  font-size: 14px;
  line-height: 20px;
}
.webc_size_12 {
  font-size: 12px;
  line-height: 16px;
}
.webc_size_10 {
  font-size: 10px;
  line-height: 16px;
}
.webc_weight-regular {
  font-weight: 400;
}
.webc_weight-semibold {
  font-weight: 600;
}
.webc_weight-bold {
  font-weight: 700;
}
.webc_color-base {
  color: var(--theme-base);
}
.webc_color-font {
  color: var(--theme-font-color);
}
.webc_color-white {
  color: var(--theme-white);
}
.width-1610 {
  max-width: 1610px;
  width: 100%;
}
.width-1920 {
  max-width: 1920px;
  width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}
.container.small {
  max-width: 1140px;
}
.container.medium {
  max-width: 1610px;
}
.container.large {
  max-width: 1920px;
}
.title-underline-left {
  position: relative;
}
.title-underline-left::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  min-width: 0;
  width: 0;
  height: 4px;
  background: var(--theme-base);
  transition: all 500ms ease;
}
.title-underline-left.aos-animate::after {
  width: 15%;
  min-width: 45px;
}
main ul {
  list-style: none;
  margin-bottom: 1em;
  padding-left: 20px;
  margin-left: 20px;
}
main ul li {
  position: relative;
  padding-left: 0px;
  margin-bottom: 0.5em;
}
main ul li:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 3px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="14.878" height="15.813" viewBox="0 0 14.878 15.813"%3E%3Cg id="icono_Qualicard" data-name="icono Qualicard" transform="translate(853.122 -2028.813)"%3E%3Cpath id="Sustracción_1" data-name="Sustracción 1" d="M7,15c-.12,0-.241,0-.36-.01s-.238-.016-.355-.029-.235-.029-.35-.048-.231-.041-.345-.066-.227-.053-.339-.084-.223-.065-.332-.1-.218-.076-.325-.118-.213-.087-.318-.134-.208-.1-.31-.15-.2-.108-.3-.166-.2-.118-.293-.181-.191-.128-.284-.2-.185-.137-.274-.209-.178-.147-.264-.223-.171-.155-.254-.236-.164-.164-.243-.248-.157-.172-.232-.26-.149-.18-.22-.272-.141-.188-.208-.283-.133-.195-.2-.294-.124-.2-.182-.3S.9,11.181.845,11.075.739,10.86.69,10.752s-.1-.221-.14-.332-.086-.227-.125-.341S.349,9.847.315,9.73.249,9.493.22,9.374.165,9.133.142,9.012.1,8.765.081,8.642s-.033-.25-.045-.375S.015,8.013.009,7.886,0,7.628,0,7.5s0-.258.009-.386.015-.255.027-.381.027-.251.045-.375.038-.247.062-.369.049-.243.078-.363.06-.239.094-.356.071-.234.11-.348.081-.229.125-.341.091-.223.14-.332.1-.217.155-.323.11-.211.169-.314.119-.2.182-.3.128-.2.2-.294.137-.191.208-.283.145-.184.22-.272.153-.176.232-.26.161-.168.243-.248.168-.16.254-.236.175-.151.264-.223.182-.142.274-.209.188-.133.284-.2.195-.123.293-.181.2-.113.3-.166.206-.1.31-.15S4.487.5,4.593.455,4.81.373,4.918.337s.221-.07.332-.1.226-.059.339-.084.23-.047.345-.066.234-.035.35-.048S6.521.016,6.64.01,6.88,0,7,0s.241,0,.36.01.238.016.355.029.235.029.35.048.231.041.345.066.227.053.339.084.223.065.332.1.218.076.325.118.213.087.318.134.208.1.31.15.2.108.3.166.2.118.293.181.191.128.284.2.185.137.274.209.178.147.264.223.171.155.254.236.164.164.243.248.157.172.232.26.149.18.22.272.141.188.208.283.133.195.2.294.124.2.182.3.115.208.169.314.106.215.155.323.1.221.14.332.086.227.125.341.076.232.11.348.066.237.094.356.055.242.078.363.044.246.062.369.033.25.045.375.021.254.027.381S14,7.372,14,7.5s0,.258-.009.386-.015.255-.027.381-.027.251-.045.375-.038.247-.062.369-.049.243-.078.363-.06.239-.094.356-.071.234-.11.348-.081.229-.125.341-.091.223-.14.332-.1.217-.155.323-.11.211-.169.314-.119.2-.182.3-.128.2-.2.294-.137.191-.208.283-.145.184-.22.272-.153.176-.232.26-.161.168-.243.248-.168.16-.254.236-.175.151-.264.223-.182.142-.274.209-.188.133-.284.2-.195.123-.293.181-.2.113-.3.166-.206.1-.31.15-.211.093-.318.134-.216.082-.325.118-.221.07-.332.1-.226.059-.339.084-.23.047-.345.066-.234.035-.35.048-.237.023-.355.029S7.12,15,7,15ZM7.011,1.766c-.089,0-.18,0-.269.007s-.177.012-.265.022-.175.022-.261.037-.172.031-.257.051-.169.041-.252.064S5.541,2,5.46,2.024s-.163.058-.242.09-.159.067-.237.1-.155.075-.231.115-.151.083-.225.127-.147.09-.219.138-.143.1-.212.149-.138.105-.2.16-.133.112-.2.171-.128.119-.189.181-.122.126-.181.19-.117.132-.173.2-.111.138-.164.208S2.88,4,2.83,4.074s-.1.149-.145.225-.092.155-.136.233-.086.16-.126.241-.079.165-.115.248-.072.169-.1.254-.064.174-.093.261-.057.178-.082.267-.049.182-.07.273-.041.185-.058.278-.033.189-.046.283-.024.192-.033.288-.016.195-.02.292-.007.2-.007.3,0,.2.007.3.011.2.02.292.02.193.033.288.029.19.046.283.037.186.058.278.045.183.07.273.053.179.082.267.06.175.093.261.068.171.1.254.075.167.115.248.082.162.126.241.089.157.136.233.1.152.145.225.1.146.155.217.108.141.164.208.114.135.173.2.12.129.181.19.125.122.189.181.131.116.2.171.136.109.2.16.14.1.212.149.145.094.219.138.149.087.225.127.154.079.231.115.158.071.237.1.161.063.242.09.165.054.248.077.168.045.252.064.171.036.257.051.174.027.261.037.177.017.265.022.179.007.269.007.18,0,.269-.007.177-.012.265-.022.175-.022.261-.037.172-.031.257-.051.169-.041.252-.064.166-.049.248-.077.163-.058.242-.09.159-.067.237-.1.155-.075.231-.115.151-.083.225-.127.147-.09.219-.138.143-.1.212-.149.138-.105.2-.16.133-.112.2-.171.128-.119.189-.181.122-.126.181-.19.117-.132.173-.2.111-.138.164-.208.105-.144.155-.217.1-.149.145-.225.092-.155.136-.233.086-.16.126-.241.079-.164.115-.248.072-.169.1-.254.064-.174.093-.261.057-.178.082-.267.049-.182.07-.273.041-.185.058-.278.033-.189.046-.283.024-.192.033-.288.016-.195.02-.292.007-.2.007-.3,0-.2-.007-.3-.011-.2-.02-.292-.02-.193-.033-.288-.029-.19-.046-.283-.037-.186-.058-.278-.045-.183-.07-.273-.053-.179-.082-.267-.06-.175-.093-.261-.068-.171-.1-.254-.075-.167-.115-.248-.082-.162-.126-.241-.089-.157-.136-.233-.1-.152-.145-.225-.1-.146-.155-.217-.108-.141-.164-.208-.114-.135-.173-.2-.12-.129-.181-.19-.125-.122-.189-.181-.131-.116-.2-.171-.136-.109-.2-.16-.14-.1-.212-.149S9.572,2.5,9.5,2.459s-.149-.087-.225-.127-.154-.079-.231-.115-.158-.071-.237-.1-.161-.063-.242-.09S8.4,1.97,8.315,1.947s-.168-.045-.252-.064-.171-.036-.257-.051-.174-.027-.261-.037-.177-.017-.265-.022S7.1,1.766,7.011,1.766Z" transform="translate(-853.122 2028.813)" fill="%23fb1010"/%3E%3Crect id="Rectángulo_4" data-name="Rectángulo 4" width="4.006" height="2.122" transform="translate(-841.312 2040.427) rotate(40)" fill="%23fb1010"/%3E%3C/g%3E%3C/svg%3E%0A');
  background-repeat: no-repeat;
  background-size: 14px 16px;
  width: 14px;
  height: 16px;
  background-position: center center;
}
main ol {
  counter-reset: list-counter;
  margin-bottom: 1em;
  padding-left: 20px;
  list-style: none;
  margin-left: 20px;
}
main ol li {
  margin-bottom: 0.5em;
  counter-increment: list-counter;
  position: relative;
}
main ol li:before {
  content: counter(list-counter) ". ";
  position: absolute;
  left: -20px;
  color: var(--theme-base);
  font-weight: 600;
  font-size: inherit;
}
/* --------------------------------------------- */
/* Botones */
.thm-btn,
.thm-btn:focus {
  min-width: 140px;
  height: 48px;
  border: 1px solid var(--theme-base);
  line-height: 48px;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  color: #ffffff;
  background: var(--theme-base);
  position: relative;
  z-index: 1;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.thm-btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: var(--theme-black);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0% 10% 0;
  transform-origin: 0% 10% 0;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.thm-btn:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.thm-btn:hover {
  color: #fff;
  background: #555555;
  border: 1px solid var(--theme-base);
  text-decoration: none;
}
/* Botones Secundarios */
.thm-btn--sec,
.thm-btn--sec:focus {
  min-width: 140px;
  height: 28px;
  line-height: 28px;
  display: inline-block;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  color: #ffffff;
  background: var(--theme-black);
  position: relative;
  z-index: 1;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  padding: 0px 15px;
}
.thm-btn--sec:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: var(--theme-base);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0% 10% 0;
  transform-origin: 0% 10% 0;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.thm-btn--sec:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.thm-btn--sec:hover {
  color: #fff;
  background: var(--theme-base);
  text-decoration: none;
}
/* Botón editar post y WP */
.sq_edit_post {
  position: fixed;
  z-index: 9999999;
  bottom: 210px;
  left: 30px;
  border-radius: 100%;
  background: #333;
  border: 3px #e00034 solid;
  box-shadow: 0 1px 16px 0px rgba(0, 0, 0, 0.75);
  transition: 0.5s;
}
.sq_edit_post a {
  display: block;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sq_edit_post a svg {
  width: 25px;
  height: 20px;
}
.sq_edit_post a svg path {
  fill: #fff;
  transition: 0.3s;
}
.sq_edit_post.sq_wp_link {
  bottom: 90px;
}
.sq_edit_post.sq_info_link {
  bottom: 150px;
}
.sq_edit_post:hover {
  border: 3px #000 solid;
}
.sq_edit_post:hover a svg path {
  fill: #ebebeb;
}
figure.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
}
/* Textos Legales */
body.page-template-page-textos-legales main a {
  word-break: break-all;
  overflow-wrap: break-word;
}
body.page-template-page-textos-legales main ul li a {
  word-break: break-all;
  overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
  body.page-template-page-textos-legales main .scroll-tabla {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.page-template-page-textos-legales main .scroll-tabla table {
    min-width: 600px;
    /* o el ancho necesario para que no se colapse */
    width: max-content;
  }
  body.page-template-page-textos-legales main .wp-block-table {
    display: block;
  }
}
/* Acerca de */
body.page-template-wp-custom-template-a-cerca-de main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/images/fondo-innovacion-pc.jpg');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-color: var(--theme-negro);
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}
@media screen and (max-width: 991px) {
  body.page-template-wp-custom-template-a-cerca-de main::before {
    background-image: url('assets/images/fondo-innovacion-mv.jpg');
  }
}
@media screen and (min-width: 992px) {
  .position-lg-relative {
    position: relative !important;
  }
}
