@mixin bg-variant($parent, $color, $ignore-warning: false) {
  #{$parent} {
    background-color: $color !important;
  }
  a#{$parent},
  button#{$parent} {
    @include hover-focus() {
      background-color: darken($color, 10%) !important;
    }
  }
  @include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning);
}

@mixin bg-gradient-variant($parent, $color, $ignore-warning: false) {
  #{$parent} {
    background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
  }
  @include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning);
}
rm-demo {
    padding:0.5rem 0;
}

.form-demo h2, hr {
    font-size: 1.2rem;
    margin-bottom:1.5rem;
	width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center

}

select {
    word-wrap: normal;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
	background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding-left: 40px;
    height: 40px;
		    writing-mode: horizontal-tb !important;
    font-style: ;
    font-variant-ligatures: ;
    font-variant-caps: ;
    font-variant-numeric: ;
    font-variant-east-asian: ;
    font-weight: ;
    font-stretch: ;
    font-size: ;
    font-family: ;
    text-rendering: auto;
    color: -internal-light-dark(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: auto;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    background-color: -internal-light-dark(rgb(255, 255, 255), rgb(59, 59, 59));
    cursor: default;
    margin: 0em;
    border-width: 1px;
    border-style: solid;
    border-color: -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
    border-image: initial;
    border-radius: 0px;
}

.span-terminos{
    position:relative;
    top:4px;//Para centrar el texto con respecto al checkbox
    color:#ffffff;//color del texto de este contenedor span
}
.enlace-terminos{
    color:#3ca3c9;//el código de color que quieras oara tu enlace
    font-weight:700;//grosor de la fuente
    text-decoration:none;//para quitarle el subrayado
}
div.contenedor-terminos{
     position:relative;
     top:15px;
}
div.contenedor-terminos [type="checkbox"] {
    position: absolute;
    opacity: 0;
	margin-left: 50%;
    margin-right: 50%;

}

div.contenedor-terminos [type="checkbox"]+label {
    position: relative;
    cursor: pointer;
    padding: 0;
	margin-bottom: 20px;
	
}

div.contenedor-terminos [type="checkbox"]+label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 18px;
    height: 18px;
    background: #f8f9fa;
    border: 1px solid #b7d8d1;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    margin-top: 2px;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	

}

div.contenedor-terminos [type="checkbox"]:hover+label:before {
    background: #f8f9fa;
    border-color: #1abc9c
}

div.contenedor-terminos [type="checkbox"]:checked+label:before {
    background: #1abc9c;
    border-color: #1abc9c
}

div.contenedor-terminos [type="checkbox"]:disabled+label {
    color: #b8b8b8;
    cursor: auto
}

div.contenedor-terminos [type="checkbox"]:disabled+label:before {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #ddd
}

div.contenedor-terminos [type="checkbox"]:checked+label:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 11px;
    background: white;
    width: 2px;
    height: 2px;
    -webkit-box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}