/*
  "Text w/ Icon" links (Insert/Edit Link > Button Type > Text w/ Icon)
  The icon used to be saved as an inline <svg> in the content, which the host's firewall blocks on save.
  It's now drawn here from a class on the link: class="… sf-icon sf-icon--{name}". Each icon keeps the size,
  color/opacity and spacing of the svg it replaces (built-ins: quickacf_defs.button_icons in
  sf-acf-insert-inline-js/tinymce-mod.js; fa-*: older Font Awesome svgs saved on the Thrive page).
  Loaded on the front end and in the editors (sf_resources/_functions_mods.php).
*/
a.sf-icon::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  margin-right: 15px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

/* Footer links (footer.v2 .top .general .links a > svg had margin-right: 10px) */
footer.v2 .top .general .links a.sf-icon::before {
  margin-right: 10px;
}

a.sf-icon--team::before {
  width: 28.121px;
  height: 19.685px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.121 19.685'%3E%3Cpath d='M4.218-6.189A2.815,2.815,0,0,0,7.03-9a2.815,2.815,0,0,0-2.812-2.812A2.815,2.815,0,0,0,1.406-9,2.815,2.815,0,0,0,4.218-6.189Zm19.685,0A2.815,2.815,0,0,0,26.715-9,2.815,2.815,0,0,0,23.9-11.813,2.815,2.815,0,0,0,21.091-9,2.815,2.815,0,0,0,23.9-6.189Zm1.406,1.406H22.5a2.8,2.8,0,0,0-1.982.817,6.427,6.427,0,0,1,3.3,4.807h2.9A1.4,1.4,0,0,0,28.121-.564V-1.97A2.815,2.815,0,0,0,25.309-4.783Zm-11.248,0A4.919,4.919,0,0,0,18.982-9.7a4.919,4.919,0,0,0-4.921-4.921A4.919,4.919,0,0,0,9.139-9.7,4.919,4.919,0,0,0,14.061-4.783Zm3.375,1.406H17.07a6.922,6.922,0,0,1-3.01.7,6.936,6.936,0,0,1-3.01-.7h-.365A5.063,5.063,0,0,0,5.624,1.685V2.951A2.11,2.11,0,0,0,7.733,5.06H20.388A2.11,2.11,0,0,0,22.5,2.951V1.685A5.063,5.063,0,0,0,17.435-3.377ZM7.606-3.965a2.8,2.8,0,0,0-1.982-.817H2.812A2.815,2.815,0,0,0,0-1.97V-.564A1.4,1.4,0,0,0,1.406.842H4.3A6.443,6.443,0,0,1,7.606-3.965Z' transform='translate(0 14.625)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.121 19.685'%3E%3Cpath d='M4.218-6.189A2.815,2.815,0,0,0,7.03-9a2.815,2.815,0,0,0-2.812-2.812A2.815,2.815,0,0,0,1.406-9,2.815,2.815,0,0,0,4.218-6.189Zm19.685,0A2.815,2.815,0,0,0,26.715-9,2.815,2.815,0,0,0,23.9-11.813,2.815,2.815,0,0,0,21.091-9,2.815,2.815,0,0,0,23.9-6.189Zm1.406,1.406H22.5a2.8,2.8,0,0,0-1.982.817,6.427,6.427,0,0,1,3.3,4.807h2.9A1.4,1.4,0,0,0,28.121-.564V-1.97A2.815,2.815,0,0,0,25.309-4.783Zm-11.248,0A4.919,4.919,0,0,0,18.982-9.7a4.919,4.919,0,0,0-4.921-4.921A4.919,4.919,0,0,0,9.139-9.7,4.919,4.919,0,0,0,14.061-4.783Zm3.375,1.406H17.07a6.922,6.922,0,0,1-3.01.7,6.936,6.936,0,0,1-3.01-.7h-.365A5.063,5.063,0,0,0,5.624,1.685V2.951A2.11,2.11,0,0,0,7.733,5.06H20.388A2.11,2.11,0,0,0,22.5,2.951V1.685A5.063,5.063,0,0,0,17.435-3.377ZM7.606-3.965a2.8,2.8,0,0,0-1.982-.817H2.812A2.815,2.815,0,0,0,0-1.97V-.564A1.4,1.4,0,0,0,1.406.842H4.3A6.443,6.443,0,0,1,7.606-3.965Z' transform='translate(0 14.625)'/%3E%3C/svg%3E");
}

a.sf-icon--info::before {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'/%3E%3C/svg%3E");
}

a.sf-icon--speechBubble::before {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z'/%3E%3C/svg%3E");
}

a.sf-icon--phone::before {
  width: 16px;
  height: 16px;
  background-color: #5BAC47;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
}

a.sf-icon--locationPin::before {
  width: 12px;
  height: 16px;
  background-color: #5BAC47;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M192 512s192-208 192-320C384 86 298 0 192 0S0 86 0 192C0 304 192 512 192 512zm0-256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M192 512s192-208 192-320C384 86 298 0 192 0S0 86 0 192C0 304 192 512 192 512zm0-256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z'/%3E%3C/svg%3E");
}

a.sf-icon--fa-pen-to-square::before {
  width: 18px;
  height: 18px;
  background-color: currentColor;
  margin-right: 12px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M383.1 448H63.1V128h156.1l64-64H63.1C28.65 64 0 92.65 0 128v320c0 35.35 28.65 64 63.1 64h319.1c35.34 0 63.1-28.65 63.1-64l-.0039-220.1l-63.1 63.99V448zM497.9 42.19l-28.13-28.14c-18.75-18.75-49.14-18.75-67.88 0l-38.62 38.63l96.01 96.01l38.62-38.63C516.7 91.33 516.7 60.94 497.9 42.19zM147.3 274.4l-19.04 95.22c-1.678 8.396 5.725 15.8 14.12 14.12l95.23-19.04c4.646-.9297 8.912-3.213 12.26-6.562l186.8-186.8l-96.01-96.01L153.8 262.2C150.5 265.5 148.2 269.8 147.3 274.4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M383.1 448H63.1V128h156.1l64-64H63.1C28.65 64 0 92.65 0 128v320c0 35.35 28.65 64 63.1 64h319.1c35.34 0 63.1-28.65 63.1-64l-.0039-220.1l-63.1 63.99V448zM497.9 42.19l-28.13-28.14c-18.75-18.75-49.14-18.75-67.88 0l-38.62 38.63l96.01 96.01l38.62-38.63C516.7 91.33 516.7 60.94 497.9 42.19zM147.3 274.4l-19.04 95.22c-1.678 8.396 5.725 15.8 14.12 14.12l95.23-19.04c4.646-.9297 8.912-3.213 12.26-6.562l186.8-186.8l-96.01-96.01L153.8 262.2C150.5 265.5 148.2 269.8 147.3 274.4z'/%3E%3C/svg%3E");
}

a.sf-icon--fa-calendar-alt::before {
  width: 18px;
  height: 20.571px;
  background-color: currentColor;
  margin-right: 12px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
}
