.spaceContainer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.spaceContainer h3 {
  padding-top: 0px;
}
.footerSpace {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 100px;
  border-radius: 10px;
  background-color: #1586f8;
  color: #ffffff;
  font-weight: bold;
}

.edit_footer_ads_subtitle {
  margin: 0px !important;
}

.linkOuterAdsContainer {
  position: relative;
}

.linkAdsContainer {
  position: fixed;
  bottom: 0%;
  left: 0;
  background: #ffffff;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 0.0625rem solid lightgray;
  z-index: 99999;
  animation: animation_up 1.5s ease-in-out forwards;
}

.editLinkAdsContainer {
  position: fixed;
  bottom: 25px;
  left: 0;
  background: #ffffff;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 0.0625rem solid lightgray;
  z-index: 99999;
  animation: animation_up 1.5s ease-in-out forwards;
}

.editLinkAdsContainer h3 {
  padding-top: 0px;
}

.adsContent h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 500;
  margin-bottom: 0px !important;
  margin-top: 10px !important;
  display: inline-block;
  background-image: linear-gradient(0deg, #cce7ff 50%, transparent 50%);
}

.adsContent h3::before {
  border-bottom: none !important;
}

.adsContent p {
  color: rgba(0, 0, 0, 0.6);
  margin: 5px 0px 15px 0px;
}
.linkAdsButton,
.footerLinkAdsButton {
  border: none;
  background-color: #0187ff !important;
  color: white !important;
  padding: 12.8px;
  max-width: 15.625rem;
  width: 100%;
  border-radius: 0.25rem !important;
  font-size: 1rem !important;
  margin-left: 6.25rem;
  cursor: pointer;
  box-shadow: 2px 2px 5px grey;
  text-align: center;
}
.linkAdsButton,
.footerLinkAdsButton:hover {
  transition: all 0.2s linear;
  opacity: 0.8;
  text-decoration: none !important;
}

.linkUp {
  display: none;
  position: absolute;
  top: -23px;
  left: 0%;
  width: 53px;
  height: 23px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAUdJREFUOE/Nkr9Kw1AYxc+X0ggOTi6COLpEtKkmGS0OSsUkdNCloKMvUGcfoD6Aq6KTS/+IhRRcBCGkaYNSn8BRQVwkSu8nKbZUG6TQpXe95/fjnsshjHloTB4TLkjrdk6wmAMS94FXCuLqxlZYNrLzCZEsAVj9gd6YKR80yjd/JUMCRdmV5emwBmADwB0zbolwDOBVEmLT96+bg5IhQUqzLgjIA2i3vMpSFFZ18xRMhwAeO9LX9oNbe+5JfgnSmllkUGEQ7gVV3SqBYROTE37IZrt99Rnd9QUpzS4QuBgHR0HDyM6EnHSIYYBx3mpUDvoCVbf3wXwWwZLgjO9XX+J+fEXPLUrcqQNYIPBJ06sedV+gahZHMCTaa7nlp//WqWrmOkAOABkSKV1Bam0nM5XoNF239j7KtNO6vSWYZwOvcjnhUx6lzjf3NnHynyr2EgAAAABJRU5ErkJggg==")
    no-repeat center center;
  border: 1px solid #d6d6d6;
  background-color: #ffffff !important;
  border-left: none;
  border-bottom: none;
  cursor: pointer;
  border-top-right-radius: 5px;
}

.linkDown {
  position: absolute;
  top: -23px;
  left: 0%;
  width: 53px;
  height: 23px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAANlJREFUOE/N0j1IQlEUAODPxTFoCIKEhqCpoUlxCgxqtGbBsTYn99odXaJNcA3SJUrcDJoiZyFoqDZpco4H94E8nrxQAu967vnuPT85K57civnWB7jABx7/WNIpyriOS/jENs7Rz0CO8IQJDmKgjg5mOMHzAmQfA2yhgpf5JjbRwjSS8Z1ANsLLJZyhF8WTU4iACPrCTgK4RxWXuI1jaWPsooZ37IWLNyGxjcY8nAbk8RBqHGGIK4xxmOzNokUq4A7FkPCDzbTGZm3iMXbxirdlgMy9yvrB/wO/DlIhET0yZUQAAAAASUVORK5CYII=)
    no-repeat center center;
  background-color: #ffffff !important;
  border: 1px solid #d6d6d6;
  border-left: none;
  border-bottom: none;
  cursor: pointer;
  border-top-right-radius: 5px;
}

.link_position {
  position: fixed;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: 9999;
}

@media screen and (max-width: 700px) {
  .linkAdsButton,
  .footerLinkAdsButton {
    margin-left: 1rem;
  }
}

@media screen and (max-width: 650px) {
  .editLinkAdsContainer,
  .linkAdsContainer {
    flex-direction: column;
    align-items: flex-start;
  }

  .adsContent {
    margin-left: 16px;
    margin-top: 10px;
  }

  .adsContent p {
    margin: 5px 0px 5px 0px;
  }

  .adsContent h3 {
    margin-top: 0px !important;
  }
  .linkAdsButton,
  .footerLinkAdsButton {
    margin-left: auto;
    margin-right: 1rem;
    width: 50%;
    margin-bottom: 5px;
  }
}

.down_animation {
  animation: animation_down 1s ease-in-out forwards;
}

.up_animation {
  animation: animation_up 1s ease-in-out forwards;
}

@keyframes animation_down {
  100% {
    transform: translateY(100%);
  }
}

@keyframes animation_up {
  0% {
    transform: translateY(100%);
  }
}
