/*********************************************************************************
 * Los contenidos de este archivo están sujetos al 
 * contrato estándar de servicios en la nube de Essenzial ("Licencia")
 * la cual puede ser vista en https://www.essenzial.com/contrato-servicios-en-la-nube-essenzial
 * Al instalar o usar este archivo, acepta incondicionalmente los términos
 * y condiciones de la Licencia, y no puede usar este archivo excepto cumpliendo
 * con la Licencia. De acuerdo con los términos de la licencia, no podrá sublicenciar,
 * revender, alquilar, arrendar, distribuir ni transferir de otro modo los derechos
 * o el uso del software.
 *
 * Copyright (C) 2013-2023 Essenzial Spain S.L
 ***********************************************************************************/

/********************** Mensaje de Lecciones cerradas ****************************/
.sszgcs_switch_lesson_message{background: #eee; clear: both; margin: 1.387em 1.387em 1.618em 1.387em; padding: 1em 1.618em; border: none; border-radius: 5px;}
.sszgcs_switch_lesson_message .dashicons{line-height: 1.5;}

/********************** Selector de cursos del usuario ****************************/
#sszgcs_cont_selector_cursos {
	display:flex;
	width:100%;
	justify-content: space-around;
	margin-bottom: 40px;
	margin-top: 15px;
}
#sszgcs_cont_selector_cursos > div{
	display:flex;
	justify-content: start;
}
#sszgcs_cont_selector_cursos > a{
	display:block;
  	position: relative;
}
#sszgcs_cont_selector_cursos > a::before{
  content: '\27A6';
  transform: rotate(180deg);
  position: absolute;
  left: -20px;
  top: 1px;
}
#sszgcs_cont_selector_cursos label,
#sszgcs_cont_selector_cursos select {
	display: block;
	font-size: 14px;
	padding: 5px 10px;
}
#sszgcs_cont_selector_cursos label{
	background-color: #e9e9ed;
	color: #444;
	margin-bottom: 0;
	border-radius: 5px 0 0 5px;
	text-transform: capitalize;
	border: 1px solid #444;
	width: 20%;
}
#sszgcs_cont_selector_cursos select{
	background-color: white;
	border: none;
	color: black;
	border-radius: 0 5px 5px 0;
	border: 1px solid #444;
	border-left: none;
	width: 60%;
}

#sszgcs_cont_selector_cursos div{width: 60%;}

@media screen and (max-width:810px) {
	#sszgcs_cont_selector_cursos > div {
		width:100%;
	}
	#sszgcs_cont_selector_cursos select {
		width:inherit;
	}
}

/* ********************************************************************************* */
/* ********************** ESTILO MENU CONTEXTUAL CURSOS **************************** */
/* ********************************************************************************* */
#sszgcs_menu_contextual{
	width: 100%;
	margin-bottom: 50px;
	margin-top: 20px;
}

#sszgcs_menu_contextual ul{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-left:0;
}

#sszgcs_menu_contextual li{
	display: block;
	margin-bottom: 6px;
	border-right: 1px solid #a4a1a1;
	padding: 0 10px;
	transition: .3s;
}

#sszgcs_menu_contextual li:hover{
	background-color: #e3e2e2;
}

#sszgcs_menu_contextual li:last-of-type{
	border-right: none;
}

#sszgcs_menu_contextual a{
    white-space: nowrap;
	color: black;
}

/* **** ESTILO DASHBOARD ******* */

p.sszgcs_textos_info_dashb{
	margin-top: 20px;
	text-align: center;
	display: block;
}

a.sszgcs_enlaces_todo_dashb{
	margin-top: 20px;
	text-align: center;
	display: block;
	text-decoration: underline;
}

/* Tabla actividades */
table.sszgcs_tablas_dashboard{
	width: 100%;
}
table.sszgcs_tablas_dashboard thead tr{
	background-color: #ECECEC;
	border: 0;
	border-bottom: 2px solid grey;
	min-width: 863px;
}

table.sszgcs_tablas_dashboard tbody tr{
	border-bottom: 1px solid #ECECEC;
	color: var(--ywcmap-items-text-color, #777);
	font-weight: 500;
	font-style: normal;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	cursor: pointer;
}

table.sszgcs_tablas_dashboard tbody tr:hover{
	background-color: #F7F7F9;
}

.sszgcs_tablas_dashboard tbody{
	overflow: auto;
}

/* Progreso curso */
#sszgcs_cont_barra_progreso_curso{
	margin-top: 20px;
}

#sszgcs_info_progreso_curso{
	display: flex;
	justify-content: space-between;
	color: #4c4c4c;
	padding: 0 10px;
}

#sszgcs_info_progreso_curso i{
	padding-right: 5px;
}

#sszgcs_info_progreso_curso p.sszgcs_info_progreso_total{
	color: #b30e0e;
	font-weight: bold;
}

#sszgcs_barra_progreso_curso{
	background-color: #c3bfbf;
	border-radius: 5px;
	min-height: 5px;
	padding: 2px;
}
#sszgcs_barra_progreso_curso > div{
	min-height: 5px;
	border-radius: 5px;
	background-color: #b30e0e;
}

/* Encuesta y certificado */
#sszgcs_dashb_encuesta_y_cert{
	display: flex;
	justify-content: space-evenly;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada{
	background-color: white;
	border-radius: 5px;
	width: fit-content;
	max-width: 135px;
	margin: 0 auto 15px auto;
	padding-bottom: 10px;
	position: relative;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada::before,
#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada::after {
  	content: "";
  	position: absolute;
  	display: block;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada::before {
	  top: 0;
	  right: 0;
	  border: 20px white solid;
	  border-top-color: transparent;
	  border-left-color: transparent;
	  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
	  transform: rotate(88deg);
	  z-index: 2;
	  border-radius: 0% 0% 10%;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada::after {
	background-color: #f5f5f5;
  	position: absolute;
  	height: 40px;
  	width: 40px;
  	top: 0;
  	right: 0;
	box-shadow: 3px -3px 5px 5px #f5f5f5;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada i {
	background-color: #097aba;
	margin: 30px 40px 40px 40px;
	border-radius: 50%;
	padding: 18px;
	color: white;
	font-size: 22px;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_hoja_doblada p {
	line-height: 1.2;
	color: black;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_texto_hoja_doblada,
#sszgcs_dashb_encuesta_y_cert .sszgcs_texto_hoja_doblada > a{
	text-align: center;
	color: #343a40;
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_texto_hoja_doblada > a:hover{
	color: var(--color-hover);
}

#sszgcs_dashb_encuesta_y_cert .sszgcs_texto_hoja_doblada i{
	margin-right: 5px;
}

.sszgcs_green_icon{color: #28ab28; font-size: 20px;}
.sszgcs_red_icon{color: #ff6262; font-size: 20px;}


/* ***************** COURSE RESULTS ***************** */
html body.single-course section#primary #sszgcs_pag_resultados_curso header{
	display: none;
}

html body.single-course section#primary #sszgcs_pag_resultados_curso article.course > h3{
	margin: 60px 0 20px 0;
	font-size: 1.5em;
}

html body.single-course section#primary #sszgcs_pag_resultados_curso  article.course > h2{
	font-size: 1.1em;
    border-bottom: 1px dashed #ccc;
	font-weight: 400;
	margin: 20px 40px;
	padding: 0;
	text-transform: initial;
}

html body.single-course section#primary #sszgcs_pag_resultados_curso  article.course > h2 > span.lesson-grade{
	float: right;
}

/**************************** MENSAJES ****************************/
.sszgcs_error_message{background: #fff;border: 1px solid #ccd0d4;border-left-color: #ff0000;border-left-width: 1px;border-left-width: 4px;box-shadow: 0 1px 1px rgba(0,0,0,.04);
						margin: 5px 100px 2px 0px;padding: 12px 12px;}
.sszgcs_success_message{background: #fff;border: 1px solid #ccd0d4;border-left-color: #00ff00;border-left-width: 1px;border-left-width: 4px;box-shadow: 0 1px 1px rgba(0,0,0,.04);
						margin: 5px 100px 2px 0px;padding: 12px 12px;}

/**************************** BOTÓN T&C ***************************/
#sszgcs_submit_read_n_acept{
	--bs-btn-color: #fff;
    --bs-btn-bg: var(--color-hover);
    --bs-btn-border-color: var(--color-hover);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #811717;
    --bs-btn-hover-border-color: #811717;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #811717;
    --bs-btn-active-border-color: #811717;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

/******************************** Estilo tabla calificaciones lecciones ******************************************/
.sszgcs_table_div{width: 100%;}
.sszgcs_row_div{display: block; border: 1px solid #000;}
.sszgcs_th_div{font-weight: 700; text-align: center; width: 48%;}
.sszgcs_th_div.sszgcs_only{width: 98%;}
.sszgcs_td_1_div{display: inline-block; width: 48%; vertical-align: middle;}
.sszgcs_td_2_div{width: 48%; text-align: center;}
.sszgcs_td_2_div.sszgcs_only{width: 98%; text-align: left;}
.sszgcs_th_div, .sszgcs_td_2_div{display: inline-block; padding: 10px 20px;}

/*Z-INDEX del Modal de Bootstrap para que se superponga siempre a todo*/
#read_n_acept_modal.modal{
	--bs-modal-zindex: 99999;
	--bs-modal-padding: 1rem 5%;
}

#read_n_acept_modal.modal .modal-footer{
	padding: 1rem 5%;
}

body.single-course .modal h2,
.modal h2{
	margin: inherit;
	font-size: inherit;
    color: inherit;
    border-bottom: none;
    margin-bottom: inherit;
    margin-top: inherit;
	font-weight: 700;
}

/*Animación en la insercción de contenidos*/
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

.sszgcs_animation {
	-webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.sszgcs_quiz_button{
	text-decoration: none;
	background: #0f589a;
	color: #fff;
	padding: 10px 15px;
	border-radius: 15px;
}

.sszgcs_quiz_button:hover{
	background: #fff;
	color: #0f589a;
}

.sszgcs_quiz_button:active{
	color: #0f589a;
}

/* Títulos de producto */
body.single-product div .sszgcs_title{
	text-align: left;
	border-bottom: 1px solid #999999;
	font-size: 1.7rem;
	text-transform: uppercase;
	padding-top: 20px;
}