﻿/* Scss Document */
body {
  background-color: #F6F6F6;
}

a {
  color: var(--color_2);
}

.grid_termino {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 25% 75%;
  grid-gap: 1vw;
}

.div_menu_termino {
  position: sticky;
  top: 1vw;
}

.tit_termino_ul {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 0.8vw 1.5vw;
  background-color: var(--color_2);
  color: white;
  font-family: var(--fuente_2);
  font-size: 0.8vw;
}

.ul_indice {
  width: 100%;
  padding: 0.8vw 0;
  margin: 0;
  font-size: 0.8vw;
  color: var(--color_2);
  background-color: var(--color_1);
  box-sizing: border-box;
}
.ul_indice li {
  list-style: none;
  padding: 0.5vw 0.8vw;
  cursor: pointer;
}
.ul_indice li span {
  font-family: var(--fuente_2);
}

.li_indice {
  font-family: var(--fuente_2);
  color: var(--color_2);
  background-color: var(--color_4);
}

.ul_relacionado {
  width: 100%;
  padding: 0 1.5vw;
  margin: 0;
  font-size: 1vw;
  color: #777777;
  box-sizing: border-box;
  background-color: white;
}
.ul_relacionado > li {
  list-style: none;
  padding: 1vw 0;
  display: block;
  border-bottom: solid 0.1vw #777777;
  cursor: pointer;
}
.ul_relacionado > li:hover {
  color: #3b438c;
  text-decoration: underline;
}
.ul_relacionado > li:last-child {
  border-bottom: none;
}

.li_relacionado {
  color: #3b438c;
  text-decoration: underline;
}

.div_desc_terminos {
  padding: 1.5vw;
  width: 100%;
  height: 40vw;
  overflow-y: auto;
  box-sizing: border-box;
  background-color: white;
  color: var(--color_2);
  box-shadow: 0.2vw 0.2vw 0.2vw #cccccc;
  font-size: 0.8vw;
}
.div_desc_terminos::-webkit-scrollbar {
  width: 0.5vw;
  background-color: #e4e4e4;
  border-radius: 0.5vw;
}
.div_desc_terminos::-webkit-scrollbar-track {
  background-color: #e4e4e4;
  -webkit-border-radius: 0px;
  border-radius: 0.5vw;
}
.div_desc_terminos::-webkit-scrollbar-thumb {
  background-color: var(--color_2);
  -webkit-border-radius: 0px;
  border-radius: 0.5vw;
}

.div_desc_terminos_s {
  width: 100%;
  box-sizing: border-box;
  text-align: justify;
  padding-right: 0.5vw;
  line-height: 1.5vw;
}
.div_desc_terminos_s p {
  font-family: var(--fuente_4);
  margin: 0.5vw 0;
  padding: 0;
}

.tit_desc_terminos {
  font-size: 0.9vw;
  font-family: var(--fuente_2);
  display: block;
  padding: 1vw 0;
  text-transform: uppercase;
}

.tit_desc_terminos_s {
  font-size: 0.9vw;
  font-family: var(--fuente_2);
  display: block;
  padding: 1vw 0;
}

.texto_cuerpo_termino {
  font-family: var(--fuente_4);
}

@media screen and (max-width: 800px) {
  .grid_termino {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 16px;
    margin-top: 60px;
  }
  .grid_termino > div:first-child {
    display: none;
  }
  .div_desc_terminos {
    padding: 30px;
    width: 100%;
    height: auto;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: white;
    box-shadow: none;
    font-size: 16px;
  }
  .div_desc_terminos_s {
    width: 100%;
    box-sizing: border-box;
    text-align: justify;
    padding-right: 8px;
    line-height: 20px;
  }
  .tit_desc_terminos {
    font-size: 20px;
    display: block;
    padding: 16px 0;
    text-transform: uppercase;
  }
  .tit_desc_terminos_s {
    font-size: 20px;
    display: block;
    padding: 16px 0;
  }
  .btn_menu_m {
    position: fixed;
    padding: 16px;
    color: white;
    background-color: var(--color_2);
    font-size: 20px;
    display: inline-block;
    margin-bottom: 10px;
    right: 0;
  }
  .menu_bg_in {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    z-index: 110;
    top: 0;
  }
  .div_menu_termino {
    position: static;
    top: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .tit_termino_ul {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 14px 20px;
    background-color: var(--color_2);
    color: white;
    font-size: 16px;
  }
  .div_menu_in {
    width: 70%;
    height: 100%;
    box-sizing: border-box;
    position: fixed;
    overflow-y: auto;
    z-index: 120;
    background-color: #f6f6f6;
    display: none;
    right: 0;
  }
  .ul_indice {
    width: 100%;
    padding: 16px 0;
    margin: 0;
    font-size: 16px;
    color: var(--color_2);
    box-sizing: border-box;
    display: block;
  }
  .ul_indice li {
    list-style: none;
    padding: 8px 20px;
    cursor: pointer;
  }
  .li_indice {
    color: white;
    background-color: var(--color_2);
  }
  .ul_relacionado {
    width: 100%;
    padding: 0 20px;
    margin: 0;
    font-size: 16px;
    color: #152133;
    box-sizing: border-box;
    background-color: #f6f6f6;
    display: none;
  }
  .ul_relacionado > li {
    list-style: none;
    padding: 16px 0;
    display: block;
    border-bottom: none;
    cursor: pointer;
  }
  .ul_relacionado > li:hover {
    color: #3b438c;
    text-decoration: underline;
  }
  .ul_relacionado > li:last-child {
    border-bottom: none;
  }
  .li_relacionado {
    color: #3dd660;
    text-decoration: underline;
  }
  .icono_menu_ind {
    margin-top: 0px;
    font-size: 20px;
    float: right;
  }
  .icono_menu_ind_selec {
    margin-top: 0;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .otros_tit {
    background-color: #3b438c;
  }
}
