/**
 * Theme Name:     Astra Child
 * Author:         Euroinnova
 * Template:       astra
 * Text Domain:	   astra-child
 * Description:    Tema hijo EducaPharos
 * Version:        1.0
 */



.archive .site-content > .ast-container, .search .site-content > .ast-container { 
    max-width: 100%; 
    padding: 0;
    background: #fff;
}

#archivo-categorias ul { 
    display:flex;
	flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
}

#archivo-categorias li {
	background: #FFCB0F;
	padding: 9px 11px;
	border-radius:5px;
	list-style: none;
	margin: 0 15px;
	width:100%;
	
}

#archivo-categorias li:first-child {
	margin-left:0;
}

#archivo-categorias li:last-child {
	margin-right:0;
}

.archives-list {	
	padding: 0 !important;
    margin: 0 !important;
}

#archivo-categorias li.current-cat {
	background:#252525;
}

#archivo-categorias li a {
	color: #252525;
	font-weight: 600;
	text-decoration:none;
}

#archivo-categorias li.current-cat a {
	color: #fff;
	font-weight: 600;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
background: rgb(255, 228, 134)!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
	flex-direction:column !important;
	padding: 50px !important; 
	
}
@media (max-width: 920px) {
	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
		padding: 25px !important; 
	}
	.elementor-element.elementor-element-620cf3d.e-con-full.e-flex.e-con.e-child { order:2;}
}

@media (max-width: 920px) {
	#archivo-categorias ul{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
	}
	#archivo-categorias li {
		width: 49%;
		margin-bottom:2px;
		padding: 7px 6px;
		margin: 0 2px 2px 0;
	}
	#archivo-categorias li a {
		font-size: 14px;
        text-align: center;
		text-decoration:none;
	}
}
	
	

/*
Formulario CF7 a 2 columnas responsive
*/

input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	border-radius: 5px;
}

.ast-button, .button, input[type=button], input[type=submit] {
width:100%;
}

#responsive-form{
	max-width:1300px;
	margin:0 auto;
        width:100%;
}
.form-row{
	width: 100%;
}
.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}


.c-share {
  position: relative;
  width: 37px;
  height: 37px;
}

.c-share__input {
  display: none;
}
.c-share__input:checked ~ .c-share__toggler .c-share__icon {
  transition: 0s;
  width: 0;
  height: 0;
  color: #639eff;
}
.c-share__input:checked ~ .c-share__toggler .c-share__icon::before {
  transform: rotate(-45deg);
}
.c-share__input:checked ~ .c-share__toggler .c-share__icon::after {
  transform: rotate(45deg);
}
.c-share__input:checked ~ .c-share_options {
  width: 11.0625em;
  height: 12.5em;
  border-radius: 0.3125em;
}
.c-share__input:checked ~ .c-share_options::before,
.c-share__input:checked ~ .c-share_options li {
  transition: 0.3s 0.15s;
  opacity: 1;
  transform: translateY(0);
}

.c-share__input:checked ~ .c-share_options::before,
.c-share__input:checked ~ .c-share_options li img {
	width: 30px !important;
}

.c-share__toggler,
.c-share_options {
  position: absolute;
  right: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  background-color: #fff;
}

.c-share__toggler {
  cursor: pointer;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-share__icon {
  position: relative;
  left: -6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  color: #252525;
  background-color: currentColor;
  box-shadow: 0.625em -0.625em, 0.625em 0.625em;
  transition: 0.1s 0.05s;
}
.c-share__icon::before, .c-share__icon::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 0.125em;
  background-color: currentColor;
  transition: 0.1s;
}
.c-share__icon::before {
  top: 1.5px;
  left: 0.15em;
  transform-origin: bottom left;
  transform: rotate(45deg);
}
.c-share__icon::after {
  top: -4px;
  left: 0.03125em;
  transform-origin: center;
  transform: rotate(-45deg);
}
ul.c-share_options {
	margin: auto !important;
}
.c-share_options {
  list-style: none;
  margin: 0;
  padding: 1.0625em 1.25em;
  box-sizing: border-box;
  overflow: hidden;
  transition: 0.2s;
  box-shadow: 0 0.125em 0.125em rgba(0, 0, 0, 0.3);
	z-index:5;
}
.c-share_options::before {
  content: attr(data-title);
  display: block;
  margin-bottom: 1.25em;
  font-weight: 700;
}
.c-share_options li {
  font-size: 0.875em;
  color: #464646;
  cursor: pointer;
}
.c-share_options li:not(:last-child) {
  margin-bottom: 0.75em;
}
.c-share_options::before,
.c-share_options li {
  opacity: 0;
  transform: translateY(0.625em);
  transition: 0s;
}


.btn-share {
  --btn-color: #fff;
  position: relative;
  padding: 16px 32px;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: white;
  background: none;
  border: none;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(39, 94, 254, 0.32));
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn-share::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: var(--btn-color);
  border-radius: 24px;
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn-share .btn-text,
.btn-share .btn-icon {
  display: inline-flex;
  vertical-align: middle;
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn-share .btn-text {
  transition-delay: 0.05s;
}
.btn-share .btn-icon {
  margin-left: 8px;
  transition-delay: 0.1s;
}
.btn-share .social-icons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
  transform: translateY(-50%);
}
.btn-share .social-icons li {
  flex: 1;
}
.btn-share .social-icons li a {
  display: inline-flex;
  vertical-align: middle;
  transform: translateY(55px);
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn-share .social-icons li a:hover {
  opacity: 0.5;
}
.btn-share:hover::before {
  transform: scale(1.2);
}
.btn-share:hover .btn-text,
.btn-share:hover .btn-icon {
  transform: translateY(-55px);
}
.btn-share:hover .social-icons li a {
  transform: translateY(0);
}
.btn-share:hover .social-icons li:nth-child(1) a {
  transition-delay: 0.15s;
}
.btn-share:hover .social-icons li:nth-child(2) a {
  transition-delay: 0.2s;
}
.btn-share:hover .social-icons li:nth-child(3) a {
  transition-delay: 0.25s;
}

.migas .trail-items a {
	text-decoration:none !important;
    color:#fff;
}
.migas, .migas a { 
	text-decoration:none !important;
    color:#fff;
}
.trail-items li::after {
	color:#fff;
}

/*----------------------------*\
  #TEMARIO
\*----------------------------*/

/* Móvil */

@media (max-width: 768px) {
  /* Módulo */
  .course-syllabus .course-accordion > .accordion-item > .accordion-header .accordion-button {
    font-size: 15px;
  }

  /* Unidad didáctica */
  .course-syllabus .unit-accordion > .accordion-item > .accordion-header .accordion-button {
    font-size: 14px;
  }

  /* Contenido dentro de la unidad */
  .course-syllabus .accordion-body ol li {
    font-size: 14px;
  }
}



/* Módulo */
.course-syllabus .course-accordion > .accordion-item > .accordion-header .accordion-button {
  font-size: 18px;
}

/* Unidad didáctica */
.course-syllabus .unit-accordion > .accordion-item > .accordion-header .accordion-button {
  font-size: 17px;
}

/* Contenido dentro de la unidad */
.course-syllabus .accordion-body ol li {
  font-size: 17px;
}

.accordion-button {
    cursor: pointer;
    background-color: #000;
    padding: 15px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    border: none;
    /* Sin bordes */
    width: 100%;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
}

.single-course .course-syllabus .course-accordion .accordion-button {
    border-bottom: solid 1px #fff;
    box-shadow: none;
    border-radius: 0;
}

.accordion-header {
    position: relative;
    /* Necesario para el pseudo-elemento */
    padding-left: 10px;
    /* Espacio para el símbolo de la parte */
}

.single-course .course-syllabus .course-accordion .accordion-body {
    background-color: #fff;
    margin-left: 7em;
}

.single-course .course-syllabus .course-accordion .accordion-button {
    background-color: transparent !important;
    color: #000; !important;
    padding-left: 0;
    font-size: 16px;
}

.single-course .course-syllabus .course-accordion .accordion-item i {
    color: #000; !important;
}

/*----------------------------
	OBJETIVOS ENUMERACION
----------------------------*/
/* Contenedor de cada ítem */
.objetivos-num .custom-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75em;
}

/* Número con tamaño grande */
.objetivos-num .custom-number {
    font-weight: bold;
    color: #000;
    font-size: 30px;
    margin-right: 10px;
    line-height: 1.5;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Texto */
.objetivos-num .custom-text {
    font-size: 16px;
    line-height: 1.5;
}
	



/* ===== Blog Category Tabs ===== */

.blog-cat-tabs {
  width: 100%;
}

.blog-cat-tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

/* Botón */
.blog-cat-tabs__item {
  border-radius: 10px;
  background: #FFD00F;
  overflow: hidden;
  transition: all 0.2s ease;
}

/* Link ocupa todo */
.blog-cat-tabs__link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px 22px;

  color: #000;
  text-decoration: none !important;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* Hover */
.blog-cat-tabs__item:hover {
  background: #e6bc00;
}

/* Activo */
.blog-cat-tabs__item.is-active {
  background: #000;
}

.blog-cat-tabs__item.is-active .blog-cat-tabs__link {
  color: #fff;
}

/* Responsive scroll */
@media (max-width: 768px) {
  .blog-cat-tabs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }

  .blog-cat-tabs__list::-webkit-scrollbar {
    display: none;
  }
}
	
