/*
 Theme Name:   FIAD (OceanWP child)
 Theme URI:    https://foroaprendizaje.org    
 Description:  Child Theme for FIAD
 Author:       ADSEC
 Author URI:   https://adsec.es
 Template:     oceanwp
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         FIAD, foro, aprendizaje
 Text Domain:  fiad
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/*
 El fichero style.css del tema padre no se encola. Pero no importa porque está vacío.
 En el functions.php del tema padre se encola el del tema hijo (get_stylesheet_diretory_uri), con versión por defecto = versión de WP (5.X.X)
 Al volverlo a encolar aquí se duplica. Para evitarlo, hemos dejado el styles.css del hijo también en blanco y
 encolamos un nuevo fichero fiad-style.css con nuestros estilos
 Por eso, todas las pruebas fallaban y el dequeue también
 Haciendo esto, podemos modificar desde functions.php la versión del fichero y forzar su carga (refresh cache)
*/

/* botón inscribete sticky en FOOTER */

.inscribete {
	background-color: #f9a221;
	color: #fff;
	padding: 10px 20px;
	margin: 0px;
	position: fixed;
	left: 0;
	bottom: 100px;
	line-height:22px !important;
	font-size: 18px;
	font-family: Montserrat;
	z-index: 100;
}

.inscribete:hover {
	background-color: #60146c;
	color: #fff !important;
}

/* Radio buttons de formulario inscripción */
.radio_fiad>span {
    display: block;
}

form input[type="number"] {
    max-width: unset;
}

/* Social-share icon colors */
/* default opacity .8 on hover */
.entry-share.dark ul li a {
    background-color: #60146c;
    color: #fff;
}

.entry-share.dark ul li a:hover{
    background-color: #f9a221;
    color: #fff;
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
}

/*******************************************
 * Estilos para mensajes de aviso
 ******************************************/
.msg-alert {
    padding: 0px 15px;
    border-left: 5px solid transparent;
    position: relative;
    text-align: left;
    line-height: 3em;
}

.msg-alert.msg-alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #cae6be;
}

.msg-alert.msg-alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bcdff1;
}

.msg-alert.msg-alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #e8c4c4;
}

.msg-alert.msg-alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #f9f0c3;
}

/* iconos perfiles sociales */
ul.fiad_social {
	margin: 0px;
}
.fiad_social a {
	margin-right: 6px;
}

/* logo transparent on hover */
/* default opacity .6 */
#site-logo #site-logo-inner a:hover img {
  -moz-opacity: .4;
  -webkit-opacity: .4;
  opacity: .4;
}

/* Eliminar subrayado de links */
.single-post:not(.elementor-page) .entry-content a, .page:not(.elementor-page):not(.woocommerce-page) .entry a {
text-decoration: none;
}

.single-post:not(.elementor-page) .entry-content a:hover, .page:not(.elementor-page):not(.woocommerce-page) .entry a:hover {
	text-decoration: none;
}

/* Hide page title in all pages and posts */
/*.page .page-header-title ,
.single-post .page-header-title {
	display: none;
}
*/

.white-hover {
	color: #60146c;
	transition-duration:1s !important;
}

.white-hover:hover {
	color: white !important;

}

/* Polylang flags styling */
.after-header-content .lang-item {
  list-style: none;
	display: inline-block;
	padding: 0px 5px;
}

.after-header-content ul.polylang_langswitcher {
  margin: 15px 20px 15px 20px;
}

/* Estilos para las banderas del mobile menu tipo sidebar */
.sidr-class-lang-item span {
	padding-left:10px;
}
.sidr-class-lang-item img {
	padding-bottom: 3px;
}

/* Estilos para mostrar u ocultar la bandera del idioma de la conferencia */
#flag_es.lang_English {
	display:none;
}

#flag_en.lang_Spanish {
	display:none;
}


/* Estilos para página de archivos de categorías */
.archive.tax-conference_category .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
    left: 0;
    transform: initial;
    top: -40px;
}


/* Estilo h3 para páginas de políticas de cookies, etc. */
.page-id-594 article h3,
.page-id-596 article h3,
.page-id-598 article h3
{
	margin: 50px 0px 20px 0px;
}

/* Footer Widgets Title Border Color */
#footer-widgets .footer-box .widget-title {
  border-color: #f9a221;
}

#footer-widgets .footer-box.col-3 {
	border-right: 3px solid #f9a221;
	text-align:right;
	font-family:Montserrat;
	font-size:13px;
}

/* Estilos recaptcha para que aparezca con retardo */

.grecaptcha-badge {
  animation: 3s ease 2s both fadein;
  -webkit-animation: 3s ease 2s both fadein;
  -moz-animation: 3s ease 2s both fadein;
  -o-animation: 3s ease 2s both fadein;
  -ms-animation: 3s ease 2s both fadein;
}


/*********************************/
/* Estilos para popup local time */
/*********************************/

/* Popup container - can be anything you want */
.loc_time-container {
	position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.loc_time-popup {
	display:none;
  width: auto;
  background-color: #555;
  background-color: rgba(0,0,0,0.75);
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 10;
  bottom: 100%;
  left: 0%;
  margin-left: -10px;
}

/* Popup arrow */
.loc_time-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 15px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0,0,0,0.75) transparent transparent transparent;
}

/* ocultar horas de otras timezones */
.loc_time-hide {
	display: none;
}

/* título del popup */
.loc_time-popup-title {
	font-weight: 600;
	text-decoration: underline;
	text-align: center;
	margin-bottom: 10px;
}

/* menú del popup */
.loc_time-popup ul {
	list-style-type: none;
	margin: 0px;
}

.loc_time-popup li {
	padding: 0px 20px;
	margin: 0px;
}

.loc_time-popup li:hover {
	background-color: #f9a221;
}

#loc_time_button .loc_time-container {
	color:#fff;
	background-color: #60146c;
	padding: 0px 20px;
	border-radius: 4px;
	transition-duration: 0.3s;
}

#loc_time_button .loc_time-container:hover {
	color:#fff;
	background-color: #f9a221;
	padding: 0px 20px;
}

/* Estilos para mejorar la salida a impresora */
@media print {
  a[href]:after {
    content: none !important;
  }
	header {
		display: none !important;
	}
	footer {
		display:none;
	}
	.noprint {
		display:none !important;
	}
	.inscribete {
		display:none !important;
	}
}


/* Estilos Store Notice bar */

.woocommerce-demo-store .demo_store {
  background-color: #000;
	text-align: center;
	font-size:13px;
	font-weight:600;
}

a.woocommerce-store-notice__dismiss-link {
	text-decoration: none;
}

