@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');
@view-transition {
  navigation: auto
}

p, h2, h3, h4 {
    orphans: 3;
    widows: 3;
    page-break-after: avoid;
    font-family: "Inter", sans-serif!important;
}

section.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  min-height: 100dvh;
  background-image: url("../img/fondo.png"),  linear-gradient(to right, rgba(99,128,247,1) 1%,rgba(84,116,246,1) 100%);
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  grid-template-areas:
  "menu menu menu"
  "header header header"
  "content content content"
  "footer footer footer"
  "botonera botonera botonera"
}

.grid-container .topnav {
  grid-area: menu;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  overflow: hidden;
  justify-content: space-between;
  background-color: #45c8ff;
  align-items: center;
  border-bottom: 3px solid #fff;
  height: 85px;
}

.grid-container header{
  grid-area: header;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  padding: 40px;
  gap: 20px;
}

.grid-container main {
  grid-area: content;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  padding: 80px 0 20px 0;
  justify-content: center;
}

.grid-container aside {
  grid-area: footer;
  background-color: #d9e1fc;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
}

.grid-container section.botonera_final {
  grid-area: botonera;
  background-color: #fff;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/*------------------ Topnav: menu -----------------------------*/

.topnav p{
  color: #3e41a8;
  font-size: 11px;
  margin: 0;
}

.topnav a {
  float: left; 
  display: block;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.topnav a:hover {
  background-color: #fff;
  color: #3e41a8;
}
      
.topnav a.active {
  background-color: #fff;
  color: #3e41a8;
  font-weight: 600;
}
      
.topnav .icon {
  display: none;
}

.topnav a.top img{
  width: 100%;
}

.topnav a.top{
  transition: all 0.5s;
}

.topnav a.top:hover{
  transform: scale(1.05);
  background-color: initial;
}

.topnav a.bienes {
  display: inline;
  float: initial;
  background-color: #3e41a8;
  color: #fff;
  margin: 0 20px;
  border-bottom: 3px solid #fff;
}

.topnav a.bienes:hover {
  background-color: #fff;
  color: #3e41a8;
}

.topnav .idioma a{
  font-size: 11px;
}

/*----------------------Topnav: menu ----------------------------------*/

/*------------------ header: + botonera principal ------------------*/

header .content_header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.imagen-central {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.imagen-central img{
  width: 540px;
}

.destacado {
  display: flex;
  flex-direction: column;
  background-color: #3e41a8;
  padding: 20px;
  border-radius: 14px;
  max-width: 640px;
  margin: 20px auto 0 auto;
}

.destacado h3 {
  color: #fff;
  font-weight: 500;
  font-size: 1.2em;
  text-align: center;
}

.destacado p {
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin: 0;
}

.botones {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  min-height: 350px;
}

.botones .logo img{
  width: 65%;
}

.botonera {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 3;
  margin: 30px auto -90px auto;
  gap: 10px;
}

.botonera a{
  color: #fff!important;
}

.caja1 {
  background-color: #fff;
  border-radius: 14px;
  z-index: 3;
  width: 230px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 2%;
  box-shadow: 0 3px 20px 0px #5555556b;
}

.caja1 img {
  width: 50px;
  height: auto;
  padding: 2%;
}

.caja1 h4{
  text-align: center;
  font-weight: 500;
  font-size: 1em;
  color: #2b4053;
}

button.uno{
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1em;
  background-color: #3e41a8;
  height: 25%;
  padding: 5%;
}

button.uno:hover {
  background-color: #5474f6;
  color: #d9e1fc;
}

button.dos{
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1em;
  background-color: #5474f6;
  height: 60px;
  padding: 5%;
}

button.dos:hover {
  background-color: #3e41a8;
  color: #d9e1fc;
}

.botones_extra1 button {
  font-size: 0.7em;
  font-family: 'Inter', sans-serif;
  padding: 16px;
  margin: 5px auto;
  background-color: #99B;
  border: none;
  width: 100%;
}

.botones_extra1 button:hover {
  background-color: #7d7d97;
}

.botones_extra2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  column-gap: 5px;
}

.botones_extra2 button {
  font-size: 0.7em;
  font-family: 'Inter', sans-serif;
  padding: 10px;
  margin: 5px auto;
  background-color: #99B;
  border: none;
  width: 50%;
}

.botones_extra2 button:hover {
  background-color: #7d7d97;
}

.nomina button {
  font-size: 0.7em;
  font-family: 'Inter', sans-serif;
  padding: 5px;
  background-color: #f4589f;
  border: none;
  width: 100%;
}

.nomina button:hover {
  background-color: #ad4f79;
}

.web-sii hr {
    border-color: #cdcdcd;
    margin: 5px 0;
    clear: both;
}

/*------------------ main: Contenido: Información quiénes y qué deben declarar ------------------*/

.deben_declarar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
}

.titulo1 {
  width: 32%;
}

.titulo1 h2{
  font-weight: 700;
  font-size: 1.5em;
  color: #fff;
  margin: 0;
  position: relative;
}

.titulo1 p{
  font-weight: 400;
  font-size: 1em;
  color: #fff;
}

.informacion1 {
  width: 60%;
  margin-left: 25px;
}

.informacion1 ul li{
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  margin: 2% 0;
}

.ejemplo {
  background-color: #fff;
  padding: 10px;
  border-radius: 0 10px;
}

.ejemplo img.pull-left.img2{
  width: 40px;
  padding: 0 5px;
}

.ejemplo img.pull-left{
  width: 40px;
  padding: 5px;
}

p.titulo_ejemplo {
  color: #3e41a8;
  font-size: 0.9em;
  margin: 0;
}

p.texto_ejemplo {
  color: #3e41a8;
  font-size: 0.8em;
  margin: 0;
}

/*------------- aside: Footer: Servicios y Bienes -------------- */

aside .container {
  margin: 25px 0;
}

.titulo1 h2::after {
  content: url("../img/barra_diagonal.svg");
  display: block;
  position: absolute;
  top: 0;
  right: 70px;
  width: 40px;
}

.titulo_servicios h2{
  font-size: 1.4em;
  color: #3e41a8;
  font-weight: 700;
  margin: 0;
}

.titulo_servicios h4 {
  font-size: 1em;
  color: #3e41a8;
  margin: 10px 0 25px 0;
}

.normativa_servicios {
  min-height: 200px;
}

.normativa_servicios p{
  font-weight: 500;
  font-size: 1em;
  color: #152232;
  border-bottom: 1px solid #3e41a8;
}

.normativa_servicios ul li {
  color: #152232;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9em;
  line-height: 1.6em;
}

.nominas {
  display: flex;
  flex-flow: column nowrap;

}

h3.titulo {
  font-size: 1em;
  font-weight: 500;
  background-color: #8ba3f6;
  padding: 3%;
  border-radius: 5px;
}

.nominas_documentos1 p{
  font-size: 0.9em;
  color: #152232;
  margin: 0;
}

.nominas_documentos1 img {
  width: 35px;
}

.nominas_documentos1 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  width: 50%;
}

.documentos_nominas {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}

/*------------------ Botonera y footer ------------------*/

.botones_final {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
}

.boton_footer {
  display: flex;
  flex-flow: column nowrap;
  background-color: #5474f6;
  padding: 2%;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
  width: 200px;
  height: 145px;
  transition: height .2s;
  interpolate-size: allow-keywords;
  overflow: hidden;
}

.boton_footer:hover {
  height: auto;
}

.boton_footer h4 {
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.boton_footer p{
  font-size: .8em;
  font-weight: 500;
  color: #fff;
  margin-top: 55px;
}

.boton_footer img{
  width: 50px;
  height: auto;
}

.boton_footer a{
  color: #fff!important;
}

.boton_footer a:hover{
  color: #2b4053!important;
  transform: scale(1.2);
  transition: .3s;
}

.boton_footer a:hover img{
  width: 50px;
  height: 50px;
  transition: .3s;
}

.boton_footer img{
  width: 40px;
  height: 40px;
  margin: 0 10px;
}

.web-sii footer {
  margin: 0;
}

.mm-menu.mm-offcanvas{
    z-index: 5;
}