/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Cargar fuentes sin respaldo */

@font-face {
	font-family: 'Oswald';
	src: url('/wp-content/uploads/2023/04/Oswald-Regular.ttf') format('ttf'); 
	src: url('/wp-content/uploads/2023/04/Oswald-Regular.woff') format('woff');
	src: url('/wp-content/uploads/2023/04/Oswald-Regular.woff2') format('woff2');
	font-weight:400;
}

@font-face {
	font-family: 'Oswald';
	src: url('/wp-content/uploads/2023/04/Oswald-SemiBold.ttf') format('ttf'); 
	src: url('/wp-content/uploads/2023/04/Oswald-SemiBold.woff') format('woff');
	src: url('/wp-content/uploads/2023/04/Oswald-SemiBold.woff2') format('woff2');
	font-weight:600;
}

/* Global
......... */

.brxe-section {
	font-size:10px;
}

@media (max-width:767px) {
	.brxe-section {
		font-size:7px;
	}
}

body {
	accent-color:#141414;
}

  span.chula-1,
  span.chula-2,
  span.chula-3 {
    text-decoration:line-through;
  }

/* Microinteracciones
 * .....................*/
a {
	transition:text-decoration-color .8s;
}

a:hover {
	text-decoration-color:#fbbc13 !important;
}

/* hover flecha amarilla */

.cta-down .cta__text {
	transition:all .8s;
}

.cta-down:hover .cta__text {
	color:white;
}

.cta-down .cta__arrow path {
  transition:all .8s;
}

.cta-down:hover .cta__arrow path {
  fill:#fbbc13 !important;
}

.cta-down svg.cta__arrow.brxe-svg,
.cta-down svg.cta__arrow--single.brxe-svg path {
	transition:all .8s;
}

.cta-down:hover svg.cta__arrow.brxe-svg {
	transform:translateY(2px);
}

/* Subrayado */

.simple-color {
	position:relative;
	color:inherit;
	transition:all .8s .8s;
}

.simple-color.active {
	color:white;
	z-index:1;
}

.simple-color.active::after {
    content: "";
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fbbc13;
	animation: add-line-through .8s ease-in-out forwards .8s;
	z-index:-1;
  }

@media (max-width:767px) {
	.simple-color.active::after {
		bottom: 8px;
	  }
}

@keyframes add-line-through {
    0% {
      width: 0;
    }
    100% {
      width: 100%;
    }
  }

/* Form */

input[aria-label="Website"], 
input[aria-label="Email"] {
    border: none;
    border-bottom: solid 1px;
}

input:focus::placeholder, 
input::placeholder:focus {
    color:red !important;
}

.form-group:has(ul) {
	margin-top:12px;
}

.form-group:has(ul) li {
	display:flex;
	cursor:pointer;
}

.form-group:has(ul) a {
	text-decoration:underline;
}

.form-group:has(ul) input {
	cursor:pointer;
}

#brxe-uaozho textarea, #brxe-uaozho input {
    transition: background-color .8s;
}

.form-group .options-wrapper li {
	width:max-content;
	max-width:100%;
}

li:has(input[value*="Política"]) {
    display: flex;
    gap: 4px;
    align-items: flex-start;
}

li:has(input[value*="Política"]) input {
    position: relative;
    top: 5px;
}

body :where(.brxe-form) input[type=checkbox]+label,
body .form-group:has(ul) input,
body .form-group:has(ul) li {
	cursor:default;
}

.sobre-datos { 
	text-decoration:underline;
}

/* Banner cookies */

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    padding: 8px 16px;
}