

  
@font-face {
    font-family: 'heads';
     src: url('../assets/heads.woff2') format('woff2'),
         url('../assets/heads.woff') format('woff'),
		 url('../assets/heads.otf') format('otf'); /* Truetype como fallback */
}
body{
	--font-head: "heads";
	--tit-color-back:#2f4757;
	--tit-color-back-light: #b6ccdb;
	--tit-color-front:#fff;
	--body-color-back:#fff;
	--body-color-front:#000;
	--tableborder:#cccccc;
}

html,
body {
  font-family: "Roboto", sans-serif;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
	font-size: .9em;
}
h1 {
  font-family: var(--font-head);
  margin-bottom: 50px;
}

#main-wrap {
  height: 100vh;
	/*background: url(assets/back.jpg);
	background-size: cover;*/
}

#tabs {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}
#tabcontent {
padding: 20px;
  
  flex-grow: 1;
  margin: 20px;
  border: solid 3px #c7d6de;
  outline: solid 1px #2f4757;
  background: url(../assets/back.jpg);
  background-size: cover;
}
.tabcontentab {
  display: flex;
  flex-direction: column;
  height: 100%;
}

table {
  border-spacing: 0;
}
td {
vertical-align: baseline;
padding: 5px 10px;
}

#tbl_destacamento tr table {
width: 100%;
}
#tbl_faccion td {
  border-bottom: solid 1px var(--tit-color-back-light);
}

/*TABS*/
/*Titulos*/
#tabtits {
display: flex;
  flex-direction: column;
  list-style: none;
  column-gap: 20px;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  max-width: 10%;
  min-width: 10%;
  justify-content: flex-start;
  background: var(--tit-color-back);
  
}

.tabtitle {
cursor: pointer;
  padding: 15px 5px 15px 20px;
  text-align: left;
  font-size: 0.9em;
  background: var(--tit-color-back);
  display: flex;
  align-items: center;
  justify-content: start;
  border-bottom: solid 1px var(--tit-color-back-light);
  color: var(--tit-color-back-light);
  border-right: solid 1px var(--tit-color-back-light);
}

.tabtitle.active {
  font-weight: 600;
  background-color: var(--tit-color-front);
  color: var(--body-color-front);
  border: none;
  font-size: 1.3em;
}

/*CONTENIDO*/
/*Pestaña 1*/

.div_info {
  padding: 30px 50px;
  background-color: #fff;
}
.div_info > h2 {
  background: var(--tit-color-back);
  color: var(--tit-color-front);
  padding: .3vw 1vw;
}
#tbl_faccion tr td:first-of-type {
  width: 14%;
	font-weight:600;
	font-size:1em;
}

/**/
#tbl_destacamento * {
    text-align: start;
    vertical-align: baseline;
}
#tbl_destacamento th,
#tbl_destacamento td {
    padding: 5px 10px;
}
.th_opt1_destacamento, .th_opt2_destacamento {
  width: 100px;
}
.th1_destacamento {
    width: 14%;
}
#tbl_destacamento>tbody>tr:not(:last-of-type) th, #tbl_destacamento>tbody>tr:not(:last-of-type) td, tbody tr .th_opt1_destacamento, tbody tr .td_opt1_destacamento {
    border-bottom: solid 1px var(--tableborder);
  }
.td_opt1_destacamento table tbody tr:not(:last-of-type) th, .td_opt1_destacamento table tbody tr:not(:last-of-type) td {
  border-bottom: solid 1px var(--tableborder);
}

/*Cabecera*/
.cabecera {
  display: flex;
  flex-direction: row;
  border: solid 3px #c7d6de;
  outline: solid 1px #2f4757;
  box-shadow: 0 5px 10px rgba(0,0,0,.4);
  z-index: 1;
}

.cabecera_nombre {
background: var(--tit-color-back);
  color: #fff;
  font-size: 2em;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
	width: calc(50% - 40px);
}
.cabecera_numeros {
  width: 50%;
  background: var(--tit-color-back);
	
}
.cabecera_nums_grid {
  display: grid;
  grid-template-columns: repeat(6, 80px);
  column-gap: 10px;
}
.numeros_ud {
background: var(--body-color-back);
  padding: 25px 5px 10px 5px;
  position: relative;
  border-left: solid 3px #c7d6de;
  border-right: solid 3px #c7d6de;
}
.numeros_ud.numeros_ud_SV > .divval_val {
    position: relative;
  }
.divval_val.sv_con_invulnerable {
  font-size: 2em;
  margin-top: -7px;
}
.sw_invulnerable {
position: absolute;
  padding: 12px 0 0 0;
  left: 50%;
  translate: -50% 0;
  font-size: .8em;
  background-image: url(../assets/shield.svg);
  background-size: contain;
  height: 50px;
  background-repeat: no-repeat;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: baseline;
	color: #ffffff;
}
.divval_tag {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--tit-color-back-light);
  color: var(--body-color-front);
  font-weight: 600;
  padding: 2px 28px 13px 2px;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}
.divval_val {
    font-size: 3em;
    font-weight: 600;
    text-align: center;
    line-height: .8em;
}
.numeros_ud.numeros_ud_T .divval_val, .numeros_ud.numeros_ud_W .divval_val, .numeros_ud.numeros_ud_OC .divval_val {
/*padding-left: 6px;*/
}
/* Cuerpo */

.cuerpo {
  display: flex;
  min-height: 200px;
  flex-direction: row;
  flex-grow: 1;

}

/*habilidades*/
.habilidades {
width: calc(50% - 30px);
  background: var(--body-color-back);
  padding: 20px 0;
  border: solid var(--tit-color-back);
  border-width: 0 2px;
  margin: 0 10px 0 20px;
}

.div_habilidades_tit {
  padding: 5px 20px;
  background-color: var(--tit-color-back-light);
  font-weight: 600;
	margin-bottom: 10px;
	font-size: 1.2em;
}

.div_habilidades_list {
  padding: 5px 20px;
  font-size: 0.9em;
}
.div_habilidades.habs_propias {
    margin-bottom: 30px;
}
.habs_propia_ud {
  padding: 5px 20px;
  font-size: 0.9em;
}

.habs_propia_name {
  font-weight: 900;
  padding-right: 5px;
}
.div_reglas_tit {
  padding: 5px 20px;
  background-color: var(--tit-color-back-light);
  font-weight: 600;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 1.2em;
}
.div_reglas_ud_bloque {
    padding: 5px 20px;
	font-size: .9em;
}
.div_reglas_name {
    font-weight: 600;
    margin-bottom: 5px;
}
/*Equipamiento*/
.equipamiento {
width: calc(50% - 30px);
  background: var(--body-color-back);
  padding: 20px 0;
  border: solid var(--tit-color-back);
  border-width: 0 2px;
  margin: 0 20px 0 10px;
}

.equip_tbl {
  width: 100%;
  margin-bottom: 30px;
}

.equip_tbl thead th {
  background-color: var(--tit-color-back-light);
  padding-top: 5px;
  padding-bottom: 5px;
	font-size: 1.2em;
}

.equip_th_data {
  width: 10%;
}

.equip_th_data,
.equip_th_alcance,
.equip_td_alcance,
.equip_td_data {
  text-align: center;
}
.equip_td_descripcion {
text-align: start;
}
.equip_tbl tbody td {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: solid 1px var(--tit-color-back-light);
}

.equip_th_name,
.equip_td_name,
.equip_otro_name {
  text-align: left;
  padding-left: 30px;
	/*min-width: 280px;*/
	font-weight:600;
	font-size: 1.1em;
}
.nameGrupo {
    font-weight: 400;
	font-size: .8em;
    color: #838383;
	margin-left: -5px;
}
.armaCaratc {
    font-weight: 400;
    color: #910000;
	font-size: .8em;
}
.equip_otro_tbl {
    width: 100%;
}

.equip_otro_tbl thead th {
background-color: var(--tit-color-back-light);
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 1.2em;
	
}
.equip_otro_tbl thead th .equip_th_name {
	font-size: 1.2em;
}
.equip_otro_tbl tbody td{
padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px var(--tit-color-back-light);
	vertical-align: baseline;
}
.equip_otro_name {
    width: 20%;
    text-align: left;
    padding-left: 30px;
}

/**Pie */
.pie {
  display: flex;
  min-height: 30px;
  background-color: pink;
  flex-direction: row;
	border: solid 2px var(--tit-color-back);
	box-shadow: 0 -5px 10px rgba(0,0,0,.4);
  z-index: 1;
}

.unit_keywords {
    width: calc(50% - 20px);
    background: var(--tit-color-back-light);
    padding: 10px;
    display: flex;
    align-items: center
  }
  .keyw_tit,
.fact_keyw_tit{
    margin-right: 10px;
    font-weight: 600;
	  font-size: 1.2em;
  }
.fact_keywords {
  background: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-grow: 1;
}
.fact_keyw_tit {
    margin-right: 10px;
  }
.val_puntos {
    width: 10%;
    background-color: var(--tit-color-back);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.7em;
    font-weight: 600;
}
sup.c_pts {
    font-size: .6em;
    margin: 5px 0 0 3px;
}

/*POPUP de Armas*/
#open_hab_arms {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: 75% 0;
	z-index:2
}
.ico-bolter {
  background-color: var(--tit-color-front);
  padding: 15px 15px 0px 15px;
  border-radius: 60px 60px 0 0;
  border: solid var(--tit-color-back);
  border-width: 3px 3px 0 3px;
	cursor:pointer;
	transition: all .2s ease;
}
.ico-bolter:hover {
    padding: 15px 15px 20px 15px;
}
.ico-bolter svg path {
  fill: var(--tit-color-back);
}
/**/
.habilidadesarmas {
  position: absolute;
  top: 0;
  z-index: 10;
  background-color: #d7d7d7;
  height: calc(100% - 60px);
  padding: 30px;
	cursor: pointer;
    font-size: .9em;
}
.subhabilidadesarmas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 10px;
  row-gap: 10px;
  padding: 20px;
  border: solid 1px var(--tableborder);
  height: calc(100% - 40px);
  background-color: #fff;
	/*pointer-events:none;*/
}
.habilidadarma {
  border: solid 1px var(--tableborder);
  padding: 20px;
  border-radius: 5px;
  background-color: #f4f4f4;
}
.habilidad_arm_esp {
  font-size: .9em;
  color: #8e8e8e;
}
.habiliarma_head {
  display: flex;
  column-gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
  width: 100%;
  border-bottom: solid 1px var(--tableborder);
  padding-bottom: 10px;
}
.habiliarma_tit {
  font-weight: 600;
  font-size: 1.3em;
}

.habilidad_arm_descp ul {
  padding-left: 14px;
}
.habilidad_arm_descp ul li {
  margin-bottom: 5px;
}
