/* Inicio estilos boton subir arriba  */
:root {
  --primaryColor: #3c63ad;
}

html,
#s4-workspace {
  scroll-behavior: smooth;
}

.scrollTop {
  position: fixed;
  bottom: 48px;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--primaryColor);
  box-shadow: 4px 4px 6px #00000029;
  text-align: center;
  opacity: 0;
  transition: all 300ms;
  transform: scale(0);
  overflow: hidden;
  cursor: pointer;
  z-index: 99;
  border: 1px solid white;
}

.scrollTop__div {
  background-color: #fff;
  border-radius: 50%;
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms;
  margin-left: 8px;
}
@-moz-document url-prefix() {
  .scrollTop__div {
    margin-left: 50px;
  }
}

.scrollTop__icon {
  color: var(--primaryColor);
  font-size: 37px;
  font-weight: 700;
  text-align: center;
  transition: all 300ms;
}

.scrollTop__p {
  opacity: 0;
  transition: all 400ms;
  width: 30px;
  text-align: center;
  margin-right: 20px;
  margin-bottom: 0;
}

.scrollTop:hover {
  width: 118px;
  border-radius: 27px 10px 10px 27px;
  background: var(--primaryColor) 0% 0% no-repeat padding-box;
}

.scrollTop:hover .scrollTop__div {
  margin-left: 0px;
  margin-right: 0px;
}

.scrollTop:hover .scrollTop__p {
  opacity: 1;
  color: #fff;
}

.scrollTop:hover .scrollTop__icon {
  color: var(--primaryColor);
}

.scrollTop:focus {
  border: 1px solid #000;
}

@media (min-width: 768px) {
  .scrollTop {
    right: 1.5rem;
  }
}
/* Fin estilos boton subir arriba  */
