@charset "UTF-8";
:root {
	/* Global */
  --bg-color: #f8f8f8;
  --clear: #f8f8f8;
	--white: #ffffff;
	--dark: #1f1f1f;
	--text: #333333;
	--primary: rgb(121, 173, 202);
	--secondary: rgb(31, 137, 230);
	--complementary: rgb(255, 193, 7);

  /* ddt */
  --ddt_body: #FFFFFF;
	--ddt_body_text_clear: #333333;
	--ddt_body_text_dark: #151314;
	--ddt_primary: #f8f8f8;
	--ddt_secondary: #f8f8f8;
	--ddt_primary_transparent: rgba(121, 173, 202, 0.8);
	--ddt_secondary_transparent: rgba(31, 137, 230, 0.4);
  --ddt_primary__contrast:#000;
  --ddt_secondary__contrast:#000;
}

html, body { overflow-x: hidden; background-color: var(--bg-color); color: var(--text);}
@media (max-width: 768px) {
	html, body { font-size: 18px !important; }
}
a {
  cursor: pointer;
  transition: all 0.5s ease;
}
.grecaptcha-badge {
  display: none;
}
input:invalid {
  color: red;
}
/* -------------------------------------------------- */
.logo {
  background-image: url('https://static.diaridetarragona.com/assets/images/logotipo.svg');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
h1, h2, h3,
.font-primary {
	font-family: "TT_Livret_Subhead_Light", serif !important;
	font-weight: inherit !important;
}
h4, h5, h6, p,
.font-secondary {
	font-family: "TT_Livret_Text_Regular", serif !important;
	font-weight: inherit !important;
}
.ddt-accent {
	color: var(--ddt_primary);
}
.ddt_bg_light {
	background-color: var(--ddt_secondary);
}
.ddt_bg_dark {
	background-color: var(--ddt_primary);
}
.hover_ddt_bg_light_clear:hover,
.ddt_bg_light_clear {
	background-color: var(--ddt_primary_transparent);
}
.ddt-color,
.ddt-color a {
	background: var(--ddt_secondary);
	color: var(--ddt_secondary__contrast) !important;
}
.ddt-color_a {
	color: var(--ddt_secondary) !important;
}
.ddt-color_a:hover {
	color: #fff !important;
}
.ddt {
	background: var(--ddt_primary);
}
@media (min-width: 768px) {
}

.ddt_body_text_clear {
	color: var(--ddt_body_text_clear);
}
.ddt_body_text_dark {
	color: var(--ddt_body_text_dark);
}

/* -------------------------------------------------- */
/* Estilo del precargador */
#loading_content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
}
#loading_content .spinner {
  animation: rotate 1s linear infinite;
  width: 50px;
  height: 50px;
}
#loading_content .path {
  stroke: var(--secondary);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
#loading_content.loaded {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  position: relative;
  height: 0;
  width: 0;
}

/* -------------------------------------------------- */
/* Estilos para el menú de pestañas */
.tabs-container {
  border-bottom: 1px solid var(--primary);
  display: flex;
  margin: 0 1rem;
}
.tabs-container h3,
.tabs-container h4 {
  flex: 1 1 auto;
  padding: 0 0.5rem;
  margin: 0;
}
.tabs-container ul {
  flex: 0 1 auto;
}
ul.tabs {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.tabs li {
  background: none;
  color: #222;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
}
ul.tabs li.current {
  background: #ededed;
  color: #222;
  border-bottom: 4px solid var(--secondary);
}
.tab-content {
  display: none;
  overflow: hidden;
  margin: 0;
  background-color: white;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--primary);
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
  width: 100%;
}
.tab-content.current {
  display: block;
  background-color: var(--clear);
}

/* -------------------------------------------------- */
/* Sidebar Menu*/
nav#menu {
  background: var(--secondary);
  bottom: 0;
  box-shadow: 0 0 5px #666;
  height: 100vh;
  left: -17.5rem;
  padding-top: 38px;
  position: fixed;
  top: 0;
  transition: 0.4s ease-in-out;
  width: 17rem;
  user-select: none;
  z-index: 10;
}
nav#menu ul li {
  text-indent: 1rem;
  line-height: 1.5rem;
  display: list-item;
  min-height: 1rem;
}
nav#menu a {
  color: #eee;
  display: block;
  transition: 0.5s;
  text-decoration: none;
  -webkit-user-drag: none;
  padding: 1rem 0;
}
nav#menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
nav#menu a.clean:hover {
  background-color: transparent;
}
#nav-collapse {
  padding: 8px 12px;
  position: absolute;
  right: 0;
  top: 0;
}
#nav-expand {
  color: #333;
  display: inline-block;
  padding: 8px 12px 8px 16px;
  text-decoration: none;
  transition: 0.5s linear;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 3px;
}
#nav-expand .icon-menu {
  filter: invert(1) sepia(100%) saturate(10000%) hue-rotate(45deg);
}
#nav-expand:focus {
  opacity: 0;
}
#nav-expand:focus ~ main {
  margin-left: 17rem;
  transition-delay: 0.25s;
}
#nav-expand:focus ~ nav {
  left: 0;
  transition-delay: 0.25s;
}
nav#menu .icon,
#nav-expand .icon {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  height: 1rem;
  width: 1rem;
  vertical-align: text-top;
}
@media (max-width: 768px) {
  nav#menu {
    overflow-y: auto;
    height: 100vh;
  }
}

/* -------------------------------------------------- */
/* Personalización de estilos para la paginación */
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: row;
  flex-wrap: wrap;
}
.pagination li {
  margin-right: 0.5rem;
  display: flex;
  gap: 1rem;
}
.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
}
.pagination .active span {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.pagination a:hover {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* -------------------------------------------------- 
 * MISC 
 --------------------------------------------------  */

/* Estilos alternois */
ul.zebra li:nth-child(even) {
  background-color: #f2f2f2;
}

/* POPUP */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 9999999999;
  transition: all 0.5s ease-out allow-discrete;
  transition-timing-function: cubic-bezier(.29, 1.01, 1, -0.68);
}
.popup-image {
  max-width: 80vw;
  max-height: 80vw;
  transition: all 0.5s ease-out allow-discrete;
  transition-timing-function: cubic-bezier(.29, 1.01, 1, -0.68);
}
.popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* a-link */
.a-link { 
  position: relative; display: inline-block; text-decoration: none!important; color: currentColor;
}
.a-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background-color:currentColor;
  transition: width 0.3s ease-in-out;
}
.a-link:hover::after { width: 100%; }


/* -------------------------------------------------- 
 * Arrow Down 
 --------------------------------------------------  */
 .scroll-down-link a {
	height: 3rem ;
	width: 3rem;
	line-height: 60px;
	color: #FFF;
	text-align: center;
	font-size: 70px;
	text-decoration: none;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
  background: transparent!important;
}
@media (min-width: 768px) {
  .scroll-down-link_sm {
    display: none!important;
    position: absolute;
    top:-100%;
  }
}

 
/* -------------------------------------------------- */
/* OVERWRITES */
.text-xs {
	font-size: 0.75rem!important; /* 12px */
	line-height: 1rem!important; /* 16px */
}
.text-sm {
	font-size: 0.875rem!important; /* 14px */
	line-height: 1.25rem!important; /* 20px */
}
.text-base {
	font-size: 1rem!important; /* 16px */
	line-height: 1.5rem!important; /* 24px */
}
.text-lg {
	font-size: 1.125rem!important; /* 18px */
	line-height: 1.75rem!important; /* 28px */
}
.text-xl {
	font-size: 1.25rem!important; /* 20px */
	line-height: 1.75rem!important; /* 28px */
}
.text-2xl {
	font-size: 1.5rem!important; /* 24px */
	line-height: 2rem!important; /* 32px */
}
.text-3xl {
	font-size: 1.875rem!important; /* 30px */
	line-height: 2.25rem!important; /* 36px */
}
.text-4xl {
	font-size: 2.25rem!important; /* 36px */
	line-height: 2.5rem!important; /* 40px */
}
.text-5xl {
	font-size: 3rem!important; /* 48px */
	line-height: 1!important;
}
.text-6xl {
	font-size: 3.75rem!important; /* 60px */
	line-height: 1!important;
}
.text-7xl {
	font-size: 4.5rem!important; /* 72px */
	line-height: 1!important;
}
.text-8xl {
	font-size: 6rem!important; /* 96px */
	line-height: 1!important;
}
.text-9xl {
	font-size: 8rem!important; /* 128px */
	line-height: 1!important;
}

.font-bold {
    font-weight: 700!important;
}

.leading-3	{line-height: .75rem!important; /* 12px */}
.leading-4	{line-height: 1rem!important; /* 16px */}
.leading-5	{line-height: 1.25rem!important; /* 20px */}
.leading-6	{line-height: 1.5rem!important; /* 24px */}
.leading-7	{line-height: 1.75rem!important; /* 28px */}
.leading-8	{line-height: 2rem!important; /* 32px */}
.leading-9	{line-height: 2.25rem!important; /* 36px */}
.leading-10	{line-height: 2.5rem!important; /* 40px */}
.leading-none	{line-height: 1!important;}
.leading-tight	{line-height: 1.25!important;}
.leading-snug	{line-height: 1.375!important;}
.leading-normal	{line-height: 1.5!important;}
.leading-relaxed	{line-height: 1.625!important;}
.leading-loose	{line-height: 2!important;}
@media (min-width: 768px) {
    .md\:text-3xl {
        font-size: 1.875rem!important;
        line-height: 2.25rem!important;
    }
    .md\:text-lg {
        font-size: 1.125rem!important;
        line-height: 1.75rem!important;
    }
}
@media (min-width: 1280px) {
    .xl\:px-10 {
        padding-left:2.5rem!important;
        padding-right: 2.5rem!important;
    }
    .xl\:text-9xl {
        font-size: 8rem!important;
        line-height: 1!important;
    }
    .xl\:text-8xl {
        font-size: 6rem!important;
        line-height: 1!important;
    }
    .xl\:text-7xl {
        font-size: 4.5rem!important;
        line-height: 1!important;
    }
    .xl\:text-6xl {
        font-size: 3.75rem!important;
        line-height: 1!important;
    }
    .xl\:text-5xl {
        font-size: 3rem!important;
        line-height: 1!important;
    }
    .xl\:text-4xl {
        font-size: 2.25rem!important;
        line-height: 1!important;
    }
    .xl\:text-3xl {
        font-size: 1.875rem!important;
        line-height: 2.25!important;
    }
    .xl\:text-2xl {
        font-size: 1.5rem!important;
        line-height: 2!important;
    }
}