:root {
  --white-color: #ffffff;
  --black-color: #000000;
  --first-color: #3396ab;
  --second-color: #b3f3a6;
}

.shortcode_modal_cta {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  z-index: 10000;
  display: block;
  transition: 1s;
}

.shortcode_modal_cta.active {
  bottom: 20px;
}

.shortcode_modal_cta .ct-section-inner-wrap {
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
}

.shortcode_modal_cta .modal_cta {
  position: relative;
  display: flex;
  background-color: var(--first-color);
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 125px;
  color: var(--white-color);
  background-image: url("../images/modal-cta-photo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.shortcode_modal_cta .modal_cta:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: rgb(43, 106, 133);
  background: radial-gradient(
    circle,
    rgba(43, 106, 133, 0.8) 10%,
    rgba(44, 85, 102, 0.85) 80%
  );
}

.shortcode_modal_cta .modal_cta > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.shortcode_modal_cta .modal_cta > div:before,
.shortcode_modal_cta .modal_cta > div:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 2px;
  transform: rotate(-35deg);
  background-color: var(--second-color);
  transition: clip-path 1.7s ease-in-out;
}

.shortcode_modal_cta.active .modal_cta > div:before,
.shortcode_modal_cta.active .modal_cta > div:after {
  transition-delay: 1s;
}

.shortcode_modal_cta .modal_cta > div:before {
  clip-path: polygon(100% 100%, 100% 100%, 100% 0%, 100% 0%);
}

.shortcode_modal_cta .modal_cta > div:after {
  clip-path: polygon(0% 100%, 0% 100%, 0% 0%, 0% 0%);
}

.shortcode_modal_cta.active .modal_cta > div:before {
  clip-path: polygon(100% 100%, 0% 100%, 0% 0%, 100% 0%);
}

.shortcode_modal_cta.active .modal_cta > div:after {
  clip-path: polygon(100% 100%, 0% 100%, 0% 0%, 100% 0%);
}

@media screen and (max-width: 767px) {
  .shortcode_modal_cta .modal_cta > div:before {
    content: none;
  }

  .shortcode_modal_cta .modal_cta > div:after {
    opacity: 0.2;
  }
}

.shortcode_modal_cta .modal_cta > div:before {
  top: -2px;
  left: 0;
  transform-origin: right;
}

.shortcode_modal_cta .modal_cta > div:after {
  bottom: -2px;
  right: 0;
  transform-origin: left;
}

.shortcode_modal_cta .modal_cta .modal_cta_title {
  font-weight: 800;
  font-size: 22px;
  color: var(--white-color);
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .shortcode_modal_cta .modal_cta .modal_cta_title {
    font-size: 13px;
  }
}

.shortcode_modal_cta .modal_cta .ct-link-button {
  padding: 0 35px;
  color: var(--second-color);
  font-size: 12px;
}

@media screen and (max-width: 767px) {
  .shortcode_modal_cta .modal_cta .ct-link-button {
    text-align: left;
  }
}

.shortcode_modal_cta .modal_cta .ct-link-button.button-arrow:before,
.shortcode_modal_cta .modal_cta .ct-link-button.button-arrow:after {
  width: 27px;
  height: 20px;
  transform: translateY(-1px);
  background-size: contain;
  background-position: left;
}

.shortcode_modal_cta .modal_cta .modal_cta_close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  appearance: none;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  outline: 0;
  padding: 0;
  cursor: pointer;
  color: var(--second-color);
  transition: all 0.4s ease;
}

.shortcode_modal_cta .modal_cta .modal_cta_close:hover {
  color: var(--white-color);
}

.shortcode_modal_cta .modal_cta .modal_cta_close > svg {
  width: 28px;
  height: 28px;
}

.shortcode_modal_cta .modal_cta .modal_cta_close > svg path {
  stroke: var(--second-color);
}

@media screen and (max-width: 767px) {
  .shortcode_modal_cta .modal_cta {
    height: auto;
  }

  .shortcode_modal_cta .modal_cta > div {
    padding: 10px 25px 10px 15px;
    align-items: flex-start;
  }

  .shortcode_modal_cta .modal_cta .ct-link-button {
    font-size: 9px;
    padding: 0 0 0 25px;
  }

  .shortcode_modal_cta .modal_cta .ct-link-button:hover {
    transform: none;
  }

  .shortcode_modal_cta .modal_cta .ct-link-button:hover:before {
    opacity: 1;
  }

  .shortcode_modal_cta .modal_cta .ct-link-button:hover:after {
    content: none;
  }

  .shortcode_modal_cta .modal_cta .ct-link-button.button-arrow:before,
  .shortcode_modal_cta .modal_cta .ct-link-button.button-arrow:after {
    width: 22px;
    height: 15px;
  }

  .shortcode_modal_cta .modal_cta .modal_cta_close {
    width: 30px;
    height: 30px;
  }
}
