Gutenberg Blocks – Ultimate Addons for Gutenberg - Version 1.13.6

Version Description

  • Fix: Reusable Block - Dynamic CSS not generated for Reusable Blocks in Advanced Columns.
  • Fix: WooCommerce Compatibility - Shop Page Common CSS not been enqueued issue.
  • Fix: Contact Form 7 Styler - Unregistered console error for certain case scenario issue.
  • Fix: Gravity Forms Styler - Unregistered console error for certain case scenario issue.
Download this release

Release Info

Developer vrundakansara
Plugin Icon Gutenberg Blocks – Ultimate Addons for Gutenberg
Version 1.13.6
Comparing to
See all releases

Code changes from version 1.13.5 to 1.13.6

assets/css/blocks/advanced-heading.css CHANGED
@@ -1,3 +1,3 @@
1
- .wp-block-uagb-advanced-heading{padding:0;margin:0 auto}.wp-block-uagb-advanced-heading .uagb-heading-text{margin:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator-wrap{font-size:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator{border-top-style:solid;display:inline-block;border-top-width:2px;width:5%;margin:0px 0px 10px 0px}.wp-block-uagb-advanced-heading .uagb-desc-text{margin:0;text-align:center}
2
-
3
  /*# sourceMappingURL=advanced-heading.css.map */
1
+ .wp-block-uagb-advanced-heading{padding:0;margin:0 auto}.wp-block-uagb-advanced-heading .uagb-heading-text{margin:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator-wrap{font-size:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator{border-top-style:solid;display:inline-block;border-top-width:2px;width:5%;margin:0px 0px 10px 0px}.wp-block-uagb-advanced-heading .uagb-desc-text{margin:0;text-align:center}
2
+
3
  /*# sourceMappingURL=advanced-heading.css.map */
assets/css/blocks/blockquote.css CHANGED
@@ -1,3 +1,3 @@
1
- .wp-block-uagb-blockquote{padding:0;margin:0 auto}.wp-block-uagb-blockquote .uagb-blockquote__content,.wp-block-uagb-blockquote cite.uagb-blockquote__author{font-style:normal;display:block}.wp-block-uagb-blockquote cite.uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation blockquote.uagb-blockquote{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;quotes:none;border-left:0 none;border-right:0 none;border-top:0 none;border-bottom:0 none;font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap{position:relative;display:inline-block;padding:0px;z-index:1;background:#333;padding:10px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon{height:25px;width:25px;display:inline-block;float:left}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg{height:inherit;width:inherit;display:inherit}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation.uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left}.wp-block-uagb-blockquote blockquote.uagb-blockquote{margin:0;padding:0}.wp-block-uagb-blockquote .uagb-blockquote__wrap,.wp-block-uagb-blockquote .uagb-blockquote__wrap *{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-blockquote .uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left;text-align:left}.wp-block-uagb-blockquote .uagb-blockquote__separator-parent{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote footer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.wp-block-uagb-blockquote .uagb-blockquote a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.wp-block-uagb-blockquote .uagb-blockquote a.uagb-blockquote__tweet-button{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;line-height:1;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0;color:#1DA1F2;background-color:transparent;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{height:15px;width:15px;margin-right:5px;fill:#fff;vertical-align:middle;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button svg{margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text svg{margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button{padding:8px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-text a.uagb-blockquote__tweet-button{padding:10px 14px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button{padding:10px 0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button{background-color:#1DA1F2;border-radius:100em;color:#fff}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{content:'';border:solid 0.5em transparent;border-right-color:#1DA1F2;position:absolute;left:-0.8em;top:50%;-webkit-transform:translateY(-50%) scale(1, 0.65);-ms-transform:translateY(-50%) scale(1, 0.65);transform:translateY(-50%) scale(1, 0.65);-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:auto;right:-0.8em;-webkit-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);-ms-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);transform:translateY(-50%) scale(1, 0.65) rotate(180deg)}.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-center .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote footer{display:block;text-align:center}.wp-block-uagb-blockquote .uagb-blockquote__align-center a.uagb-blockquote__tweet-button{display:block;text-align:center;margin:0 auto;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-right .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote footer{flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__author-image{align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-image img{width:50px;height:50px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;flex-direction:row}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-end;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;-moz-box-pack:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-start;-webkit-box-pack:flex-start;-ms-flex-pack:flex-start;-webkit-justify-content:flex-start;-moz-box-pack:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:unset;-webkit-box-pack:unset;-ms-flex-pack:unset;-webkit-justify-content:unset;-moz-box-pack:unset}.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .editor-rich-text{width:inherit}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:auto}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap .editor-rich-text{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{text-align:right}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img{margin-left:10px;margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}@media only screen and (max-width: 976px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__with-tweet .uagb-blockquote footer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}@media screen and (max-width: 767px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__with-tweet .uagb-blockquote footer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}
2
-
3
  /*# sourceMappingURL=blockquote.css.map */
1
+ .wp-block-uagb-blockquote{padding:0;margin:0 auto}.wp-block-uagb-blockquote .uagb-blockquote__content,.wp-block-uagb-blockquote cite.uagb-blockquote__author{font-style:normal;display:block}.wp-block-uagb-blockquote cite.uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation blockquote.uagb-blockquote{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;quotes:none;border-left:0 none;border-right:0 none;border-top:0 none;border-bottom:0 none;font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap{position:relative;display:inline-block;padding:0px;z-index:1;background:#333;padding:10px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon{height:25px;width:25px;display:inline-block;float:left}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg{height:inherit;width:inherit;display:inherit}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation.uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left}.wp-block-uagb-blockquote blockquote.uagb-blockquote{margin:0;padding:0}.wp-block-uagb-blockquote .uagb-blockquote__wrap,.wp-block-uagb-blockquote .uagb-blockquote__wrap *{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-blockquote .uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left;text-align:left}.wp-block-uagb-blockquote .uagb-blockquote__separator-parent{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote footer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.wp-block-uagb-blockquote .uagb-blockquote a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.wp-block-uagb-blockquote .uagb-blockquote a.uagb-blockquote__tweet-button{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;line-height:1;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0;color:#1DA1F2;background-color:transparent;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{height:15px;width:15px;margin-right:5px;fill:#fff;vertical-align:middle;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button svg{margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text svg{margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button{padding:8px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-text a.uagb-blockquote__tweet-button{padding:10px 14px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button{padding:10px 0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button{background-color:#1DA1F2;border-radius:100em;color:#fff}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{content:'';border:solid 0.5em transparent;border-right-color:#1DA1F2;position:absolute;left:-0.8em;top:50%;-webkit-transform:translateY(-50%) scale(1, 0.65);-ms-transform:translateY(-50%) scale(1, 0.65);transform:translateY(-50%) scale(1, 0.65);-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:auto;right:-0.8em;-webkit-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);-ms-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);transform:translateY(-50%) scale(1, 0.65) rotate(180deg)}.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-center .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote footer{display:block;text-align:center}.wp-block-uagb-blockquote .uagb-blockquote__align-center a.uagb-blockquote__tweet-button{display:block;text-align:center;margin:0 auto;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-right .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote footer{flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__author-image{align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-image img{width:50px;height:50px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;flex-direction:row}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-end;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;-moz-box-pack:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-start;-webkit-box-pack:flex-start;-ms-flex-pack:flex-start;-webkit-justify-content:flex-start;-moz-box-pack:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:unset;-webkit-box-pack:unset;-ms-flex-pack:unset;-webkit-justify-content:unset;-moz-box-pack:unset}.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .editor-rich-text{width:inherit}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:auto}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap .editor-rich-text{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{text-align:right}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img{margin-left:10px;margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}@media only screen and (max-width: 976px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__with-tweet .uagb-blockquote footer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}@media screen and (max-width: 767px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__with-tweet .uagb-blockquote footer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}
2
+
3
  /*# sourceMappingURL=blockquote.css.map */
assets/css/blocks/buttons.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-buttons__outer-wrap .uagb-buttons__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-buttons__outer-wrap .uagb-button__active,.uagb-buttons__outer-wrap .uagb-button__active:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}.uagb-buttons__outer-wrap a.uagb-button__link:focus,.uagb-buttons__outer-wrap .uagb-button__link:focus{box-shadow:none;text-decoration:none}.uagb-buttons__outer-wrap .uagb-button__wrapper{padding:0;border:1px solid #333;border-radius:2px;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex}.uagb-buttons__outer-wrap .uagb-button__wrapper:first-child{margin-left:0}.uagb-buttons__outer-wrap .uagb-button__wrapper:last-child{margin-right:0}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link{padding:10px 14px;width:100%;color:#333;text-decoration:none;font-family:inherit;line-height:inherit;font-weight:inherit}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover .uagb-button__link{text-decoration:none}
2
-
3
  /*# sourceMappingURL=buttons.css.map */
1
+ .uagb-buttons__outer-wrap .uagb-buttons__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-buttons__outer-wrap .uagb-button__active,.uagb-buttons__outer-wrap .uagb-button__active:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}.uagb-buttons__outer-wrap a.uagb-button__link:focus,.uagb-buttons__outer-wrap .uagb-button__link:focus{box-shadow:none;text-decoration:none}.uagb-buttons__outer-wrap .uagb-button__wrapper{padding:0;border:1px solid #333;border-radius:2px;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex}.uagb-buttons__outer-wrap .uagb-button__wrapper:first-child{margin-left:0}.uagb-buttons__outer-wrap .uagb-button__wrapper:last-child{margin-right:0}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link{padding:10px 14px;width:100%;color:#333;text-decoration:none;font-family:inherit;line-height:inherit;font-weight:inherit}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover .uagb-button__link{text-decoration:none}
2
+
3
  /*# sourceMappingURL=buttons.css.map */
assets/css/blocks/call-to-action.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-cta__outer-wrap{position:relative}.uagb-cta__outer-wrap .uagb-cta__content{display:inline-block}.uagb-cta__outer-wrap a.uagb-cta__block-link span{font-size:inherit;vertical-align:middle;display:inline-block;float:left}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__link-wrapper{width:30%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__content{width:70%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:right}.uagb-cta__outer-wrap .uagb-cta__link-wrapper.uagb-cta__block-link-style:empty{display:none}.uagb-cta__outer-wrap a.uagb-cta__block-link,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap{text-decoration:none}.uagb-cta__outer-wrap a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap:hover .entry .entry-content a.uagb-cta__block-link:hover{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content-right{text-align:right;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{width:100%;word-break:break-word}.uagb-cta__outer-wrap .uagb-cta__icon-position-below-title .uagb-cta__left-right-wrap{display:block;min-width:100%;width:100%}.uagb-cta__outer-wrap .uagb-cta__icon-position-left .uagb-cta__left-right-wrap,.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex}.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-after{margin-left:5px;margin-right:0}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-before{margin-left:0;margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link-icon,.uagb-cta__outer-wrap .uagb-cta__block svg{-webkit-transition:all 200ms linear;-o-transition:all 200ms linear;transition:all 200ms linear}.uagb-cta__outer-wrap .uagb-cta__block{position:relative}.uagb-cta__outer-wrap .uagb-cta-typeof-button{display:inline-block;line-height:1;background-color:transparent;color:#333;text-align:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link,.uagb-cta__outer-wrap .uagb-cta__content-right.uagb-cta__button-valign-middle .uagb-cta__left-right-wrap{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-cta__outer-wrap .uagb-cta__link-wrapper a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-cta__outer-wrap .uagb-cta__title-wrap .uagb-cta__title{padding:0;margin:0;display:block}.uagb-cta__outer-wrap .uagb-cta__block,.uagb-cta__outer-wrap .uagb-cta__content{z-index:1}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{z-index:1}.uagb-cta__outer-wrap .uagb-cta__block-link{cursor:pointer}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{display:inline-block;float:right;padding:10px 14px}.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content p:empty{display:none}.uagb-cta__outer-wrap .uagb-cta__button-type-none .uagb-cta__content{width:100%}.uagb-cta__outer-wrap .uagb-cta-with-svg{height:14px;width:14px;line-height:14px;display:inline-block;vertical-align:middle}.uagb-cta__outer-wrap .uagb-cta__block svg{display:block;height:inherit;width:inherit}.uagb-cta__outer-wrap .uagb-cta__align-button-after{margin-left:5px}.uagb-cta__outer-wrap .uagb-cta__align-button-before{margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link i{font-style:normal}.uagb-cta__outer-wrap a.uagb-cta__link-to-all{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}@media only screen and (max-width: 976px){.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap{-webkit-box-orient:vertical;-webkit-box-direction:column;-ms-flex-direction:column;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}@media screen and (max-width: 767px){.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap{-webkit-box-orient:vertical;-webkit-box-direction:column;-ms-flex-direction:column;-webkit-flex-direction:column;-moz-box-orient:column;-moz-box-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}
2
-
3
  /*# sourceMappingURL=call-to-action.css.map */
1
+ .uagb-cta__outer-wrap{position:relative}.uagb-cta__outer-wrap .uagb-cta__content{display:inline-block}.uagb-cta__outer-wrap a.uagb-cta__block-link span{font-size:inherit;vertical-align:middle;display:inline-block;float:left}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__link-wrapper{width:30%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__content{width:70%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:right}.uagb-cta__outer-wrap .uagb-cta__link-wrapper.uagb-cta__block-link-style:empty{display:none}.uagb-cta__outer-wrap a.uagb-cta__block-link,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap{text-decoration:none}.uagb-cta__outer-wrap a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap:hover .entry .entry-content a.uagb-cta__block-link:hover{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content-right{text-align:right;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{width:100%;word-break:break-word}.uagb-cta__outer-wrap .uagb-cta__icon-position-below-title .uagb-cta__left-right-wrap{display:block;min-width:100%;width:100%}.uagb-cta__outer-wrap .uagb-cta__icon-position-left .uagb-cta__left-right-wrap,.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex}.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-after{margin-left:5px;margin-right:0}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-before{margin-left:0;margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link-icon,.uagb-cta__outer-wrap .uagb-cta__block svg{-webkit-transition:all 200ms linear;-o-transition:all 200ms linear;transition:all 200ms linear}.uagb-cta__outer-wrap .uagb-cta__block{position:relative}.uagb-cta__outer-wrap .uagb-cta-typeof-button{display:inline-block;line-height:1;background-color:transparent;color:#333;text-align:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link,.uagb-cta__outer-wrap .uagb-cta__content-right.uagb-cta__button-valign-middle .uagb-cta__left-right-wrap{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-cta__outer-wrap .uagb-cta__link-wrapper a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-cta__outer-wrap .uagb-cta__title-wrap .uagb-cta__title{padding:0;margin:0;display:block}.uagb-cta__outer-wrap .uagb-cta__block,.uagb-cta__outer-wrap .uagb-cta__content{z-index:1}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{z-index:1}.uagb-cta__outer-wrap .uagb-cta__block-link{cursor:pointer}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{display:inline-block;float:right;padding:10px 14px}.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content p:empty{display:none}.uagb-cta__outer-wrap .uagb-cta__button-type-none .uagb-cta__content{width:100%}.uagb-cta__outer-wrap .uagb-cta-with-svg{height:14px;width:14px;line-height:14px;display:inline-block;vertical-align:middle}.uagb-cta__outer-wrap .uagb-cta__block svg{display:block;height:inherit;width:inherit}.uagb-cta__outer-wrap .uagb-cta__align-button-after{margin-left:5px}.uagb-cta__outer-wrap .uagb-cta__align-button-before{margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link i{font-style:normal}.uagb-cta__outer-wrap a.uagb-cta__link-to-all{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}@media only screen and (max-width: 976px){.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap{-webkit-box-orient:vertical;-webkit-box-direction:column;-ms-flex-direction:column;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}@media screen and (max-width: 767px){.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap{-webkit-box-orient:vertical;-webkit-box-direction:column;-ms-flex-direction:column;-webkit-flex-direction:column;-moz-box-orient:column;-moz-box-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}
2
+
3
  /*# sourceMappingURL=call-to-action.css.map */
assets/css/blocks/cf7-styler.css CHANGED
@@ -1,3 +1,3 @@
1
- .wp-block-uagb-cf7-styler .wpcf7 *,.wp-block-uagb-cf7-styler .wpcf7 :after,.wp-block-uagb-cf7-styler .wpcf7 :before{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::before,.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::after{content:" "}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center;height:15px;width:15px;border-style:solid;border-color:#eaeaea;border-width:1px 1px 1px 1px}.wp-block-uagb-cf7-styler span.wpcf7-list-item{display:inline-block;margin:0 1em 0 0}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before{content:"\2714";line-height:1.2}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.wp-block-uagb-cf7-styler input[type=checkbox]:checked+span:before{font-size:-webkit-calc(12px / 1.2);font-size:calc(12px / 1.2)}.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{-webkit-border-radius:100%;border-radius:100%}.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-box .wpcf7-radio input[type="radio"]:checked+span:before,.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-underline .wpcf7-radio input[type="radio"]:checked+span:before{background-color:#545454;box-shadow:inset 0px 0px 0px 4px #fafafa}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;width:auto;line-height:1em;background:transparent;border-color:#333;border-width:1px;padding:10px 25px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit{margin-left:auto;margin-right:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:auto}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}.wp-block-uagb-cf7-styler .wpcf7 input[type=checkbox],.wp-block-uagb-cf7-styler .wpcf7 input[type=radio]{display:none}.wp-block-uagb-cf7-styler .wpcf7 select{height:auto;padding:10px;-webkit-appearance:menulist-button;-moz-appearance:menulist-button;-webkit-appearance:menulist-button}.wp-block-uagb-cf7-styler select.wpcf7-form-control.wpcf7-select[multiple="multiple"]{padding:0}.wp-block-uagb-cf7-styler .wpcf7 select option{padding:10px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__highlight-style-bottom_right span.wpcf7-not-valid-tip{display:inline-block;right:0;top:100%;padding:.1em .8em;-webkit-border-radius:2px;border-radius:2px;color:#ffffff;background-color:rgba(255,0,0,0.6);padding:5px 10px;font-size:15px;float:right;margin-top:5px}.wp-block-uagb-cf7-styler .wpcf7 input[type="number"]{height:auto}.wp-block-uagb-cf7-styler .wpcf7 input.wpcf7-date{-webkit-appearance:none}@media (min-width: 769px){.wp-block-uagb-cf7-styler .uagb-cf7_styler-col{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col label,.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;flex-basis:100%}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col br{display:none}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-1{padding-left:0;padding-right:15px}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-3{padding-left:15px;padding-right:0}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col span.wpcf7-form-control-wrap{height:100%}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col select{height:100%}}
2
-
3
  /*# sourceMappingURL=cf7-styler.css.map */
1
+ .wp-block-uagb-cf7-styler .wpcf7 *,.wp-block-uagb-cf7-styler .wpcf7 :after,.wp-block-uagb-cf7-styler .wpcf7 :before{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::before,.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::after{content:" "}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center;height:15px;width:15px;border-style:solid;border-color:#eaeaea;border-width:1px 1px 1px 1px}.wp-block-uagb-cf7-styler span.wpcf7-list-item{display:inline-block;margin:0 1em 0 0}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before{content:"\2714";line-height:1.2}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.wp-block-uagb-cf7-styler input[type=checkbox]:checked+span:before{font-size:-webkit-calc(12px / 1.2);font-size:calc(12px / 1.2)}.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{-webkit-border-radius:100%;border-radius:100%}.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-box .wpcf7-radio input[type="radio"]:checked+span:before,.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-underline .wpcf7-radio input[type="radio"]:checked+span:before{background-color:#545454;box-shadow:inset 0px 0px 0px 4px #fafafa}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;width:auto;line-height:1em;background:transparent;border-color:#333;border-width:1px;padding:10px 25px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit{margin-left:auto;margin-right:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:auto}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}.wp-block-uagb-cf7-styler .wpcf7 input[type=checkbox],.wp-block-uagb-cf7-styler .wpcf7 input[type=radio]{display:none}.wp-block-uagb-cf7-styler .wpcf7 select{height:auto;padding:10px;-webkit-appearance:menulist-button;-moz-appearance:menulist-button;-webkit-appearance:menulist-button}.wp-block-uagb-cf7-styler select.wpcf7-form-control.wpcf7-select[multiple="multiple"]{padding:0}.wp-block-uagb-cf7-styler .wpcf7 select option{padding:10px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__highlight-style-bottom_right span.wpcf7-not-valid-tip{display:inline-block;right:0;top:100%;padding:.1em .8em;-webkit-border-radius:2px;border-radius:2px;color:#ffffff;background-color:rgba(255,0,0,0.6);padding:5px 10px;font-size:15px;float:right;margin-top:5px}.wp-block-uagb-cf7-styler .wpcf7 input[type="number"]{height:auto}.wp-block-uagb-cf7-styler .wpcf7 input.wpcf7-date{-webkit-appearance:none}@media (min-width: 769px){.wp-block-uagb-cf7-styler .uagb-cf7_styler-col{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col label,.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;flex-basis:100%}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col br{display:none}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-1{padding-left:0;padding-right:15px}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-3{padding-left:15px;padding-right:0}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col span.wpcf7-form-control-wrap{height:100%}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col select{height:100%}}
2
+
3
  /*# sourceMappingURL=cf7-styler.css.map */
assets/css/blocks/column.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-column__wrap{position:relative;overflow:hidden}.uagb-column__wrap .uagb-column__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2;width:100%}.uagb-column__wrap.uagb-column__align-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__wrap.uagb-column__align-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}.uagb-column__wrap .uagb-column__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-column__wrap .uagb-column__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-column__wrap .uagb-column__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.wp-block-uagb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="uagb/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (max-width: 976px){.uagb-column__align-tablet-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-tablet-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 767px){.uagb-column__align-mobile-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-mobile-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 449px){.uagb-columns__wrap.uagb-columns__background-image{background-attachment:scroll !important}}
2
-
3
  /*# sourceMappingURL=column.css.map */
1
+ .uagb-column__wrap{position:relative;overflow:hidden}.uagb-column__wrap .uagb-column__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2;width:100%}.uagb-column__wrap.uagb-column__align-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__wrap.uagb-column__align-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}.uagb-column__wrap .uagb-column__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-column__wrap .uagb-column__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-column__wrap .uagb-column__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.wp-block-uagb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="uagb/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (max-width: 976px){.uagb-column__align-tablet-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-tablet-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 767px){.uagb-column__align-mobile-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-mobile-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 449px){.uagb-columns__wrap.uagb-columns__background-image{background-attachment:scroll !important}}
2
+
3
  /*# sourceMappingURL=column.css.map */
assets/css/blocks/columns.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-columns__wrap{position:relative}.uagb-columns__wrap .uagb-columns__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-columns__wrap .uagb-columns__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-columns__wrap .uagb-columns__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-columns__wrap .uagb-columns__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.uagb-columns__wrap .uagb-column__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.uagb-columns__wrap .uagb-columns__shape{overflow:hidden;position:absolute;left:0;width:100%;line-height:0;direction:ltr;z-index:1}.uagb-columns__wrap .uagb-columns__shape-top{top:-3px}.uagb-columns__wrap .uagb-columns__shape-bottom{bottom:-3px}.uagb-columns__wrap .uagb-columns__shape[data-negative="false"].uagb-columns__shape-bottom{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape[data-negative="true"].uagb-columns__shape-top{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-flip svg{transform:translateX(-50%) rotateY(180deg)}.uagb-columns__wrap .uagb-columns__shape svg{display:block;width:-webkit-calc(100% + 1.3px);width:calc(100% + 1.3px);position:relative;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-columns__wrap .uagb-columns__shape .uagb-columns__shape-fill{fill:#333;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-above-content{z-index:9;pointer-events:none}.uagb-columns__valign-middle .uagb-column__wrap{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.uagb-columns__valign-top .uagb-column__wrap{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start}.uagb-columns__valign-bottom .uagb-column__wrap{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end}.uagb-columns__inner-wrap{display:flex;flex-wrap:nowrap}.uagb-columns__columns-1>.uagb-column__wrap{width:100%}.uagb-columns__columns-2>.uagb-column__wrap{width:50%}.uagb-columns__columns-3>.uagb-column__wrap{width:33.33%}.uagb-columns__columns-4>.uagb-column__wrap{width:25%}.uagb-columns__columns-5>.uagb-column__wrap{width:20%}.uagb-columns__columns-6>.uagb-column__wrap{width:16.66%}.uagb-columns__gap-nogap>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:0}.uagb-columns__gap-default>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:10px}.uagb-columns__gap-narrow>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:5px}.uagb-columns__gap-extended>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:15px}.uagb-columns__gap-wide>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:20px}.uagb-columns__gap-wider>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:30px}@media (max-width: 976px){.uagb-columns__stack-tablet .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-tablet .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-tablet .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 767px){.uagb-columns__stack-mobile .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-mobile .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-mobile .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 449px){.uagb-columns__wrap .uagb-column__wrap.uagb-column__background-image{background-attachment:scroll !important}}
2
-
3
  /*# sourceMappingURL=columns.css.map */
1
+ .uagb-columns__wrap{position:relative}.uagb-columns__wrap .uagb-columns__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-columns__wrap .uagb-columns__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-columns__wrap .uagb-columns__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-columns__wrap .uagb-columns__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.uagb-columns__wrap .uagb-column__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.uagb-columns__wrap .uagb-columns__shape{overflow:hidden;position:absolute;left:0;width:100%;line-height:0;direction:ltr;z-index:1}.uagb-columns__wrap .uagb-columns__shape-top{top:-3px}.uagb-columns__wrap .uagb-columns__shape-bottom{bottom:-3px}.uagb-columns__wrap .uagb-columns__shape[data-negative="false"].uagb-columns__shape-bottom{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape[data-negative="true"].uagb-columns__shape-top{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-flip svg{transform:translateX(-50%) rotateY(180deg)}.uagb-columns__wrap .uagb-columns__shape svg{display:block;width:-webkit-calc(100% + 1.3px);width:calc(100% + 1.3px);position:relative;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-columns__wrap .uagb-columns__shape .uagb-columns__shape-fill{fill:#333;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-above-content{z-index:9;pointer-events:none}.uagb-columns__valign-middle .uagb-column__wrap{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.uagb-columns__valign-top .uagb-column__wrap{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start}.uagb-columns__valign-bottom .uagb-column__wrap{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end}.uagb-columns__inner-wrap{display:flex;flex-wrap:nowrap}.uagb-columns__columns-1>.uagb-column__wrap{width:100%}.uagb-columns__columns-2>.uagb-column__wrap{width:50%}.uagb-columns__columns-3>.uagb-column__wrap{width:33.33%}.uagb-columns__columns-4>.uagb-column__wrap{width:25%}.uagb-columns__columns-5>.uagb-column__wrap{width:20%}.uagb-columns__columns-6>.uagb-column__wrap{width:16.66%}.uagb-columns__gap-nogap>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:0}.uagb-columns__gap-default>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:10px}.uagb-columns__gap-narrow>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:5px}.uagb-columns__gap-extended>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:15px}.uagb-columns__gap-wide>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:20px}.uagb-columns__gap-wider>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:30px}@media (max-width: 976px){.uagb-columns__stack-tablet .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-tablet .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-tablet .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 767px){.uagb-columns__stack-mobile .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-mobile .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-mobile .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 449px){.uagb-columns__wrap .uagb-column__wrap.uagb-column__background-image{background-attachment:scroll !important}}
2
+
3
  /*# sourceMappingURL=columns.css.map */
assets/css/blocks/gf-styler.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-multi .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0;height:auto;border:1px solid #AAA;-webkit-border-radius:0;border-radius:0;background:#FFF;-webkit-box-shadow:none;box-shadow:none;color:#444;text-decoration:none;white-space:nowrap}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single span{line-height:1}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single{background:#FFF}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=submit]{display:inline-block}.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title,.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper .gf_progressbar_title{opacity:1}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom{position:relative}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom:after{content:"\f078";font-family:'FontAwesome' !important;font-size:0.7em;line-height:1;position:absolute;top:45%;-webkit-transform:translateY(-45%);-ms-transform:translateY(-45%);transform:translateY(-45%);right:0.5em;pointer-events:none;z-index:5}.uagb-gf-styler__check-style-enabled span.name_prefix_select .uag-gf-select-custom{display:inline;vertical-align:middle}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked+label:before{box-shadow:inset 0px 0px 0px 4px #fafafa}.uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-weight:700}.uagb-gf-styler__check-style-enabled select,.uagb-gf-styler__check-style-enabled .chosen-single{-webkit-appearance:none;-moz-appearance:none;appearance:none}.uagb-gf-styler__check-style-enabled .gform_wrapper div.validation_error{border-top:none;border-bottom:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield_radio li label{margin:0 0 0 0}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_body{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]+label:before{-webkit-box-sizing:content-box !important;-moz-box-sizing:content-box !important;box-sizing:content-box !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gsection{margin-right:0}.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=button]{font-size:13px;padding:10px 20px;-webkit-border-radius:2px;border-radius:2px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:13px;padding:8px 10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:13px;padding:6px 10px}.ginput_container select{height:100%;line-height:inherit}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:13px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:10px;width:10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 10px / 1.2);font-size:calc( 10px / 1.2)}.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=button]{font-size:15px;padding:12px 24px;-webkit-border-radius:3px;border-radius:3px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:15px;padding:12px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:15px;padding:10px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:15px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:12px;width:12px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 12px / 1.2);font-size:calc( 12px / 1.2)}.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=button]{font-size:16px;padding:15px 30px;-webkit-border-radius:4px;border-radius:4px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:16px;padding:15px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:16px;padding:13px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:16px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:15px;width:15px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 15px / 1.2);font-size:calc( 15px / 1.2)}.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=button]{font-size:18px;padding:20px 40px;-webkit-border-radius:5px;border-radius:5px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:18px;padding:20px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:18px;padding:18px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:18px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:20px;width:20px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 20px / 1.2);font-size:calc( 20px / 1.2)}.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=button]{font-size:20px;padding:25px 50px;-webkit-border-radius:6px;border-radius:6px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:20px;padding:25px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:20px;padding:23px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:20px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:25px;width:25px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-size:-webkit-calc( 25px / 1.2);font-size:calc( 25px / 1.2)}.uagb-gf-styler__btn-align-right .gform_next_button,.uagb-gf-styler__btn-align-right .gform_previous_button{margin-right:5px !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_footer:not(.top_label){padding:0 0 0 0;margin-right:0;margin-left:0;width:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.left_label,.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.right_label{padding:0 0 0 0}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before{-webkit-border-radius:100%;border-radius:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .top_label .gfield_error{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half){max-width:100% !important}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;width:auto}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto}.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto}.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0}.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']{display:none}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']+label:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']:checked+label:before{content:"\2714";line-height:1.2}.uagb-gf-styler__check-style-enabled .gform_wrapper ul.gform_fields li.gfield:not(.gf_left_half):not(.gf_left_third):not(.gf_middle_third){padding-right:0}.uagb-gf-styler__btn-align-width-full_width .gform_footer input[type=submit]{display:block;text-align:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body ul{margin-left:0;list-style:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container select,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-single,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"],.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input.default{height:auto}.elementor-widget-uag-gf-styler .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"]{padding:0px 0px 0px 0px}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button]{margin-bottom:20px}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single div{display:none}.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_label,.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_required{display:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single span{margin-bottom:0;width:100%}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single{border:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single.chosen-container-active .chosen-single{border:none}@media only screen and (max-width: 976px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-tablet-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type="button"],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-tablet-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-tablet-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-tablet-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}}@media only screen and (max-width: 767px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-mobile-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-mobile-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-mobile-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-mobile-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}}
2
-
3
  /*# sourceMappingURL=gf-styler.css.map */
1
+ .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-multi .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0;height:auto;border:1px solid #AAA;-webkit-border-radius:0;border-radius:0;background:#FFF;-webkit-box-shadow:none;box-shadow:none;color:#444;text-decoration:none;white-space:nowrap}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single span{line-height:1}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single{background:#FFF}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=submit]{display:inline-block}.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title,.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper .gf_progressbar_title{opacity:1}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom{position:relative}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom:after{content:"\f078";font-family:'FontAwesome' !important;font-size:0.7em;line-height:1;position:absolute;top:45%;-webkit-transform:translateY(-45%);-ms-transform:translateY(-45%);transform:translateY(-45%);right:0.5em;pointer-events:none;z-index:5}.uagb-gf-styler__check-style-enabled span.name_prefix_select .uag-gf-select-custom{display:inline;vertical-align:middle}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked+label:before{box-shadow:inset 0px 0px 0px 4px #fafafa}.uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-weight:700}.uagb-gf-styler__check-style-enabled select,.uagb-gf-styler__check-style-enabled .chosen-single{-webkit-appearance:none;-moz-appearance:none;appearance:none}.uagb-gf-styler__check-style-enabled .gform_wrapper div.validation_error{border-top:none;border-bottom:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield_radio li label{margin:0 0 0 0}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_body{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]+label:before{-webkit-box-sizing:content-box !important;-moz-box-sizing:content-box !important;box-sizing:content-box !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gsection{margin-right:0}.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=button]{font-size:13px;padding:10px 20px;-webkit-border-radius:2px;border-radius:2px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:13px;padding:8px 10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:13px;padding:6px 10px}.ginput_container select{height:100%;line-height:inherit}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:13px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:10px;width:10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 10px / 1.2);font-size:calc( 10px / 1.2)}.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=button]{font-size:15px;padding:12px 24px;-webkit-border-radius:3px;border-radius:3px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:15px;padding:12px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:15px;padding:10px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:15px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:12px;width:12px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 12px / 1.2);font-size:calc( 12px / 1.2)}.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=button]{font-size:16px;padding:15px 30px;-webkit-border-radius:4px;border-radius:4px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:16px;padding:15px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:16px;padding:13px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:16px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:15px;width:15px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 15px / 1.2);font-size:calc( 15px / 1.2)}.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=button]{font-size:18px;padding:20px 40px;-webkit-border-radius:5px;border-radius:5px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:18px;padding:20px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:18px;padding:18px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:18px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:20px;width:20px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:-webkit-calc( 20px / 1.2);font-size:calc( 20px / 1.2)}.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=button]{font-size:20px;padding:25px 50px;-webkit-border-radius:6px;border-radius:6px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:20px;padding:25px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:20px;padding:23px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:20px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:25px;width:25px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-size:-webkit-calc( 25px / 1.2);font-size:calc( 25px / 1.2)}.uagb-gf-styler__btn-align-right .gform_next_button,.uagb-gf-styler__btn-align-right .gform_previous_button{margin-right:5px !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_footer:not(.top_label){padding:0 0 0 0;margin-right:0;margin-left:0;width:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.left_label,.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.right_label{padding:0 0 0 0}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before{-webkit-border-radius:100%;border-radius:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .top_label .gfield_error{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half){max-width:100% !important}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex;width:auto}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto}.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto}.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0}.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']{display:none}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']+label:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']:checked+label:before{content:"\2714";line-height:1.2}.uagb-gf-styler__check-style-enabled .gform_wrapper ul.gform_fields li.gfield:not(.gf_left_half):not(.gf_left_third):not(.gf_middle_third){padding-right:0}.uagb-gf-styler__btn-align-width-full_width .gform_footer input[type=submit]{display:block;text-align:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body ul{margin-left:0;list-style:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container select,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-single,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"],.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input.default{height:auto}.elementor-widget-uag-gf-styler .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"]{padding:0px 0px 0px 0px}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button]{margin-bottom:20px}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single div{display:none}.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_label,.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_required{display:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single span{margin-bottom:0;width:100%}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single{border:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single.chosen-container-active .chosen-single{border:none}@media only screen and (max-width: 976px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-tablet-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type="button"],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-tablet-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-tablet-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-tablet-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}}@media only screen and (max-width: 767px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-mobile-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-mobile-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-mobile-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-mobile-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:100%}}
2
+
3
  /*# sourceMappingURL=gf-styler.css.map */
assets/css/blocks/google-map.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-google-map__wrap{display:flex}.uagb-google-map__wrap .uagb-google-map__iframe{width:100%;box-shadow:none;border:none;padding:0;margin:0}
2
-
3
  /*# sourceMappingURL=google-map.css.map */
1
+ .uagb-google-map__wrap{display:flex}.uagb-google-map__wrap .uagb-google-map__iframe{width:100%;box-shadow:none;border:none;padding:0;margin:0}
2
+
3
  /*# sourceMappingURL=google-map.css.map */
assets/css/blocks/icon-list.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-icon-list__outer-wrap .uagb-icon-list__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:flex-start;-webkit-align-items:flex-start;-moz-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-moz-box-pack:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start}.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:focus,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:active,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:visited{text-decoration:none}.uagb-icon-list__outer-wrap a.uagb-button__link:focus{box-shadow:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper>p{display:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex;text-align:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap,.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{width:inherit;display:inline-block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{display:inherit;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap{color:#3a3a3a;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon,.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon:before{font-size:40px;width:40px;height:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon svg{display:block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-image{width:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:first-child{margin-left:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:last-child{margin-right:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrap>p{display:none}.uagb-icon-list__outer-wrap a.uagb-icon-list__wrapper[href="javascript:void(0);"]{pointer-events:none;cursor:text}.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper{text-decoration:none}.uagb-icon-list__wrap .uagb-icon-list__wrapper{box-shadow:none}.uagb-icon-list__outer-wrap:not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap{margin-right:15px}.uagb-icon-list__outer-wrap.uagb-icon-list__icon-at-top .uagb-icon-list__source-wrap{-ms-flex-item-align:flex-start;align-self:flex-start;margin-top:5px}
2
-
3
  /*# sourceMappingURL=icon-list.css.map */
1
+ .uagb-icon-list__outer-wrap .uagb-icon-list__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:flex-start;-webkit-align-items:flex-start;-moz-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-moz-box-pack:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start}.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:focus,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:active,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:visited{text-decoration:none}.uagb-icon-list__outer-wrap a.uagb-button__link:focus{box-shadow:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper>p{display:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex;text-align:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap,.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{width:inherit;display:inline-block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{display:inherit;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap{color:#3a3a3a;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon,.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon:before{font-size:40px;width:40px;height:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon svg{display:block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-image{width:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:first-child{margin-left:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:last-child{margin-right:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrap>p{display:none}.uagb-icon-list__outer-wrap a.uagb-icon-list__wrapper[href="javascript:void(0);"]{pointer-events:none;cursor:text}.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper{text-decoration:none}.uagb-icon-list__wrap .uagb-icon-list__wrapper{box-shadow:none}.uagb-icon-list__outer-wrap:not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap{margin-right:15px}.uagb-icon-list__outer-wrap.uagb-icon-list__icon-at-top .uagb-icon-list__source-wrap{-ms-flex-item-align:flex-start;align-self:flex-start;margin-top:5px}
2
+
3
  /*# sourceMappingURL=icon-list.css.map */
assets/css/blocks/info-box.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-ifb-icon-wrap,.uagb-ifb-icon-wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-ifb-icon-wrap .uagb-ifb-icon,.uagb-ifb-content{display:inline-block}.uagb-ifb-icon svg{width:inherit;height:inherit;vertical-align:middle}.infobox-icon-above-title .uagb-ifb-left-right-wrap{text-align:center}a.uagb-infobox-cta-link span{font-size:inherit}.uagb-ifb-cta.uagb-infobox-cta-link-style:empty{display:none}a.uagb-infobox-cta-link,.entry .entry-content a.uagb-infobox-cta-link,a.uagb-infobox-link-wrap,.entry .entry-content a.uagb-infobox-link-wrap{text-decoration:none}a.uagb-infobox-cta-link:hover,.entry .entry-content a.uagb-infobox-cta-link:hover,a.uagb-infobox-link-wrap:hover,.entry .entry-content a.uagb-infobox-link-wrap:hover .entry .entry-content a.uagb-infobox-cta-link:hover{color:inherit}.uagb-infobox-icon-left-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-icon-right-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-image-valign-middle .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-image-valign-middle .uagb-ifb-content,.uagb-infobox-icon-right.uagb-infobox-image-valign-middle .uagb-ifb-content{-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}.uagb-infobox-left{text-align:left;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.uagb-infobox-center{text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.uagb-infobox-right{text-align:right;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-ifb-left-right-wrap{width:100%;word-break:break-word}.uagb-infobox-icon-above-title .uagb-ifb-left-right-wrap,.uagb-infobox-icon-below-title .uagb-ifb-left-right-wrap{display:block;min-width:100%;width:100%}.uagb-infobox-icon-left-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-left .uagb-ifb-icon-wrap{margin-right:10px}.uagb-infobox-icon-right-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-right .uagb-ifb-icon-wrap{margin-left:10px}.uagb-infobox-icon-left .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-left-title .uagb-ifb-left-title-image,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex}.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-ifb-icon-wrap .uagb-ifb-icon span{font-style:initial;height:auto;width:auto}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content{display:inline-block;line-height:0;position:relative;max-width:100%}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content img{display:inline;height:auto !important;max-width:100%;width:auto;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-border-radius:inherit;border-radius:inherit}.uagb-ifb-imgicon-wrap .uagb-image-crop-circle img{-webkit-border-radius:100%;border-radius:100%}.uagb-ifb-imgicon-wrap .uagb-image-crop-square img{-webkit-border-radius:0;border-radius:0}.uagb-infobox-module-link{position:absolute;width:100%;height:100%;left:0;top:0;bottom:0;right:0;z-index:4}.uagb-edit-mode .uagb-infobox-module-link{z-index:2}.uagb-infobox-link-icon-after{margin-left:5px;margin-right:0}.uagb-infobox-link-icon-before{margin-left:0;margin-right:5px}.uagb-infobox-link-icon{-webkit-transition:all 200ms linear;transition:all 200ms linear}.uagb-infobox{position:relative}.uagb-ifb-separator{width:30%;border-top-width:2px;border-top-color:#333;border-top-style:solid;display:inline-block;margin:0}.uagb-ifb-separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px}.uagb-ifb-cta-button{display:inline-block;line-height:1;background-color:#818a91;color:#fff;text-align:center}.uagb-ifb-cta a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-ifb-title-wrap{width:100%}.uagb-ifb-title-wrap .uagb-ifb-title,.uagb-ifb-title-wrap .uagb-ifb-title-prefix{padding:0;margin:0;display:block}.uagb-infobox__content-wrap.uagb-infobox{position:relative}.uagb-ifb-icon span{font-size:40px;height:40px;color:#333;width:40px}.uagb-ifb-icon svg{fill:#333}.uagb-ifb-content{width:100%}.uagb-infobox__content-wrap.uagb-infobox,.uagb-ifb-content,.uagb-ifb-title-wrap,.uagb-ifb-title-prefix *,svg.dashicon.dashicons-upload{z-index:1}.uagb-ifb-left-right-wrap,button.components-button{z-index:1}.uagb-infobox-cta-link{cursor:pointer}a.uagb-infobox-link-wrap{color:inherit}.uagb-ifb-content p:empty{display:none}.uagb-infobox .uagb-ifb-icon,.uagb-infobox .uagb-ifb-image-content img{display:inline-block;box-sizing:content-box}.uagb-ifb-align-icon-after{margin-left:5px}.uagb-ifb-align-icon-before{margin-right:5px}span.uagb-ifb-button-icon.uagb-ifb-align-icon-after{float:right}.uagb-ifb-button-icon{height:15px;width:15px;font-size:15px;vertical-align:middle}.uagb-ifb-text-icon{height:15px;width:15px;font-size:15px;line-height:15px;vertical-align:middle;display:inline-block}.uagb-ifb-button-icon svg,.uagb-ifb-text-icon svg{height:inherit;width:inherit;display:inline-block}.block-editor-page #wpwrap .uagb-infobox-cta-link svg,.uagb-infobox-cta-link svg{font-style:normal}.uagb-infobox__outer-wrap{position:relative}a.uagb-infbox__link-to-all{height:100%;width:100%;top:0;left:0;position:absolute;z-index:999;-webkit-box-shadow:none;box-shadow:none;text-decoration:none}@media only screen and (max-width: 976px){.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-tablet.uagb-reverse-order-tablet .uagb-ifb-left-right-wrap{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}@media screen and (max-width: 767px){.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-mobile.uagb-reverse-order-mobile .uagb-ifb-left-right-wrap{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}
2
-
3
  /*# sourceMappingURL=info-box.css.map */
1
+ .uagb-ifb-icon-wrap,.uagb-ifb-icon-wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-ifb-icon-wrap .uagb-ifb-icon,.uagb-ifb-content{display:inline-block}.uagb-ifb-icon svg{width:inherit;height:inherit;vertical-align:middle}.infobox-icon-above-title .uagb-ifb-left-right-wrap{text-align:center}a.uagb-infobox-cta-link span{font-size:inherit}.uagb-ifb-cta.uagb-infobox-cta-link-style:empty{display:none}a.uagb-infobox-cta-link,.entry .entry-content a.uagb-infobox-cta-link,a.uagb-infobox-link-wrap,.entry .entry-content a.uagb-infobox-link-wrap{text-decoration:none}a.uagb-infobox-cta-link:hover,.entry .entry-content a.uagb-infobox-cta-link:hover,a.uagb-infobox-link-wrap:hover,.entry .entry-content a.uagb-infobox-link-wrap:hover .entry .entry-content a.uagb-infobox-cta-link:hover{color:inherit}.uagb-infobox-icon-left-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-icon-right-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-image-valign-middle .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-image-valign-middle .uagb-ifb-content,.uagb-infobox-icon-right.uagb-infobox-image-valign-middle .uagb-ifb-content{-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}.uagb-infobox-left{text-align:left;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.uagb-infobox-center{text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.uagb-infobox-right{text-align:right;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-ifb-left-right-wrap{width:100%;word-break:break-word}.uagb-infobox-icon-above-title .uagb-ifb-left-right-wrap,.uagb-infobox-icon-below-title .uagb-ifb-left-right-wrap{display:block;min-width:100%;width:100%}.uagb-infobox-icon-left-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-left .uagb-ifb-icon-wrap{margin-right:10px}.uagb-infobox-icon-right-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-right .uagb-ifb-icon-wrap{margin-left:10px}.uagb-infobox-icon-left .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-left-title .uagb-ifb-left-title-image,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-box;display:flex}.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.uagb-ifb-icon-wrap .uagb-ifb-icon span{font-style:initial;height:auto;width:auto}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content{display:inline-block;line-height:0;position:relative;max-width:100%}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content img{display:inline;height:auto !important;max-width:100%;width:auto;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-border-radius:inherit;border-radius:inherit}.uagb-ifb-imgicon-wrap .uagb-image-crop-circle img{-webkit-border-radius:100%;border-radius:100%}.uagb-ifb-imgicon-wrap .uagb-image-crop-square img{-webkit-border-radius:0;border-radius:0}.uagb-infobox-module-link{position:absolute;width:100%;height:100%;left:0;top:0;bottom:0;right:0;z-index:4}.uagb-edit-mode .uagb-infobox-module-link{z-index:2}.uagb-infobox-link-icon-after{margin-left:5px;margin-right:0}.uagb-infobox-link-icon-before{margin-left:0;margin-right:5px}.uagb-infobox-link-icon{-webkit-transition:all 200ms linear;transition:all 200ms linear}.uagb-infobox{position:relative}.uagb-ifb-separator{width:30%;border-top-width:2px;border-top-color:#333;border-top-style:solid;display:inline-block;margin:0}.uagb-ifb-separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px}.uagb-ifb-cta-button{display:inline-block;line-height:1;background-color:#818a91;color:#fff;text-align:center}.uagb-ifb-cta a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-ifb-title-wrap{width:100%}.uagb-ifb-title-wrap .uagb-ifb-title,.uagb-ifb-title-wrap .uagb-ifb-title-prefix{padding:0;margin:0;display:block}.uagb-infobox__content-wrap.uagb-infobox{position:relative}.uagb-ifb-icon span{font-size:40px;height:40px;color:#333;width:40px}.uagb-ifb-icon svg{fill:#333}.uagb-ifb-content{width:100%}.uagb-infobox__content-wrap.uagb-infobox,.uagb-ifb-content,.uagb-ifb-title-wrap,.uagb-ifb-title-prefix *,svg.dashicon.dashicons-upload{z-index:1}.uagb-ifb-left-right-wrap,button.components-button{z-index:1}.uagb-infobox-cta-link{cursor:pointer}a.uagb-infobox-link-wrap{color:inherit}.uagb-ifb-content p:empty{display:none}.uagb-infobox .uagb-ifb-icon,.uagb-infobox .uagb-ifb-image-content img{display:inline-block;box-sizing:content-box}.uagb-ifb-align-icon-after{margin-left:5px}.uagb-ifb-align-icon-before{margin-right:5px}span.uagb-ifb-button-icon.uagb-ifb-align-icon-after{float:right}.uagb-ifb-button-icon{height:15px;width:15px;font-size:15px;vertical-align:middle}.uagb-ifb-text-icon{height:15px;width:15px;font-size:15px;line-height:15px;vertical-align:middle;display:inline-block}.uagb-ifb-button-icon svg,.uagb-ifb-text-icon svg{height:inherit;width:inherit;display:inline-block}.block-editor-page #wpwrap .uagb-infobox-cta-link svg,.uagb-infobox-cta-link svg{font-style:normal}.uagb-infobox__outer-wrap{position:relative}a.uagb-infbox__link-to-all{height:100%;width:100%;top:0;left:0;position:absolute;z-index:999;-webkit-box-shadow:none;box-shadow:none;text-decoration:none}@media only screen and (max-width: 976px){.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-tablet.uagb-reverse-order-tablet .uagb-ifb-left-right-wrap{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}@media screen and (max-width: 767px){.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-mobile.uagb-reverse-order-mobile .uagb-ifb-left-right-wrap{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}
2
+
3
  /*# sourceMappingURL=info-box.css.map */
assets/css/blocks/marketing-button.css CHANGED
@@ -1,3 +1,3 @@
1
- .wp-block-uagb-marketing-button .uagb-marketing-btn__wrap>p,.wp-block-uagb-marketing-button p:empty{display:none}.wp-block-uagb-marketing-button h6.uagb-marketing-btn__title,.wp-block-uagb-marketing-button p.uagb-marketing-btn__prefix{margin:0}.wp-block-uagb-marketing-button .uagb-marketing-btn__wrap{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{display:inline-block;position:relative;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap{width:20px;height:20px;display:flex;z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap svg{width:inherit;height:inherit}.wp-block-uagb-marketing-button .uagb-marketing-btn__title-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-center .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-left .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__title-wrap{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-right .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__title-wrap{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-full .uagb-marketing-btn__link{width:100%}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__prefix-wrap{text-align:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__prefix-wrap{text-align:left}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__prefix-wrap{text-align:right}.wp-block-uagb-marketing-button.uagb-marketing-btn__icon-after .uagb-marketing-btn__title-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.entry-content .wp-block-uagb-marketing-button .uagb-marketing-btn__link{text-decoration:none}
2
-
3
  /*# sourceMappingURL=marketing-button.css.map */
1
+ .wp-block-uagb-marketing-button .uagb-marketing-btn__wrap>p,.wp-block-uagb-marketing-button p:empty{display:none}.wp-block-uagb-marketing-button h6.uagb-marketing-btn__title,.wp-block-uagb-marketing-button p.uagb-marketing-btn__prefix{margin:0}.wp-block-uagb-marketing-button .uagb-marketing-btn__wrap{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{display:inline-block;position:relative;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap{width:20px;height:20px;display:flex;z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap svg{width:inherit;height:inherit}.wp-block-uagb-marketing-button .uagb-marketing-btn__title-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-center .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-left .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__title-wrap{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-right .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__title-wrap{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-full .uagb-marketing-btn__link{width:100%}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__prefix-wrap{text-align:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__prefix-wrap{text-align:left}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__prefix-wrap{text-align:right}.wp-block-uagb-marketing-button.uagb-marketing-btn__icon-after .uagb-marketing-btn__title-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.entry-content .wp-block-uagb-marketing-button .uagb-marketing-btn__link{text-decoration:none}
2
+
3
  /*# sourceMappingURL=marketing-button.css.map */
assets/css/blocks/post.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:100%}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;box-shadow:none;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment{display:inline-block}.uagb-post-grid .uagb-post__author a{box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;box-shadow:none;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}
2
-
3
  /*# sourceMappingURL=post.css.map */
1
+ .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:100%}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;box-shadow:none;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment{display:inline-block}.uagb-post-grid .uagb-post__author a{box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;box-shadow:none;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}
2
+
3
  /*# sourceMappingURL=post.css.map */
assets/css/blocks/price-list.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-rest_menu__wrap{position:relative;padding-left:5px;padding-right:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.uagb-rest_menu__wrap,.uagb-rest_menu__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-rm__image img,.slick-slide .uagb-rm__image img{display:inline-block;box-sizing:content-box}.uagb-rm__title,.uagb-rm__price{display:inline-block}.uagb-rm__desc{margin-bottom:15px;font-style:italic}.uagb-rm__content{overflow:hidden;text-align:left;word-break:break-word;padding:15px;border-radius:inherit;position:relative;padding:5px}.uagb-rm__image-position-left .uagb-rm__content,.uagb-rm__image-position-right .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-rm-details{display:table;width:100%}.uagb-rm__title-wrap,.uagb-rm__price-wrap{display:table-cell}.uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:85%}.uagb-rm__price-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:15%}.uagb-rm__title,.uagb-rm__price{display:block}.uagb-rm__align-center .uagb-rm-details,.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%}.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-rm__image{overflow:hidden}.uagb-rm__title{margin-bottom:5px;font-size:20px}.uagb-rm__price{font-style:italic;text-align:right}.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm-details,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%;text-align:center}.uagb-rm__align-center .uagb-rm__price{text-align:center}.uagb-rm__align-right .uagb-rm-details{display:flex;width:100%;flex-direction:row-reverse}.uagb-rm__align-right .uagb-rm__price{text-align:left}.uagb-rm__align-left .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:unset;text-align:left}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__image-content{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:row-reverse;text-align:right}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__image-content{text-align:right}.uagb-rest_menu__outer-wrap{position:relative}.uagb-rm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm-parent{padding:30px}.uagb-rm__text-wrap{position:relative;display:block;width:100%}.uagb-rest_menu__wrap{position:relative}.uagb-rest_menu__outer-wrap:after{content:"";display:block;clear:both}.uagb-rest_menu__wrap.uagb-rm__desk-column-3{display:block;width:33%;float:left;width:calc(100% / 3);padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-2{display:block;width:49%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-1{display:block;width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex}.uagb-rm__separator{width:100%;border-top-width:1px;border-top-color:#b2b4b5;border-top-style:inherit}.uagb-rm__image-position-left .uagb-rm__image{margin-right:10px}.uagb-rm__image-position-right .uagb-rm__image{margin-left:10px}@media (max-width: 976px){.uagb-rm__image-position-left.uagb-rm-stacked-tablet .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-tablet .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm-reverse-order-tablet .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__tablet-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}@media (max-width: 767px){.uagb-rm__image-position-left.uagb-rm-stacked-mobile .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-mobile .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm-reverse-order-mobile .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__mobile-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}
2
-
3
  /*# sourceMappingURL=price-list.css.map */
1
+ .uagb-rest_menu__wrap{position:relative;padding-left:5px;padding-right:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.uagb-rest_menu__wrap,.uagb-rest_menu__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-rm__image img,.slick-slide .uagb-rm__image img{display:inline-block;box-sizing:content-box}.uagb-rm__title,.uagb-rm__price{display:inline-block}.uagb-rm__desc{margin-bottom:15px;font-style:italic}.uagb-rm__content{overflow:hidden;text-align:left;word-break:break-word;padding:15px;border-radius:inherit;position:relative;padding:5px}.uagb-rm__image-position-left .uagb-rm__content,.uagb-rm__image-position-right .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-rm-details{display:table;width:100%}.uagb-rm__title-wrap,.uagb-rm__price-wrap{display:table-cell}.uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:85%}.uagb-rm__price-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:15%}.uagb-rm__title,.uagb-rm__price{display:block}.uagb-rm__align-center .uagb-rm-details,.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%}.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-rm__image{overflow:hidden}.uagb-rm__title{margin-bottom:5px;font-size:20px}.uagb-rm__price{font-style:italic;text-align:right}.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm-details,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%;text-align:center}.uagb-rm__align-center .uagb-rm__price{text-align:center}.uagb-rm__align-right .uagb-rm-details{display:flex;width:100%;flex-direction:row-reverse}.uagb-rm__align-right .uagb-rm__price{text-align:left}.uagb-rm__align-left .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:unset;text-align:left}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__image-content{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:row-reverse;text-align:right}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__image-content{text-align:right}.uagb-rest_menu__outer-wrap{position:relative}.uagb-rm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm-parent{padding:30px}.uagb-rm__text-wrap{position:relative;display:block;width:100%}.uagb-rest_menu__wrap{position:relative}.uagb-rest_menu__outer-wrap:after{content:"";display:block;clear:both}.uagb-rest_menu__wrap.uagb-rm__desk-column-3{display:block;width:33%;float:left;width:calc(100% / 3);padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-2{display:block;width:49%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-1{display:block;width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex}.uagb-rm__separator{width:100%;border-top-width:1px;border-top-color:#b2b4b5;border-top-style:inherit}.uagb-rm__image-position-left .uagb-rm__image{margin-right:10px}.uagb-rm__image-position-right .uagb-rm__image{margin-left:10px}@media (max-width: 976px){.uagb-rm__image-position-left.uagb-rm-stacked-tablet .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-tablet .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm-reverse-order-tablet .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__tablet-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}@media (max-width: 767px){.uagb-rm__image-position-left.uagb-rm-stacked-mobile .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-mobile .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm-reverse-order-mobile .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__mobile-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}
2
+
3
  /*# sourceMappingURL=price-list.css.map */
assets/css/blocks/section.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-section__wrap{position:relative}.uagb-section__wrap .uagb-section__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-section__wrap .uagb-section__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-section__wrap .uagb-section__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-section__wrap .uagb-section__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}@media only screen and (max-width: 449px){.uagb-section__wrap.uagb-section__background-image{background-attachment:scroll !important}}
2
-
3
  /*# sourceMappingURL=section.css.map */
1
+ .uagb-section__wrap{position:relative}.uagb-section__wrap .uagb-section__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-section__wrap .uagb-section__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-section__wrap .uagb-section__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-section__wrap .uagb-section__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}@media only screen and (max-width: 449px){.uagb-section__wrap.uagb-section__background-image{background-attachment:scroll !important}}
2
+
3
  /*# sourceMappingURL=section.css.map */
assets/css/blocks/social-share.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-social-share__outer-wrap .uagb-social-share__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-social-share__outer-wrap a.uagb-button__link:focus{box-shadow:none}.uagb-social-share__outer-wrap .uagb-ss__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex;text-align:center}.uagb-social-share__outer-wrap .uagb-ss__source-wrap{display:inline-block}.uagb-social-share__outer-wrap .uagb-ss__link{color:#3a3a3a;display:inline-table;line-height:0;cursor:pointer}.uagb-social-share__outer-wrap .uagb-ss__source-icon{font-size:40px;width:40px;height:40px}.uagb-social-share__outer-wrap .uagb-ss__source-image{width:40px}.uagb-social-share__outer-wrap .uagb-ss__wrapper:first-child{margin-left:0}.uagb-social-share__outer-wrap .uagb-ss__wrapper:last-child{margin-right:0}
2
-
3
  /*# sourceMappingURL=social-share.css.map */
1
+ .uagb-social-share__outer-wrap .uagb-social-share__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-social-share__outer-wrap a.uagb-button__link:focus{box-shadow:none}.uagb-social-share__outer-wrap .uagb-ss__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex;text-align:center}.uagb-social-share__outer-wrap .uagb-ss__source-wrap{display:inline-block}.uagb-social-share__outer-wrap .uagb-ss__link{color:#3a3a3a;display:inline-table;line-height:0;cursor:pointer}.uagb-social-share__outer-wrap .uagb-ss__source-icon{font-size:40px;width:40px;height:40px}.uagb-social-share__outer-wrap .uagb-ss__source-image{width:40px}.uagb-social-share__outer-wrap .uagb-ss__wrapper:first-child{margin-left:0}.uagb-social-share__outer-wrap .uagb-ss__wrapper:last-child{margin-right:0}
2
+
3
  /*# sourceMappingURL=social-share.css.map */
assets/css/blocks/table-of-contents.css CHANGED
@@ -1,3 +1,3 @@
1
- .wp-block-uagb-table-of-contents .uagb-toc__wrap{display:inline-block}.wp-block-uagb-table-of-contents ul.uagb-toc__list:first-child{margin:0}.wp-block-uagb-table-of-contents ul.uagb-toc__list{margin-left:1em;margin-bottom:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul{padding:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul li a{color:inherit;line-height:inherit;font-size:inherit}.wp-block-uagb-table-of-contents.uagb-toc__align-left{text-align:left}.wp-block-uagb-table-of-contents.uagb-toc__align-center{text-align:center}.wp-block-uagb-table-of-contents.uagb-toc__align-right{text-align:right}.wp-block-uagb-table-of-contents ul li:empty{display:none}.wp-block-uagb-table-of-contents .uagb-toc__title-wrap{display:flex;align-items:center;justify-content:space-between}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap svg{width:20px;height:20px}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap{margin-left:10px;display:flex;cursor:pointer}.wp-block-uagb-table-of-contents.uagb-toc__collapse .uagb-toc__list-wrap{display:none}.uagb-toc__list .uagb-toc__list{list-style-type:circle}.uagb-toc__scroll-top{display:none;position:fixed;bottom:50px;right:50px;padding:10px;background:#ccd0d4;cursor:pointer}.uagb-toc__scroll-top.uagb-toc__show-scroll{display:inline-table}
2
-
3
  /*# sourceMappingURL=table-of-contents.css.map */
1
+ .wp-block-uagb-table-of-contents .uagb-toc__wrap{display:inline-block}.wp-block-uagb-table-of-contents ul.uagb-toc__list:first-child{margin:0}.wp-block-uagb-table-of-contents ul.uagb-toc__list{margin-left:1em;margin-bottom:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul{padding:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul li a{color:inherit;line-height:inherit;font-size:inherit}.wp-block-uagb-table-of-contents.uagb-toc__align-left{text-align:left}.wp-block-uagb-table-of-contents.uagb-toc__align-center{text-align:center}.wp-block-uagb-table-of-contents.uagb-toc__align-right{text-align:right}.wp-block-uagb-table-of-contents ul li:empty{display:none}.wp-block-uagb-table-of-contents .uagb-toc__title-wrap{display:flex;align-items:center;justify-content:space-between}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap svg{width:20px;height:20px}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap{margin-left:10px;display:flex;cursor:pointer}.wp-block-uagb-table-of-contents.uagb-toc__collapse .uagb-toc__list-wrap{display:none}.uagb-toc__list .uagb-toc__list{list-style-type:circle}.uagb-toc__scroll-top{display:none;position:fixed;bottom:50px;right:50px;padding:10px;background:#ccd0d4;cursor:pointer}.uagb-toc__scroll-top.uagb-toc__show-scroll{display:inline-table}
2
+
3
  /*# sourceMappingURL=table-of-contents.css.map */
assets/css/blocks/team.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-team__outer-wrap .uagb-team__prefix{font-size:15px;font-style:italic;color:#888}.uagb-team__outer-wrap .uagb-team__image-wrap img{display:inline;height:auto !important;max-width:100%;width:inherit;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-border-radius:inherit;border-radius:inherit}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-circle img{-webkit-border-radius:100%;border-radius:100%}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-square img{-webkit-border-radius:0;border-radius:0}.uagb-team__outer-wrap .uagb-team__social-icon-wrap ul{list-style:none;display:flex}.uagb-team__outer-wrap .uagb-team__social-icon a span,.uagb-team__outer-wrap .uagb-team__social-icon a span:before{color:inherit;font-size:inherit;height:inherit;width:inherit}.uagb-team__outer-wrap .uagb-team__social-icon a{font-size:20px;width:20px;height:20px;color:#333;display:block}.uagb-team__outer-wrap .uagb-team__social-icon{margin-right:20px;margin-left:0}.uagb-team__outer-wrap .uagb-team__social-list{margin:0;padding:0}.uagb-team__image-position-above.uagb-team__align-center{text-align:center}.uagb-team__image-position-above.uagb-team__align-left{text-align:left}.uagb-team__image-position-above.uagb-team__align-right{text-align:right}.uagb-team__image-position-left .uagb-team__wrap,.uagb-team__image-position-right .uagb-team__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.uagb-team__image-position-left .uagb-team__content{text-align:left}.uagb-team__image-position-right .uagb-team__content{text-align:right}.uagb-team__image-position-left .uagb-team__social-icon-wrap ul{justify-content:flex-start;margin:0;padding:0}.uagb-team__image-position-right .uagb-team__social-icon-wrap ul{justify-content:flex-end;margin:0;padding:0}.uagb-team__image-position-left li{margin-right:5px}.uagb-team__image-position-right li{margin-left:5px}.uagb-team__image-position-above .uagb-team__social-icon-wrap{display:inline-block}.uagb-team__image-position-above.uagb-team__align-center .uagb-team__content{text-align:center}.uagb-team__image-position-above.uagb-team__align-left .uagb-team__content{text-align:left}.uagb-team__image-position-above.uagb-team__align-right .uagb-team__content{text-align:right}@media only screen and (max-width: 976px){.uagb-team__stack-tablet,.uagb-team__stack-tablet .uagb-team__content{text-align:center}.uagb-team__stack-tablet .uagb-team__wrap{display:inline-block}.uagb-team__stack-tablet .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-tablet .uagb-team__social-icon-wrap ul{justify-content:center}}@media screen and (max-width: 767px){.uagb-team__stack-mobile,.uagb-team__stack-mobile .uagb-team__content{text-align:center}.uagb-team__stack-mobile .uagb-team__wrap{display:inline-block}.uagb-team__stack-mobile .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-mobile .uagb-team__social-icon-wrap ul{justify-content:center}}
2
-
3
  /*# sourceMappingURL=team.css.map */
1
+ .uagb-team__outer-wrap .uagb-team__prefix{font-size:15px;font-style:italic;color:#888}.uagb-team__outer-wrap .uagb-team__image-wrap img{display:inline;height:auto !important;max-width:100%;width:inherit;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-border-radius:inherit;border-radius:inherit}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-circle img{-webkit-border-radius:100%;border-radius:100%}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-square img{-webkit-border-radius:0;border-radius:0}.uagb-team__outer-wrap .uagb-team__social-icon-wrap ul{list-style:none;display:flex}.uagb-team__outer-wrap .uagb-team__social-icon a span,.uagb-team__outer-wrap .uagb-team__social-icon a span:before{color:inherit;font-size:inherit;height:inherit;width:inherit}.uagb-team__outer-wrap .uagb-team__social-icon a{font-size:20px;width:20px;height:20px;color:#333;display:block}.uagb-team__outer-wrap .uagb-team__social-icon{margin-right:20px;margin-left:0}.uagb-team__outer-wrap .uagb-team__social-list{margin:0;padding:0}.uagb-team__image-position-above.uagb-team__align-center{text-align:center}.uagb-team__image-position-above.uagb-team__align-left{text-align:left}.uagb-team__image-position-above.uagb-team__align-right{text-align:right}.uagb-team__image-position-left .uagb-team__wrap,.uagb-team__image-position-right .uagb-team__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.uagb-team__image-position-left .uagb-team__content{text-align:left}.uagb-team__image-position-right .uagb-team__content{text-align:right}.uagb-team__image-position-left .uagb-team__social-icon-wrap ul{justify-content:flex-start;margin:0;padding:0}.uagb-team__image-position-right .uagb-team__social-icon-wrap ul{justify-content:flex-end;margin:0;padding:0}.uagb-team__image-position-left li{margin-right:5px}.uagb-team__image-position-right li{margin-left:5px}.uagb-team__image-position-above .uagb-team__social-icon-wrap{display:inline-block}.uagb-team__image-position-above.uagb-team__align-center .uagb-team__content{text-align:center}.uagb-team__image-position-above.uagb-team__align-left .uagb-team__content{text-align:left}.uagb-team__image-position-above.uagb-team__align-right .uagb-team__content{text-align:right}@media only screen and (max-width: 976px){.uagb-team__stack-tablet,.uagb-team__stack-tablet .uagb-team__content{text-align:center}.uagb-team__stack-tablet .uagb-team__wrap{display:inline-block}.uagb-team__stack-tablet .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-tablet .uagb-team__social-icon-wrap ul{justify-content:center}}@media screen and (max-width: 767px){.uagb-team__stack-mobile,.uagb-team__stack-mobile .uagb-team__content{text-align:center}.uagb-team__stack-mobile .uagb-team__wrap{display:inline-block}.uagb-team__stack-mobile .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-mobile .uagb-team__social-icon-wrap ul{justify-content:center}}
2
+
3
  /*# sourceMappingURL=team.css.map */
assets/css/blocks/testimonial.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-testimonial__wrap{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.uagb-testimonial__wrap,.uagb-testimonial__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-icon-wrap .uagb-icon{display:inline-block}.uagb-tm__image{position:relative}.uagb-tm__imgicon-style-circle .uagb-tm__image img{border-radius:100%;-webkit-border-radius:100%}.uagb-tm__imgicon-style-square .uagb-tm__image img{border-radius:0%;-webkit-border-radius:0%}.uagb-tm__image img,.slick-slide .uagb-tm__image img{display:inline-block;box-sizing:content-box}.uagb-tm__author-name,.uagb-tm__company{display:inline-block}.uagb-tm__content{overflow:hidden;text-align:center;word-break:break-word;padding:15px;border-radius:inherit;position:relative}.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm__image-position-right .uagb-tm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-tm__meta-inner{display:inline-block}.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm__image-position-bottom .uagb-testimonial-details{display:table-cell;vertical-align:middle}.uagb-tm__meta{width:100%;line-height:1}.uagb-tm__image-position-bottom .uagb-tm__image-content{padding-right:10px}.uagb-tm__author-name,.uagb-tm__company{display:block}.uagb-tm__image-aligned-middle .uagb-tm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-tm__desc{margin-bottom:15px}.uagb-tm__author-name{margin-bottom:5px;font-size:30px;line-height:1em}.uagb-tm__company{font-size:15px;font-style:italic;line-height:1em;color:#888888}.is-carousel .uagb-testomonial__outer-wrap{padding-left:10px;padding-right:10px}.uagb-tm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm__text-wrap{position:relative}.uagb-tm__items{visibility:hidden}.uagb-tm__items.slick-initialized{visibility:visible}.uagb-tm__image-position-top .uagb-tm__image-content{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;justify-content:center}@media (max-width: 976px){.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-tablet .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-tablet .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-tablet.uagb-tm-reverse-order-tablet .uagb-tm__content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-tablet .uagb-tm__image-content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;align-self:center}}@media (max-width: 768px){.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-mobile .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-mobile .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-mobile.uagb-tm-reverse-order-mobile .uagb-tm__content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-mobile .uagb-tm__image-content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;align-self:center}}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:-45px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:-45px;right:auto}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:auto;right:25px}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{right:25px}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{left:25px;right:auto}@media (max-width: 976px){.uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:auto;right:15px}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:15px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:15px;right:auto}}
2
-
3
  /*# sourceMappingURL=testimonial.css.map */
1
+ .uagb-testimonial__wrap{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.uagb-testimonial__wrap,.uagb-testimonial__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-icon-wrap .uagb-icon{display:inline-block}.uagb-tm__image{position:relative}.uagb-tm__imgicon-style-circle .uagb-tm__image img{border-radius:100%;-webkit-border-radius:100%}.uagb-tm__imgicon-style-square .uagb-tm__image img{border-radius:0%;-webkit-border-radius:0%}.uagb-tm__image img,.slick-slide .uagb-tm__image img{display:inline-block;box-sizing:content-box}.uagb-tm__author-name,.uagb-tm__company{display:inline-block}.uagb-tm__content{overflow:hidden;text-align:center;word-break:break-word;padding:15px;border-radius:inherit;position:relative}.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm__image-position-right .uagb-tm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-tm__meta-inner{display:inline-block}.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm__image-position-bottom .uagb-testimonial-details{display:table-cell;vertical-align:middle}.uagb-tm__meta{width:100%;line-height:1}.uagb-tm__image-position-bottom .uagb-tm__image-content{padding-right:10px}.uagb-tm__author-name,.uagb-tm__company{display:block}.uagb-tm__image-aligned-middle .uagb-tm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-tm__desc{margin-bottom:15px}.uagb-tm__author-name{margin-bottom:5px;font-size:30px;line-height:1em}.uagb-tm__company{font-size:15px;font-style:italic;line-height:1em;color:#888888}.is-carousel .uagb-testomonial__outer-wrap{padding-left:10px;padding-right:10px}.uagb-tm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm__text-wrap{position:relative}.uagb-tm__items{visibility:hidden}.uagb-tm__items.slick-initialized{visibility:visible}.uagb-tm__image-position-top .uagb-tm__image-content{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;justify-content:center}@media (max-width: 976px){.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-tablet .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-tablet .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-tablet.uagb-tm-reverse-order-tablet .uagb-tm__content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-tablet .uagb-tm__image-content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;align-self:center}}@media (max-width: 768px){.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-mobile .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-mobile .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-mobile.uagb-tm-reverse-order-mobile .uagb-tm__content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-mobile .uagb-tm__image-content{display:-webkit-inline-box;display:-ms-inline-flexbox;-js-display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;align-self:center}}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:-45px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:-45px;right:auto}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:auto;right:25px}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{right:25px}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{left:25px;right:auto}@media (max-width: 976px){.uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:auto;right:15px}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:15px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:15px;right:auto}}
2
+
3
  /*# sourceMappingURL=testimonial.css.map */
assets/css/blocks/timeline.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-timeline__widget{position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.uagb-timeline__widget a{text-decoration:none;color:inherit}.uagb-timeline__heading a{font-size:inherit;color:inherit;margin-bottom:inherit}.uagb-timeline__image a{display:block;position:relative;max-width:100%}.uagb-timeline__image img{display:inline-block;-webkit-box-sizing:content-box;-mz-box-sizing:content-box;box-sizing:content-box}.uagb-timeline__author{text-transform:uppercase}.uagb-timeline__main{position:relative}.uagb-content{word-break:break-word}a.uagb-timeline__link{padding:5px 10px;display:inline-block}h1.uagb-timeline__heading,h2.uagb-timeline__heading,h3.uagb-timeline__heading,h4.uagb-timeline__heading,h5.uagb-timeline__heading,h6.uagb-timeline__heading{margin-bottom:0px}.uagb-timeline__inner-date-new p{margin-bottom:0}.uagb-timeline__date-inner .uagb-timeline__inner-date-new p{margin-bottom:0px}.uagb-timeline__line{background-color:#eeeeee}.uagb-timeline__line__inner{background-color:#5cb85c;width:100%}.uagb-timeline__main .uagb-timeline__icon-new{line-height:1em;display:inline-block;vertical-align:middle;font-style:normal}.uagb-timeline__center-block .uagb-timeline__date-hide{display:none}.uagb-timeline__field:not(:last-child){margin-bottom:20px}.uagb-timeline__center-block .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__right-block .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:inherit}.uagb-timeline__center-block .uagb-timeline__date-new{display:block}.uagb-timeline__right-block .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{top:0;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__right-block .uagb-timeline__marker,.uagb-timeline__right-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__right-block .uagb-timeline__day-new{margin-right:14px}.uagb-timeline__right-block .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__right-block .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__left-block .uagb-timeline__marker,.uagb-timeline__left-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__left-block .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__left-block .uagb-timeline__day-new{margin-left:14px}.uagb-timeline__left-block .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__left-block .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{top:0;width:10px;height:40px;position:absolute}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__marker{background-color:#eeeeee;-webkit-border-radius:999px;border-radius:999px;position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:1;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__main .uagb-timeline__days .uagb-timeline__field-wrap:hover .uagb-timeline__marker{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__center-block .uagb-timeline__marker{-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block .uagb-timeline__day-new,.uagb-timeline__center-block .uagb-timeline__date-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:50%;-ms-flex-preferred-size:50%;flex-basis:50%;max-width:100%;position:relative}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2;padding-left:0;padding-right:12px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2;padding-right:0;padding-left:12px}.uagb-timeline__events-inner-new{padding:40px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__date-new{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__date-new{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__right-block .uagb-timeline__date-new{margin-left:10px}.uagb-timeline__right-block .uagb-timeline__date-new{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow{right:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow{left:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__arrow-center .uagb-timeline__widget{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.uagb-timeline__arrow-bottom .uagb-timeline__widget{-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end}.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__arrow-bottom .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-bottom .uagb-timeline__right .uagb-timeline__arrow{top:100%;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.uagb-timeline__day-right .uagb-timeline__events-inner{text-align:right}.uagb-timeline__day-left .uagb-timeline__events-inner{text-align:left}.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new,.uagb-timeline__arrow-bottom .uagb-timeline__date-new .uagb-timeline__date-new{padding-top:8px;padding-bottom:8px}.uagb-timeline__events-inner-new,.uagb-timeline__arrow{-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.uagb-timeline__arrow:after{-webkit-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out}.uagb-timeline__date-new{-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__main .uagb-timeline__year{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;position:relative}.uagb-timeline__main .uagb-timeline__year span{display:inline-block;padding-bottom:6px}.uagb-timeline__day-left .uagb-timeline__arrow:after{content:'';left:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow:after{right:0}.uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__icon{width:100px;height:100px;-webkit-border-radius:50%;border-radius:50%;text-align:center;line-height:100px;vertical-align:middle;position:relative;z-index:1}.uagb-timeline__main .uagb-timeline__date .uagb-timeline__inner-date-new{white-space:nowrap;margin:0px}.uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-timeline__right-block .uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block .uagb-timeline__line{left:50%;right:auto}.uagb-timeline__main .in-view i.uagb-timeline__in-view-icon{-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-in-out;-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out}.uagb-timeline__left-block .uagb-timeline__days{text-align:left}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block .uagb-timeline__days{text-align:center}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__days{text-align:right}.uagb-timeline__outer-wrap span.dashicons-admin-users.dashicons{display:inline;vertical-align:baseline;margin-right:4px}@media screen and (max-width: 1023px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}@media screen and (max-width: 767px){.uagb-timeline-responsive-none .uagb-timeline__events-inner-new{padding:15px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__day-left .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}.uagb-timeline__line__inner{background-color:#61ce70;width:100%}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.rtl .uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__day-right .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__day-left .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__line{width:3px}.uagb-timeline__main .uagb-timeline__icon-new{font-size:16px}.uagb-timeline__marker{min-height:3em;min-width:3em;line-height:3em}.uagb-timeline__arrow{height:3em}.uagb-timeline__left-block .uagb-timeline__line{left:calc(3em / 2)}.uagb-timeline__right-block .uagb-timeline__line{right:calc(3em / 2)}.rtl .uagb-timeline__left-block .uagb-timeline__line{right:calc(3em / 2);left:auto}.rtl .uagb-timeline__right-block .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline-desc-content p{font-size:inherit}.uagb-timeline__main p:empty{display:none}@media (max-width: 976px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}}@media (max-width: 767px){.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:calc(3em / 2);left:auto}}
2
-
3
  /*# sourceMappingURL=timeline.css.map */
1
+ .uagb-timeline__widget{position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.uagb-timeline__widget a{text-decoration:none;color:inherit}.uagb-timeline__heading a{font-size:inherit;color:inherit;margin-bottom:inherit}.uagb-timeline__image a{display:block;position:relative;max-width:100%}.uagb-timeline__image img{display:inline-block;-webkit-box-sizing:content-box;-mz-box-sizing:content-box;box-sizing:content-box}.uagb-timeline__author{text-transform:uppercase}.uagb-timeline__main{position:relative}.uagb-content{word-break:break-word}a.uagb-timeline__link{padding:5px 10px;display:inline-block}h1.uagb-timeline__heading,h2.uagb-timeline__heading,h3.uagb-timeline__heading,h4.uagb-timeline__heading,h5.uagb-timeline__heading,h6.uagb-timeline__heading{margin-bottom:0px}.uagb-timeline__inner-date-new p{margin-bottom:0}.uagb-timeline__date-inner .uagb-timeline__inner-date-new p{margin-bottom:0px}.uagb-timeline__line{background-color:#eeeeee}.uagb-timeline__line__inner{background-color:#5cb85c;width:100%}.uagb-timeline__main .uagb-timeline__icon-new{line-height:1em;display:inline-block;vertical-align:middle;font-style:normal}.uagb-timeline__center-block .uagb-timeline__date-hide{display:none}.uagb-timeline__field:not(:last-child){margin-bottom:20px}.uagb-timeline__center-block .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__right-block .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:inherit}.uagb-timeline__center-block .uagb-timeline__date-new{display:block}.uagb-timeline__right-block .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{top:0;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__right-block .uagb-timeline__marker,.uagb-timeline__right-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__right-block .uagb-timeline__day-new{margin-right:14px}.uagb-timeline__right-block .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__right-block .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__left-block .uagb-timeline__marker,.uagb-timeline__left-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__left-block .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__left-block .uagb-timeline__day-new{margin-left:14px}.uagb-timeline__left-block .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__left-block .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{top:0;width:10px;height:40px;position:absolute}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__marker{background-color:#eeeeee;-webkit-border-radius:999px;border-radius:999px;position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:1;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__main .uagb-timeline__days .uagb-timeline__field-wrap:hover .uagb-timeline__marker{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__center-block .uagb-timeline__marker{-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block .uagb-timeline__day-new,.uagb-timeline__center-block .uagb-timeline__date-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:50%;-ms-flex-preferred-size:50%;flex-basis:50%;max-width:100%;position:relative}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2;padding-left:0;padding-right:12px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2;padding-right:0;padding-left:12px}.uagb-timeline__events-inner-new{padding:40px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__date-new{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__date-new{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__right-block .uagb-timeline__date-new{margin-left:10px}.uagb-timeline__right-block .uagb-timeline__date-new{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow{right:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow{left:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__arrow-center .uagb-timeline__widget{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.uagb-timeline__arrow-bottom .uagb-timeline__widget{-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end}.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__arrow-bottom .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-bottom .uagb-timeline__right .uagb-timeline__arrow{top:100%;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.uagb-timeline__day-right .uagb-timeline__events-inner{text-align:right}.uagb-timeline__day-left .uagb-timeline__events-inner{text-align:left}.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new,.uagb-timeline__arrow-bottom .uagb-timeline__date-new .uagb-timeline__date-new{padding-top:8px;padding-bottom:8px}.uagb-timeline__events-inner-new,.uagb-timeline__arrow{-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.uagb-timeline__arrow:after{-webkit-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out}.uagb-timeline__date-new{-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__main .uagb-timeline__year{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;position:relative}.uagb-timeline__main .uagb-timeline__year span{display:inline-block;padding-bottom:6px}.uagb-timeline__day-left .uagb-timeline__arrow:after{content:'';left:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow:after{right:0}.uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__icon{width:100px;height:100px;-webkit-border-radius:50%;border-radius:50%;text-align:center;line-height:100px;vertical-align:middle;position:relative;z-index:1}.uagb-timeline__main .uagb-timeline__date .uagb-timeline__inner-date-new{white-space:nowrap;margin:0px}.uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-timeline__right-block .uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block .uagb-timeline__line{left:50%;right:auto}.uagb-timeline__main .in-view i.uagb-timeline__in-view-icon{-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-in-out;-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out}.uagb-timeline__left-block .uagb-timeline__days{text-align:left}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block .uagb-timeline__days{text-align:center}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__days{text-align:right}.uagb-timeline__outer-wrap span.dashicons-admin-users.dashicons{display:inline;vertical-align:baseline;margin-right:4px}@media screen and (max-width: 1023px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}@media screen and (max-width: 767px){.uagb-timeline-responsive-none .uagb-timeline__events-inner-new{padding:15px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__day-left .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}.uagb-timeline__line__inner{background-color:#61ce70;width:100%}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.rtl .uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__day-right .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__day-left .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__line{width:3px}.uagb-timeline__main .uagb-timeline__icon-new{font-size:16px}.uagb-timeline__marker{min-height:3em;min-width:3em;line-height:3em}.uagb-timeline__arrow{height:3em}.uagb-timeline__left-block .uagb-timeline__line{left:calc(3em / 2)}.uagb-timeline__right-block .uagb-timeline__line{right:calc(3em / 2)}.rtl .uagb-timeline__left-block .uagb-timeline__line{right:calc(3em / 2);left:auto}.rtl .uagb-timeline__right-block .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline-desc-content p{font-size:inherit}.uagb-timeline__main p:empty{display:none}@media (max-width: 976px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}}@media (max-width: 767px){.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:calc(3em / 2);left:auto}}
2
+
3
  /*# sourceMappingURL=timeline.css.map */
classes/class-uagb-block-helper.php CHANGED
@@ -1,5246 +1,5246 @@
1
- <?php
2
- /**
3
- * UAGB Block Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Block_Helper.
12
- */
13
- class UAGB_Block_Helper {
14
-
15
- /**
16
- * Get Section Block CSS
17
- *
18
- * @since 0.0.1
19
- * @param array $attr The block attributes.
20
- * @param string $id The selector ID.
21
- * @return array The Widget List.
22
- */
23
- public static function get_section_css( $attr, $id ) { // @codingStandardsIgnoreStart
24
-
25
- global $content_width;
26
-
27
- $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
-
29
- $attr = array_merge( $defaults, $attr );
30
-
31
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
- $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'color';
33
- $gradientOverlayPosition = ( isset( $attr['gradientOverlayPosition'] ) ) ? $attr['gradientOverlayPosition'] : 'center center';
34
- $gradientPosition = ( isset( $attr['gradientPosition'] ) ) ? $attr['gradientPosition'] : 'center center';
35
-
36
- $style = array(
37
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
38
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
39
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
40
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
41
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
42
- );
43
-
44
- $m_selectors = array();
45
- $t_selectors = array();
46
-
47
- if ( 'right' == $attr['align'] ) {
48
- $style['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] );
49
- $style['margin-left'] = 'auto';
50
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
51
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
52
- } elseif ( 'left' == $attr['align'] ) {
53
- $style['margin-right'] = 'auto';
54
- $style['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] );
55
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
56
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
57
- } elseif ( 'center' == $attr['align'] ) {
58
- $style['margin-right'] = 'auto';
59
- $style['margin-left'] = 'auto';
60
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
61
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
62
- } else {
63
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
64
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
65
- }
66
-
67
- if ( "none" != $attr['borderStyle'] ) {
68
- $style["border-style"] = $attr['borderStyle'];
69
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
70
- $style["border-color"] = $attr['borderColor'];
71
- }
72
-
73
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
74
-
75
- $section_width = '100%';
76
-
77
- if ( isset( $attr['contentWidth'] ) ) {
78
-
79
- if ( 'boxed' == $attr['contentWidth'] ) {
80
- if ( isset( $attr['width'] ) ) {
81
- $section_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
82
- }
83
- }
84
- }
85
-
86
- if ( 'wide' != $attr['align'] && 'full' != $attr['align'] ) {
87
- $style['max-width'] = $section_width;
88
- }
89
-
90
- if ( 'image' === $bg_type ) {
91
-
92
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
93
- $style['background-position'] = $position;
94
- $style['background-attachment'] = $attr['backgroundAttachment'];
95
- $style['background-repeat'] = $attr['backgroundRepeat'];
96
- $style['background-size'] = $attr['backgroundSize'];
97
-
98
- }
99
-
100
- $inner_width = '100%';
101
-
102
- if ( isset( $attr['contentWidth'] ) ) {
103
- if ( 'boxed' != $attr['contentWidth'] ) {
104
- if ( isset( $attr['themeWidth'] ) && $attr['themeWidth'] == true ) {
105
- $inner_width = '#CONTENT_WIDTH#';
106
- } else {
107
- if ( isset( $attr['innerWidth'] ) ) {
108
- $inner_width = UAGB_Helper::get_css_value( $attr['innerWidth'], $attr['innerWidthType'] );
109
- }
110
- }
111
- }
112
- }
113
-
114
- $selectors = array(
115
- '.uagb-section__wrap' => $style,
116
- ' > .uagb-section__video-wrap' => array(
117
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
118
- ),
119
- ' > .uagb-section__inner-wrap' => array(
120
- 'max-width' => $inner_width,
121
- ),
122
- );
123
-
124
- if ( 'video' == $bg_type ) {
125
- $selectors[' > .uagb-section__overlay'] = array(
126
- 'opacity' => 1,
127
- 'background-color' => $attr['backgroundVideoColor'],
128
- );
129
- } else if ( 'image' == $bg_type ) {
130
- if( 'color' == $overlay_type ){
131
- $selectors[' > .uagb-section__overlay'] = array(
132
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
133
- 'background-color' => $attr['backgroundImageColor'],
134
- );
135
- }else{
136
- $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
137
- $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
138
-
139
- if ( 'linear' === $attr['gradientOverlayType'] ) {
140
-
141
- $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
142
- } else {
143
-
144
- $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientOverlayPosition . ', ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
145
- }
146
- }
147
- } else if ( 'color' == $bg_type ) {
148
- $selectors[' > .uagb-section__overlay'] = array(
149
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
150
- 'background-color' => $attr['backgroundColor'],
151
- );
152
- } else if ( 'gradient' === $bg_type ) {
153
- $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
154
- $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
155
-
156
- if ( 'linear' === $attr['gradientType'] ) {
157
-
158
- $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
159
- } else {
160
- $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientPosition . ', ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
161
- }
162
- }
163
-
164
- $selectors[' > .uagb-section__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
165
-
166
- $m_selectors = array(
167
- '.uagb-section__wrap' => array(
168
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
169
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
170
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
171
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
172
- )
173
- );
174
-
175
- $t_selectors = array(
176
- '.uagb-section__wrap' => array(
177
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
178
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
179
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
180
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
181
- )
182
- );
183
-
184
- if ( 'right' == $attr['align'] ) {
185
- $t_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['tabletMarginType'] );
186
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
187
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
188
-
189
- $m_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['mobileMarginType'] );
190
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
191
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
192
- } elseif ( 'left' == $attr['align'] ) {
193
- $t_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['tabletMarginType'] );
194
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
195
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
196
-
197
- $m_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['mobileMarginType'] );
198
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
199
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
200
- } else {
201
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
202
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
203
-
204
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
205
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
206
- }
207
-
208
- // @codingStandardsIgnoreEnd
209
-
210
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
211
-
212
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-section-' . $id );
213
-
214
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-section-' . $id );
215
-
216
- $generated_css = array(
217
- 'desktop' => $desktop,
218
- 'tablet' => $tablet,
219
- 'mobile' => $mobile,
220
- );
221
-
222
- return $generated_css;
223
- }
224
-
225
- /**
226
- * Get Columns Block CSS
227
- *
228
- * @since 1.8.0
229
- * @param array $attr The block attributes.
230
- * @param string $id The selector ID.
231
- * @return array The Widget List.
232
- */
233
- public static function get_columns_css( $attr, $id ) { // @codingStandardsIgnoreStart
234
-
235
- global $content_width;
236
-
237
- $defaults = UAGB_Helper::$block_list['uagb/columns']['attributes'];
238
-
239
- $attr = array_merge( $defaults, $attr );
240
-
241
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
242
-
243
- $m_selectors = array();
244
- $t_selectors = array();
245
-
246
- $style = array(
247
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
248
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
249
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
250
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
251
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
252
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
253
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], $attr['desktopMarginType'] ),
254
- );
255
-
256
- if ( "none" != $attr['borderStyle'] ) {
257
- $style["border-style"] = $attr['borderStyle'];
258
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
259
- $style["border-color"] = $attr['borderColor'];
260
- }
261
-
262
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
263
-
264
- if ( 'image' === $bg_type ) {
265
-
266
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
267
- $style['background-position'] = $position;
268
- $style['background-attachment'] = $attr['backgroundAttachment'];
269
- $style['background-repeat'] = $attr['backgroundRepeat'];
270
- $style['background-size'] = $attr['backgroundSize'];
271
-
272
- }
273
-
274
- $inner_width = '100%';
275
-
276
- if ( isset( $attr['contentWidth'] ) ) {
277
- if ( 'theme' == $attr['contentWidth'] ) {
278
- $inner_width = '#CONTENT_WIDTH#';
279
- } else if ( 'custom' == $attr['contentWidth'] ) {
280
- $inner_width = UAGB_Helper::get_css_value( $attr['width'], $attr['widthType'] );
281
- }
282
- }
283
-
284
- $selectors = array(
285
- '.uagb-columns__wrap' => $style,
286
- ' .uagb-columns__video-wrap' => array(
287
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
288
- ),
289
- ' > .uagb-columns__inner-wrap' => array(
290
- 'max-width' => $inner_width,
291
- ),
292
- ' .uagb-column__inner-wrap' => array(
293
- 'padding' => UAGB_Helper::get_css_value( $attr['columnGap'], 'px' )
294
- ),
295
- ' .uagb-columns__shape-top svg' => array(
296
- 'height' => UAGB_Helper::get_css_value( $attr['topHeight'], 'px' )
297
- ),
298
- ' .uagb-columns__shape-top .uagb-columns__shape-fill' => array(
299
- 'fill' => $attr['topColor'],
300
- 'opacity' => ( isset( $attr['topDividerOpacity'] ) && '' != $attr['topDividerOpacity'] ) ? ( ( $attr['topDividerOpacity'] ) / 100 ) : ""
301
- ),
302
- ' .uagb-columns__shape-bottom svg' => array(
303
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeight'], 'px' )
304
- ),
305
- ' .uagb-columns__shape-bottom .uagb-columns__shape-fill' => array(
306
- 'fill' => $attr['bottomColor'],
307
- 'opacity' => ( isset( $attr['bottomDividerOpacity'] ) && '' != $attr['bottomDividerOpacity'] ) ? ( ( $attr['bottomDividerOpacity'] ) / 100 ) : ""
308
- ),
309
- );
310
-
311
- if ( '' !== $attr['topWidth'] ) {
312
- $selectors[' .uagb-columns__shape-top svg']['width'] = "calc( " . $attr['topWidth'] . "% + 1.3px )";
313
- }
314
-
315
- if ( '' !== $attr['bottomWidth'] ) {
316
- $selectors[' .uagb-columns__shape-bottom svg']['width'] = "calc( " . $attr['bottomWidth'] . "% + 1.3px )";
317
- }
318
-
319
- if ( 'video' == $bg_type ) {
320
- $selectors[' > .uagb-columns__overlay'] = array(
321
- 'opacity' => 1,
322
- 'background-color' => $attr['backgroundVideoColor'],
323
- );
324
- } else if ( 'image' == $bg_type ) {
325
- $selectors[' > .uagb-columns__overlay'] = array(
326
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
327
- 'background-color' => $attr['backgroundImageColor'],
328
- );
329
- } else if ( 'color' == $bg_type ) {
330
- $selectors[' > .uagb-columns__overlay'] = array(
331
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
332
- 'background-color' => $attr['backgroundColor'],
333
- );
334
- } elseif ( 'gradient' === $bg_type ) {
335
- $selectors[' > .uagb-columns__overlay']['background-color'] = 'transparent';
336
- $selectors[' > .uagb-columns__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
337
-
338
- if ( 'linear' === $attr['gradientType'] ) {
339
-
340
- $selectors[' > .uagb-columns__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
341
- } else {
342
-
343
- $selectors[' > .uagb-columns__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
344
- }
345
- }
346
-
347
- $selectors[' > .uagb-columns__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
348
-
349
- $m_selectors = array(
350
- '.uagb-columns__wrap' => array(
351
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
352
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
353
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
354
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
355
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] ),
356
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] ),
357
- ),
358
- ' .uagb-columns__shape-bottom svg' => array(
359
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightMobile'], 'px' )
360
- ),
361
- ' .uagb-columns__shape-top svg' => array(
362
- 'height' => UAGB_Helper::get_css_value( $attr['topHeightMobile'], 'px' )
363
- ),
364
- );
365
-
366
- $t_selectors = array(
367
- '.uagb-columns__wrap' => array(
368
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
369
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
370
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
371
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
372
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] ),
373
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] ),
374
- ),
375
- ' .uagb-columns__shape-bottom svg' => array(
376
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightTablet'], 'px' )
377
- ),
378
- ' .uagb-columns__shape-top svg' => array(
379
- 'height' => UAGB_Helper::get_css_value( $attr['topHeightTablet'], 'px' )
380
- ),
381
- );
382
-
383
- // @codingStandardsIgnoreEnd
384
-
385
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-columns-' . $id );
386
-
387
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-columns-' . $id );
388
-
389
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-columns-' . $id );
390
-
391
- $generated_css = array(
392
- 'desktop' => $desktop,
393
- 'tablet' => $tablet,
394
- 'mobile' => $mobile,
395
- );
396
-
397
- return $generated_css;
398
- }
399
-
400
- /**
401
- * Get Single Column Block CSS
402
- *
403
- * @since 1.8.0
404
- * @param array $attr The block attributes.
405
- * @param string $id The selector ID.
406
- * @return array The Widget List.
407
- */
408
- public static function get_column_css( $attr, $id ) { // @codingStandardsIgnoreStart
409
-
410
- global $content_width;
411
-
412
- $defaults = UAGB_Helper::$block_list['uagb/column']['attributes'];
413
-
414
- $attr = array_merge( $defaults, $attr );
415
-
416
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
417
- $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'none';
418
-
419
- $style = array(
420
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
421
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
422
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
423
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
424
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
425
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
426
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] ),
427
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] ),
428
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
429
- );
430
-
431
- $m_selectors = array();
432
- $t_selectors = array();
433
-
434
- if ( "none" != $attr['borderStyle'] ) {
435
- $style["border-style"] = $attr['borderStyle'];
436
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
437
- $style["border-color"] = $attr['borderColor'];
438
- }
439
-
440
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
441
-
442
- if ( 'image' === $bg_type ) {
443
-
444
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
445
- $style['background-position'] = $position;
446
- $style['background-attachment'] = $attr['backgroundAttachment'];
447
- $style['background-repeat'] = $attr['backgroundRepeat'];
448
- $style['background-size'] = $attr['backgroundSize'];
449
-
450
- }
451
-
452
- $selectors = array(
453
- '.uagb-column__wrap' => $style
454
- );
455
-
456
- if ( 'image' == $bg_type ) {
457
- if( 'color' == $overlay_type ){
458
- $selectors[' > .uagb-column__overlay'] = array(
459
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
460
- 'background-color' => $attr['backgroundImageColor'],
461
- );
462
- }else{
463
- $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
464
- $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
465
-
466
- if ( 'linear' === $attr['gradientOverlayType'] ) {
467
-
468
- $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
469
- } else {
470
-
471
- $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
472
- }
473
- }
474
-
475
- } else if ( 'color' == $bg_type ) {
476
- $selectors[' > .uagb-column__overlay'] = array(
477
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
478
- 'background-color' => $attr['backgroundColor'],
479
- );
480
- } elseif ( 'gradient' === $bg_type ) {
481
- $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
482
- $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
483
-
484
- if ( 'linear' === $attr['gradientType'] ) {
485
-
486
- $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
487
- } else {
488
-
489
- $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
490
- }
491
- }
492
-
493
- if ( '' != $attr['colWidth'] && 0 != $attr['colWidth'] ) {
494
-
495
- $selectors[''] = array(
496
- "width" => UAGB_Helper::get_css_value( $attr['colWidth'], "%" )
497
- );
498
- }
499
-
500
- $m_selectors = array(
501
- '.uagb-column__wrap' => array(
502
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['tabletPaddingType'] ),
503
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['tabletPaddingType'] ),
504
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['tabletPaddingType'] ),
505
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['tabletPaddingType'] ),
506
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['tabletMarginType'] ),
507
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['tabletMarginType'] ),
508
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['tabletMarginType'] ),
509
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['tabletMarginType'] ),
510
- )
511
- );
512
-
513
- $t_selectors = array(
514
- '.uagb-column__wrap' => array(
515
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['mobilePaddingType'] ),
516
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['mobilePaddingType'] ),
517
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['mobilePaddingType'] ),
518
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['mobilePaddingType'] ),
519
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['mobileMarginType'] ),
520
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['mobileMarginType'] ),
521
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['mobileMarginType'] ),
522
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['mobileMarginType'] ),
523
- )
524
- );
525
-
526
- if ( '' != $attr['colWidthTablet'] && 0 != $attr['colWidthTablet'] ) {
527
-
528
- $t_selectors[''] = array(
529
- "width" => UAGB_Helper::get_css_value( $attr['colWidthTablet'], '%' )
530
- );
531
- }
532
-
533
- if ( '' != $attr['colWidthMobile'] && 0 != $attr['colWidthMobile'] ) {
534
-
535
- $m_selectors[''] = array(
536
- "width" => UAGB_Helper::get_css_value( $attr['colWidthMobile'], '%' )
537
- );
538
- }
539
-
540
- // @codingStandardsIgnoreEnd
541
-
542
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-column-' . $id );
543
-
544
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-column-' . $id );
545
-
546
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-column-' . $id );
547
-
548
- $generated_css = array(
549
- 'desktop' => $desktop,
550
- 'tablet' => $tablet,
551
- 'mobile' => $mobile,
552
- );
553
-
554
- return $generated_css;
555
- }
556
-
557
- /**
558
- * Get Advanced Heading Block CSS
559
- *
560
- * @since 0.0.1
561
- * @param array $attr The block attributes.
562
- * @param string $id The selector ID.
563
- * @return array The Widget List.
564
- */
565
- public static function get_adv_heading_css( $attr, $id ) { // @codingStandardsIgnoreStart
566
-
567
- $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
568
-
569
- $attr = array_merge( $defaults, (array) $attr );
570
-
571
- $m_selectors = array();
572
- $t_selectors = array();
573
-
574
- $selectors = array(
575
- ' .uagb-heading-text' => array(
576
- 'text-align' => $attr['headingAlign'],
577
- 'font-family' => $attr['headFontFamily'],
578
- 'font-weight' => $attr['headFontWeight'],
579
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
580
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
581
- 'color' => $attr['headingColor'],
582
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], "px" ),
583
- ),
584
- ' .uagb-separator-wrap' => array(
585
- 'text-align' => $attr['headingAlign'],
586
- ),
587
- ' .uagb-desc-text' => array(
588
- 'text-align' => $attr['headingAlign'],
589
- 'font-family' => $attr['subHeadFontFamily'],
590
- 'font-weight' => $attr['subHeadFontWeight'],
591
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
592
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
593
- 'color' => $attr['subHeadingColor'],
594
- )
595
-
596
- );
597
-
598
- $m_selectors = array(
599
- ' .uagb-heading-text' => array(
600
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
601
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
602
- ),
603
- ' .uagb-desc-text' => array(
604
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
605
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
606
- )
607
-
608
- );
609
-
610
- $t_selectors = array(
611
- ' .uagb-heading-text' => array(
612
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
613
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
614
-
615
- ),
616
- ' .uagb-desc-text' => array(
617
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
618
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
619
- )
620
-
621
- );
622
-
623
- $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
624
-
625
- if( 'none' !== $seperatorStyle ){
626
- $selectors[' .uagb-separator'] = array (
627
- 'border-top-style' => $attr['seperatorStyle'] ,
628
- 'border-top-width' => UAGB_Helper::get_css_value( $attr['separatorHeight'], "px" ),
629
- 'width' => UAGB_Helper::get_css_value( $attr['separatorWidth'], $attr['separatorWidthType'] ),
630
- 'border-color' => $attr['separatorColor'],
631
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['separatorSpace'], "px" ),
632
- );
633
-
634
- }
635
- // @codingStandardsIgnoreEnd
636
-
637
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
638
-
639
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-adv-heading-' . $id );
640
-
641
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-adv-heading-' . $id );
642
-
643
- $generated_css = array(
644
- 'desktop' => $desktop,
645
- 'tablet' => $tablet,
646
- 'mobile' => $mobile,
647
- );
648
-
649
- return $generated_css;
650
- }
651
-
652
- /**
653
- * Get Multi Buttons Block CSS
654
- *
655
- * @since 0.0.1
656
- * @param array $attr The block attributes.
657
- * @param string $id The selector ID.
658
- * @return array The Widget List.
659
- */
660
- public static function get_buttons_css( $attr, $id ) { // @codingStandardsIgnoreStart
661
-
662
- $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
663
-
664
- $attr = array_merge( $defaults, (array) $attr );
665
-
666
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
667
-
668
- $m_selectors = array();
669
- $t_selectors = array();
670
-
671
- $selectors = array(
672
- ' .uagb-button__wrapper' => array(
673
- 'margin-left' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
674
- 'margin-right' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
675
- ),
676
- ' .uagb-button__wrapper:first-child' => array (
677
- 'margin-left' => 0
678
- ),
679
- ' .uagb-button__wrapper:last-child' => array (
680
- 'margin-right' => 0
681
- ),
682
- );
683
-
684
- if( 'full' === $attr['align'] ) {
685
- $selectors[' .uagb-buttons__wrap .uagb-button__wrapper'] = array (
686
- 'justify-content' => 'center',
687
- '-webkit-box-pack'=> 'center',
688
- '-ms-flex-pack' => 'center',
689
- 'justify-content' => 'center',
690
- '-webkit-box-align' => 'center',
691
- '-ms-flex-align' => 'center',
692
- 'align-items' => 'center',
693
- 'width' => '100%',
694
- 'text-align' => 'center',
695
- );
696
- } else {
697
- $selectors[' .uagb-buttons__wrap'] = array (
698
- 'justify-content' => $alignment,
699
- '-webkit-box-pack'=> $alignment,
700
- '-ms-flex-pack' => $alignment,
701
- 'justify-content' => $alignment,
702
- '-webkit-box-align' => $alignment,
703
- '-ms-flex-align' => $alignment,
704
- 'align-items' => $alignment,
705
- );
706
- }
707
-
708
- foreach ( $attr['buttons'] as $key => $button ) {
709
-
710
- $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
711
- $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
712
- $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
713
- $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
714
- $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
715
- $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
716
- $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
717
- $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
718
- $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
719
- $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
720
- $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
721
- $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
722
- $button['sizeType'] = ( isset( $button['sizeType'] ) ) ? $button['sizeType'] : 'px';
723
- $button['sizeMobile'] = ( isset( $button['sizeMobile'] ) ) ? $button['sizeMobile'] : '';
724
- $button['sizeTablet'] = ( isset( $button['sizeTablet'] ) ) ? $button['sizeTablet'] : '';
725
- $button['lineHeight'] = ( isset( $button['lineHeight'] ) ) ? $button['lineHeight'] : '';
726
- $button['lineHeightType'] = ( isset( $button['lineHeightType'] ) ) ? $button['lineHeightType'] : '';
727
- $button['lineHeightMobile'] = ( isset( $button['lineHeightMobile'] ) ) ? $button['lineHeightMobile'] : '';
728
- $button['lineHeightTablet'] = ( isset( $button['lineHeightTablet'] ) ) ? $button['lineHeightTablet'] : '';
729
-
730
-
731
- if ( $attr['btn_count'] <= $key ) {
732
- break;
733
- }
734
-
735
- $selectors[' .uagb-buttons-repeater-' . $key] = array (
736
- 'font-size' => $button['size'] . $button['sizeType'],
737
- 'line-height' => $button['lineHeight'] . $button['lineHeightType'],
738
- 'font-family' => $attr['fontFamily'],
739
- 'font-weight' => $attr['fontWeight'],
740
- 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
741
- 'border-color' => $button['borderColor'],
742
- 'border-style' => $button['borderStyle'],
743
- 'border-radius' => UAGB_Helper::get_css_value( $button['borderRadius'], 'px' ),
744
- 'background' => $button['background']
745
- );
746
-
747
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
748
- 'background' => $button['hBackground'],
749
- 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
750
- 'border-color' => $button['borderHColor'],
751
- 'border-style' => $button['borderStyle'],
752
- );
753
-
754
- $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
755
- 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
756
- 'color' => $button['color']
757
- );
758
-
759
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
760
- 'color' => $button['hColor']
761
- );
762
-
763
- $m_selectors[' .uagb-buttons-repeater-' . $key] = array (
764
- 'font-size' => UAGB_Helper::get_css_value( $button['sizeMobile'], $button['sizeType'] ),
765
- 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightMobile'], $button['lineHeightType'] ),
766
- );
767
-
768
- $t_selectors[' .uagb-buttons-repeater-' . $key] = array (
769
- 'font-size' => UAGB_Helper::get_css_value( $button['sizeTablet'], $button['sizeType'] ),
770
- 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightTablet'], $button['lineHeightType'] ),
771
- );
772
- }
773
-
774
- if ( "desktop" == $attr['stack'] ) {
775
-
776
- $selectors[" .uagb-button__wrapper"] = array (
777
- 'margin-left' => 0,
778
- 'margin-right' => 0,
779
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
780
- );
781
-
782
- $selectors[" .uagb-buttons__wrap"] = array (
783
- "flex-direction" => "column"
784
- );
785
-
786
- $selectors[" .uagb-button__wrapper:last-child"] = array (
787
- "margin-bottom" => 0
788
- );
789
-
790
- } else if ( "tablet" == $attr['stack'] ) {
791
-
792
- $t_selectors[" .uagb-button__wrapper"] = array (
793
- 'margin-left' => 0,
794
- 'margin-right' => 0,
795
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
796
- );
797
-
798
- $t_selectors[" .uagb-buttons__wrap"] = array (
799
- "flex-direction" => "column"
800
- );
801
-
802
- $t_selectors[" .uagb-button__wrapper:last-child"] = array (
803
- "margin-bottom" => 0
804
- );
805
-
806
- } else if ( "mobile" == $attr['stack'] ) {
807
-
808
- $m_selectors[" .uagb-button__wrapper"] = array (
809
- 'margin-left' => 0,
810
- 'margin-right' => 0,
811
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
812
- );
813
-
814
- $m_selectors[" .uagb-buttons__wrap"] = array (
815
- "flex-direction" => "column"
816
- );
817
-
818
- $m_selectors[" .uagb-button__wrapper:last-child"] = array (
819
- "margin-bottom" => 0
820
- );
821
- }
822
-
823
- // @codingStandardsIgnoreEnd
824
-
825
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
826
-
827
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-buttons-' . $id );
828
-
829
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-buttons-' . $id );
830
-
831
- $generated_css = array(
832
- 'desktop' => $desktop,
833
- 'tablet' => $tablet,
834
- 'mobile' => $mobile,
835
- );
836
-
837
- return $generated_css;
838
- }
839
-
840
- /**
841
- * Get Info Box CSS
842
- *
843
- * @since 0.0.1
844
- * @param array $attr The block attributes.
845
- * @param string $id The selector ID.
846
- * @return array The Widget List.
847
- */
848
- public static function get_info_box_css( $attr, $id ) { // @codingStandardsIgnoreStart.
849
- $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
850
-
851
- $attr = array_merge( $defaults, (array) $attr );
852
-
853
- $m_selectors = array();
854
- $t_selectors = array();
855
-
856
- $selectors = array(
857
- ' .uagb-ifb-icon' => array(
858
- 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
859
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
860
- 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
861
- ),
862
- ' .uagb-ifb-icon > span' => array(
863
- 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
864
- 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
865
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
866
- 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
867
- 'color' => $attr['iconColor'],
868
- ),
869
- ' .uagb-ifb-icon svg' => array(
870
- 'fill' => $attr['iconColor'],
871
- ),
872
- ' .uagb-ifb-icon:hover > span' => array(
873
- 'color' => $attr['iconHover'] ,
874
- ),
875
- ' .uagb-ifb-icon:hover svg' => array(
876
- 'fill' => $attr['iconHover'] ,
877
- ),
878
-
879
- ' .uagb-infbox__link-to-all:hover ~ .uagb-infobox__content-wrap .uagb-ifb-icon svg' => array(
880
- 'fill' => $attr['iconHover'] ,
881
- ),
882
-
883
- ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
884
- 'margin-left' => UAGB_Helper::get_css_value( $attr['iconLeftMargin'], 'px' ),
885
- 'margin-right' => UAGB_Helper::get_css_value( $attr['iconRightMargin'], 'px' ),
886
- 'margin-top' => UAGB_Helper::get_css_value( $attr['iconTopMargin'], 'px' ),
887
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconBottomMargin'], 'px' ),
888
- ),
889
- ' .uagb-infobox .uagb-ifb-image-content img' => array(
890
- 'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
891
- ),
892
- // CTA style .
893
- ' .uagb-infobox-cta-link' => array(
894
- 'font-size' => $attr['ctaFontSize'].$attr['ctaFontSizeType'],
895
- 'font-family' => $attr['ctaFontFamily'],
896
- 'font-weight' => $attr['ctaFontWeight'],
897
- 'color' => $attr['ctaLinkColor'],
898
- ),
899
- ' .uagb-infobox-cta-link:hover' => array(
900
- 'color' => $attr['ctaLinkHoverColor'],
901
- ),
902
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
903
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
904
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
905
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
906
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
907
- ),
908
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
909
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
910
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
911
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
912
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
913
- ),
914
- ' .uagb-infobox-cta-link svg' => array(
915
- 'fill' => $attr['ctaLinkColor'],
916
- ),
917
- ' .uagb-infobox-cta-link:hover svg' => array(
918
- 'fill' => $attr['ctaLinkHoverColor'],
919
- ),
920
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
921
- 'color' => $attr['ctaBtnLinkColor'],
922
- 'background-color' => $attr['ctaBgColor'],
923
- 'border-style' => $attr['ctaBorderStyle'],
924
- 'border-color' => $attr['ctaBorderColor'],
925
- 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
926
- 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
927
- 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
928
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
929
- 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
930
- 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
931
-
932
- ),
933
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg' => array(
934
- 'fill' => $attr['ctaBtnLinkColor'],
935
- ),
936
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
937
- 'color' => $attr['ctaLinkHoverColor'],
938
- 'background-color' => $attr['ctaBgHoverColor'],
939
- 'border-color' => $attr['ctaBorderhoverColor'],
940
- ),
941
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg' => array(
942
- 'fill' => $attr['ctaLinkHoverColor'],
943
- ),
944
- // Prefix Style.
945
- ' .uagb-ifb-title-prefix' => array(
946
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
947
- 'font-family' => $attr['prefixFontFamily'],
948
- 'font-weight' => $attr['prefixFontWeight'],
949
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
950
- 'color' => $attr['prefixColor'],
951
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
952
- ),
953
- // Title Style.
954
- ' .uagb-ifb-title' => array(
955
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
956
- 'font-family' => $attr['headFontFamily'],
957
- 'font-weight' => $attr['headFontWeight'],
958
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
959
- 'color' => $attr['headingColor'],
960
- 'margin-bottom' => $attr['headSpace'] . 'px',
961
- ),
962
- // Description Style.
963
- ' .uagb-ifb-desc' => array(
964
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ) ,
965
- 'font-family' => $attr['subHeadFontFamily'],
966
- 'font-weight' => $attr['subHeadFontWeight'],
967
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
968
- 'color' => $attr['subHeadingColor'],
969
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
970
- ),
971
- // Seperator.
972
- ' .uagb-ifb-separator' => array(
973
- 'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
974
- 'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
975
- 'border-top-color' => $attr['seperatorColor'],
976
- 'border-top-style' => $attr['seperatorStyle'],
977
- ),
978
- ' .uagb-ifb-separator-parent' => array(
979
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
980
- ),
981
- // CTA icon space.
982
- ' .uagb-ifb-align-icon-after' => array(
983
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
984
- ),
985
- ' .uagb-ifb-align-icon-before' => array(
986
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
987
- ),
988
- );
989
-
990
- if ( $attr['imageWidthType'] ) {
991
- // Image.
992
- $selectors[' .uagb-ifb-image-content > img'] = array(
993
- 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
994
- 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
995
- );
996
- }
997
-
998
- if( 'above-title' === $attr['iconimgPosition'] || 'below-title' === $attr['iconimgPosition'] ){
999
- $selectors[' .uagb-infobox__content-wrap'] = array(
1000
- 'text-align' => $attr['headingAlign'],
1001
- );
1002
- }
1003
-
1004
- $m_selectors = array(
1005
- ' .uagb-ifb-title-prefix' => array(
1006
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1007
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
1008
- ),
1009
- ' .uagb-ifb-title' => array(
1010
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
1011
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
1012
- ),
1013
- ' .uagb-ifb-desc' => array(
1014
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
1015
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
1016
- ),
1017
- ' .uagb-infobox-cta-link' => array(
1018
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1019
- ),
1020
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1021
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1022
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1023
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1024
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1025
- ),
1026
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1027
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1028
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1029
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1030
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1031
- ),
1032
- );
1033
-
1034
- $t_selectors = array(
1035
- ' .uagb-ifb-title-prefix' => array(
1036
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1037
- ),
1038
- ' .uagb-ifb-title' => array(
1039
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
1040
- ),
1041
- ' .uagb-ifb-desc' => array(
1042
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
1043
- ),
1044
- ' .uagb-infobox-cta-link' => array(
1045
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1046
- ),
1047
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1048
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1049
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1050
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1051
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1052
- ),
1053
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1054
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1055
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1056
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1057
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1058
- ),
1059
- );
1060
-
1061
- // @codingStandardsIgnoreEnd.
1062
-
1063
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
1064
-
1065
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-infobox-' . $id );
1066
-
1067
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-infobox-' . $id );
1068
-
1069
- $generated_css = array(
1070
- 'desktop' => $desktop,
1071
- 'tablet' => $tablet,
1072
- 'mobile' => $mobile,
1073
- );
1074
-
1075
- return $generated_css;
1076
- }
1077
-
1078
- /**
1079
- * Get CTA CSS
1080
- *
1081
- * @since 1.7.0
1082
- * @param array $attr The block attributes.
1083
- * @param string $id The selector ID.
1084
- * @return array The Widget List.
1085
- */
1086
- public static function get_call_to_action_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1087
- $defaults = UAGB_Helper::$block_list['uagb/call-to-action']['attributes'];
1088
-
1089
- $attr = array_merge( $defaults, (array) $attr );
1090
-
1091
- $t_selectors = array();
1092
- $m_selectors = array();
1093
-
1094
- $selectors = array(
1095
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1096
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1097
- 'font-family' => $attr['ctaFontFamily'],
1098
- 'font-weight' => $attr['ctaFontWeight'],
1099
- 'color' => $attr['ctaBtnLinkColor'],
1100
- ),
1101
- ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-text ' => array(
1102
- 'color' => $attr['ctaLinkHoverColor'],
1103
- ),
1104
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1105
- 'font-size' => $attr['ctaFontSize']. $attr['ctaFontSizeType'],
1106
- 'font-family' => $attr['ctaFontFamily'],
1107
- 'font-weight' => $attr['ctaFontWeight'],
1108
- 'color' => $attr['ctaBtnLinkColor'],
1109
- 'background-color' => $attr['ctaBgColor'],
1110
- 'border-style' => $attr['ctaBorderStyle'],
1111
- 'border-color' => $attr['ctaBorderColor'],
1112
- 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
1113
- 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
1114
- 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1115
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1116
- 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1117
- 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1118
- ),
1119
- ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-button' => array(
1120
- 'color' => $attr['ctaLinkHoverColor'],
1121
- 'background-color' => $attr['ctaBgHoverColor'],
1122
- 'border-color' => $attr['ctaBorderhoverColor'],
1123
- ),
1124
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1125
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1126
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1127
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1128
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1129
- ),
1130
- ' .uagb-cta__button-wrapper .uagb-cta__block-link svg' => array(
1131
- 'fill' => $attr['ctaBtnLinkColor'],
1132
- ),
1133
- ' .uagb-cta__button-wrapper:hover .uagb-cta__block-link svg' => array(
1134
- 'fill' => $attr['ctaLinkHoverColor'],
1135
- ),
1136
- ' .uagb-cta__title' => array(
1137
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1138
- 'font-family' => $attr['titleFontFamily'],
1139
- 'font-weight' => $attr['titleFontWeight'],
1140
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1141
- 'color' => $attr['titleColor'],
1142
- 'margin-bottom' => $attr['titleSpace']. "px",
1143
- ),
1144
- ' .uagb-cta__desc' => array(
1145
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1146
- 'font-family' => $attr['descFontFamily'],
1147
- 'font-weight' => $attr['descFontWeight'],
1148
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1149
- 'color' => $attr['descColor'],
1150
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1151
- ),
1152
- ' .uagb-cta__align-button-after' => array(
1153
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1154
- ),
1155
- ' .uagb-cta__align-button-before' => array(
1156
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1157
- ),
1158
- );
1159
-
1160
- $selectors[' .uagb-cta__content-wrap'] = array(
1161
- 'text-align' => $attr['textAlign'],
1162
- );
1163
-
1164
- if( 'left' === $attr['textAlign'] && "right" === $attr['ctaPosition'] ){
1165
- $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1166
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaLeftSpace'], 'px' ),
1167
- 'margin-right' => '0',
1168
- );
1169
- }
1170
-
1171
- if( 'right' === $attr['textAlign'] && 'right' === $attr['ctaPosition'] ){
1172
- $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1173
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaRightSpace'], 'px' ),
1174
- 'margin-left' => '0',
1175
- );
1176
- }
1177
-
1178
- if( $attr['ctaPosition'] === "right" && ( $attr['ctaType'] === 'text' || $attr['ctaType'] === 'button' ) ){
1179
- $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content"] = array(
1180
- "width" => UAGB_Helper::get_css_value( $attr['contentWidth'], '%' ),
1181
- );
1182
-
1183
- $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper"] = array(
1184
- "width" => UAGB_Helper::get_css_value( (100 - $attr['contentWidth'] ), '%' ),
1185
- );
1186
- }
1187
-
1188
- $t_selectors = array(
1189
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1190
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1191
- ),
1192
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1193
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1194
- ),
1195
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1196
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1197
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1198
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1199
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1200
- ),
1201
- ' .uagb-cta__title' => array(
1202
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1203
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
1204
- ),
1205
- ' .uagb-cta__desc' => array(
1206
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1207
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1208
- ),
1209
- );
1210
-
1211
- $m_selectors = array(
1212
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1213
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1214
- ),
1215
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1216
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1217
- ),
1218
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1219
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1220
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1221
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1222
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1223
- ),
1224
- ' .uagb-cta__title' => array(
1225
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'],$attr['titleFontSizeType'] ),
1226
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'],$attr['titleLineHeightType'] ),
1227
- ),
1228
- ' .uagb-cta__desc' => array(
1229
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'],$attr['descFontSizeType'] ),
1230
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1231
- ),
1232
- );
1233
-
1234
- // @codingStandardsIgnoreEnd.
1235
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cta-block-' . $id );
1236
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cta-block-' . $id );
1237
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cta-block-' . $id );
1238
-
1239
- $generated_css = array(
1240
- 'desktop' => $desktop,
1241
- 'tablet' => $tablet,
1242
- 'mobile' => $mobile,
1243
- );
1244
-
1245
- return $generated_css;
1246
- }
1247
-
1248
- /**
1249
- * Get Testimonial CSS
1250
- *
1251
- * @since 0.0.1
1252
- * @param array $attr The block attributes.
1253
- * @param string $id The selector ID.
1254
- * @return array The Widget List.
1255
- */
1256
- public static function get_testimonial_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1257
-
1258
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
1259
-
1260
- $attr = array_merge( $defaults, (array) $attr );
1261
-
1262
- $img_align = 'center';
1263
- if( 'left' === $attr['headingAlign']){
1264
- $img_align = 'flex-start';
1265
- }else if( 'right' === $attr['headingAlign']){
1266
- $img_align = 'flex-end';
1267
- }
1268
-
1269
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
1270
-
1271
- $selectors = array(
1272
- ' .uagb-testimonial__wrap' => array(
1273
- 'padding-left' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1274
- 'padding-right' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1275
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
1276
- ),
1277
- ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
1278
- 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1279
- 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1280
- 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1281
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1282
- ),
1283
- ' .uagb-tm__image img' => array(
1284
- 'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1285
- 'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1286
- ),
1287
- ' .uagb-tm__content' => array(
1288
- 'text-align' => $attr['headingAlign'],
1289
- 'padding' => UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
1290
- ),
1291
- ' .uagb-tm__author-name' => array(
1292
- 'color' => $attr['authorColor'],
1293
- 'font-size' => $attr['nameFontSize'] . $attr['nameFontSizeType'],
1294
- 'font-family' => $attr['nameFontFamily'],
1295
- 'font-weight' => $attr['nameFontWeight'],
1296
- 'line-height' => $attr['nameLineHeight'] . $attr['nameLineHeightType'],
1297
- 'margin-bottom' => $attr['nameSpace'] . 'px',
1298
- ),
1299
- ' .uagb-tm__company' => array(
1300
- 'color' => $attr['companyColor'],
1301
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSize'], $attr['companyFontSizeType'] ),
1302
- 'font-family' => $attr['companyFontFamily'],
1303
- 'font-weight' => $attr['companyFontWeight'],
1304
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeight'], $attr['companyLineHeightType'] ),
1305
- ),
1306
- ' .uagb-tm__desc' => array(
1307
- 'color' => $attr['descColor'],
1308
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1309
- 'font-family' => $attr['descFontFamily'],
1310
- 'font-weight' => $attr['descFontWeight'],
1311
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1312
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1313
- ),
1314
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
1315
- 'background-color' => $attr['backgroundColor'],
1316
- ),
1317
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
1318
- 'background-image' => ( isset( $attr['backgroundImage']['url'] ) && isset( $attr['backgroundImage']['url'] ) ) ? 'url("'.$attr['backgroundImage']['url'].'")' : null,
1319
- 'background-position'=> $position,
1320
- 'background-repeat'=> $attr['backgroundRepeat'],
1321
- 'background-size'=> $attr['backgroundSize'],
1322
- ),
1323
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
1324
- 'background-color' => $attr['backgroundImageColor'],
1325
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? ( ( 100 - $attr['backgroundOpacity'] ) / 100 ) : '0.5',
1326
- ),
1327
- ' .uagb-testimonial__wrap .uagb-tm__content' => array(
1328
- 'border-color' => $attr['borderColor'],
1329
- 'border-style' => $attr['borderStyle'],
1330
- 'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
1331
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1332
- ),
1333
- ' ul.slick-dots li button:before' => array(
1334
- 'color' => $attr['arrowColor'],
1335
- ),
1336
- ' ul.slick-dots li.slick-active button:before' => array(
1337
- 'color' => $attr['arrowColor'],
1338
- ),
1339
- ' .uagb-tm__image-position-top .uagb-tm__image-content' => array(
1340
- 'justify-content' => $img_align,
1341
- ),
1342
- );
1343
-
1344
- if( 'dots' === $attr['arrowDots'] ){
1345
- $selectors['.uagb-slick-carousel'] = array(
1346
- 'padding' => '0 0 35px 0',
1347
- );
1348
- }
1349
-
1350
- if( '1' === $attr['test_item_count'] || $attr['test_item_count'] === $attr['columns'] ){
1351
- $selectors['.uagb-slick-carousel'] = array(
1352
- 'padding' => 0,
1353
- );
1354
- }
1355
-
1356
- $t_selectors = array(
1357
- ' .uagb-tm__author-name' => array(
1358
- 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeTablet'], $attr['nameFontSizeType'] ),
1359
- 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightTablet'], $attr['nameLineHeightType'] ),
1360
- ),
1361
- ' .uagb-tm__company' => array(
1362
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeTablet'], $attr['companyFontSizeType'] ),
1363
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightTablet'], $attr['companyLineHeightType'] ),
1364
- ),
1365
- ' .uagb-tm__desc' => array(
1366
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1367
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1368
- ),
1369
- );
1370
-
1371
- $m_selectors = array(
1372
- ' .uagb-tm__author-name' => array(
1373
- 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeMobile'], $attr['nameFontSizeType'] ),
1374
- 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightMobile'], $attr['nameLineHeightType'] ),
1375
- ),
1376
- ' .uagb-tm__company' => array(
1377
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeMobile'], $attr['companyFontSizeType'] ),
1378
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightMobile'], $attr['companyLineHeightType'] ),
1379
- ),
1380
- ' .uagb-tm__desc' => array(
1381
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1382
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1383
- ),
1384
- ' .uagb-tm__content' => array(
1385
- 'text-align' => 'center',
1386
- )
1387
- );
1388
-
1389
-
1390
- // @codingStandardsIgnoreEnd.
1391
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
1392
-
1393
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-testimonial-' . $id );
1394
-
1395
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-testimonial-' . $id );
1396
-
1397
- $generated_css = array(
1398
- 'desktop' => $desktop,
1399
- 'tablet' => $tablet,
1400
- 'mobile' => $mobile,
1401
- );
1402
-
1403
- return $generated_css;
1404
- }
1405
-
1406
- /**
1407
- * Get Team Block CSS
1408
- *
1409
- * @since 0.0.1
1410
- * @param array $attr The block attributes.
1411
- * @param string $id The selector ID.
1412
- * @return array The Widget List.
1413
- */
1414
- public static function get_team_css( $attr, $id ) { // @codingStandardsIgnoreStart
1415
-
1416
- $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
1417
-
1418
- $attr = array_merge( $defaults, (array) $attr );
1419
-
1420
- $m_selectors = array();
1421
- $t_selectors = array();
1422
-
1423
- $selectors = array(
1424
- " p.uagb-team__desc" => array(
1425
- "font-family" => $attr['descFontFamily'],
1426
- "font-weight" => $attr['descFontWeight'],
1427
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1428
- "line-height" => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1429
- "color" => $attr['descColor'],
1430
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1431
- ),
1432
- " .uagb-team__prefix" => array(
1433
- "font-family" => $attr['prefixFontFamily'],
1434
- "font-weight" => $attr['prefixFontWeight'],
1435
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
1436
- "line-height" => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
1437
- "color" => $attr['prefixColor'],
1438
- ),
1439
- " .uagb-team__desc-wrap" => array(
1440
- "margin-top" => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
1441
- ),
1442
- " .uagb-team__social-icon a" => array(
1443
- "color" => $attr['socialColor'],
1444
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1445
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1446
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1447
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1448
- ),
1449
- " .uagb-team__social-icon svg" => array(
1450
- "fill" => $attr['socialColor'],
1451
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1452
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1453
- ),
1454
- " .uagb-team__social-icon:hover a" => array(
1455
- "color" => $attr['socialHoverColor'],
1456
- ),
1457
- " .uagb-team__social-icon:hover svg" => array(
1458
- "fill" => $attr['socialHoverColor'],
1459
- ),
1460
- ".uagb-team__image-position-left .uagb-team__social-icon" => array(
1461
- "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1462
- "margin-left" => "0",
1463
- ),
1464
- ".uagb-team__image-position-right .uagb-team__social-icon" => array(
1465
- "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1466
- "margin-right" => "0",
1467
- ),
1468
- ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
1469
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1470
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1471
- ),
1472
- ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
1473
- "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1474
- "margin-left" => "0",
1475
- ),
1476
- ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
1477
- "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1478
- "margin-right" => "0",
1479
- ),
1480
- " .uagb-team__image-wrap" => array(
1481
- "margin-top" => UAGB_Helper::get_css_value( $attr['imgTopMargin'], 'px' ),
1482
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['imgBottomMargin'], 'px' ),
1483
- "margin-left" => UAGB_Helper::get_css_value( $attr['imgLeftMargin'], 'px' ),
1484
- "margin-right" => UAGB_Helper::get_css_value( $attr['imgRightMargin'], 'px' ),
1485
- "width" => UAGB_Helper::get_css_value( $attr['imgWidth'], 'px' )
1486
- ),
1487
- );
1488
-
1489
- if( 'above' == $attr['imgPosition'] ) {
1490
- if ( 'center' == $attr['align'] ) {
1491
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1492
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1493
- } else if ( 'left' == $attr['align'] ) {
1494
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1495
- } else if ( 'right' == $attr['align'] ) {
1496
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1497
- }
1498
- }
1499
-
1500
- if ( "above" != $attr['imgPosition'] ) {
1501
- if ( "middle" == $attr['imgAlign'] ) {
1502
- $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
1503
- }
1504
- }
1505
-
1506
- $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1507
- "font-family" => $attr['titleFontFamily'],
1508
- "font-weight" => $attr['titleFontWeight'],
1509
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1510
- "line-height" => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1511
- "color" => $attr['titleColor'],
1512
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
1513
- );
1514
-
1515
- $m_selectors = array(
1516
- " p.uagb-team__desc" => array(
1517
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1518
- ),
1519
- " .uagb-team__prefix" => array(
1520
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1521
- ),
1522
- " .uagb-team__social-icon a" => array(
1523
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1524
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1525
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1526
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1527
- ),
1528
- " .uagb-team__social-icon svg" => array(
1529
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1530
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1531
- ),
1532
- );
1533
-
1534
- $t_selectors = array(
1535
- " p.uagb-team__desc" => array(
1536
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1537
- ),
1538
- " .uagb-team__prefix" => array(
1539
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1540
- ),
1541
- " .uagb-team__social-icon a" => array(
1542
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1543
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1544
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1545
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1546
- ),
1547
- " .uagb-team__social-icon svg" => array(
1548
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1549
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1550
- ),
1551
- );
1552
-
1553
- $m_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1554
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
1555
- );
1556
-
1557
- $t_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1558
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1559
- );
1560
-
1561
- // @codingStandardsIgnoreEnd
1562
-
1563
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
1564
-
1565
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-team-' . $id );
1566
-
1567
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-team-' . $id );
1568
-
1569
- $generated_css = array(
1570
- 'desktop' => $desktop,
1571
- 'tablet' => $tablet,
1572
- 'mobile' => $mobile,
1573
- );
1574
-
1575
- return $generated_css;
1576
- }
1577
-
1578
- /**
1579
- * Get Social Share Block CSS
1580
- *
1581
- * @since 0.0.1
1582
- * @param array $attr The block attributes.
1583
- * @param string $id The selector ID.
1584
- * @return array The Widget List.
1585
- */
1586
- public static function get_social_share_css( $attr, $id ) { // @codingStandardsIgnoreStart
1587
-
1588
- $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
1589
-
1590
- $attr = array_merge( $defaults, (array) $attr );
1591
-
1592
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1593
-
1594
- $m_selectors = array();
1595
- $t_selectors = array();
1596
-
1597
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
1598
- "margin-left" => 0,
1599
- "margin-right" => 0,
1600
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1601
- );
1602
-
1603
- $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
1604
- "flex-direction" => "column"
1605
- );
1606
-
1607
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
1608
- "margin-bottom" => 0
1609
- );
1610
-
1611
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1612
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1613
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1614
- );
1615
-
1616
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
1617
- "margin-left" => 0
1618
- );
1619
-
1620
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
1621
- "margin-right" => 0
1622
- );
1623
-
1624
- $selectors[" .uagb-ss__wrapper"] = array(
1625
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
1626
- );
1627
-
1628
- $selectors[" .uagb-ss__source-wrap"] = array(
1629
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1630
- );
1631
-
1632
- $selectors[" .uagb-ss__source-wrap svg"] = array(
1633
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1634
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1635
- );
1636
-
1637
- $selectors[" .uagb-ss__source-image"] = array(
1638
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1639
- );
1640
-
1641
- $selectors[" .uagb-ss__source-icon"] = array(
1642
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1643
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1644
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1645
- "line-height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1646
- );
1647
-
1648
-
1649
- $t_selectors[" .uagb-ss__source-wrap"] = array(
1650
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1651
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1652
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1653
- );
1654
-
1655
- $t_selectors[" .uagb-ss__source-wrap svg"] = array(
1656
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1657
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1658
- );
1659
-
1660
- $t_selectors[" .uagb-ss__source-image"] = array(
1661
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1662
- );
1663
-
1664
- $t_selectors[" .uagb-ss__source-icon"] = array(
1665
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1666
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1667
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1668
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1669
- );
1670
- $t_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1671
- "margin-left" => 0,
1672
- "margin-right" => 0
1673
- );
1674
-
1675
-
1676
- $m_selectors[" .uagb-ss__source-wrap"] = array(
1677
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1678
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1679
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1680
- );
1681
-
1682
- $m_selectors[" .uagb-ss__source-wrap svg"] = array(
1683
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1684
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1685
- );
1686
-
1687
- $m_selectors[" .uagb-ss__source-image"] = array(
1688
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1689
- );
1690
-
1691
- $m_selectors[" .uagb-ss__source-icon"] = array(
1692
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1693
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1694
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1695
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1696
- );
1697
- $m_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1698
- "margin-left" => 0,
1699
- "margin-right" => 0
1700
- );
1701
-
1702
-
1703
- foreach ( $attr['socials'] as $key => $social ) {
1704
-
1705
- $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
1706
- $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
1707
-
1708
- if ( $attr['social_count'] <= $key ) {
1709
- break;
1710
- }
1711
-
1712
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1713
- "color" => $social['icon_color'],
1714
- "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], $attr['bgSizeType'] )
1715
- );
1716
-
1717
- $m_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1718
- "padding" => UAGB_Helper::get_css_value( $attr['bgSizeMobile'], $attr['bgSizeType'] )
1719
- );
1720
-
1721
- $t_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1722
- "padding" => UAGB_Helper::get_css_value( $attr['bgSizeTablet'], $attr['bgSizeType'] )
1723
- );
1724
-
1725
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link svg"] = array (
1726
- "fill" => $social['icon_color'],
1727
- );
1728
-
1729
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
1730
- "color" => $social['icon_hover_color']
1731
- );
1732
-
1733
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link svg"] = array (
1734
- "fill" => $social['icon_hover_color']
1735
- );
1736
-
1737
- $selectors[" .uagb-ss-repeater-" . $key] = array (
1738
- "background" => $social['icon_bg_color']
1739
- );
1740
-
1741
- $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
1742
- "background" => $social['icon_bg_hover_color']
1743
- );
1744
- }
1745
-
1746
- $selectors[" .uagb-social-share__wrap"] = array(
1747
- "justify-content" => $alignment,
1748
- "-webkit-box-pack" => $alignment,
1749
- "-ms-flex-pack" => $alignment,
1750
- "justify-content" => $alignment,
1751
- "-webkit-box-align" => $alignment,
1752
- "-ms-flex-align" => $alignment,
1753
- "align-items" => $alignment,
1754
- );
1755
-
1756
- if ( 'horizontal' == $attr['social_layout'] ) {
1757
-
1758
- if ( "desktop" == $attr['stack'] ) {
1759
-
1760
- $selectors[" .uagb-ss__wrapper"] = array (
1761
- "margin-left" => 0,
1762
- "margin-right" => 0,
1763
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1764
- );
1765
-
1766
- $selectors[" .uagb-social-share__wrap"] = array (
1767
- "flex-direction" => "column"
1768
- );
1769
-
1770
- $selectors[" .uagb-ss__wrapper:last-child"] = array (
1771
- "margin-bottom" => 0
1772
- );
1773
-
1774
- } else if ( "tablet" == $attr['stack'] ) {
1775
-
1776
- $t_selectors[" .uagb-ss__wrapper"] = array (
1777
- "margin-left" => 0,
1778
- "margin-right" => 0,
1779
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1780
- );
1781
-
1782
- $t_selectors[" .uagb-social-share__wrap"] = array (
1783
- "flex-direction" => "column"
1784
- );
1785
-
1786
- $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
1787
- "margin-bottom" => 0
1788
- );
1789
-
1790
- } else if ( "mobile" == $attr['stack'] ) {
1791
-
1792
- $m_selectors[" .uagb-ss__wrapper"] = array (
1793
- "margin-left" => 0,
1794
- "margin-right" => 0,
1795
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1796
- );
1797
-
1798
- $m_selectors[" .uagb-social-share__wrap"] = array (
1799
- "flex-direction" => "column"
1800
- );
1801
-
1802
- $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
1803
- "margin-bottom" => 0
1804
- );
1805
- }
1806
- }
1807
-
1808
- // @codingStandardsIgnoreEnd
1809
-
1810
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
1811
-
1812
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-social-share-' . $id );
1813
-
1814
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-social-share-' . $id );
1815
-
1816
- $generated_css = array(
1817
- 'desktop' => $desktop,
1818
- 'tablet' => $tablet,
1819
- 'mobile' => $mobile,
1820
- );
1821
-
1822
- return $generated_css;
1823
- }
1824
-
1825
- /**
1826
- * Get Icon List Block CSS
1827
- *
1828
- * @since 0.0.1
1829
- * @param array $attr The block attributes.
1830
- * @param string $id The selector ID.
1831
- * @return array The Widget List.
1832
- */
1833
- public static function get_icon_list_css( $attr, $id ) { // @codingStandardsIgnoreStart
1834
-
1835
- $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
1836
-
1837
- $attr = array_merge( $defaults, (array) $attr );
1838
-
1839
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1840
-
1841
- $m_selectors = array();
1842
- $t_selectors = array();
1843
-
1844
- $selectors = array(
1845
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper" => array(
1846
- "margin-left" => 0,
1847
- "margin-right" => 0,
1848
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1849
- ),
1850
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrap" => array(
1851
- "flex-direction" => "column"
1852
- ),
1853
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child" => array(
1854
- "margin-bottom" => 0
1855
- ),
1856
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper" => array(
1857
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1858
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1859
- ),
1860
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child" => array(
1861
- "margin-left" => 0
1862
- ),
1863
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child" => array(
1864
- "margin-right" => 0
1865
- ),
1866
- // Desktop Icon Size CSS starts.
1867
- " .uagb-icon-list__source-image" => array(
1868
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1869
- ),
1870
- " .uagb-icon-list__source-icon" => array(
1871
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1872
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1873
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1874
- ),
1875
- " .uagb-icon-list__source-icon svg" => array(
1876
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1877
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1878
- ),
1879
- " .uagb-icon-list__source-icon:before"=> array(
1880
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1881
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1882
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1883
- ),
1884
- " .uagb-icon-list__label-wrap"=> array(
1885
- "text-align" => $attr['align']
1886
- ),
1887
-
1888
- " .uagb-icon-list__source-wrap"=> array(
1889
- "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], 'px' ),
1890
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1891
- "border-style" => ( $attr['border'] > 0 ) ? 'solid' : '',
1892
- "border-width" => UAGB_Helper::get_css_value( $attr['border'], 'px' )
1893
- ),
1894
- " .uagb-icon-list__wrap"=> array(
1895
- "justify-content" => $alignment,
1896
- "-webkit-box-pack" => $alignment,
1897
- "-ms-flex-pack" => $alignment,
1898
- "justify-content" => $alignment,
1899
- "-webkit-box-align" => $alignment,
1900
- "-ms-flex-align" => $alignment,
1901
- "align-items" => $alignment,
1902
- )
1903
- );
1904
-
1905
- if ( 'right' == $attr['align'] ) {
1906
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1907
- "margin-left" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1908
- );
1909
- $selectors[" .uagb-icon-list__content-wrap"] = array(
1910
- "flex-direction" => "row-reverse"
1911
- );
1912
- } else {
1913
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1914
- "margin-right" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1915
- );
1916
- }
1917
- // Desktop Icon Size CSS ends.
1918
-
1919
- // Mobile Icon Size CSS starts.
1920
- $m_selectors = array(
1921
- " .uagb-icon-list__source-image" => array(
1922
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1923
- ),
1924
- " .uagb-icon-list__source-icon" => array(
1925
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1926
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1927
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1928
- ),
1929
- " .uagb-icon-list__source-icon svg" => array(
1930
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1931
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1932
- ),
1933
- " .uagb-icon-list__source-icon:before" => array(
1934
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1935
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1936
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1937
- ),
1938
- );
1939
- // Mobile Icon Size CSS ends.
1940
-
1941
- // Tablet Icon Size CSS starts.
1942
- $t_selectors = array(
1943
- " .uagb-icon-list__source-image" => array(
1944
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1945
- ),
1946
- " .uagb-icon-list__source-icon" => array(
1947
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1948
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1949
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1950
- ),
1951
- " .uagb-icon-list__source-icon svg" => array(
1952
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1953
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1954
- ),
1955
- " .uagb-icon-list__source-icon:before" => array(
1956
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1957
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1958
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1959
- ),
1960
- );
1961
- // Tablet Icon Size CSS ends.
1962
-
1963
- foreach ( $attr['icons'] as $key => $icon ) {
1964
-
1965
- $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
1966
- $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
1967
- $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
1968
- $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
1969
- $icon['icon_border_color'] = ( isset( $icon['icon_border_color'] ) ) ? $icon['icon_border_color'] : '';
1970
- $icon['icon_border_hover_color'] = ( isset( $icon['icon_border_hover_color'] ) ) ? $icon['icon_border_hover_color'] : '';
1971
- $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
1972
- $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
1973
-
1974
- if ( $attr['icon_count'] <= $key ) {
1975
- break;
1976
- }
1977
-
1978
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
1979
- "color" => $icon['icon_color']
1980
- );
1981
-
1982
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon svg"] = array (
1983
- "fill" => $icon['icon_color']
1984
- );
1985
-
1986
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
1987
- "color" => $icon['icon_hover_color']
1988
- );
1989
-
1990
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon svg"] = array (
1991
- "fill" => $icon['icon_hover_color']
1992
- );
1993
-
1994
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1995
- "color" => $icon['label_color'],
1996
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSize'], $attr['fontSizeType'] ),
1997
- 'font-family' => $attr['fontFamily'],
1998
- 'font-weight' => $attr['fontWeight'],
1999
- 'line-height' => $attr['lineHeight'] . $attr['lineHeightType'],
2000
- );
2001
-
2002
- $m_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2003
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
2004
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
2005
- );
2006
-
2007
- $t_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2008
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
2009
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
2010
- );
2011
-
2012
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
2013
- "color" => $icon['label_hover_color']
2014
- );
2015
-
2016
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
2017
- "background" => $icon['icon_bg_color'],
2018
- "border-color" => $icon['icon_border_color'],
2019
- );
2020
-
2021
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
2022
- "background" => $icon['icon_bg_hover_color'],
2023
- "border-color" => $icon['icon_border_hover_color']
2024
- );
2025
- }
2026
-
2027
- if ( 'horizontal' == $attr['icon_layout'] ) {
2028
-
2029
- if ( "tablet" == $attr['stack'] ) {
2030
-
2031
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2032
- "margin-left" => 0,
2033
- "margin-right" => 0,
2034
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2035
- );
2036
-
2037
- $t_selectors[" .uagb-icon-list__wrap"] = array (
2038
- "flex-direction" => "column"
2039
- );
2040
-
2041
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2042
- "margin-bottom" => 0
2043
- );
2044
-
2045
- } else if ( "mobile" == $attr['stack'] ) {
2046
-
2047
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2048
- "margin-left" => 0,
2049
- "margin-right" => 0,
2050
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2051
- );
2052
-
2053
- $m_selectors[" .uagb-icon-list__wrap"] = array (
2054
- "flex-direction" => "column"
2055
- );
2056
-
2057
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2058
- "margin-bottom" => 0
2059
- );
2060
- }
2061
- }
2062
-
2063
- // @codingStandardsIgnoreEnd
2064
-
2065
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
2066
-
2067
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-icon-list-' . $id );
2068
-
2069
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-icon-list-' . $id );
2070
-
2071
- $generated_css = array(
2072
- 'desktop' => $desktop,
2073
- 'tablet' => $tablet,
2074
- 'mobile' => $mobile,
2075
- );
2076
-
2077
- return $generated_css;
2078
- }
2079
-
2080
- /**
2081
- * Get Content Timeline Block CSS
2082
- *
2083
- * @since 0.0.1
2084
- * @param array $attr The block attributes.
2085
- * @param string $id The selector ID.
2086
- * @return array The Widget List.
2087
- */
2088
- public static function get_content_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2089
-
2090
- $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
2091
-
2092
- $attr = array_merge( $defaults, (array) $attr );
2093
-
2094
- $selectors = array();
2095
- $t_selectors = array();
2096
- $m_selectors = array();
2097
-
2098
- $selectors = array(
2099
- " .uagb-timeline__heading" => array(
2100
- "text-align" => $attr['align'],
2101
- "color" => $attr['headingColor'],
2102
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2103
- 'font-family' => $attr['headFontFamily'],
2104
- 'font-weight' => $attr['headFontWeight'],
2105
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2106
- ),
2107
- " .uagb-timeline__heading-text" => array(
2108
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2109
- ),
2110
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2111
- 'color'=> $attr['iconFocus'],
2112
- ),
2113
- );
2114
-
2115
- $desktop_selectors = self::get_timeline_selectors( $attr );
2116
- $selectors = array_merge( $selectors, $desktop_selectors );
2117
-
2118
- $t_selectors = array(
2119
- " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2120
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2121
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2122
- ),
2123
- " .uagb-timeline__date-new" => array(
2124
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2125
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2126
- ),
2127
- " .uagb-timeline__heading" => array(
2128
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2129
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2130
- ),
2131
- " .uagb-timeline-desc-content" => array(
2132
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2133
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
2134
- ),
2135
- );
2136
-
2137
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2138
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2139
-
2140
- $m_selectors = array(
2141
- " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2142
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2143
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2144
- ),
2145
- " .uagb-timeline__date-new" => array(
2146
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2147
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2148
- ),
2149
- " .uagb-timeline__heading" => array(
2150
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2151
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2152
- ),
2153
- " .uagb-timeline-desc-content" => array(
2154
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2155
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
2156
- ),
2157
- );
2158
-
2159
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2160
-
2161
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2162
-
2163
- // @codingStandardsIgnoreEnd
2164
-
2165
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2166
-
2167
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2168
-
2169
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2170
-
2171
- $generated_css = array(
2172
- 'desktop' => $desktop,
2173
- 'tablet' => $tablet,
2174
- 'mobile' => $mobile,
2175
- );
2176
-
2177
- return $generated_css;
2178
- }
2179
-
2180
- /**
2181
- * Get Content Timeline Block CSS
2182
- *
2183
- * @since 0.0.1
2184
- * @param array $attr The block attributes.
2185
- * @param string $id The selector ID.
2186
- * @return array The Widget List.
2187
- */
2188
- public static function get_post_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2189
-
2190
- $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
2191
-
2192
- $attr = array_merge( $defaults, (array) $attr );
2193
- $t_selectors = array();
2194
-
2195
- $selectors = array(
2196
- " .uagb-timeline__heading" => array(
2197
- "text-align" => $attr['align'],
2198
- ),
2199
- " .uagb-timeline__author" => array(
2200
- "text-align" => $attr['align'],
2201
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['authorSpace'], 'px' )
2202
- ),
2203
- " .uagb-timeline__link_parent" => array(
2204
- "text-align" => $attr['align'],
2205
- ),
2206
- " .uagb-timeline__image a" => array(
2207
- "text-align" => $attr['align'],
2208
- ),
2209
- " .uagb-timeline__author-link" => array(
2210
- "color" => $attr['authorColor'],
2211
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2212
- 'font-family' => $attr['authorFontFamily'],
2213
- 'font-weight' => $attr['authorFontWeight'],
2214
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2215
- ),
2216
- " .dashicons-admin-users" => array(
2217
- "color" => $attr['authorColor'],
2218
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2219
- 'font-weight' => $attr['authorFontWeight'],
2220
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2221
- ),
2222
- " .uagb-timeline__link" => array(
2223
- "color" => $attr['ctaColor'],
2224
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2225
- 'font-family' => $attr['ctaFontFamily'],
2226
- 'font-weight' => $attr['ctaFontWeight'],
2227
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2228
- "background-color" => $attr['ctaBackground'],
2229
- ),
2230
- " .uagb-timeline__heading a" => array(
2231
- "text-align" => $attr['align'],
2232
- "color" => $attr['headingColor'],
2233
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2234
- 'font-family' => $attr['headFontFamily'],
2235
- 'font-weight' => $attr['headFontWeight'],
2236
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2237
- ),
2238
- " .uagb-timeline__heading-text" => array(
2239
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2240
- ),
2241
- " .uagb_timeline__cta-enable .uagb-timeline-desc-content" => array(
2242
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['contentSpace'], 'px' ),
2243
- ),
2244
- ' .uagb-content' => array(
2245
- 'padding'=> UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
2246
- ),
2247
- );
2248
-
2249
-
2250
-
2251
- $desktop_selectors = self::get_timeline_selectors( $attr );
2252
- $selectors = array_merge( $selectors, $desktop_selectors );
2253
-
2254
- $t_selectors = array(
2255
- " .uagb-timeline__author-link" => array(
2256
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2257
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2258
- ),
2259
- " .dashicons-admin-users" => array(
2260
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2261
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2262
- ),
2263
- " .uagb-timeline__link" => array(
2264
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2265
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2266
- ),
2267
- " .uagb-timeline__heading a" => array(
2268
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2269
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2270
- ),
2271
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2272
- "text-align" => 'left',
2273
- ),
2274
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2275
- "text-align" => 'left',
2276
- ),
2277
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a" => array(
2278
- 'text-align' => 'left',
2279
- ),
2280
- );
2281
-
2282
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2283
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2284
-
2285
- // Mobile responsive CSS.
2286
- $m_selectors = array(
2287
- " .uagb-timeline__author-link" => array(
2288
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2289
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2290
- ),
2291
- " .dashicons-admin-users" => array(
2292
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2293
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2294
- ),
2295
- " .uagb-timeline__link" => array(
2296
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2297
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2298
- ),
2299
- " .uagb-timeline__heading a" => array(
2300
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2301
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2302
- ),
2303
- " .uagb-timeline__heading" => array(
2304
- "text-align" => $attr['align'],
2305
- ),
2306
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2307
- "text-align" => 'left',
2308
- ),
2309
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2310
- "text-align" => 'left',
2311
- ),
2312
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a" => array(
2313
- 'text-align' => 'left',
2314
- ),
2315
- );
2316
-
2317
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2318
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2319
-
2320
- // @codingStandardsIgnoreEnd
2321
-
2322
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2323
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2324
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2325
-
2326
- $generated_css = array(
2327
- 'desktop' => $desktop,
2328
- 'tablet' => $tablet,
2329
- 'mobile' => $mobile,
2330
- );
2331
-
2332
- return $generated_css;
2333
- }
2334
-
2335
- /**
2336
- * Get Restaurant Menu Block CSS
2337
- *
2338
- * @since 1.0.2
2339
- * @param array $attr The block attributes.
2340
- * @param string $id The selector ID.
2341
- * @return array The Widget List.
2342
- */
2343
- public static function get_restaurant_menu_css( $attr, $id ) { // @codingStandardsIgnoreStart
2344
-
2345
- $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
2346
-
2347
- $attr = array_merge( $defaults, (array) $attr );
2348
-
2349
- $m_selectors = array();
2350
- $t_selectors = array();
2351
-
2352
- $align = $attr['headingAlign'];
2353
- if( 'left' === $align ){
2354
- $align = 'flex-start';
2355
- }else if( 'right' === $align ){
2356
- $align = 'flex-end';
2357
- }
2358
-
2359
- $selectors = array(
2360
- " .uagb-rest_menu__wrap" => array(
2361
- 'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2362
- 'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2363
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' )
2364
- ),
2365
- " .uagb-rest_menu__wrap .uagb-rm__image-content" => array(
2366
- 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2367
- 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2368
- 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2369
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2370
- ),
2371
- " .uagb-rm__image img" => array(
2372
- 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2373
- 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2374
- ),
2375
- " .uagb-rm__separator-parent" => array(
2376
- 'justify-content' => $align,
2377
- ),
2378
- " .uagb-rm__content" => array(
2379
- 'text-align' => $attr['headingAlign'] ,
2380
- 'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2381
- 'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2382
- 'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2383
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2384
- ),
2385
- " .uagb-rm__title" => array(
2386
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2387
- 'color' => $attr['titleColor'] ,
2388
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
2389
- 'font-family' => $attr['titleFontFamily'],
2390
- 'font-weight' => $attr['titleFontWeight'],
2391
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2392
- ),
2393
- " .uagb-rm__price" => array(
2394
- 'font-size' => UAGB_Helper::get_css_value( $attr['priceFontSize'], $attr['priceFontSizeType'] ),
2395
- 'font-family' => $attr['priceFontFamily'],
2396
- 'font-weight' => $attr['priceFontWeight'],
2397
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeight'], $attr['priceLineHeightType'] ),
2398
- 'color' => $attr['priceColor'],
2399
- ),
2400
- " .uagb-rm__desc" => array(
2401
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2402
- 'font-family' => $attr['descFontFamily'],
2403
- 'font-weight' => $attr['descFontWeight'],
2404
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2405
- 'color'=> $attr['descColor'],
2406
- 'margin-bottom'=> UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2407
- ),
2408
- );
2409
-
2410
- if ( $attr["seperatorStyle"] != "none" ) {
2411
- $selectors[" .uagb-rest_menu__wrap .uagb-rm__separator"] = array(
2412
- 'border-top-color'=> $attr['seperatorColor'],
2413
- 'border-top-style'=> $attr['seperatorStyle'],
2414
- 'border-top-width'=> UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
2415
- 'width'=> UAGB_Helper::get_css_value( $attr['seperatorWidth'], '%' ),
2416
- );
2417
- }
2418
-
2419
- $selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
2420
- 'margin-left'=> '0',
2421
- 'clear'=> 'left',
2422
- );
2423
-
2424
- $t_selectors = array(
2425
- ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2426
- 'margin-left'=> 'unset',
2427
- 'clear'=> 'unset',
2428
- ),
2429
- ' .uagb-rest_menu__wrap.uagb-rm__tablet-column-'.$attr['tcolumns'].':nth-child('.$attr['tcolumns'].'n+1)' => array(
2430
- 'margin-left'=> '0',
2431
- 'clear'=> 'left',
2432
- ),
2433
- " .uagb-rm__title" => array(
2434
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2435
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2436
- ),
2437
- " .uagb-rm__desc" => array(
2438
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2439
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2440
- ),
2441
- " .uagb-rm__price" => array(
2442
- "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeTablet'], $attr['priceFontSizeType'] ),
2443
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightTablet'], $attr['priceLineHeightType'] ),
2444
- )
2445
- );
2446
-
2447
- $m_selectors = array(
2448
- ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2449
- 'margin-left'=> 'unset',
2450
- 'clear'=> 'unset',
2451
- ),
2452
- ' .uagb-rest_menu__wrap.uagb-rm__mobile-column-'.$attr['mcolumns'].':nth-child('.$attr['mcolumns'].'n+1)' => array(
2453
- 'margin-left'=> '0',
2454
- 'clear'=> 'left',
2455
- ),
2456
- " .uagb-rm__title" => array(
2457
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2458
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2459
- ),
2460
- " .uagb-rm__desc" => array(
2461
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
2462
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
2463
- ),
2464
- " .uagb-rm__price" => array(
2465
- "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeMobile'], $attr['priceFontSizeType'] ),
2466
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightMobile'], $attr['priceLineHeightType'] ),
2467
- )
2468
- );
2469
-
2470
- // @codingStandardsIgnoreEnd
2471
-
2472
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
2473
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-rm-' . $id );
2474
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-rm-' . $id );
2475
-
2476
- $generated_css = array(
2477
- 'desktop' => $desktop,
2478
- 'tablet' => $tablet,
2479
- 'mobile' => $mobile,
2480
- );
2481
-
2482
- return $generated_css;
2483
- }
2484
-
2485
- /**
2486
- * Get Post Grid Block CSS
2487
- *
2488
- * @since 1.4.0
2489
- * @param array $attr The block attributes.
2490
- * @param string $id The selector ID.
2491
- * @return array The Widget List.
2492
- */
2493
- public static function get_post_grid_css( $attr, $id ) { // @codingStandardsIgnoreStart
2494
-
2495
- $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
2496
-
2497
- $attr = array_merge( $defaults, (array) $attr );
2498
-
2499
- $selectors = self::get_post_selectors( $attr );
2500
-
2501
- $m_selectors = self::get_post_mobile_selectors( $attr );
2502
-
2503
- $t_selectors = self::get_post_tablet_selectors( $attr );
2504
-
2505
- // @codingStandardsIgnoreEnd
2506
-
2507
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
2508
-
2509
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__grid-' . $id );
2510
-
2511
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__grid-' . $id );
2512
-
2513
- $generated_css = array(
2514
- 'desktop' => $desktop,
2515
- 'tablet' => $tablet,
2516
- 'mobile' => $mobile,
2517
- );
2518
-
2519
- return $generated_css;
2520
- }
2521
-
2522
- /**
2523
- * Get Post Carousel Block CSS
2524
- *
2525
- * @since 1.4.0
2526
- * @param array $attr The block attributes.
2527
- * @param string $id The selector ID.
2528
- * @return array The Widget List.
2529
- */
2530
- public static function get_post_carousel_css( $attr, $id ) { // @codingStandardsIgnoreStart
2531
-
2532
- $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
2533
-
2534
- $attr = array_merge( $defaults, (array) $attr );
2535
-
2536
- $selectors = self::get_post_selectors( $attr );
2537
-
2538
- $m_selectors = self::get_post_mobile_selectors( $attr );
2539
-
2540
- $t_selectors = self::get_post_tablet_selectors( $attr );
2541
-
2542
- $selectors[" .slick-arrow"] = array(
2543
- "border-color" => $attr['arrowColor']
2544
- );
2545
-
2546
- $selectors[" .slick-arrow span"] = array(
2547
- "color" => $attr['arrowColor'],
2548
- "font-size" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2549
- "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2550
- "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2551
- );
2552
-
2553
- $selectors[" .slick-arrow svg"] = array(
2554
- "fill" => $attr['arrowColor'],
2555
- "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2556
- "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2557
- );
2558
-
2559
- $selectors[" .slick-arrow"] = array(
2560
- "border-color" => $attr['arrowColor'],
2561
- "border-width" => UAGB_Helper::get_css_value( $attr['arrowBorderSize'], 'px' ),
2562
- "border-radius" => UAGB_Helper::get_css_value( $attr['arrowBorderRadius'], 'px' )
2563
- );
2564
-
2565
- $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
2566
- "color" => $attr['arrowColor']
2567
- );
2568
-
2569
- $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
2570
- "color" => $attr['arrowColor']
2571
- );
2572
-
2573
- if ( isset( $attr['arrowDots'] ) && 'dots' == $attr['arrowDots'] ) {
2574
-
2575
- $selectors[".uagb-slick-carousel"] = array(
2576
- "padding" => "0 0 35px 0"
2577
- );
2578
- }
2579
-
2580
- // @codingStandardsIgnoreEnd
2581
-
2582
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
2583
-
2584
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__carousel-' . $id );
2585
-
2586
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__carousel-' . $id );
2587
-
2588
- $generated_css = array(
2589
- 'desktop' => $desktop,
2590
- 'tablet' => $tablet,
2591
- 'mobile' => $mobile,
2592
- );
2593
-
2594
- return $generated_css;
2595
- }
2596
-
2597
- /**
2598
- * Get Post Masonry Block CSS
2599
- *
2600
- * @since 1.4.0
2601
- * @param array $attr The block attributes.
2602
- * @param string $id The selector ID.
2603
- * @return array The Widget List.
2604
- */
2605
- public static function get_post_masonry_css( $attr, $id ) { // @codingStandardsIgnoreStart
2606
-
2607
- $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
2608
-
2609
- $attr = array_merge( $defaults, (array) $attr );
2610
-
2611
- $selectors = self::get_post_selectors( $attr );
2612
-
2613
- $m_selectors = self::get_post_mobile_selectors( $attr );
2614
-
2615
- $t_selectors = self::get_post_tablet_selectors( $attr );
2616
-
2617
- // @codingStandardsIgnoreEnd
2618
-
2619
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
2620
-
2621
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__masonry-' . $id );
2622
-
2623
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__masonry-' . $id );
2624
-
2625
- $generated_css = array(
2626
- 'desktop' => $desktop,
2627
- 'tablet' => $tablet,
2628
- 'mobile' => $mobile,
2629
- );
2630
-
2631
- return $generated_css;
2632
- }
2633
-
2634
- /**
2635
- * Get Post Block Selectors CSS
2636
- *
2637
- * @param array $attr The block attributes.
2638
- * @since 1.4.0
2639
- */
2640
- public static function get_post_selectors( $attr ) { // @codingStandardsIgnoreStart
2641
- return array(
2642
- " .uagb-post__items" => array(
2643
- "margin-right" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2644
- "margin-left" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2645
- ),
2646
- " .uagb-post__items article" => array(
2647
- "padding-right" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2648
- "padding-left" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2649
- "margin-bottom" => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' )
2650
- ),
2651
- " .uagb-post__inner-wrap" => array(
2652
- "background" => $attr['bgColor']
2653
- ),
2654
- " .uagb-post__text" => array(
2655
- "padding" => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2656
- "text-align" => $attr['align']
2657
- ),
2658
- " .uagb-post__text .uagb-post__title" => array(
2659
- "color"=> $attr['titleColor'],
2660
- "font-size"=> UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2661
- 'font-family' => $attr['titleFontFamily'],
2662
- 'font-weight' => $attr['titleFontWeight'],
2663
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2664
- "margin-bottom"=> UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' )
2665
- ),
2666
- " .uagb-post__text .uagb-post__title a" => array(
2667
- "color" => $attr['titleColor'],
2668
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2669
- 'font-family' => $attr['titleFontFamily'],
2670
- 'font-weight' => $attr['titleFontWeight'],
2671
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2672
- ),
2673
- " .uagb-post__text .uagb-post-grid-byline" => array(
2674
- "color"=> $attr['metaColor'],
2675
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2676
- 'font-family' => $attr['metaFontFamily'],
2677
- 'font-weight' => $attr['metaFontWeight'],
2678
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2679
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' )
2680
- ),
2681
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2682
- "color" => $attr['metaColor'],
2683
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2684
- 'font-family' => $attr['metaFontFamily'],
2685
- 'font-weight' => $attr['metaFontWeight'],
2686
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2687
- ),
2688
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2689
- "color" => $attr['metaColor'],
2690
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2691
- 'font-family' => $attr['metaFontFamily'],
2692
- 'font-weight' => $attr['metaFontWeight'],
2693
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2694
- ),
2695
- " .uagb-post__text .uagb-post__excerpt" => array(
2696
- "color" => $attr['excerptColor'],
2697
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSize'], $attr['excerptFontSizeType'] ),
2698
- 'font-family' => $attr['excerptFontFamily'],
2699
- 'font-weight' => $attr['excerptFontWeight'],
2700
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeight'], $attr['excerptLineHeightType'] ),
2701
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' )
2702
- ),
2703
- " .uagb-post__text .uagb-post__cta" => array(
2704
- "color" => $attr['ctaColor'],
2705
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2706
- 'font-family' => $attr['ctaFontFamily'],
2707
- 'font-weight' => $attr['ctaFontWeight'],
2708
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2709
- "background" => $attr['ctaBgColor'],
2710
- "border-color" => $attr['borderColor'],
2711
- "border-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2712
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2713
- "border-style" => $attr['borderStyle'],
2714
- ),
2715
- " .uagb-post__text .uagb-post__cta:hover" => array(
2716
- "border-color"=> $attr['borderHColor']
2717
- ),
2718
- " .uagb-post__text .uagb-post__cta a" => array(
2719
- "color"=> $attr['ctaColor'],
2720
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2721
- 'font-family' => $attr['ctaFontFamily'],
2722
- 'font-weight' => $attr['ctaFontWeight'],
2723
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2724
- "padding" => ( $attr['btnVPadding'] ) . "px " . ( $attr['btnHPadding'] ) . "px",
2725
- ),
2726
- " .uagb-post__text .uagb-post__cta:hover" => array(
2727
- "color"=> $attr['ctaHColor'],
2728
- "background"=> $attr['ctaBgHColor']
2729
- ),
2730
- " .uagb-post__text .uagb-post__cta:hover a" => array(
2731
- "color"=> $attr['ctaHColor']
2732
- ),
2733
- " .uagb-post__image:before" => array(
2734
- "background-color" => $attr['bgOverlayColor'],
2735
- "opacity" => ( $attr['overlayOpacity'] / 100 )
2736
- ),
2737
- );
2738
- // @codingStandardsIgnoreEnd
2739
- }
2740
-
2741
- /**
2742
- * Get Post Block Selectors CSS for Mobile devices
2743
- *
2744
- * @param array $attr The block attributes.
2745
- * @since 1.6.1
2746
- */
2747
- public static function get_post_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
2748
-
2749
- return array(
2750
- " .uagb-post__text .uagb-post__title" => array(
2751
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2752
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2753
- ),
2754
- " .uagb-post__text .uagb-post__title a" => array(
2755
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2756
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2757
- ),
2758
- " .uagb-post__text .uagb-post-grid-byline" => array(
2759
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2760
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2761
- ),
2762
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2763
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2764
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2765
- ),
2766
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2767
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2768
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2769
- ),
2770
- " .uagb-post__text .uagb-post__excerpt" => array(
2771
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeMobile'], $attr['excerptFontSizeType'] ),
2772
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightMobile'], $attr['excerptLineHeightType'] ),
2773
- ),
2774
- " .uagb-post__text .uagb-post__cta" => array(
2775
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2776
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2777
- ),
2778
- " .uagb-post__text .uagb-post__cta a" => array(
2779
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2780
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2781
- ),
2782
- " .uagb-post__text" => array(
2783
- "padding" => ( $attr['contentPaddingMobile'] ) . "px",
2784
- ),
2785
- );
2786
- // @codingStandardsIgnoreEnd
2787
- }
2788
-
2789
- /**
2790
- * Get Post Block Selectors CSS for Tablet devices
2791
- *
2792
- * @param array $attr The block attributes.
2793
- * @since 1.8.2
2794
- */
2795
- public static function get_post_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
2796
- return array(
2797
- " .uagb-post__text .uagb-post__title" => array(
2798
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2799
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2800
- ),
2801
- " .uagb-post__text .uagb-post__title a" => array(
2802
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2803
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2804
- ),
2805
- " .uagb-post__text .uagb-post-grid-byline" => array(
2806
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2807
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2808
- ),
2809
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2810
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2811
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2812
- ),
2813
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2814
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2815
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2816
- ),
2817
- " .uagb-post__text .uagb-post__excerpt" => array(
2818
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeTablet'], $attr['excerptFontSizeType'] ),
2819
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightTablet'], $attr['excerptLineHeightType'] ),
2820
- ),
2821
- " .uagb-post__text .uagb-post__cta" => array(
2822
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2823
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2824
- ),
2825
- " .uagb-post__text .uagb-post__cta a" => array(
2826
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2827
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2828
- ),
2829
- );
2830
- // @codingStandardsIgnoreEnd
2831
- }
2832
-
2833
- /**
2834
- * Get Blockquote CSS
2835
- *
2836
- * @since 1.8.2
2837
- * @param array $attr The block attributes.
2838
- * @param string $id The selector ID.
2839
- * @return array The Widget List.
2840
- */
2841
- public static function get_blockquote_css( $attr, $id ) {
2842
- // @codingStandardsIgnoreStart
2843
-
2844
- $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
2845
-
2846
- $attr = array_merge( $defaults, (array) $attr );
2847
-
2848
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
2849
-
2850
- $content_align ="center";
2851
-
2852
- if( 'left' === $attr['align'] ){
2853
- $content_align =" flex-start";
2854
- }
2855
- if( 'right' === $attr['align'] ){
2856
- $content_align =" flex-end";
2857
- }
2858
-
2859
- $author_space = $attr['authorSpace'];
2860
-
2861
- if( 'center' !== $attr['align'] || $attr['skinStyle'] == "border" ){
2862
- $author_space = 0;
2863
- }
2864
-
2865
- //Set align to left for border style.
2866
- $text_align = $attr['align'];
2867
-
2868
- if( 'border' === $attr['skinStyle'] ){
2869
- $text_align = 'left';
2870
- }
2871
-
2872
- $selectors = array(
2873
- " .uagb-blockquote__content" => array(
2874
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2875
- 'font-family' => $attr['descFontFamily'],
2876
- 'font-weight' => $attr['descFontWeight'],
2877
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2878
- "color" => $attr['descColor'],
2879
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2880
- "text-align" => $text_align,
2881
- ),
2882
- " cite.uagb-blockquote__author" => array(
2883
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2884
- 'font-family' => $attr['authorFontFamily'],
2885
- 'font-weight' => $attr['authorFontWeight'],
2886
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2887
- "color" => $attr['authorColor'],
2888
- "text-align" => $text_align,
2889
- ),
2890
- " .uagb-blockquote__skin-border blockquote.uagb-blockquote" => array(
2891
- "border-color" => $attr['borderColor'],
2892
- "border-left-style" => $attr['borderStyle'],
2893
- "border-left-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2894
- "padding-left" => UAGB_Helper::get_css_value( $attr['borderGap'], 'px' ),
2895
- "padding-top" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2896
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2897
- ),
2898
-
2899
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2900
- "background" => $attr['quoteBgColor'],
2901
- "border-radius" => UAGB_Helper::get_css_value( $attr['quoteBorderRadius'],'%' ),
2902
- "margin-top" => UAGB_Helper::get_css_value( $attr['quoteTopMargin'], 'px' ),
2903
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['quoteBottomMargin'], 'px' ),
2904
- "margin-left" => UAGB_Helper::get_css_value( $attr['quoteLeftMargin'], 'px' ),
2905
- "margin-right" => UAGB_Helper::get_css_value( $attr['quoteRightMargin'], 'px' ),
2906
- "padding" => UAGB_Helper::get_css_value( $attr['quotePadding'], $attr['quotePaddingType'] ),
2907
- ),
2908
-
2909
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2910
- "width" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2911
- "height" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2912
- ),
2913
-
2914
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg" => array(
2915
- "fill" => $attr['quoteColor'],
2916
- ),
2917
-
2918
- " .uagb-blockquote__style-style_1 .uagb-blockquote" => array(
2919
- "text-align" => $attr['align'],
2920
- ),
2921
-
2922
- " .uagb-blockquote__author-wrap" => array(
2923
- "margin-bottom" => UAGB_Helper::get_css_value( $author_space, 'px' ),
2924
- ),
2925
- " .uagb-blockquote__author-image img" => array(
2926
- "width" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2927
- "height" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2928
- "border-radius" => UAGB_Helper::get_css_value( $attr['authorImgBorderRadius'], '%' )
2929
- ),
2930
-
2931
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon:hover svg" => array(
2932
- "fill" => $attr['quoteHoverColor'],
2933
- ),
2934
-
2935
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap:hover" => array(
2936
- "background" => $attr['quoteBgHoverColor'],
2937
- ),
2938
-
2939
- " .uagb-blockquote__skin-border blockquote.uagb-blockquote:hover" => array(
2940
- "border-left-color" => $attr['borderHoverColor'],
2941
- ),
2942
- );
2943
-
2944
- if( $attr['enableTweet'] ){
2945
- $selectors[" a.uagb-blockquote__tweet-button"] = array(
2946
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2947
- 'font-family' => $attr['tweetBtnFontFamily'],
2948
- 'font-weight' => $attr['tweetBtnFontWeight'],
2949
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeight'], $attr['tweetBtnLineHeightType'] ),
2950
- );
2951
-
2952
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button"] = array(
2953
- "color" => $attr['tweetLinkColor'],
2954
- );
2955
-
2956
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button svg"] = array(
2957
- "fill" => $attr['tweetLinkColor'],
2958
- );
2959
-
2960
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button"] = array(
2961
- "color" => $attr['tweetBtnColor'],
2962
- "background-color" => $attr['tweetBtnBgColor'],
2963
- "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2964
- "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2965
- "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2966
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2967
- );
2968
-
2969
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button svg"] = array(
2970
- "fill" => $attr['tweetBtnColor'],
2971
- );
2972
-
2973
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button"] = array(
2974
- "color" => $attr['tweetBtnColor'],
2975
- "background-color" => $attr['tweetBtnBgColor'],
2976
- "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2977
- "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2978
- "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2979
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2980
- );
2981
-
2982
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button svg"] = array(
2983
- "fill" => $attr['tweetBtnColor'],
2984
- );
2985
-
2986
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before"] = array(
2987
- "border-right-color" => $attr['tweetBtnBgColor'],
2988
- );
2989
-
2990
- $selectors[" a.uagb-blockquote__tweet-button svg"] = array(
2991
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2992
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2993
- );
2994
-
2995
- $selectors[" .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg"] = array(
2996
- "margin-right" => UAGB_Helper::get_css_value( $attr['tweetIconSpacing'], 'px' ),
2997
- );
2998
-
2999
- // Hover CSS.
3000
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover"] = array(
3001
- "color" => $attr['tweetBtnHoverColor'],
3002
- );
3003
-
3004
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover svg"] = array(
3005
- "fill" => $attr['tweetBtnHoverColor'],
3006
- );
3007
-
3008
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover"] = array(
3009
- "color" => $attr['tweetBtnHoverColor'],
3010
- "background-color" => $attr['tweetBtnBgHoverColor'],
3011
- );
3012
-
3013
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover svg"] = array(
3014
- "fill" => $attr['tweetBtnHoverColor'],
3015
- );
3016
-
3017
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover"] = array(
3018
- "color" => $attr['tweetBtnHoverColor'],
3019
- "background-color" => $attr['tweetBtnBgHoverColor'],
3020
- );
3021
-
3022
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover svg"] = array(
3023
- "fill" => $attr['tweetBtnHoverColor'],
3024
- );
3025
-
3026
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover:before"] = array(
3027
- "border-right-color" => $attr['tweetBtnBgHoverColor'],
3028
- );
3029
- }
3030
-
3031
- $t_selectors = array(
3032
- " .uagb-blockquote__content" => array(
3033
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
3034
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
3035
- ),
3036
- " cite.uagb-blockquote__author" =>array(
3037
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
3038
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
3039
- ),
3040
- " a.uagb-blockquote__tweet-button" => array(
3041
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3042
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightTablet'], $attr['tweetBtnLineHeightType'] ),
3043
- ),
3044
- " a.uagb-blockquote__tweet-button svg" => array(
3045
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3046
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3047
- ),
3048
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3049
- "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingTablet'], $attr['quotePaddingType'] ),
3050
- ),
3051
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3052
- "width" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3053
- "height" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3054
- ),
3055
- );
3056
-
3057
- $m_selectors = array(
3058
- " .uagb-blockquote__content" => array(
3059
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
3060
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
3061
- ),
3062
- " cite.uagb-blockquote__author" => array(
3063
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
3064
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
3065
- ),
3066
- " a.uagb-blockquote__tweet-button" => array(
3067
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3068
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightMobile'], $attr['tweetBtnLineHeightType'] ),
3069
- ),
3070
- " a.uagb-blockquote__tweet-button svg" => array(
3071
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3072
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3073
- ),
3074
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3075
- "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingMobile'], $attr['quotePaddingType'] ),
3076
- ),
3077
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3078
- "width" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3079
- "height" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3080
- ),
3081
- );
3082
-
3083
- // @codingStandardsIgnoreEnd
3084
-
3085
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-blockquote-' . $id );
3086
-
3087
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-blockquote-' . $id );
3088
-
3089
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-blockquote-' . $id );
3090
-
3091
- $generated_css = array(
3092
- 'desktop' => $desktop,
3093
- 'tablet' => $tablet,
3094
- 'mobile' => $mobile,
3095
- );
3096
-
3097
- return $generated_css;
3098
- }
3099
-
3100
- /**
3101
- * Get Timeline Block Desktop Selectors CSS
3102
- *
3103
- * @param array $attr The block attributes.
3104
- * @since 1.8.2
3105
- */
3106
- public static function get_timeline_selectors( $attr ) { // @codingStandardsIgnoreStart
3107
- $selectors = array(
3108
- " .uagb-timeline__heading-text" => array(
3109
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
3110
- ),
3111
- " .uagb-timeline-desc-content" => array(
3112
- "text-align" => $attr['align'],
3113
- "color" => $attr['subHeadingColor'],
3114
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
3115
- 'font-family' => $attr['subHeadFontFamily'],
3116
- 'font-weight' => $attr['subHeadFontWeight'],
3117
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
3118
- ),
3119
- ' .uagb-timeline__events-new' => array(
3120
- 'text-align' => $attr['align']
3121
- ),
3122
- ' .uagb-timeline__date-inner' => array(
3123
- 'text-align' => $attr['align']
3124
- ),
3125
- ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3126
- 'border-left-color' => $attr['backgroundColor']
3127
- ),
3128
- ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3129
- 'border-left-color' => $attr['backgroundColor']
3130
- ),
3131
- ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3132
- 'border-right-color' => $attr['backgroundColor']
3133
- ),
3134
- ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3135
- 'border-right-color' => $attr['backgroundColor']
3136
- ),
3137
- ' .uagb-timeline__line__inner' => array(
3138
- 'background-color' => $attr['separatorFillColor']
3139
- ),
3140
- ' .uagb-timeline__line' => array(
3141
- 'background-color' => $attr['separatorColor'],
3142
- 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' )
3143
- ),
3144
- ' .uagb-timeline__right-block .uagb-timeline__line' => array(
3145
- 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3146
- ),
3147
- ' .uagb-timeline__left-block .uagb-timeline__line' => array(
3148
- 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3149
- ),
3150
- ' .uagb-timeline__center-block .uagb-timeline__line' => array(
3151
- 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3152
- ),
3153
- ' .uagb-timeline__marker' => array(
3154
- 'background-color' => $attr['separatorBg'],
3155
- 'min-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3156
- 'min-width' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3157
- 'line-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3158
- 'border' => $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
3159
- ),
3160
- ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3161
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3162
- ),
3163
- ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3164
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3165
- ),
3166
- ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3167
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3168
- ),
3169
- ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3170
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3171
- ),
3172
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3173
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3174
- 'margin-right'=> UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3175
- ),
3176
- ' .uagb-timeline__field:not(:last-child)' => array(
3177
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
3178
- ),
3179
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3180
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
3181
- 'color' => $attr['dateColor'],
3182
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3183
- 'font-family' => $attr['dateFontFamily'],
3184
- 'font-weight' => $attr['dateFontWeight'],
3185
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3186
- 'text-align' => $attr['align'],
3187
- ),
3188
- ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3189
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3190
- ),
3191
- ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3192
- 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3193
- ),
3194
- ' .uagb-timeline__date-new' => array(
3195
- 'color' => $attr['dateColor'],
3196
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3197
- 'font-family' => $attr['dateFontFamily'],
3198
- 'font-weight' => $attr['dateFontWeight'],
3199
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3200
- ),
3201
- ' .uagb-timeline__events-inner-new' => array(
3202
- 'background-color' => $attr['backgroundColor'],
3203
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
3204
- 'padding'=> UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
3205
- ),
3206
- ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
3207
- 'color' => $attr['iconColor'],
3208
- 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3209
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3210
- ),
3211
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
3212
- 'fill'=> $attr['iconFocus'],
3213
- ),
3214
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
3215
- 'color'=> $attr['iconFocus'],
3216
- ),
3217
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
3218
- 'background' => $attr['iconBgFocus'],
3219
- 'border-color'=> $attr['borderFocus'],
3220
- ),
3221
- ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
3222
- 'fill'=> $attr['iconColor'],
3223
- ),
3224
- );
3225
-
3226
- return $selectors;
3227
- // @codingStandardsIgnoreEnd
3228
- }
3229
-
3230
- /**
3231
- * Get Timeline Block Tablet Selectors CSS.
3232
- *
3233
- * @param array $attr The block attributes.
3234
- * @since 1.8.2
3235
- */
3236
- public static function get_timeline_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
3237
- $tablet_selector = array(
3238
- " .uagb-timeline-desc-content" => array(
3239
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
3240
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
3241
- ),
3242
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3243
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3244
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3245
- ),
3246
- ' .uagb-timeline__date-new' => array(
3247
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3248
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3249
- ),
3250
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3251
- 'margin-left' => 0,
3252
- 'margin-right' => 0,
3253
- ),
3254
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading" => array(
3255
- "text-align" => 'left',
3256
- ),
3257
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content" => array(
3258
- "text-align" => 'left',
3259
- ),
3260
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new' => array(
3261
- 'text-align' => 'left'
3262
- ),
3263
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner' => array(
3264
- 'text-align' => 'left'
3265
- ),
3266
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3267
- 'text-align'=> 'left',
3268
- ),
3269
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3270
- "border-right-color" => $attr['backgroundColor'],
3271
- ),
3272
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line" => array(
3273
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3274
- ),
3275
- );
3276
-
3277
- return $tablet_selector;
3278
- // @codingStandardsIgnoreEnd
3279
- }
3280
-
3281
- /**
3282
- * Get Timeline Block Mobile Selectors CSS.
3283
- *
3284
- * @param array $attr The block attributes.
3285
- * @since 1.8.2
3286
- */
3287
- public static function get_timeline_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
3288
- $m_selectors = array(
3289
- " .uagb-timeline-desc-content" => array(
3290
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
3291
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
3292
- ),
3293
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3294
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3295
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3296
- ),
3297
- ' .uagb-timeline__date-new' => array(
3298
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3299
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3300
- ),
3301
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3302
- 'margin-left' => 0,
3303
- 'margin-right' => 0,
3304
- ),
3305
- ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3306
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3307
- ),
3308
- ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3309
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3310
- ),
3311
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading" => array(
3312
- "text-align" => 'left',
3313
- ),
3314
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content" => array(
3315
- "text-align" => 'left',
3316
- ),
3317
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new' => array(
3318
- 'text-align' => 'left'
3319
- ),
3320
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner' => array(
3321
- 'text-align' => 'left'
3322
- ),
3323
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3324
- 'text-align'=> 'left',
3325
- ),
3326
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3327
- "border-right-color" => $attr['backgroundColor'],
3328
- ),
3329
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line" => array(
3330
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3331
- ),
3332
- );
3333
- return $m_selectors;
3334
- // @codingStandardsIgnoreEnd
3335
- }
3336
-
3337
- /**
3338
- * Get Contact Form 7 CSS
3339
- *
3340
- * @param array $attr The block attributes.
3341
- * @param string $id The selector ID.
3342
- * @since 1.10.0
3343
- */
3344
- public static function get_cf7_styler_css( $attr, $id ) {
3345
- $defaults = UAGB_Helper::$block_list['uagb/cf7-styler']['attributes'];
3346
-
3347
- $attr = array_merge( $defaults, (array) $attr );
3348
-
3349
- $selectors = array(
3350
- ' .wpcf7 .wpcf7-form' => array(
3351
- 'text-align' => $attr['align'],
3352
- ),
3353
- ' .wpcf7 form.wpcf7-form:not(input)' => array(
3354
- 'color' => $attr['fieldLabelColor'],
3355
- ),
3356
- ' .wpcf7 input:not([type=submit])' => array(
3357
- 'background-color' => $attr['fieldBgColor'],
3358
- 'color' => $attr['fieldInputColor'],
3359
- 'border-style' => $attr['fieldBorderStyle'],
3360
- 'border-color' => $attr['fieldBorderColor'],
3361
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3362
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3363
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3364
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3365
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3366
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3367
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3368
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3369
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3370
- 'font-family' => $attr['inputFontFamily'],
3371
- 'font-weight' => $attr['inputFontWeight'],
3372
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3373
- 'text-align' => $attr['align'],
3374
- ),
3375
- ' .wpcf7 select' => array(
3376
- 'background-color' => $attr['fieldBgColor'],
3377
- 'color' => $attr['fieldLabelColor'],
3378
- 'border-style' => $attr['fieldBorderStyle'],
3379
- 'border-color' => $attr['fieldBorderColor'],
3380
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3381
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3382
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3383
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3384
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3385
- 'font-family' => $attr['inputFontFamily'],
3386
- 'font-weight' => $attr['inputFontWeight'],
3387
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3388
- 'text-align' => $attr['align'],
3389
- ),
3390
- ' .wpcf7 select.wpcf7-form-control.wpcf7-select:not([multiple="multiple"])' => array(
3391
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3392
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3393
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3394
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3395
- ),
3396
- ' .wpcf7 select.wpcf7-select[multiple="multiple"] option' => array(
3397
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3398
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3399
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3400
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3401
- ),
3402
- ' .wpcf7 textarea' => array(
3403
- 'background-color' => $attr['fieldBgColor'],
3404
- 'color' => $attr['fieldInputColor'],
3405
- 'border-color' => $attr['fieldBorderColor'],
3406
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3407
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3408
- 'border-style' => $attr['fieldBorderStyle'],
3409
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3410
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3411
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3412
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3413
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3414
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3415
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3416
- 'font-family' => $attr['inputFontFamily'],
3417
- 'font-weight' => $attr['inputFontWeight'],
3418
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3419
- 'text-align' => $attr['align'],
3420
- ),
3421
- ' .wpcf7 textarea::placeholder' => array(
3422
- 'color' => $attr['fieldInputColor'],
3423
- 'text-align' => $attr['align'],
3424
- ),
3425
- ' .wpcf7 input::placeholder' => array(
3426
- 'color' => $attr['fieldInputColor'],
3427
- 'text-align' => $attr['align'],
3428
- ),
3429
- ' .wpcf7 form label' => array(
3430
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3431
- 'font-family' => $attr['labelFontFamily'],
3432
- 'font-weight' => $attr['labelFontWeight'],
3433
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3434
- ),
3435
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3436
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3437
- 'font-family' => $attr['labelFontFamily'],
3438
- 'font-weight' => $attr['labelFontWeight'],
3439
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3440
- ),
3441
-
3442
- // Focus.
3443
- ' .wpcf7 form input:not([type=submit]):focus' => array(
3444
- 'border-color' => $attr['fieldBorderFocusColor'],
3445
- ),
3446
- ' .wpcf7 form select:focus' => array(
3447
- 'border-color' => $attr['fieldBorderFocusColor'],
3448
- ),
3449
- ' .wpcf7 textarea:focus' => array(
3450
- 'border-color' => $attr['fieldBorderFocusColor'],
3451
- ),
3452
-
3453
- // Submit button.
3454
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3455
- 'color' => $attr['buttonTextColor'],
3456
- 'background-color' => $attr['buttonBgColor'],
3457
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3458
- 'font-family' => $attr['buttonFontFamily'],
3459
- 'font-weight' => $attr['buttonFontWeight'],
3460
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3461
- 'border-color' => $attr['buttonBorderColor'],
3462
- 'border-style' => $attr['buttonBorderStyle'],
3463
- 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3464
- 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3465
- 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3466
- 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3467
- 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3468
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3469
- ),
3470
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover' => array(
3471
- 'color' => $attr['buttonTextHoverColor'],
3472
- 'background-color' => $attr['buttonBgHoverColor'],
3473
- 'border-color' => $attr['buttonBorderHoverColor'],
3474
- ),
3475
-
3476
- // Check box Radio.
3477
- ' .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3478
- 'background-color' => $attr['fieldBgColor'],
3479
- 'color' => $attr['fieldInputColor'],
3480
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3481
- 'border-color' => $attr['fieldBorderFocusColor'],
3482
- ),
3483
- ' .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3484
- 'background-color' => $attr['fieldBgColor'],
3485
- 'color' => $attr['fieldInputColor'],
3486
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3487
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3488
- 'border-style' => $attr['fieldBorderStyle'],
3489
- 'border-color' => $attr['fieldBorderColor'],
3490
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3491
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3492
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3493
- ),
3494
- ' .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3495
- 'background-color' => $attr['fieldBgColor'],
3496
- 'color' => $attr['fieldInputColor'],
3497
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3498
- 'border-color' => $attr['fieldBorderFocusColor'],
3499
- ),
3500
- ' .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3501
- 'background-color' => $attr['fieldBgColor'],
3502
- 'color' => $attr['fieldInputColor'],
3503
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3504
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3505
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3506
- 'border-color' => $attr['fieldBorderColor'],
3507
- 'border-style' => $attr['fieldBorderStyle'],
3508
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3509
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3510
- ),
3511
- ' .wpcf7 .wpcf7-radio input[type="radio"] + span:before' => array(
3512
- 'background-color' => $attr['fieldBgColor'],
3513
- 'color' => $attr['fieldInputColor'],
3514
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3515
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3516
- 'border-style' => $attr['fieldBorderStyle'],
3517
- 'border-color' => $attr['fieldBorderColor'],
3518
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3519
- ),
3520
- ' .wpcf7 .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3521
- 'border-color' => $attr['fieldBorderFocusColor'],
3522
- ),
3523
-
3524
- // Underline border.
3525
- ' .uagb-cf7-styler__field-style-underline .wpcf7 input:not([type=submit])' => array(
3526
- 'border-style' => 'none',
3527
- 'border-bottom-color' => $attr['fieldBorderColor'],
3528
- 'border-bottom-style' => 'solid',
3529
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3530
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3531
- ),
3532
- ' .uagb-cf7-styler__field-style-underline textarea' => array(
3533
- 'border-style' => 'none',
3534
- 'border-bottom-color' => $attr['fieldBorderColor'],
3535
- 'border-bottom-style' => 'solid',
3536
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3537
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3538
- ),
3539
- ' .uagb-cf7-styler__field-style-underline select' => array(
3540
- 'border-style' => 'none',
3541
- 'border-bottom-color' => $attr['fieldBorderColor'],
3542
- 'border-bottom-style' => 'solid',
3543
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3544
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3545
- ),
3546
- ' .uagb-cf7-styler__field-style-underline textarea' => array(
3547
- 'border-style' => 'none',
3548
- 'border-bottom-color' => $attr['fieldBorderColor'],
3549
- 'border-bottom-style' => 'solid',
3550
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3551
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3552
- ),
3553
- ' .uagb-cf7-styler__field-style-underline .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3554
- 'border-style' => 'solid',
3555
- ),
3556
- ' .uagb-cf7-styler__field-style-underline .wpcf7 input[type="radio"] + span:before' => array(
3557
- 'border-style' => 'solid',
3558
- ),
3559
- ' .uagb-cf7-styler__field-style-underline .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3560
- 'border-style' => 'solid',
3561
- ),
3562
- ' .uagb-cf7-styler__field-style-box .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3563
- 'border-style' => $attr['fieldBorderStyle'],
3564
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3565
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3566
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3567
- ),
3568
- ' .uagb-cf7-styler__field-style-box .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3569
- 'border-style' => $attr['fieldBorderStyle'],
3570
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3571
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3572
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3573
- ),
3574
- ' .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3575
- 'background-color' => $attr['fieldInputColor'],
3576
- ),
3577
-
3578
- // Override check box.
3579
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3580
- 'background-color' => $attr['radioCheckBgColor'],
3581
- 'color' => $attr['radioCheckSelectColor'],
3582
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3583
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3584
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3585
- 'border-color' => $attr['radioCheckBorderColor'],
3586
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3587
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3588
- ),
3589
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3590
- 'border-color' => $attr['fieldBorderFocusColor'],
3591
- ),
3592
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3593
- 'background-color' => $attr['radioCheckBgColor'],
3594
- 'color' => $attr['radioCheckSelectColor'],
3595
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3596
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3597
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3598
- 'border-color' => $attr['radioCheckBorderColor'],
3599
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3600
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3601
- ),
3602
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3603
- 'border-color' => $attr['fieldBorderFocusColor'],
3604
- ),
3605
-
3606
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 input[type="radio"] + span:before' => array(
3607
- 'background-color' => $attr['radioCheckBgColor'],
3608
- 'color' => $attr['radioCheckSelectColor'],
3609
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3610
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3611
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3612
- 'border-color' => $attr['radioCheckBorderColor'],
3613
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3614
- ),
3615
- ' .uagb-cf7-styler__check-style-enabled .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3616
- 'background-color' => $attr['radioCheckSelectColor'],
3617
- ),
3618
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3619
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
3620
- 'font-family' => $attr['radioCheckFontFamily'],
3621
- 'font-weight' => $attr['radioCheckFontWeight'],
3622
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
3623
- 'color' => $attr['radioCheckLableColor'],
3624
- ),
3625
- ' span.wpcf7-not-valid-tip' => array(
3626
- 'color' => $attr['validationMsgColor'],
3627
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
3628
- 'font-family' => $attr['validationMsgFontFamily'],
3629
- 'font-weight' => $attr['validationMsgFontWeight'],
3630
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
3631
- ),
3632
- ' .uagb-cf7-styler__highlight-border input.wpcf7-form-control.wpcf7-not-valid' => array(
3633
- 'border-color' => $attr['highlightBorderColor'],
3634
- ),
3635
- ' .uagb-cf7-styler__highlight-border .wpcf7-form-control.wpcf7-not-valid .wpcf7-list-item-label:before' => array(
3636
- 'border-color' => $attr['highlightBorderColor'] . '!important',
3637
- ),
3638
- ' .uagb-cf7-styler__highlight-style-bottom_right .wpcf7-not-valid-tip' => array(
3639
- 'background-color' => $attr['validationMsgBgColor'],
3640
- ),
3641
- ' .wpcf7-response-output' => array(
3642
- 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
3643
- 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
3644
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
3645
- 'font-family' => $attr['msgFontFamily'],
3646
- 'font-weight' => $attr['msgFontWeight'],
3647
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
3648
- 'padding-top' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3649
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3650
- 'padding-left' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3651
- 'padding-right' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3652
- ),
3653
- ' .wpcf7-response-output.wpcf7-validation-errors' => array(
3654
- 'background-color' => $attr['errorMsgBgColor'],
3655
- 'border-color' => $attr['errorMsgBorderColor'],
3656
- 'color' => $attr['errorMsgColor'],
3657
- ),
3658
- ' .wpcf7-response-output.wpcf7-validation- success' => array(
3659
- 'background-color' => $attr['successMsgBgColor'],
3660
- 'border-color' => $attr['successMsgBorderColor'],
3661
- 'color' => $attr['successMsgColor'],
3662
- ),
3663
-
3664
- );
3665
-
3666
- $t_selectors = array(
3667
- ' .wpcf7 form.wpcf7-form:not(input)' => array(
3668
- 'color' => $attr['fieldLabelColor'],
3669
- ),
3670
- ' .wpcf7 input:not([type=submit])' => array(
3671
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3672
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3673
- ),
3674
- ' .wpcf7 select' => array(
3675
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3676
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3677
- ),
3678
- ' .wpcf7 textarea' => array(
3679
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3680
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3681
- ),
3682
- ' .wpcf7 form label' => array(
3683
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3684
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3685
- ),
3686
-
3687
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3688
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3689
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3690
- ),
3691
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3692
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
3693
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
3694
- ),
3695
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3696
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
3697
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
3698
- ),
3699
- ' span.wpcf7-not-valid-tip' => array(
3700
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
3701
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
3702
- ),
3703
- ' .wpcf7-response-output' => array(
3704
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
3705
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
3706
- ),
3707
- );
3708
-
3709
- $m_selectors = array(
3710
- ' .wpcf7 input:not([type=submit])' => array(
3711
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3712
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3713
- ),
3714
- ' .wpcf7 select' => array(
3715
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3716
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3717
- ),
3718
- ' .wpcf7 textarea' => array(
3719
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3720
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3721
- ),
3722
- ' .wpcf7 form label' => array(
3723
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3724
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3725
- ),
3726
-
3727
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3728
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3729
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3730
- ),
3731
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3732
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
3733
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
3734
- ),
3735
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3736
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
3737
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
3738
- ),
3739
- ' span.wpcf7-not-valid-tip' => array(
3740
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
3741
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
3742
- ),
3743
- ' .wpcf7-response-output' => array(
3744
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
3745
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
3746
- ),
3747
- );
3748
-
3749
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cf7-styler-' . $id );
3750
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cf7-styler-' . $id );
3751
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cf7-styler-' . $id );
3752
-
3753
- $generated_css = array(
3754
- 'desktop' => $desktop,
3755
- 'tablet' => $tablet,
3756
- 'mobile' => $mobile,
3757
- );
3758
-
3759
- return $generated_css;
3760
- }
3761
-
3762
-
3763
-
3764
- /**
3765
- * Get Gravity Form Styler CSS
3766
- *
3767
- * @param array $attr The block attributes.
3768
- * @param string $id The selector ID.
3769
- * @since 1.12.0
3770
- */
3771
- public static function get_gf_styler_css( $attr, $id ) {
3772
- $defaults = UAGB_Helper::$block_list['uagb/gf-styler']['attributes'];
3773
-
3774
- $attr = array_merge( $defaults, (array) $attr );
3775
-
3776
- $attr['msgVrPadding'] = ( '' === $attr['msgVrPadding'] ) ? '0' : $attr['msgVrPadding'];
3777
- $attr['msgHrPadding'] = ( '' === $attr['msgHrPadding'] ) ? '0' : $attr['msgHrPadding'];
3778
- $attr['textAreaHeight'] = ( 'auto' === $attr['msgHrPadding'] ) ? $attr['textAreaHeight'] : $attr['textAreaHeight'] . 'px';
3779
-
3780
- $selectors = array(
3781
- ' .gform_wrapper form' => array(
3782
- 'text-align' => $attr['align'],
3783
- ),
3784
- ' .wp-block-uagb-gf-styler form:not(input)' => array(
3785
- 'color' => $attr['fieldLabelColor'],
3786
- ),
3787
- ' .gform_heading' => array(
3788
- 'text-align' => $attr['titleDescAlignment'],
3789
- ),
3790
- ' input:not([type=submit])' => array(
3791
- 'background-color' => $attr['fieldBgColor'],
3792
- 'color' => $attr['fieldInputColor'],
3793
- 'border-style' => $attr['fieldBorderStyle'],
3794
- 'border-color' => $attr['fieldBorderColor'],
3795
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3796
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3797
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3798
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3799
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3800
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3801
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3802
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3803
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3804
- 'font-family' => $attr['inputFontFamily'],
3805
- 'font-weight' => $attr['inputFontWeight'],
3806
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3807
- 'text-align' => $attr['align'],
3808
- ),
3809
- ' select' => array(
3810
- 'background-color' => $attr['fieldBgColor'],
3811
- 'border-style' => $attr['fieldBorderStyle'],
3812
- 'border-color' => $attr['fieldBorderColor'],
3813
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3814
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3815
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3816
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3817
- 'color' => $attr['fieldInputColor'],
3818
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3819
- 'font-family' => $attr['inputFontFamily'],
3820
- 'font-weight' => $attr['inputFontWeight'],
3821
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3822
- 'text-align' => $attr['align'],
3823
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3824
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3825
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3826
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3827
- ),
3828
- ' .chosen-container-single span' => array(
3829
- 'background-color' => $attr['fieldBgColor'],
3830
- 'border-style' => $attr['fieldBorderStyle'],
3831
- 'border-color' => $attr['fieldBorderColor'],
3832
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3833
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3834
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3835
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3836
- 'color' => $attr['fieldInputColor'],
3837
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3838
- 'font-family' => $attr['inputFontFamily'],
3839
- 'font-weight' => $attr['inputFontWeight'],
3840
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3841
- 'text-align' => $attr['align'],
3842
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3843
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3844
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3845
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3846
- ),
3847
- ' .chosen-container-single.chosen-container-active .chosen-single span' => array(
3848
- 'margin-bottom' => 0,
3849
- ),
3850
- ' select.wpgf-form-control.wpgf-select:not([multiple="multiple"])' => array(
3851
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3852
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3853
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3854
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3855
- ),
3856
- ' select.wpgf-select[multiple="multiple"] option' => array(
3857
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3858
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3859
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3860
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3861
- ),
3862
- ' textarea' => array(
3863
- 'background-color' => $attr['fieldBgColor'],
3864
- 'color' => $attr['fieldInputColor'],
3865
- 'border-color' => $attr['fieldBorderColor'],
3866
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3867
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3868
- 'border-style' => $attr['fieldBorderStyle'],
3869
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3870
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3871
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3872
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3873
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3874
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3875
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3876
- 'font-family' => $attr['inputFontFamily'],
3877
- 'font-weight' => $attr['inputFontWeight'],
3878
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3879
- 'text-align' => $attr['align'],
3880
- 'height' => $attr['textAreaHeight'],
3881
- ),
3882
- ' textarea::placeholder' => array(
3883
- 'color' => $attr['fieldInputColor'],
3884
- 'text-align' => $attr['align'],
3885
- ),
3886
- ' input::placeholder' => array(
3887
- 'color' => $attr['fieldInputColor'],
3888
- 'text-align' => $attr['align'],
3889
- ),
3890
- ' form label' => array(
3891
- 'color' => $attr['fieldLabelColor'],
3892
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3893
- 'font-family' => $attr['labelFontFamily'],
3894
- 'font-weight' => $attr['labelFontWeight'],
3895
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3896
- ),
3897
- ' form .gfield_radio label' => array(
3898
- 'color' => $attr['fieldLabelColor'],
3899
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3900
- 'font-family' => $attr['labelFontFamily'],
3901
- 'font-weight' => $attr['labelFontWeight'],
3902
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3903
- ),
3904
- ' form .gfield_checkbox label' => array(
3905
- 'color' => $attr['fieldLabelColor'],
3906
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3907
- 'font-family' => $attr['labelFontFamily'],
3908
- 'font-weight' => $attr['labelFontWeight'],
3909
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3910
- ),
3911
- ' .wpgf .gfield_checkbox input[type="checkbox"] + label, .wpgf .gfield_checkbox input[type="checkbox"] + label' => array(
3912
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3913
- ),
3914
-
3915
- // Focus.
3916
- ' form input:not([type=submit]):focus' => array(
3917
- 'border-color' => $attr['fieldBorderFocusColor'],
3918
- ),
3919
- ' form select:focus' => array(
3920
- 'border-color' => $attr['fieldBorderFocusColor'],
3921
- ),
3922
- ' textarea:focus' => array(
3923
- 'border-color' => $attr['fieldBorderFocusColor'],
3924
- ),
3925
-
3926
- // Submit button.
3927
- ' input.gform_button' => array(
3928
- 'color' => $attr['buttonTextColor'],
3929
- 'background-color' => $attr['buttonBgColor'],
3930
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3931
- 'font-family' => $attr['buttonFontFamily'],
3932
- 'font-weight' => $attr['buttonFontWeight'],
3933
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3934
- 'border-color' => $attr['buttonBorderColor'],
3935
- 'border-style' => $attr['buttonBorderStyle'],
3936
- 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3937
- 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3938
- 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3939
- 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3940
- 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3941
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3942
- ),
3943
- ' input.gform_button:hover' => array(
3944
- 'color' => $attr['buttonTextHoverColor'],
3945
- 'background-color' => $attr['buttonBgHoverColor'],
3946
- 'border-color' => $attr['buttonBorderHoverColor'],
3947
- ),
3948
-
3949
- // Check box Radio.
3950
- ' .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3951
- 'background-color' => $attr['fieldBgColor'],
3952
- 'color' => $attr['fieldInputColor'],
3953
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3954
- 'border-color' => $attr['fieldBorderFocusColor'],
3955
- ),
3956
- ' .gfield_checkbox input[type="checkbox"] + label:before' => array(
3957
- 'background-color' => $attr['fieldBgColor'],
3958
- 'color' => $attr['fieldInputColor'],
3959
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3960
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3961
- 'border-style' => $attr['fieldBorderStyle'],
3962
- 'border-color' => $attr['fieldBorderColor'],
3963
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3964
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3965
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3966
- ),
3967
- ' input[type="checkbox"]:checked + label:before' => array(
3968
- 'background-color' => $attr['fieldBgColor'],
3969
- 'color' => $attr['fieldInputColor'],
3970
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3971
- 'border-color' => $attr['fieldBorderFocusColor'],
3972
- ),
3973
- ' input[type="checkbox"] + label:before' => array(
3974
- 'background-color' => $attr['fieldBgColor'],
3975
- 'color' => $attr['fieldInputColor'],
3976
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3977
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3978
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3979
- 'border-color' => $attr['fieldBorderColor'],
3980
- 'border-style' => $attr['fieldBorderStyle'],
3981
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3982
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3983
- ),
3984
- ' .gfield_radio input[type="radio"] + label:before' => array(
3985
- 'background-color' => $attr['fieldBgColor'],
3986
- 'color' => $attr['fieldInputColor'],
3987
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3988
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3989
- 'border-style' => $attr['fieldBorderStyle'],
3990
- 'border-color' => $attr['fieldBorderColor'],
3991
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3992
- ),
3993
- ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3994
- 'border-color' => $attr['fieldBorderFocusColor'],
3995
- ),
3996
-
3997
- // Underline border.
3998
- ' .uagb-gf-styler__field-style-underline input:not([type=submit])' => array(
3999
- 'border-style' => 'none',
4000
- 'border-bottom-color' => $attr['fieldBorderColor'],
4001
- 'border-bottom-style' => 'solid',
4002
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4003
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4004
- ),
4005
- ' .uagb-gf-styler__field-style-underline textarea' => array(
4006
- 'border-style' => 'none',
4007
- 'border-bottom-color' => $attr['fieldBorderColor'],
4008
- 'border-bottom-style' => 'solid',
4009
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4010
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4011
- ),
4012
- ' .uagb-gf-styler__field-style-underline select' => array(
4013
- 'border-style' => 'none',
4014
- 'border-bottom-color' => $attr['fieldBorderColor'],
4015
- 'border-bottom-style' => 'solid',
4016
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4017
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4018
- ),
4019
- ' .uagb-gf-styler__field-style-underline textarea' => array(
4020
- 'border-style' => 'none',
4021
- 'border-bottom-color' => $attr['fieldBorderColor'],
4022
- 'border-bottom-style' => 'solid',
4023
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4024
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4025
- ),
4026
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4027
- 'border-style' => 'solid',
4028
- ),
4029
- ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4030
- 'border-style' => 'solid',
4031
- ),
4032
- ' .uagb-gf-styler__field-style-box .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4033
- 'border-style' => 'solid',
4034
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4035
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4036
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
4037
- ),
4038
- ' .uagb-gf-styler__field-style-box input[type="checkbox"]:checked + label:before' => array(
4039
- 'border-style' => 'solid',
4040
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4041
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4042
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
4043
- ),
4044
- ' .gfield_radio input[type="radio"]:checked + label:before' => array(
4045
- 'background-color' => $attr['fieldInputColor'],
4046
- ),
4047
-
4048
- // Override check box.
4049
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4050
- 'background-color' => $attr['radioCheckBgColor'],
4051
- 'color' => $attr['radioCheckSelectColor'],
4052
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4053
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4054
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4055
- 'border-color' => $attr['radioCheckBorderColor'],
4056
- 'border-style' => 'solid',
4057
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4058
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4059
- ),
4060
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4061
- 'border-color' => $attr['fieldBorderFocusColor'],
4062
- ),
4063
- ' .uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before' => array(
4064
- 'background-color' => $attr['radioCheckBgColor'],
4065
- 'color' => $attr['radioCheckSelectColor'],
4066
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4067
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4068
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4069
- 'border-color' => $attr['radioCheckBorderColor'],
4070
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4071
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4072
- ),
4073
- ' .uagb-gf-styler__check-style-enabled input[type="checkbox"]:checked + label:before' => array(
4074
- 'border-color' => $attr['fieldBorderFocusColor'],
4075
- ),
4076
-
4077
- ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4078
- 'background-color' => $attr['radioCheckBgColor'],
4079
- 'color' => $attr['radioCheckSelectColor'],
4080
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4081
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4082
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4083
- 'border-color' => $attr['radioCheckBorderColor'],
4084
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4085
- ),
4086
- ' .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked + label:before' => array(
4087
- 'background-color' => $attr['radioCheckSelectColor'],
4088
- ),
4089
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4090
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4091
- 'font-family' => $attr['radioCheckFontFamily'],
4092
- 'font-weight' => $attr['radioCheckFontWeight'],
4093
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4094
- 'color' => $attr['radioCheckLableColor'],
4095
- ),
4096
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4097
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4098
- 'font-family' => $attr['radioCheckFontFamily'],
4099
- 'font-weight' => $attr['radioCheckFontWeight'],
4100
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4101
- 'color' => $attr['radioCheckLableColor'],
4102
- ),
4103
- // Validation Errors.
4104
- ' .gform_wrapper .gfield_description.validation_message' => array(
4105
- 'color' => $attr['validationMsgColor'],
4106
- ),
4107
- ' .gform_wrapper .validation_message' => array(
4108
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
4109
- 'font-family' => $attr['validationMsgFontFamily'],
4110
- 'font-weight' => $attr['validationMsgFontWeight'],
4111
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
4112
- ),
4113
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield.gfield_error' => array(
4114
- 'background-color' => $attr['validationMsgBgColor'],
4115
- ),
4116
-
4117
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input:not([type="submit"]):not([type="button"]):not([type="image"])' => array(
4118
- 'border-color' => $attr['highlightBorderColor'],
4119
- ),
4120
-
4121
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container select' => array(
4122
- 'border-color' => $attr['highlightBorderColor'],
4123
- ),
4124
-
4125
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container .chosen-single' => array(
4126
- 'border-color' => $attr['highlightBorderColor'],
4127
- ),
4128
-
4129
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container textarea' => array(
4130
- 'border-color' => $attr['highlightBorderColor'],
4131
- ),
4132
-
4133
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error' => array(
4134
- 'border-color' => $attr['highlightBorderColor'],
4135
- ),
4136
-
4137
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning' => array(
4138
- 'border-color' => $attr['highlightBorderColor'],
4139
- ),
4140
-
4141
- ' .uagb-gf-styler__error-yes li.gfield_error .gfield_checkbox input[type="checkbox"] + label:before' => array(
4142
- 'border-color' => $attr['highlightBorderColor'],
4143
- ),
4144
-
4145
- ' .uagb-gf-styler__error-yes li.gfield_error .ginput_container_consent input[type="checkbox"] + label:before' => array(
4146
- 'border-color' => $attr['highlightBorderColor'],
4147
- ),
4148
-
4149
- ' .uagb-gf-styler__error-yes li.gfield_error .gfield_radio input[type="radio"] + label:before' => array(
4150
- 'border-color' => $attr['highlightBorderColor'],
4151
- ),
4152
-
4153
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4154
- 'border' => $attr['fieldBorderWidth'] . 'px ' . $attr['fieldBorderStyle'] . ' ' . $attr['fieldBorderColor'] . '!important',
4155
- ),
4156
-
4157
- ' .uael-gf-style-underline.uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4158
- 'border-width' => $attr['fieldBorderWidth'] . 'px' . '!important',
4159
- 'border-style' => 'solid' . '!important',
4160
- 'border-color' => $attr['fieldBorderColor'] . '!important',
4161
- ),
4162
-
4163
- ' .gform_wrapper div.validation_error' => array(
4164
- 'color' => $attr['errorMsgColor'],
4165
- 'background-color' => $attr['errorMsgBgColor'],
4166
- 'border-color' => $attr['errorMsgBorderColor'],
4167
- 'border-style' => 'solid',
4168
- 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
4169
- 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
4170
- 'padding' => $attr['msgVrPadding'] . 'px ' . $attr['msgHrPadding'] . 'px',
4171
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
4172
- 'font-family' => $attr['msgFontFamily'],
4173
- 'font-weight' => $attr['msgFontWeight'],
4174
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
4175
- ),
4176
-
4177
- ' .gform_confirmation_message' => array(
4178
- 'color' => $attr['successMsgColor'],
4179
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSize'], $attr['successMsgFontSizeType'] ),
4180
- 'font-family' => $attr['successMsgFontFamily'],
4181
- 'font-weight' => $attr['successMsgFontWeight'],
4182
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeight'], $attr['successMsgLineHeightType'] ),
4183
- ),
4184
- );
4185
-
4186
- $t_selectors = array(
4187
- ' form.wpgf-form:not(input)' => array(
4188
- 'color' => $attr['fieldLabelColor'],
4189
- ),
4190
- ' input:not([type=submit])' => array(
4191
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4192
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4193
- ),
4194
- ' textarea' => array(
4195
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4196
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4197
- ),
4198
- ' form label' => array(
4199
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4200
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4201
- ),
4202
-
4203
- ' form .gfield_radio label' => array(
4204
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4205
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4206
- ),
4207
- ' form .gfield_checkbox label' => array(
4208
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4209
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4210
- ),
4211
- ' input.gform_button' => array(
4212
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
4213
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
4214
- ),
4215
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4216
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4217
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4218
- ),
4219
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4220
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4221
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4222
- ),
4223
- ' span.wpgf-not-valid-tip' => array(
4224
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4225
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4226
- ),
4227
- ' .wpgf-response-output' => array(
4228
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4229
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4230
- ),
4231
- ' .gform_wrapper .validation_message' => array(
4232
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4233
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4234
- ),
4235
- ' .gform_wrapper div.validation_error' => array(
4236
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4237
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4238
- ),
4239
- ' .gform_confirmation_message' => array(
4240
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeTablet'], $attr['successMsgFontSizeType'] ),
4241
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightTablet'], $attr['successMsgLineHeightType'] ),
4242
- 'color' => $attr['successMsgColor'],
4243
- ),
4244
- );
4245
-
4246
- $m_selectors = array(
4247
- ' input:not([type=submit])' => array(
4248
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4249
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4250
- ),
4251
- ' textarea' => array(
4252
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4253
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4254
- ),
4255
- ' form label' => array(
4256
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4257
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4258
- ),
4259
-
4260
- ' form .gfield_radio label' => array(
4261
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4262
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4263
- ),
4264
- ' form .gfield_checkbox label' => array(
4265
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4266
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4267
- ),
4268
- ' input.gform_button' => array(
4269
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
4270
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
4271
- ),
4272
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4273
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4274
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4275
- ),
4276
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4277
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4278
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4279
- ),
4280
- ' span.wpgf-not-valid-tip' => array(
4281
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4282
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4283
- ),
4284
- ' .wpgf-response-output' => array(
4285
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4286
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4287
- ),
4288
- ' .gform_wrapper .validation_message' => array(
4289
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4290
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4291
- ),
4292
- ' .gform_wrapper div.validation_error' => array(
4293
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4294
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4295
- ),
4296
- ' .gform_confirmation_message' => array(
4297
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeMobile'], $attr['successMsgFontSizeType'] ),
4298
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightMobile'], $attr['successMsgLineHeightType'] ),
4299
- 'color' => $attr['successMsgColor'],
4300
- ),
4301
- );
4302
-
4303
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-gf-styler-' . $id );
4304
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-gf-styler-' . $id );
4305
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-gf-styler-' . $id );
4306
- $generated_css = array(
4307
- 'desktop' => $desktop,
4308
- 'tablet' => $tablet,
4309
- 'mobile' => $mobile,
4310
- );
4311
-
4312
- return $generated_css;
4313
- }
4314
-
4315
- /*
4316
- * Get Marketing Button Block CSS
4317
- *
4318
- * @since 1.11.0
4319
- * @param array $attr The block attributes.
4320
- * @param string $id The selector ID.
4321
- * @return array The Widget List.
4322
- */
4323
- public static function get_marketing_btn_css( $attr, $id ) { // @codingStandardsIgnoreStart
4324
-
4325
- $defaults = UAGB_Helper::$block_list['uagb/marketing-button']['attributes'];
4326
-
4327
- $attr = array_merge( $defaults, (array) $attr );
4328
-
4329
- $m_selectors = array();
4330
- $t_selectors = array();
4331
-
4332
- $icon_color = ( "" == $attr["iconColor"] ) ? $attr["titleColor"] : $attr["iconColor"];
4333
- $icon_hover_color = ( "" == $attr["iconHoverColor"] ) ? $attr["titleHoverColor"] : $attr["iconHoverColor"];
4334
-
4335
- $selectors = array(
4336
- " .uagb-marketing-btn__title-wrap" => array(
4337
- "margin-bottom" => UAGB_Helper::get_css_value( $attr["titleSpace"], 'px' )
4338
- ),
4339
- " .uagb-marketing-btn__title" => array(
4340
- "font-size" => UAGB_Helper::get_css_value( $attr["titleFontSize"], $attr["titleFontSizeType"] ),
4341
- "line-height" => UAGB_Helper::get_css_value( $attr["titleLineHeight"], $attr["titleLineHeightType"] ),
4342
- "font-family" => $attr["titleFontFamily"],
4343
- "font-weight" => $attr["titleFontWeight"],
4344
- "color" => $attr["titleColor"],
4345
- ),
4346
- " .uagb-marketing-btn__icon-wrap" => array(
4347
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4348
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4349
- ),
4350
- " .uagb-marketing-btn__icon-wrap svg" => array(
4351
- "fill" => $icon_color
4352
- ),
4353
- " .uagb-marketing-btn__prefix" => array(
4354
- "font-size" => UAGB_Helper::get_css_value( $attr["prefixFontSize"], $attr["prefixFontSizeType"] ),
4355
- "line-height" => UAGB_Helper::get_css_value( $attr["prefixLineHeight"], $attr["prefixLineHeightType"] ),
4356
- "font-family" => $attr["prefixFontFamily"],
4357
- "font-weight" => $attr["prefixFontWeight"],
4358
- "color" => $attr["prefixColor"],
4359
- ),
4360
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__title" => array(
4361
- "color" => $attr["titleHoverColor"],
4362
- ),
4363
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__prefix" => array(
4364
- "color" => $attr["prefixHoverColor"],
4365
- ),
4366
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__icon-wrap svg" => array(
4367
- "fill" => $icon_hover_color
4368
- ),
4369
- " .uagb-marketing-btn__link" => array(
4370
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4371
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4372
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4373
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4374
- "border-style" => $attr["borderStyle"],
4375
- "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], 'px' ),
4376
- "border-color" => $attr["borderColor"],
4377
- "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], 'px' ),
4378
- ),
4379
- " .uagb-marketing-btn__link:hover" => array(
4380
- "border-color" => $attr["borderHoverColor"]
4381
- ),
4382
- );
4383
-
4384
- if ( "transparent" == $attr["backgroundType"] ) {
4385
-
4386
- $selectors[" .uagb-marketing-btn__link"]["background"] = "transparent";
4387
-
4388
- } else if ( "color" == $attr["backgroundType"] ) {
4389
-
4390
- $selectors[" .uagb-marketing-btn__link"]["background"] = UAGB_Helper::hex2rgba( $attr["backgroundColor"], $attr['backgroundOpacity'] );
4391
-
4392
- // Hover Background
4393
- $selectors[" .uagb-marketing-btn__link:hover"] = array(
4394
- "background" => UAGB_Helper::hex2rgba( $attr["backgroundHoverColor"], $attr['backgroundHoverOpacity'] ),
4395
- );
4396
-
4397
- } else if ( "gradient" == $attr["backgroundType"] ) {
4398
-
4399
- $selectors[' .uagb-marketing-btn__link']['background-color'] = 'transparent';
4400
-
4401
- if ( 'linear' === $attr['gradientType'] ) {
4402
-
4403
- $selectors[' .uagb-marketing-btn__link']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4404
- } else {
4405
-
4406
- $selectors[' .uagb-marketing-btn__link']['background-image'] = 'radial-gradient( at center center, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4407
- }
4408
- }
4409
-
4410
- $margin_type = ( "after" == $attr["iconPosition"] ) ? "margin-left" : "margin-right";
4411
-
4412
- $selectors[" .uagb-marketing-btn__icon-wrap"][$margin_type] = UAGB_Helper::get_css_value( $attr["iconSpace"], "px" );
4413
-
4414
- $m_selectors = array(
4415
- ' .uagb-marketing-btn__title' => array(
4416
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
4417
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
4418
- ),
4419
- ' .uagb-marketing-btn__prefix' => array(
4420
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
4421
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
4422
- ),
4423
- ' .uagb-marketing-btn__icon-wrap' => array(
4424
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4425
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4426
- ),
4427
- " .uagb-marketing-btn__link" => array(
4428
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4429
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4430
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4431
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4432
- ),
4433
-
4434
- );
4435
-
4436
- $t_selectors = array(
4437
- ' .uagb-marketing-btn__title' => array(
4438
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
4439
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
4440
- ),
4441
- ' .uagb-marketing-btn__prefix' => array(
4442
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
4443
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightTablet'], $attr['prefixLineHeightType'] ),
4444
- ),
4445
- ' .uagb-marketing-btn__icon-wrap' => array(
4446
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4447
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4448
- ),
4449
- " .uagb-marketing-btn__link" => array(
4450
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4451
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4452
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4453
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4454
- ),
4455
-
4456
- );
4457
-
4458
- // @codingStandardsIgnoreEnd
4459
-
4460
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-marketing-btn-' . $id );
4461
-
4462
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-marketing-btn-' . $id );
4463
-
4464
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-marketing-btn-' . $id );
4465
-
4466
- $generated_css = array(
4467
- 'desktop' => $desktop,
4468
- 'tablet' => $tablet,
4469
- 'mobile' => $mobile,
4470
- );
4471
-
4472
- return $generated_css;
4473
- }
4474
-
4475
- /**
4476
- * Get Table of Contents Block CSS
4477
- *
4478
- * @since 1.13.0
4479
- * @param array $attr The block attributes.
4480
- * @param string $id The selector ID.
4481
- * @return array The Widget List.
4482
- */
4483
- public static function get_table_of_contents_css( $attr, $id ) { // @codingStandardsIgnoreStart
4484
-
4485
- $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4486
-
4487
- $attr = array_merge( $defaults, (array) $attr );
4488
- $m_selectors = array();
4489
- $t_selectors = array();
4490
-
4491
- $selectors = array(
4492
- " .uagb-toc__list-wrap ul li a:hover" => array(
4493
- "color" => $attr["linkHoverColor"],
4494
- ),
4495
- " .uagb-toc__list-wrap ul li a" => array(
4496
- "font-size" => UAGB_Helper::get_css_value( $attr["fontSize"], $attr["fontSizeType"] ),
4497
- "line-height" => UAGB_Helper::get_css_value( $attr["lineHeight"], $attr["lineHeightType"] ),
4498
- "font-family" => $attr["fontFamily"],
4499
- "font-weight" => $attr["fontWeight"],
4500
- "color" => $attr["linkColor"],
4501
- ),
4502
- " .uagb-toc__title" => array(
4503
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSize"], $attr["headingFontSizeType"] ),
4504
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeight"], $attr["headingLineHeightType"] ),
4505
- "font-family" => $attr["headingFontFamily"],
4506
- "font-weight" => $attr["headingFontWeight"],
4507
- "color" => $attr["headingColor"],
4508
- "margin-bottom" => UAGB_Helper::get_css_value( $attr["headingBottom"], "px"),
4509
- ),
4510
- " .uagb-toc__wrap" => array(
4511
- "border-style" => $attr["borderStyle"],
4512
- "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], "px" ),
4513
- "border-color" => $attr["borderColor"],
4514
- "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], "px" ),
4515
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4516
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4517
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4518
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4519
- "background" => $attr["backgroundColor"],
4520
- ),
4521
- " .uagb-toc__list-wrap" => array(
4522
- 'column-count' => $attr['tColumnsDesktop'],
4523
- ),
4524
- " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4525
- "padding-top" => 0
4526
- ),
4527
- " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4528
- "padding-bottom" => 0
4529
- ),
4530
- " .uag-toc__collapsible-wrap svg" => array(
4531
- "width" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4532
- "height" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4533
- "fill" => $attr["iconColor"]
4534
- ),
4535
- );
4536
-
4537
- if ( '' != $attr["contentPaddingDesktop"] ) {
4538
- $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-top"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4539
- $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-bottom"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4540
- }
4541
-
4542
- if ( $attr["customWidth"] ) {
4543
- $selectors[" .uagb-toc__wrap"]["width"] = UAGB_Helper::get_css_value( $attr["widthDesktop"], $attr["widthTypeDesktop"] );
4544
- }
4545
-
4546
- if ( $attr["disableBullets"] ) {
4547
- $selectors[" .uagb-toc__list"] = array(
4548
- "list-style-type" => 'none'
4549
- );
4550
- $selectors[" .uagb-toc__list .uagb-toc__list"] = array(
4551
- "list-style-type" => 'none'
4552
- );
4553
- }
4554
-
4555
-
4556
- $m_selectors = array(
4557
- ' .uagb-toc__list-wrap ul li a' => array(
4558
- 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
4559
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
4560
- ),
4561
- " .uagb-toc__title" => array(
4562
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeMobile"], $attr["headingFontSizeType"] ),
4563
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightMobile"], $attr["headingLineHeightType"] ),
4564
- ),
4565
- " .uagb-toc__wrap" => array(
4566
- "width" => UAGB_Helper::get_css_value( $attr["widthMobile"], $attr["widthTypeMobile"] ),
4567
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4568
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4569
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4570
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4571
- ),
4572
- " .uagb-toc__list-wrap" => array(
4573
- 'column-count' => $attr['tColumnsMobile'],
4574
- ),
4575
- " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4576
- "padding-top" => 0
4577
- ),
4578
- " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4579
- "padding-bottom" => 0
4580
- ),
4581
-
4582
- );
4583
-
4584
- $t_selectors = array(
4585
- ' .uagb-toc__list-wrap ul li a' => array(
4586
- 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
4587
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
4588
- ),
4589
- " .uagb-toc__title" => array(
4590
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeTablet"], $attr["headingFontSizeType"] ),
4591
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightTablet"], $attr["headingLineHeightType"] ),
4592
- ),
4593
- " .uagb-toc__wrap" => array(
4594
- "width" => UAGB_Helper::get_css_value( $attr["widthTablet"], $attr["widthTypeTablet"] ),
4595
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4596
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4597
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4598
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4599
- ),
4600
- " .uagb-toc__list-wrap" => array(
4601
- 'column-count' => $attr['tColumnsTablet'],
4602
- ),
4603
- " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4604
- "padding-top" => 0
4605
- ),
4606
- " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4607
- "padding-bottom" => 0
4608
- ), );
4609
-
4610
- if ( '' != $attr["contentPaddingTablet"] ) {
4611
- $t_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4612
- "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4613
- "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4614
- );
4615
- }
4616
-
4617
- if ( '' != $attr["contentPaddingMobile"] ) {
4618
- $m_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4619
- "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4620
- "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4621
- );
4622
- }
4623
-
4624
- // @codingStandardsIgnoreEnd
4625
-
4626
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-toc-' . $id );
4627
-
4628
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-toc-' . $id );
4629
-
4630
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-toc-' . $id );
4631
-
4632
- if ( '' !== $attr['scrollToTopColor'] ) {
4633
- $desktop .= '.uagb-toc__scroll-top { color: ' . $attr['scrollToTopColor'] . '; }';
4634
- }
4635
-
4636
- if ( '' !== $attr['scrollToTopBgColor'] ) {
4637
- $desktop .= '.uagb-toc__scroll-top { background: ' . $attr['scrollToTopBgColor'] . '; }';
4638
- }
4639
-
4640
- $generated_css = array(
4641
- 'desktop' => $desktop,
4642
- 'tablet' => $tablet,
4643
- 'mobile' => $mobile,
4644
- );
4645
-
4646
- return $generated_css;
4647
- }
4648
-
4649
-
4650
- /**
4651
- * Get Testimonial Js
4652
- *
4653
- * @since 1.6.0
4654
- * @param array $attr The block attributes.
4655
- * @param string $id The selector ID.
4656
- */
4657
- public static function get_testimonial_js( $attr, $id ) { // @codingStandardsIgnoreStart.
4658
-
4659
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
4660
-
4661
- $attr = array_merge( $defaults, (array) $attr );
4662
-
4663
- $dots = ( "dots" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4664
- $arrows = ( "arrows" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4665
-
4666
- $slick_options = apply_filters( 'uagb_testimonials_slick_options',[
4667
- 'slidesToShow' => $attr['columns'],
4668
- 'slidesToScroll' => 1,
4669
- 'autoplaySpeed' => $attr['autoplaySpeed'],
4670
- 'autoplay' => $attr['autoplay'],
4671
- 'infinite' => $attr['infiniteLoop'],
4672
- 'pauseOnHover' => $attr['pauseOnHover'],
4673
- 'speed' => $attr['transitionSpeed'],
4674
- 'arrows' => $arrows,
4675
- 'dots' => $dots,
4676
- 'rtl' => false,
4677
- 'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
4678
- 'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
4679
- 'responsive' => [
4680
- [
4681
- 'breakpoint' => 1024,
4682
- 'settings' => [
4683
- 'slidesToShow' => $attr['tcolumns'],
4684
- 'slidesToScroll' => 1,
4685
- ],
4686
- ],
4687
- [
4688
- 'breakpoint' => 767,
4689
- 'settings' => [
4690
- 'slidesToShow' => $attr['mcolumns'],
4691
- 'slidesToScroll' => 1,
4692
- ],
4693
- ]
4694
- ]
4695
- ], $id );
4696
-
4697
- $settings = json_encode($slick_options);
4698
- $selector = '#uagb-testimonial-'. $id;
4699
- $js = 'if( jQuery( ".wp-block-uagb-testimonial" ).length > 0 ){ ' .
4700
- 'return true ' .
4701
- '} else {' .
4702
- 'jQuery( "' . $selector . '" ).find( ".is-carousel" ).slick( ' . $settings .' );'.
4703
- '}';
4704
-
4705
- return $js;
4706
- // @codingStandardsIgnoreEnd.
4707
- }
4708
-
4709
- /**
4710
- * Get Blockquote Js
4711
- *
4712
- * @since 1.8.2
4713
- * @param array $attr The block attributes.
4714
- * @param string $id The selector ID.
4715
- */
4716
- public static function get_blockquote_js( $attr, $id ) {
4717
- // @codingStandardsIgnoreStart.
4718
-
4719
- $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
4720
-
4721
- $attr = array_merge( $defaults, (array) $attr );
4722
-
4723
- $target = $attr['iconTargetUrl'];
4724
-
4725
- $url = " " ;
4726
-
4727
- if( $target == 'current' ){
4728
- global $wp;
4729
- $url = home_url(add_query_arg(array(),$wp->request));
4730
- }else{
4731
- $url = $attr['customUrl'];
4732
- }
4733
-
4734
- $via = isset( $attr['iconShareVia'] ) ? $attr['iconShareVia'] : '';
4735
-
4736
- $selector = '#uagb-blockquote-'. $id;
4737
-
4738
- $js = 'jQuery( "' . $selector . '" ).find( ".uagb-blockquote__tweet-button" ).click(function(){'.
4739
- 'var content = jQuery("' . $selector . '").find(".uagb-blockquote__content").text();'.
4740
- 'var request_url = "https://twitter.com/share?url="+ encodeURIComponent("' . $url . '")+"&text="+content+"&via="+("' . $via . '");'.
4741
- 'window.open( request_url );'.
4742
- '});';
4743
-
4744
- return $js;
4745
- // @codingStandardsIgnoreEnd.
4746
- }
4747
-
4748
- /**
4749
- * Get Social Share JS
4750
- *
4751
- * @since 1.8.1
4752
- * @param string $id The selector ID.
4753
- */
4754
- public static function get_social_share_js( $id ) {
4755
- $selector = '#uagb-social-share-' . $id;
4756
- $js = 'jQuery( " ' . $selector . ' " ).find( ".uagb-ss__link" ).click(function(){ ' .
4757
- 'var social_url = jQuery( this ).data( "href" ); ' .
4758
- 'var target = ""; ' .
4759
- 'if( social_url == "mailto:?body=" ){ ' .
4760
- 'target = "_self";' .
4761
- '}' .
4762
- 'var request_url = social_url + window.location.href ;' .
4763
- 'window.open( request_url,target );' .
4764
- '});';
4765
-
4766
- return $js;
4767
- }
4768
-
4769
- /**
4770
- * Get Table of Contents Js
4771
- *
4772
- * @since 1.13.0
4773
- * @param array $attr The block attributes.
4774
- * @param string $id The selector ID.
4775
- */
4776
- public static function get_table_of_contents_js( $attr, $id ) {
4777
- // @codingStandardsIgnoreStart.
4778
-
4779
- $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4780
-
4781
- $attr = array_merge( $defaults, (array) $attr );
4782
-
4783
- $selector = '#uagb-toc-'. $id;
4784
-
4785
- $js = 'jQuery( document ).ready(function() { ' .
4786
- 'UAGBTableOfContents._run( ' . json_encode( $attr ) . ', "'. $selector .'" ); '.
4787
- '})';
4788
-
4789
- return $js;
4790
- // @codingStandardsIgnoreEnd.
4791
- }
4792
-
4793
- /**
4794
- * Adds Google fonts for Advanced Heading block.
4795
- *
4796
- * @since 1.9.1
4797
- * @param array $attr the blocks attr.
4798
- */
4799
- public static function blocks_advanced_heading_gfont( $attr ) {
4800
-
4801
- $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4802
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4803
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4804
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4805
-
4806
- $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4807
- $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4808
- $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4809
- $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4810
-
4811
- UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4812
- UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4813
- }
4814
-
4815
-
4816
- /**
4817
- * Adds Google fonts for CF7 Styler block.
4818
- *
4819
- * @since 1.10.0
4820
- * @param array $attr the blocks attr.
4821
- */
4822
- public static function blocks_cf7_styler_gfont( $attr ) {
4823
-
4824
- $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4825
- $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4826
- $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4827
- $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4828
-
4829
- $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4830
- $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4831
- $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4832
- $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4833
-
4834
- $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4835
- $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4836
- $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4837
- $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4838
-
4839
- $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4840
- $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4841
- $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4842
- $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4843
-
4844
- $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4845
- $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4846
- $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4847
- $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4848
-
4849
- $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4850
- $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4851
- $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4852
- $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4853
-
4854
- UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4855
- UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4856
-
4857
- UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4858
- UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4859
-
4860
- UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4861
- UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4862
- }
4863
-
4864
-
4865
- /**
4866
- * Adds Google fonts for Gravity Form Styler block.
4867
- *
4868
- * @since 1.12.0
4869
- * @param array $attr the blocks attr.
4870
- */
4871
- public static function blocks_gf_styler_gfont( $attr ) {
4872
-
4873
- $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4874
- $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4875
- $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4876
- $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4877
-
4878
- $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4879
- $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4880
- $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4881
- $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4882
-
4883
- $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4884
- $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4885
- $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4886
- $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4887
-
4888
- $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4889
- $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4890
- $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4891
- $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4892
-
4893
- $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4894
- $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4895
- $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4896
- $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4897
-
4898
- $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4899
- $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4900
- $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4901
- $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4902
-
4903
- UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4904
- UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4905
-
4906
- UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4907
- UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4908
-
4909
- UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4910
- UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4911
- }
4912
-
4913
- /**
4914
- * Adds Google fonts for Marketing Button block.
4915
- *
4916
- * @since 1.11.0
4917
- * @param array $attr the blocks attr.
4918
- */
4919
- public static function blocks_marketing_btn_gfont( $attr ) {
4920
-
4921
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4922
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4923
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4924
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4925
-
4926
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4927
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4928
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4929
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4930
-
4931
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4932
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4933
- }
4934
-
4935
- /**
4936
- * Adds Google fonts for Table Of Contents block.
4937
- *
4938
- * @since 1.13.0
4939
- * @param array $attr the blocks attr.
4940
- */
4941
- public static function blocks_table_of_contents_gfont( $attr ) {
4942
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4943
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4944
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4945
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4946
- $heading_load_google_font = isset( $attr['headingLoadGoogleFonts'] ) ? $attr['headingLoadGoogleFonts'] : '';
4947
- $heading_font_family = isset( $attr['headingFontFamily'] ) ? $attr['headingFontFamily'] : '';
4948
- $heading_font_weight = isset( $attr['headingFontWeight'] ) ? $attr['headingFontWeight'] : '';
4949
- $heading_font_subset = isset( $attr['headingFontSubset'] ) ? $attr['headingFontSubset'] : '';
4950
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4951
- UAGB_Helper::blocks_google_font( $heading_load_google_font, $heading_font_family, $heading_font_weight, $heading_font_subset );
4952
- }
4953
-
4954
- /**
4955
- * Adds Google fonts for Blockquote.
4956
- *
4957
- * @since 1.9.1
4958
- * @param array $attr the blocks attr.
4959
- */
4960
- public static function blocks_blockquote_gfont( $attr ) {
4961
-
4962
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4963
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4964
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4965
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4966
-
4967
- $author_load_google_font = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4968
- $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4969
- $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4970
- $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4971
-
4972
- $tweet_btn_load_google_font = isset( $attr['tweetBtnLoadGoogleFonts'] ) ? $attr['tweetBtnLoadGoogleFonts'] : '';
4973
- $tweet_btn_font_family = isset( $attr['tweetBtnFontFamily'] ) ? $attr['tweetBtnFontFamily'] : '';
4974
- $tweet_btn_font_weight = isset( $attr['tweetBtnFontWeight'] ) ? $attr['tweetBtnFontWeight'] : '';
4975
- $tweet_btn_font_subset = isset( $attr['tweetBtnFontSubset'] ) ? $attr['tweetBtnFontSubset'] : '';
4976
-
4977
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4978
- UAGB_Helper::blocks_google_font( $author_load_google_font, $author_font_family, $author_font_weight, $author_font_subset );
4979
- UAGB_Helper::blocks_google_font( $tweet_btn_load_google_font, $tweet_btn_font_family, $tweet_btn_font_weight, $tweet_btn_font_subset );
4980
- }
4981
-
4982
- /**
4983
- * Adds Google fonts for Testimonial block.
4984
- *
4985
- * @since 1.9.1
4986
- * @param array $attr the blocks attr.
4987
- */
4988
- public static function blocks_testimonial_gfont( $attr ) {
4989
- $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4990
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4991
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4992
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4993
-
4994
- $name_load_google_fonts = isset( $attr['nameLoadGoogleFonts'] ) ? $attr['nameLoadGoogleFonts'] : '';
4995
- $name_font_family = isset( $attr['nameFontFamily'] ) ? $attr['nameFontFamily'] : '';
4996
- $name_font_weight = isset( $attr['nameFontWeight'] ) ? $attr['nameFontWeight'] : '';
4997
- $name_font_subset = isset( $attr['nameFontSubset'] ) ? $attr['nameFontSubset'] : '';
4998
-
4999
- $company_load_google_fonts = isset( $attr['companyLoadGoogleFonts'] ) ? $attr['companyLoadGoogleFonts'] : '';
5000
- $company_font_family = isset( $attr['companyFontFamily'] ) ? $attr['companyFontFamily'] : '';
5001
- $company_font_weight = isset( $attr['companyFontWeight'] ) ? $attr['companyFontWeight'] : '';
5002
- $company_font_subset = isset( $attr['companyFontSubset'] ) ? $attr['companyFontSubset'] : '';
5003
-
5004
- UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5005
- UAGB_Helper::blocks_google_font( $name_load_google_fonts, $name_font_family, $name_font_family, $name_font_subset );
5006
- UAGB_Helper::blocks_google_font( $company_load_google_fonts, $company_font_family, $company_font_family, $company_font_subset );
5007
- }
5008
-
5009
- /**
5010
- * Adds Google fonts for Advanced Heading block.
5011
- *
5012
- * @since 1.9.1
5013
- * @param array $attr the blocks attr.
5014
- */
5015
- public static function blocks_team_gfont( $attr ) {
5016
-
5017
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5018
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5019
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5020
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5021
-
5022
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5023
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5024
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5025
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5026
-
5027
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5028
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5029
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5030
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5031
-
5032
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5033
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5034
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5035
- }
5036
-
5037
- /**
5038
- *
5039
- * Adds Google fonts for Restaurant Menu block.
5040
- *
5041
- * @since 1.9.1
5042
- * @param array $attr the blocks attr.
5043
- */
5044
- public static function blocks_restaurant_menu_gfont( $attr ) {
5045
- $title_load_google_fonts = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5046
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5047
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5048
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5049
-
5050
- $price_load_google_fonts = isset( $attr['priceLoadGoogleFonts'] ) ? $attr['priceLoadGoogleFonts'] : '';
5051
- $price_font_family = isset( $attr['priceFontFamily'] ) ? $attr['priceFontFamily'] : '';
5052
- $price_font_weight = isset( $attr['priceFontWeight'] ) ? $attr['priceFontWeight'] : '';
5053
- $price_font_subset = isset( $attr['priceFontSubset'] ) ? $attr['priceFontSubset'] : '';
5054
-
5055
- $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5056
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5057
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5058
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5059
-
5060
- UAGB_Helper::blocks_google_font( $title_load_google_fonts, $title_font_family, $title_font_weight, $title_font_subset );
5061
- UAGB_Helper::blocks_google_font( $price_load_google_fonts, $price_font_family, $price_font_weight, $price_font_subset );
5062
- UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5063
- }
5064
-
5065
- /**
5066
- * Adds Google fonts for Content Timeline block.
5067
- *
5068
- * @since 1.9.1
5069
- * @param array $attr the blocks attr.
5070
- */
5071
- public static function blocks_content_timeline_gfont( $attr ) {
5072
- $head_load_google_fonts = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5073
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5074
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5075
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5076
-
5077
- $subheadload_google_fonts = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5078
- $subheadfont_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5079
- $subheadfont_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5080
- $subheadfont_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5081
-
5082
- $date_load_google_fonts = isset( $attr['dateLoadGoogleFonts'] ) ? $attr['dateLoadGoogleFonts'] : '';
5083
- $date_font_family = isset( $attr['dateFontFamily'] ) ? $attr['dateFontFamily'] : '';
5084
- $date_font_weight = isset( $attr['dateFontWeight'] ) ? $attr['dateFontWeight'] : '';
5085
- $date_font_subset = isset( $attr['dateFontSubset'] ) ? $attr['dateFontSubset'] : '';
5086
-
5087
- UAGB_Helper::blocks_google_font( $head_load_google_fonts, $head_font_family, $head_font_weight, $head_font_subset );
5088
- UAGB_Helper::blocks_google_font( $subheadload_google_fonts, $subheadfont_family, $subheadfont_weight, $subheadfont_subset );
5089
- UAGB_Helper::blocks_google_font( $date_load_google_fonts, $date_font_family, $date_font_weight, $date_font_subset );
5090
- }
5091
-
5092
- /**
5093
- * Adds Google fonts for Post Timeline block.
5094
- *
5095
- * @since 1.9.1
5096
- * @param array $attr the blocks attr.
5097
- */
5098
- public static function blocks_post_timeline_gfont( $attr ) {
5099
- self::blocks_content_timeline_gfont( $attr );
5100
-
5101
- $author_load_google_fonts = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
5102
- $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
5103
- $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
5104
- $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
5105
-
5106
- $cta_load_google_fonts = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5107
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5108
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5109
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5110
-
5111
- UAGB_Helper::blocks_google_font( $author_load_google_fonts, $author_font_family, $author_font_weight, $author_font_subset );
5112
- UAGB_Helper::blocks_google_font( $cta_load_google_fonts, $cta_font_family, $cta_font_weight, $cta_font_subset );
5113
- }
5114
-
5115
- /**
5116
- * Adds Google fonts for Mulit Button's block.
5117
- *
5118
- * @since 1.9.1
5119
- * @param array $attr the blocks attr.
5120
- */
5121
- public static function blocks_buttons_gfont( $attr ) {
5122
-
5123
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5124
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5125
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5126
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5127
-
5128
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5129
- }
5130
-
5131
- /**
5132
- * Adds Google fonts for Icon List block
5133
- *
5134
- * @since 1.9.1
5135
- * @param array $attr the blocks attr.
5136
- */
5137
- public static function blocks_icon_list_gfont( $attr ) {
5138
-
5139
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5140
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5141
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5142
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5143
-
5144
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5145
- }
5146
-
5147
- /**
5148
- * Adds Google fonts for Post block.
5149
- *
5150
- * @since 1.9.1
5151
- * @param array $attr the blocks attr.
5152
- */
5153
- public static function blocks_post_gfont( $attr ) {
5154
-
5155
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5156
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5157
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5158
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5159
-
5160
- $meta_load_google_font = isset( $attr['metaLoadGoogleFonts'] ) ? $attr['metaLoadGoogleFonts'] : '';
5161
- $meta_font_family = isset( $attr['metaFontFamily'] ) ? $attr['metaFontFamily'] : '';
5162
- $meta_font_weight = isset( $attr['metaFontWeight'] ) ? $attr['metaFontWeight'] : '';
5163
- $meta_font_subset = isset( $attr['metaFontSubset'] ) ? $attr['metaFontSubset'] : '';
5164
-
5165
- $excerpt_load_google_font = isset( $attr['excerptLoadGoogleFonts'] ) ? $attr['excerptLoadGoogleFonts'] : '';
5166
- $excerpt_font_family = isset( $attr['excerptFontFamily'] ) ? $attr['excerptFontFamily'] : '';
5167
- $excerpt_font_weight = isset( $attr['excerptFontWeight'] ) ? $attr['excerptFontWeight'] : '';
5168
- $excerpt_font_subset = isset( $attr['excerptFontSubset'] ) ? $attr['excerptFontSubset'] : '';
5169
-
5170
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5171
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5172
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5173
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5174
-
5175
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5176
-
5177
- UAGB_Helper::blocks_google_font( $meta_load_google_font, $meta_font_family, $meta_font_weight, $meta_font_subset );
5178
-
5179
- UAGB_Helper::blocks_google_font( $excerpt_load_google_font, $excerpt_font_family, $excerpt_font_weight, $excerpt_font_subset );
5180
-
5181
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5182
- }
5183
-
5184
- /**
5185
- * Adds Google fonts for Advanced Heading block.
5186
- *
5187
- * @since 1.9.1
5188
- * @param array $attr the blocks attr.
5189
- */
5190
- public static function blocks_info_box_gfont( $attr ) {
5191
-
5192
- $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5193
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5194
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5195
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5196
-
5197
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5198
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5199
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5200
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5201
-
5202
- $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5203
- $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5204
- $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5205
- $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5206
-
5207
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5208
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5209
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5210
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5211
-
5212
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5213
- UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
5214
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5215
- UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
5216
- }
5217
-
5218
- /**
5219
- * Adds Google fonts for Call To Action block.
5220
- *
5221
- * @since 1.9.1
5222
- * @param array $attr the blocks attr.
5223
- */
5224
- public static function blocks_call_to_action_gfont( $attr ) {
5225
-
5226
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5227
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5228
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5229
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5230
-
5231
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5232
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5233
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5234
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5235
-
5236
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5237
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5238
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5239
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5240
-
5241
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5242
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5243
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5244
- }
5245
- }
5246
- }
1
+ <?php
2
+ /**
3
+ * UAGB Block Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Block_Helper.
12
+ */
13
+ class UAGB_Block_Helper {
14
+
15
+ /**
16
+ * Get Section Block CSS
17
+ *
18
+ * @since 0.0.1
19
+ * @param array $attr The block attributes.
20
+ * @param string $id The selector ID.
21
+ * @return array The Widget List.
22
+ */
23
+ public static function get_section_css( $attr, $id ) { // @codingStandardsIgnoreStart
24
+
25
+ global $content_width;
26
+
27
+ $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
+
29
+ $attr = array_merge( $defaults, $attr );
30
+
31
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
+ $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'color';
33
+ $gradientOverlayPosition = ( isset( $attr['gradientOverlayPosition'] ) ) ? $attr['gradientOverlayPosition'] : 'center center';
34
+ $gradientPosition = ( isset( $attr['gradientPosition'] ) ) ? $attr['gradientPosition'] : 'center center';
35
+
36
+ $style = array(
37
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
38
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
39
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
40
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
41
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
42
+ );
43
+
44
+ $m_selectors = array();
45
+ $t_selectors = array();
46
+
47
+ if ( 'right' == $attr['align'] ) {
48
+ $style['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] );
49
+ $style['margin-left'] = 'auto';
50
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
51
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
52
+ } elseif ( 'left' == $attr['align'] ) {
53
+ $style['margin-right'] = 'auto';
54
+ $style['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] );
55
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
56
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
57
+ } elseif ( 'center' == $attr['align'] ) {
58
+ $style['margin-right'] = 'auto';
59
+ $style['margin-left'] = 'auto';
60
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
61
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
62
+ } else {
63
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
64
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
65
+ }
66
+
67
+ if ( "none" != $attr['borderStyle'] ) {
68
+ $style["border-style"] = $attr['borderStyle'];
69
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
70
+ $style["border-color"] = $attr['borderColor'];
71
+ }
72
+
73
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
74
+
75
+ $section_width = '100%';
76
+
77
+ if ( isset( $attr['contentWidth'] ) ) {
78
+
79
+ if ( 'boxed' == $attr['contentWidth'] ) {
80
+ if ( isset( $attr['width'] ) ) {
81
+ $section_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
82
+ }
83
+ }
84
+ }
85
+
86
+ if ( 'wide' != $attr['align'] && 'full' != $attr['align'] ) {
87
+ $style['max-width'] = $section_width;
88
+ }
89
+
90
+ if ( 'image' === $bg_type ) {
91
+
92
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
93
+ $style['background-position'] = $position;
94
+ $style['background-attachment'] = $attr['backgroundAttachment'];
95
+ $style['background-repeat'] = $attr['backgroundRepeat'];
96
+ $style['background-size'] = $attr['backgroundSize'];
97
+
98
+ }
99
+
100
+ $inner_width = '100%';
101
+
102
+ if ( isset( $attr['contentWidth'] ) ) {
103
+ if ( 'boxed' != $attr['contentWidth'] ) {
104
+ if ( isset( $attr['themeWidth'] ) && $attr['themeWidth'] == true ) {
105
+ $inner_width = '#CONTENT_WIDTH#';
106
+ } else {
107
+ if ( isset( $attr['innerWidth'] ) ) {
108
+ $inner_width = UAGB_Helper::get_css_value( $attr['innerWidth'], $attr['innerWidthType'] );
109
+ }
110
+ }
111
+ }
112
+ }
113
+
114
+ $selectors = array(
115
+ '.uagb-section__wrap' => $style,
116
+ ' > .uagb-section__video-wrap' => array(
117
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
118
+ ),
119
+ ' > .uagb-section__inner-wrap' => array(
120
+ 'max-width' => $inner_width,
121
+ ),
122
+ );
123
+
124
+ if ( 'video' == $bg_type ) {
125
+ $selectors[' > .uagb-section__overlay'] = array(
126
+ 'opacity' => 1,
127
+ 'background-color' => $attr['backgroundVideoColor'],
128
+ );
129
+ } else if ( 'image' == $bg_type ) {
130
+ if( 'color' == $overlay_type ){
131
+ $selectors[' > .uagb-section__overlay'] = array(
132
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
133
+ 'background-color' => $attr['backgroundImageColor'],
134
+ );
135
+ }else{
136
+ $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
137
+ $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
138
+
139
+ if ( 'linear' === $attr['gradientOverlayType'] ) {
140
+
141
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
142
+ } else {
143
+
144
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientOverlayPosition . ', ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
145
+ }
146
+ }
147
+ } else if ( 'color' == $bg_type ) {
148
+ $selectors[' > .uagb-section__overlay'] = array(
149
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
150
+ 'background-color' => $attr['backgroundColor'],
151
+ );
152
+ } else if ( 'gradient' === $bg_type ) {
153
+ $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
154
+ $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
155
+
156
+ if ( 'linear' === $attr['gradientType'] ) {
157
+
158
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
159
+ } else {
160
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientPosition . ', ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
161
+ }
162
+ }
163
+
164
+ $selectors[' > .uagb-section__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
165
+
166
+ $m_selectors = array(
167
+ '.uagb-section__wrap' => array(
168
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
169
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
170
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
171
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
172
+ )
173
+ );
174
+
175
+ $t_selectors = array(
176
+ '.uagb-section__wrap' => array(
177
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
178
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
179
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
180
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
181
+ )
182
+ );
183
+
184
+ if ( 'right' == $attr['align'] ) {
185
+ $t_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['tabletMarginType'] );
186
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
187
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
188
+
189
+ $m_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['mobileMarginType'] );
190
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
191
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
192
+ } elseif ( 'left' == $attr['align'] ) {
193
+ $t_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['tabletMarginType'] );
194
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
195
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
196
+
197
+ $m_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['mobileMarginType'] );
198
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
199
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
200
+ } else {
201
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
202
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
203
+
204
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
205
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
206
+ }
207
+
208
+ // @codingStandardsIgnoreEnd
209
+
210
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
211
+
212
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-section-' . $id );
213
+
214
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-section-' . $id );
215
+
216
+ $generated_css = array(
217
+ 'desktop' => $desktop,
218
+ 'tablet' => $tablet,
219
+ 'mobile' => $mobile,
220
+ );
221
+
222
+ return $generated_css;
223
+ }
224
+
225
+ /**
226
+ * Get Columns Block CSS
227
+ *
228
+ * @since 1.8.0
229
+ * @param array $attr The block attributes.
230
+ * @param string $id The selector ID.
231
+ * @return array The Widget List.
232
+ */
233
+ public static function get_columns_css( $attr, $id ) { // @codingStandardsIgnoreStart
234
+
235
+ global $content_width;
236
+
237
+ $defaults = UAGB_Helper::$block_list['uagb/columns']['attributes'];
238
+
239
+ $attr = array_merge( $defaults, $attr );
240
+
241
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
242
+
243
+ $m_selectors = array();
244
+ $t_selectors = array();
245
+
246
+ $style = array(
247
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
248
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
249
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
250
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
251
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
252
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
253
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], $attr['desktopMarginType'] ),
254
+ );
255
+
256
+ if ( "none" != $attr['borderStyle'] ) {
257
+ $style["border-style"] = $attr['borderStyle'];
258
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
259
+ $style["border-color"] = $attr['borderColor'];
260
+ }
261
+
262
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
263
+
264
+ if ( 'image' === $bg_type ) {
265
+
266
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
267
+ $style['background-position'] = $position;
268
+ $style['background-attachment'] = $attr['backgroundAttachment'];
269
+ $style['background-repeat'] = $attr['backgroundRepeat'];
270
+ $style['background-size'] = $attr['backgroundSize'];
271
+
272
+ }
273
+
274
+ $inner_width = '100%';
275
+
276
+ if ( isset( $attr['contentWidth'] ) ) {
277
+ if ( 'theme' == $attr['contentWidth'] ) {
278
+ $inner_width = '#CONTENT_WIDTH#';
279
+ } else if ( 'custom' == $attr['contentWidth'] ) {
280
+ $inner_width = UAGB_Helper::get_css_value( $attr['width'], $attr['widthType'] );
281
+ }
282
+ }
283
+
284
+ $selectors = array(
285
+ '.uagb-columns__wrap' => $style,
286
+ ' .uagb-columns__video-wrap' => array(
287
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
288
+ ),
289
+ ' > .uagb-columns__inner-wrap' => array(
290
+ 'max-width' => $inner_width,
291
+ ),
292
+ ' .uagb-column__inner-wrap' => array(
293
+ 'padding' => UAGB_Helper::get_css_value( $attr['columnGap'], 'px' )
294
+ ),
295
+ ' .uagb-columns__shape-top svg' => array(
296
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeight'], 'px' )
297
+ ),
298
+ ' .uagb-columns__shape-top .uagb-columns__shape-fill' => array(
299
+ 'fill' => $attr['topColor'],
300
+ 'opacity' => ( isset( $attr['topDividerOpacity'] ) && '' != $attr['topDividerOpacity'] ) ? ( ( $attr['topDividerOpacity'] ) / 100 ) : ""
301
+ ),
302
+ ' .uagb-columns__shape-bottom svg' => array(
303
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeight'], 'px' )
304
+ ),
305
+ ' .uagb-columns__shape-bottom .uagb-columns__shape-fill' => array(
306
+ 'fill' => $attr['bottomColor'],
307
+ 'opacity' => ( isset( $attr['bottomDividerOpacity'] ) && '' != $attr['bottomDividerOpacity'] ) ? ( ( $attr['bottomDividerOpacity'] ) / 100 ) : ""
308
+ ),
309
+ );
310
+
311
+ if ( '' !== $attr['topWidth'] ) {
312
+ $selectors[' .uagb-columns__shape-top svg']['width'] = "calc( " . $attr['topWidth'] . "% + 1.3px )";
313
+ }
314
+
315
+ if ( '' !== $attr['bottomWidth'] ) {
316
+ $selectors[' .uagb-columns__shape-bottom svg']['width'] = "calc( " . $attr['bottomWidth'] . "% + 1.3px )";
317
+ }
318
+
319
+ if ( 'video' == $bg_type ) {
320
+ $selectors[' > .uagb-columns__overlay'] = array(
321
+ 'opacity' => 1,
322
+ 'background-color' => $attr['backgroundVideoColor'],
323
+ );
324
+ } else if ( 'image' == $bg_type ) {
325
+ $selectors[' > .uagb-columns__overlay'] = array(
326
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
327
+ 'background-color' => $attr['backgroundImageColor'],
328
+ );
329
+ } else if ( 'color' == $bg_type ) {
330
+ $selectors[' > .uagb-columns__overlay'] = array(
331
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
332
+ 'background-color' => $attr['backgroundColor'],
333
+ );
334
+ } elseif ( 'gradient' === $bg_type ) {
335
+ $selectors[' > .uagb-columns__overlay']['background-color'] = 'transparent';
336
+ $selectors[' > .uagb-columns__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
337
+
338
+ if ( 'linear' === $attr['gradientType'] ) {
339
+
340
+ $selectors[' > .uagb-columns__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
341
+ } else {
342
+
343
+ $selectors[' > .uagb-columns__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
344
+ }
345
+ }
346
+
347
+ $selectors[' > .uagb-columns__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
348
+
349
+ $m_selectors = array(
350
+ '.uagb-columns__wrap' => array(
351
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
352
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
353
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
354
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
355
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] ),
356
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] ),
357
+ ),
358
+ ' .uagb-columns__shape-bottom svg' => array(
359
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightMobile'], 'px' )
360
+ ),
361
+ ' .uagb-columns__shape-top svg' => array(
362
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeightMobile'], 'px' )
363
+ ),
364
+ );
365
+
366
+ $t_selectors = array(
367
+ '.uagb-columns__wrap' => array(
368
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
369
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
370
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
371
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
372
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] ),
373
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] ),
374
+ ),
375
+ ' .uagb-columns__shape-bottom svg' => array(
376
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightTablet'], 'px' )
377
+ ),
378
+ ' .uagb-columns__shape-top svg' => array(
379
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeightTablet'], 'px' )
380
+ ),
381
+ );
382
+
383
+ // @codingStandardsIgnoreEnd
384
+
385
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-columns-' . $id );
386
+
387
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-columns-' . $id );
388
+
389
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-columns-' . $id );
390
+
391
+ $generated_css = array(
392
+ 'desktop' => $desktop,
393
+ 'tablet' => $tablet,
394
+ 'mobile' => $mobile,
395
+ );
396
+
397
+ return $generated_css;
398
+ }
399
+
400
+ /**
401
+ * Get Single Column Block CSS
402
+ *
403
+ * @since 1.8.0
404
+ * @param array $attr The block attributes.
405
+ * @param string $id The selector ID.
406
+ * @return array The Widget List.
407
+ */
408
+ public static function get_column_css( $attr, $id ) { // @codingStandardsIgnoreStart
409
+
410
+ global $content_width;
411
+
412
+ $defaults = UAGB_Helper::$block_list['uagb/column']['attributes'];
413
+
414
+ $attr = array_merge( $defaults, $attr );
415
+
416
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
417
+ $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'none';
418
+
419
+ $style = array(
420
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
421
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
422
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
423
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
424
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
425
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
426
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] ),
427
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] ),
428
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
429
+ );
430
+
431
+ $m_selectors = array();
432
+ $t_selectors = array();
433
+
434
+ if ( "none" != $attr['borderStyle'] ) {
435
+ $style["border-style"] = $attr['borderStyle'];
436
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
437
+ $style["border-color"] = $attr['borderColor'];
438
+ }
439
+
440
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
441
+
442
+ if ( 'image' === $bg_type ) {
443
+
444
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
445
+ $style['background-position'] = $position;
446
+ $style['background-attachment'] = $attr['backgroundAttachment'];
447
+ $style['background-repeat'] = $attr['backgroundRepeat'];
448
+ $style['background-size'] = $attr['backgroundSize'];
449
+
450
+ }
451
+
452
+ $selectors = array(
453
+ '.uagb-column__wrap' => $style
454
+ );
455
+
456
+ if ( 'image' == $bg_type ) {
457
+ if( 'color' == $overlay_type ){
458
+ $selectors[' > .uagb-column__overlay'] = array(
459
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
460
+ 'background-color' => $attr['backgroundImageColor'],
461
+ );
462
+ }else{
463
+ $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
464
+ $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
465
+
466
+ if ( 'linear' === $attr['gradientOverlayType'] ) {
467
+
468
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
469
+ } else {
470
+
471
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
472
+ }
473
+ }
474
+
475
+ } else if ( 'color' == $bg_type ) {
476
+ $selectors[' > .uagb-column__overlay'] = array(
477
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
478
+ 'background-color' => $attr['backgroundColor'],
479
+ );
480
+ } elseif ( 'gradient' === $bg_type ) {
481
+ $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
482
+ $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
483
+
484
+ if ( 'linear' === $attr['gradientType'] ) {
485
+
486
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
487
+ } else {
488
+
489
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
490
+ }
491
+ }
492
+
493
+ if ( '' != $attr['colWidth'] && 0 != $attr['colWidth'] ) {
494
+
495
+ $selectors[''] = array(
496
+ "width" => UAGB_Helper::get_css_value( $attr['colWidth'], "%" )
497
+ );
498
+ }
499
+
500
+ $m_selectors = array(
501
+ '.uagb-column__wrap' => array(
502
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['tabletPaddingType'] ),
503
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['tabletPaddingType'] ),
504
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['tabletPaddingType'] ),
505
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['tabletPaddingType'] ),
506
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['tabletMarginType'] ),
507
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['tabletMarginType'] ),
508
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['tabletMarginType'] ),
509
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['tabletMarginType'] ),
510
+ )
511
+ );
512
+
513
+ $t_selectors = array(
514
+ '.uagb-column__wrap' => array(
515
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['mobilePaddingType'] ),
516
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['mobilePaddingType'] ),
517
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['mobilePaddingType'] ),
518
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['mobilePaddingType'] ),
519
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['mobileMarginType'] ),
520
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['mobileMarginType'] ),
521
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['mobileMarginType'] ),
522
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['mobileMarginType'] ),
523
+ )
524
+ );
525
+
526
+ if ( '' != $attr['colWidthTablet'] && 0 != $attr['colWidthTablet'] ) {
527
+
528
+ $t_selectors[''] = array(
529
+ "width" => UAGB_Helper::get_css_value( $attr['colWidthTablet'], '%' )
530
+ );
531
+ }
532
+
533
+ if ( '' != $attr['colWidthMobile'] && 0 != $attr['colWidthMobile'] ) {
534
+
535
+ $m_selectors[''] = array(
536
+ "width" => UAGB_Helper::get_css_value( $attr['colWidthMobile'], '%' )
537
+ );
538
+ }
539
+
540
+ // @codingStandardsIgnoreEnd
541
+
542
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-column-' . $id );
543
+
544
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-column-' . $id );
545
+
546
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-column-' . $id );
547
+
548
+ $generated_css = array(
549
+ 'desktop' => $desktop,
550
+ 'tablet' => $tablet,
551
+ 'mobile' => $mobile,
552
+ );
553
+
554
+ return $generated_css;
555
+ }
556
+
557
+ /**
558
+ * Get Advanced Heading Block CSS
559
+ *
560
+ * @since 0.0.1
561
+ * @param array $attr The block attributes.
562
+ * @param string $id The selector ID.
563
+ * @return array The Widget List.
564
+ */
565
+ public static function get_adv_heading_css( $attr, $id ) { // @codingStandardsIgnoreStart
566
+
567
+ $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
568
+
569
+ $attr = array_merge( $defaults, (array) $attr );
570
+
571
+ $m_selectors = array();
572
+ $t_selectors = array();
573
+
574
+ $selectors = array(
575
+ ' .uagb-heading-text' => array(
576
+ 'text-align' => $attr['headingAlign'],
577
+ 'font-family' => $attr['headFontFamily'],
578
+ 'font-weight' => $attr['headFontWeight'],
579
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
580
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
581
+ 'color' => $attr['headingColor'],
582
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], "px" ),
583
+ ),
584
+ ' .uagb-separator-wrap' => array(
585
+ 'text-align' => $attr['headingAlign'],
586
+ ),
587
+ ' .uagb-desc-text' => array(
588
+ 'text-align' => $attr['headingAlign'],
589
+ 'font-family' => $attr['subHeadFontFamily'],
590
+ 'font-weight' => $attr['subHeadFontWeight'],
591
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
592
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
593
+ 'color' => $attr['subHeadingColor'],
594
+ )
595
+
596
+ );
597
+
598
+ $m_selectors = array(
599
+ ' .uagb-heading-text' => array(
600
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
601
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
602
+ ),
603
+ ' .uagb-desc-text' => array(
604
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
605
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
606
+ )
607
+
608
+ );
609
+
610
+ $t_selectors = array(
611
+ ' .uagb-heading-text' => array(
612
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
613
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
614
+
615
+ ),
616
+ ' .uagb-desc-text' => array(
617
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
618
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
619
+ )
620
+
621
+ );
622
+
623
+ $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
624
+
625
+ if( 'none' !== $seperatorStyle ){
626
+ $selectors[' .uagb-separator'] = array (
627
+ 'border-top-style' => $attr['seperatorStyle'] ,
628
+ 'border-top-width' => UAGB_Helper::get_css_value( $attr['separatorHeight'], "px" ),
629
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorWidth'], $attr['separatorWidthType'] ),
630
+ 'border-color' => $attr['separatorColor'],
631
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['separatorSpace'], "px" ),
632
+ );
633
+
634
+ }
635
+ // @codingStandardsIgnoreEnd
636
+
637
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
638
+
639
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-adv-heading-' . $id );
640
+
641
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-adv-heading-' . $id );
642
+
643
+ $generated_css = array(
644
+ 'desktop' => $desktop,
645
+ 'tablet' => $tablet,
646
+ 'mobile' => $mobile,
647
+ );
648
+
649
+ return $generated_css;
650
+ }
651
+
652
+ /**
653
+ * Get Multi Buttons Block CSS
654
+ *
655
+ * @since 0.0.1
656
+ * @param array $attr The block attributes.
657
+ * @param string $id The selector ID.
658
+ * @return array The Widget List.
659
+ */
660
+ public static function get_buttons_css( $attr, $id ) { // @codingStandardsIgnoreStart
661
+
662
+ $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
663
+
664
+ $attr = array_merge( $defaults, (array) $attr );
665
+
666
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
667
+
668
+ $m_selectors = array();
669
+ $t_selectors = array();
670
+
671
+ $selectors = array(
672
+ ' .uagb-button__wrapper' => array(
673
+ 'margin-left' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
674
+ 'margin-right' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
675
+ ),
676
+ ' .uagb-button__wrapper:first-child' => array (
677
+ 'margin-left' => 0
678
+ ),
679
+ ' .uagb-button__wrapper:last-child' => array (
680
+ 'margin-right' => 0
681
+ ),
682
+ );
683
+
684
+ if( 'full' === $attr['align'] ) {
685
+ $selectors[' .uagb-buttons__wrap .uagb-button__wrapper'] = array (
686
+ 'justify-content' => 'center',
687
+ '-webkit-box-pack'=> 'center',
688
+ '-ms-flex-pack' => 'center',
689
+ 'justify-content' => 'center',
690
+ '-webkit-box-align' => 'center',
691
+ '-ms-flex-align' => 'center',
692
+ 'align-items' => 'center',
693
+ 'width' => '100%',
694
+ 'text-align' => 'center',
695
+ );
696
+ } else {
697
+ $selectors[' .uagb-buttons__wrap'] = array (
698
+ 'justify-content' => $alignment,
699
+ '-webkit-box-pack'=> $alignment,
700
+ '-ms-flex-pack' => $alignment,
701
+ 'justify-content' => $alignment,
702
+ '-webkit-box-align' => $alignment,
703
+ '-ms-flex-align' => $alignment,
704
+ 'align-items' => $alignment,
705
+ );
706
+ }
707
+
708
+ foreach ( $attr['buttons'] as $key => $button ) {
709
+
710
+ $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
711
+ $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
712
+ $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
713
+ $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
714
+ $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
715
+ $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
716
+ $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
717
+ $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
718
+ $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
719
+ $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
720
+ $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
721
+ $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
722
+ $button['sizeType'] = ( isset( $button['sizeType'] ) ) ? $button['sizeType'] : 'px';
723
+ $button['sizeMobile'] = ( isset( $button['sizeMobile'] ) ) ? $button['sizeMobile'] : '';
724
+ $button['sizeTablet'] = ( isset( $button['sizeTablet'] ) ) ? $button['sizeTablet'] : '';
725
+ $button['lineHeight'] = ( isset( $button['lineHeight'] ) ) ? $button['lineHeight'] : '';
726
+ $button['lineHeightType'] = ( isset( $button['lineHeightType'] ) ) ? $button['lineHeightType'] : '';
727
+ $button['lineHeightMobile'] = ( isset( $button['lineHeightMobile'] ) ) ? $button['lineHeightMobile'] : '';
728
+ $button['lineHeightTablet'] = ( isset( $button['lineHeightTablet'] ) ) ? $button['lineHeightTablet'] : '';
729
+
730
+
731
+ if ( $attr['btn_count'] <= $key ) {
732
+ break;
733
+ }
734
+
735
+ $selectors[' .uagb-buttons-repeater-' . $key] = array (
736
+ 'font-size' => $button['size'] . $button['sizeType'],
737
+ 'line-height' => $button['lineHeight'] . $button['lineHeightType'],
738
+ 'font-family' => $attr['fontFamily'],
739
+ 'font-weight' => $attr['fontWeight'],
740
+ 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
741
+ 'border-color' => $button['borderColor'],
742
+ 'border-style' => $button['borderStyle'],
743
+ 'border-radius' => UAGB_Helper::get_css_value( $button['borderRadius'], 'px' ),
744
+ 'background' => $button['background']
745
+ );
746
+
747
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
748
+ 'background' => $button['hBackground'],
749
+ 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
750
+ 'border-color' => $button['borderHColor'],
751
+ 'border-style' => $button['borderStyle'],
752
+ );
753
+
754
+ $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
755
+ 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
756
+ 'color' => $button['color']
757
+ );
758
+
759
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
760
+ 'color' => $button['hColor']
761
+ );
762
+
763
+ $m_selectors[' .uagb-buttons-repeater-' . $key] = array (
764
+ 'font-size' => UAGB_Helper::get_css_value( $button['sizeMobile'], $button['sizeType'] ),
765
+ 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightMobile'], $button['lineHeightType'] ),
766
+ );
767
+
768
+ $t_selectors[' .uagb-buttons-repeater-' . $key] = array (
769
+ 'font-size' => UAGB_Helper::get_css_value( $button['sizeTablet'], $button['sizeType'] ),
770
+ 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightTablet'], $button['lineHeightType'] ),
771
+ );
772
+ }
773
+
774
+ if ( "desktop" == $attr['stack'] ) {
775
+
776
+ $selectors[" .uagb-button__wrapper"] = array (
777
+ 'margin-left' => 0,
778
+ 'margin-right' => 0,
779
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
780
+ );
781
+
782
+ $selectors[" .uagb-buttons__wrap"] = array (
783
+ "flex-direction" => "column"
784
+ );
785
+
786
+ $selectors[" .uagb-button__wrapper:last-child"] = array (
787
+ "margin-bottom" => 0
788
+ );
789
+
790
+ } else if ( "tablet" == $attr['stack'] ) {
791
+
792
+ $t_selectors[" .uagb-button__wrapper"] = array (
793
+ 'margin-left' => 0,
794
+ 'margin-right' => 0,
795
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
796
+ );
797
+
798
+ $t_selectors[" .uagb-buttons__wrap"] = array (
799
+ "flex-direction" => "column"
800
+ );
801
+
802
+ $t_selectors[" .uagb-button__wrapper:last-child"] = array (
803
+ "margin-bottom" => 0
804
+ );
805
+
806
+ } else if ( "mobile" == $attr['stack'] ) {
807
+
808
+ $m_selectors[" .uagb-button__wrapper"] = array (
809
+ 'margin-left' => 0,
810
+ 'margin-right' => 0,
811
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
812
+ );
813
+
814
+ $m_selectors[" .uagb-buttons__wrap"] = array (
815
+ "flex-direction" => "column"
816
+ );
817
+
818
+ $m_selectors[" .uagb-button__wrapper:last-child"] = array (
819
+ "margin-bottom" => 0
820
+ );
821
+ }
822
+
823
+ // @codingStandardsIgnoreEnd
824
+
825
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
826
+
827
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-buttons-' . $id );
828
+
829
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-buttons-' . $id );
830
+
831
+ $generated_css = array(
832
+ 'desktop' => $desktop,
833
+ 'tablet' => $tablet,
834
+ 'mobile' => $mobile,
835
+ );
836
+
837
+ return $generated_css;
838
+ }
839
+
840
+ /**
841
+ * Get Info Box CSS
842
+ *
843
+ * @since 0.0.1
844
+ * @param array $attr The block attributes.
845
+ * @param string $id The selector ID.
846
+ * @return array The Widget List.
847
+ */
848
+ public static function get_info_box_css( $attr, $id ) { // @codingStandardsIgnoreStart.
849
+ $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
850
+
851
+ $attr = array_merge( $defaults, (array) $attr );
852
+
853
+ $m_selectors = array();
854
+ $t_selectors = array();
855
+
856
+ $selectors = array(
857
+ ' .uagb-ifb-icon' => array(
858
+ 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
859
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
860
+ 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
861
+ ),
862
+ ' .uagb-ifb-icon > span' => array(
863
+ 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
864
+ 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
865
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
866
+ 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
867
+ 'color' => $attr['iconColor'],
868
+ ),
869
+ ' .uagb-ifb-icon svg' => array(
870
+ 'fill' => $attr['iconColor'],
871
+ ),
872
+ ' .uagb-ifb-icon:hover > span' => array(
873
+ 'color' => $attr['iconHover'] ,
874
+ ),
875
+ ' .uagb-ifb-icon:hover svg' => array(
876
+ 'fill' => $attr['iconHover'] ,
877
+ ),
878
+
879
+ ' .uagb-infbox__link-to-all:hover ~ .uagb-infobox__content-wrap .uagb-ifb-icon svg' => array(
880
+ 'fill' => $attr['iconHover'] ,
881
+ ),
882
+
883
+ ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
884
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['iconLeftMargin'], 'px' ),
885
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['iconRightMargin'], 'px' ),
886
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['iconTopMargin'], 'px' ),
887
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconBottomMargin'], 'px' ),
888
+ ),
889
+ ' .uagb-infobox .uagb-ifb-image-content img' => array(
890
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
891
+ ),
892
+ // CTA style .
893
+ ' .uagb-infobox-cta-link' => array(
894
+ 'font-size' => $attr['ctaFontSize'].$attr['ctaFontSizeType'],
895
+ 'font-family' => $attr['ctaFontFamily'],
896
+ 'font-weight' => $attr['ctaFontWeight'],
897
+ 'color' => $attr['ctaLinkColor'],
898
+ ),
899
+ ' .uagb-infobox-cta-link:hover' => array(
900
+ 'color' => $attr['ctaLinkHoverColor'],
901
+ ),
902
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
903
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
904
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
905
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
906
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
907
+ ),
908
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
909
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
910
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
911
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
912
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
913
+ ),
914
+ ' .uagb-infobox-cta-link svg' => array(
915
+ 'fill' => $attr['ctaLinkColor'],
916
+ ),
917
+ ' .uagb-infobox-cta-link:hover svg' => array(
918
+ 'fill' => $attr['ctaLinkHoverColor'],
919
+ ),
920
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
921
+ 'color' => $attr['ctaBtnLinkColor'],
922
+ 'background-color' => $attr['ctaBgColor'],
923
+ 'border-style' => $attr['ctaBorderStyle'],
924
+ 'border-color' => $attr['ctaBorderColor'],
925
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
926
+ 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
927
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
928
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
929
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
930
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
931
+
932
+ ),
933
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg' => array(
934
+ 'fill' => $attr['ctaBtnLinkColor'],
935
+ ),
936
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
937
+ 'color' => $attr['ctaLinkHoverColor'],
938
+ 'background-color' => $attr['ctaBgHoverColor'],
939
+ 'border-color' => $attr['ctaBorderhoverColor'],
940
+ ),
941
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg' => array(
942
+ 'fill' => $attr['ctaLinkHoverColor'],
943
+ ),
944
+ // Prefix Style.
945
+ ' .uagb-ifb-title-prefix' => array(
946
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
947
+ 'font-family' => $attr['prefixFontFamily'],
948
+ 'font-weight' => $attr['prefixFontWeight'],
949
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
950
+ 'color' => $attr['prefixColor'],
951
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
952
+ ),
953
+ // Title Style.
954
+ ' .uagb-ifb-title' => array(
955
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
956
+ 'font-family' => $attr['headFontFamily'],
957
+ 'font-weight' => $attr['headFontWeight'],
958
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
959
+ 'color' => $attr['headingColor'],
960
+ 'margin-bottom' => $attr['headSpace'] . 'px',
961
+ ),
962
+ // Description Style.
963
+ ' .uagb-ifb-desc' => array(
964
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ) ,
965
+ 'font-family' => $attr['subHeadFontFamily'],
966
+ 'font-weight' => $attr['subHeadFontWeight'],
967
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
968
+ 'color' => $attr['subHeadingColor'],
969
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
970
+ ),
971
+ // Seperator.
972
+ ' .uagb-ifb-separator' => array(
973
+ 'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
974
+ 'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
975
+ 'border-top-color' => $attr['seperatorColor'],
976
+ 'border-top-style' => $attr['seperatorStyle'],
977
+ ),
978
+ ' .uagb-ifb-separator-parent' => array(
979
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
980
+ ),
981
+ // CTA icon space.
982
+ ' .uagb-ifb-align-icon-after' => array(
983
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
984
+ ),
985
+ ' .uagb-ifb-align-icon-before' => array(
986
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
987
+ ),
988
+ );
989
+
990
+ if ( $attr['imageWidthType'] ) {
991
+ // Image.
992
+ $selectors[' .uagb-ifb-image-content > img'] = array(
993
+ 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
994
+ 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
995
+ );
996
+ }
997
+
998
+ if( 'above-title' === $attr['iconimgPosition'] || 'below-title' === $attr['iconimgPosition'] ){
999
+ $selectors[' .uagb-infobox__content-wrap'] = array(
1000
+ 'text-align' => $attr['headingAlign'],
1001
+ );
1002
+ }
1003
+
1004
+ $m_selectors = array(
1005
+ ' .uagb-ifb-title-prefix' => array(
1006
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1007
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
1008
+ ),
1009
+ ' .uagb-ifb-title' => array(
1010
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
1011
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
1012
+ ),
1013
+ ' .uagb-ifb-desc' => array(
1014
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
1015
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
1016
+ ),
1017
+ ' .uagb-infobox-cta-link' => array(
1018
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1019
+ ),
1020
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1021
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1022
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1023
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1024
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1025
+ ),
1026
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1027
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1028
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1029
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1030
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1031
+ ),
1032
+ );
1033
+
1034
+ $t_selectors = array(
1035
+ ' .uagb-ifb-title-prefix' => array(
1036
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1037
+ ),
1038
+ ' .uagb-ifb-title' => array(
1039
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
1040
+ ),
1041
+ ' .uagb-ifb-desc' => array(
1042
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
1043
+ ),
1044
+ ' .uagb-infobox-cta-link' => array(
1045
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1046
+ ),
1047
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1048
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1049
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1050
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1051
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1052
+ ),
1053
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1054
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1055
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1056
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1057
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1058
+ ),
1059
+ );
1060
+
1061
+ // @codingStandardsIgnoreEnd.
1062
+
1063
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
1064
+
1065
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-infobox-' . $id );
1066
+
1067
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-infobox-' . $id );
1068
+
1069
+ $generated_css = array(
1070
+ 'desktop' => $desktop,
1071
+ 'tablet' => $tablet,
1072
+ 'mobile' => $mobile,
1073
+ );
1074
+
1075
+ return $generated_css;
1076
+ }
1077
+
1078
+ /**
1079
+ * Get CTA CSS
1080
+ *
1081
+ * @since 1.7.0
1082
+ * @param array $attr The block attributes.
1083
+ * @param string $id The selector ID.
1084
+ * @return array The Widget List.
1085
+ */
1086
+ public static function get_call_to_action_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1087
+ $defaults = UAGB_Helper::$block_list['uagb/call-to-action']['attributes'];
1088
+
1089
+ $attr = array_merge( $defaults, (array) $attr );
1090
+
1091
+ $t_selectors = array();
1092
+ $m_selectors = array();
1093
+
1094
+ $selectors = array(
1095
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1096
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1097
+ 'font-family' => $attr['ctaFontFamily'],
1098
+ 'font-weight' => $attr['ctaFontWeight'],
1099
+ 'color' => $attr['ctaBtnLinkColor'],
1100
+ ),
1101
+ ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-text ' => array(
1102
+ 'color' => $attr['ctaLinkHoverColor'],
1103
+ ),
1104
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1105
+ 'font-size' => $attr['ctaFontSize']. $attr['ctaFontSizeType'],
1106
+ 'font-family' => $attr['ctaFontFamily'],
1107
+ 'font-weight' => $attr['ctaFontWeight'],
1108
+ 'color' => $attr['ctaBtnLinkColor'],
1109
+ 'background-color' => $attr['ctaBgColor'],
1110
+ 'border-style' => $attr['ctaBorderStyle'],
1111
+ 'border-color' => $attr['ctaBorderColor'],
1112
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
1113
+ 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
1114
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1115
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1116
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1117
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1118
+ ),
1119
+ ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-button' => array(
1120
+ 'color' => $attr['ctaLinkHoverColor'],
1121
+ 'background-color' => $attr['ctaBgHoverColor'],
1122
+ 'border-color' => $attr['ctaBorderhoverColor'],
1123
+ ),
1124
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1125
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1126
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1127
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1128
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1129
+ ),
1130
+ ' .uagb-cta__button-wrapper .uagb-cta__block-link svg' => array(
1131
+ 'fill' => $attr['ctaBtnLinkColor'],
1132
+ ),
1133
+ ' .uagb-cta__button-wrapper:hover .uagb-cta__block-link svg' => array(
1134
+ 'fill' => $attr['ctaLinkHoverColor'],
1135
+ ),
1136
+ ' .uagb-cta__title' => array(
1137
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1138
+ 'font-family' => $attr['titleFontFamily'],
1139
+ 'font-weight' => $attr['titleFontWeight'],
1140
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1141
+ 'color' => $attr['titleColor'],
1142
+ 'margin-bottom' => $attr['titleSpace']. "px",
1143
+ ),
1144
+ ' .uagb-cta__desc' => array(
1145
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1146
+ 'font-family' => $attr['descFontFamily'],
1147
+ 'font-weight' => $attr['descFontWeight'],
1148
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1149
+ 'color' => $attr['descColor'],
1150
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1151
+ ),
1152
+ ' .uagb-cta__align-button-after' => array(
1153
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1154
+ ),
1155
+ ' .uagb-cta__align-button-before' => array(
1156
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1157
+ ),
1158
+ );
1159
+
1160
+ $selectors[' .uagb-cta__content-wrap'] = array(
1161
+ 'text-align' => $attr['textAlign'],
1162
+ );
1163
+
1164
+ if( 'left' === $attr['textAlign'] && "right" === $attr['ctaPosition'] ){
1165
+ $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1166
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaLeftSpace'], 'px' ),
1167
+ 'margin-right' => '0',
1168
+ );
1169
+ }
1170
+
1171
+ if( 'right' === $attr['textAlign'] && 'right' === $attr['ctaPosition'] ){
1172
+ $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1173
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaRightSpace'], 'px' ),
1174
+ 'margin-left' => '0',
1175
+ );
1176
+ }
1177
+
1178
+ if( $attr['ctaPosition'] === "right" && ( $attr['ctaType'] === 'text' || $attr['ctaType'] === 'button' ) ){
1179
+ $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content"] = array(
1180
+ "width" => UAGB_Helper::get_css_value( $attr['contentWidth'], '%' ),
1181
+ );
1182
+
1183
+ $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper"] = array(
1184
+ "width" => UAGB_Helper::get_css_value( (100 - $attr['contentWidth'] ), '%' ),
1185
+ );
1186
+ }
1187
+
1188
+ $t_selectors = array(
1189
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1190
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1191
+ ),
1192
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1193
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1194
+ ),
1195
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1196
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1197
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1198
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1199
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1200
+ ),
1201
+ ' .uagb-cta__title' => array(
1202
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1203
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
1204
+ ),
1205
+ ' .uagb-cta__desc' => array(
1206
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1207
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1208
+ ),
1209
+ );
1210
+
1211
+ $m_selectors = array(
1212
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1213
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1214
+ ),
1215
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1216
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1217
+ ),
1218
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1219
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1220
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1221
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1222
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1223
+ ),
1224
+ ' .uagb-cta__title' => array(
1225
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'],$attr['titleFontSizeType'] ),
1226
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'],$attr['titleLineHeightType'] ),
1227
+ ),
1228
+ ' .uagb-cta__desc' => array(
1229
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'],$attr['descFontSizeType'] ),
1230
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1231
+ ),
1232
+ );
1233
+
1234
+ // @codingStandardsIgnoreEnd.
1235
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cta-block-' . $id );
1236
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cta-block-' . $id );
1237
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cta-block-' . $id );
1238
+
1239
+ $generated_css = array(
1240
+ 'desktop' => $desktop,
1241
+ 'tablet' => $tablet,
1242
+ 'mobile' => $mobile,
1243
+ );
1244
+
1245
+ return $generated_css;
1246
+ }
1247
+
1248
+ /**
1249
+ * Get Testimonial CSS
1250
+ *
1251
+ * @since 0.0.1
1252
+ * @param array $attr The block attributes.
1253
+ * @param string $id The selector ID.
1254
+ * @return array The Widget List.
1255
+ */
1256
+ public static function get_testimonial_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1257
+
1258
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
1259
+
1260
+ $attr = array_merge( $defaults, (array) $attr );
1261
+
1262
+ $img_align = 'center';
1263
+ if( 'left' === $attr['headingAlign']){
1264
+ $img_align = 'flex-start';
1265
+ }else if( 'right' === $attr['headingAlign']){
1266
+ $img_align = 'flex-end';
1267
+ }
1268
+
1269
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
1270
+
1271
+ $selectors = array(
1272
+ ' .uagb-testimonial__wrap' => array(
1273
+ 'padding-left' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1274
+ 'padding-right' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1275
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
1276
+ ),
1277
+ ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
1278
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1279
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1280
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1281
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1282
+ ),
1283
+ ' .uagb-tm__image img' => array(
1284
+ 'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1285
+ 'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1286
+ ),
1287
+ ' .uagb-tm__content' => array(
1288
+ 'text-align' => $attr['headingAlign'],
1289
+ 'padding' => UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
1290
+ ),
1291
+ ' .uagb-tm__author-name' => array(
1292
+ 'color' => $attr['authorColor'],
1293
+ 'font-size' => $attr['nameFontSize'] . $attr['nameFontSizeType'],
1294
+ 'font-family' => $attr['nameFontFamily'],
1295
+ 'font-weight' => $attr['nameFontWeight'],
1296
+ 'line-height' => $attr['nameLineHeight'] . $attr['nameLineHeightType'],
1297
+ 'margin-bottom' => $attr['nameSpace'] . 'px',
1298
+ ),
1299
+ ' .uagb-tm__company' => array(
1300
+ 'color' => $attr['companyColor'],
1301
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSize'], $attr['companyFontSizeType'] ),
1302
+ 'font-family' => $attr['companyFontFamily'],
1303
+ 'font-weight' => $attr['companyFontWeight'],
1304
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeight'], $attr['companyLineHeightType'] ),
1305
+ ),
1306
+ ' .uagb-tm__desc' => array(
1307
+ 'color' => $attr['descColor'],
1308
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1309
+ 'font-family' => $attr['descFontFamily'],
1310
+ 'font-weight' => $attr['descFontWeight'],
1311
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1312
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1313
+ ),
1314
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
1315
+ 'background-color' => $attr['backgroundColor'],
1316
+ ),
1317
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
1318
+ 'background-image' => ( isset( $attr['backgroundImage']['url'] ) && isset( $attr['backgroundImage']['url'] ) ) ? 'url("'.$attr['backgroundImage']['url'].'")' : null,
1319
+ 'background-position'=> $position,
1320
+ 'background-repeat'=> $attr['backgroundRepeat'],
1321
+ 'background-size'=> $attr['backgroundSize'],
1322
+ ),
1323
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
1324
+ 'background-color' => $attr['backgroundImageColor'],
1325
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? ( ( 100 - $attr['backgroundOpacity'] ) / 100 ) : '0.5',
1326
+ ),
1327
+ ' .uagb-testimonial__wrap .uagb-tm__content' => array(
1328
+ 'border-color' => $attr['borderColor'],
1329
+ 'border-style' => $attr['borderStyle'],
1330
+ 'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
1331
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1332
+ ),
1333
+ ' ul.slick-dots li button:before' => array(
1334
+ 'color' => $attr['arrowColor'],
1335
+ ),
1336
+ ' ul.slick-dots li.slick-active button:before' => array(
1337
+ 'color' => $attr['arrowColor'],
1338
+ ),
1339
+ ' .uagb-tm__image-position-top .uagb-tm__image-content' => array(
1340
+ 'justify-content' => $img_align,
1341
+ ),
1342
+ );
1343
+
1344
+ if( 'dots' === $attr['arrowDots'] ){
1345
+ $selectors['.uagb-slick-carousel'] = array(
1346
+ 'padding' => '0 0 35px 0',
1347
+ );
1348
+ }
1349
+
1350
+ if( '1' === $attr['test_item_count'] || $attr['test_item_count'] === $attr['columns'] ){
1351
+ $selectors['.uagb-slick-carousel'] = array(
1352
+ 'padding' => 0,
1353
+ );
1354
+ }
1355
+
1356
+ $t_selectors = array(
1357
+ ' .uagb-tm__author-name' => array(
1358
+ 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeTablet'], $attr['nameFontSizeType'] ),
1359
+ 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightTablet'], $attr['nameLineHeightType'] ),
1360
+ ),
1361
+ ' .uagb-tm__company' => array(
1362
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeTablet'], $attr['companyFontSizeType'] ),
1363
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightTablet'], $attr['companyLineHeightType'] ),
1364
+ ),
1365
+ ' .uagb-tm__desc' => array(
1366
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1367
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1368
+ ),
1369
+ );
1370
+
1371
+ $m_selectors = array(
1372
+ ' .uagb-tm__author-name' => array(
1373
+ 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeMobile'], $attr['nameFontSizeType'] ),
1374
+ 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightMobile'], $attr['nameLineHeightType'] ),
1375
+ ),
1376
+ ' .uagb-tm__company' => array(
1377
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeMobile'], $attr['companyFontSizeType'] ),
1378
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightMobile'], $attr['companyLineHeightType'] ),
1379
+ ),
1380
+ ' .uagb-tm__desc' => array(
1381
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1382
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1383
+ ),
1384
+ ' .uagb-tm__content' => array(
1385
+ 'text-align' => 'center',
1386
+ )
1387
+ );
1388
+
1389
+
1390
+ // @codingStandardsIgnoreEnd.
1391
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
1392
+
1393
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-testimonial-' . $id );
1394
+
1395
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-testimonial-' . $id );
1396
+
1397
+ $generated_css = array(
1398
+ 'desktop' => $desktop,
1399
+ 'tablet' => $tablet,
1400
+ 'mobile' => $mobile,
1401
+ );
1402
+
1403
+ return $generated_css;
1404
+ }
1405
+
1406
+ /**
1407
+ * Get Team Block CSS
1408
+ *
1409
+ * @since 0.0.1
1410
+ * @param array $attr The block attributes.
1411
+ * @param string $id The selector ID.
1412
+ * @return array The Widget List.
1413
+ */
1414
+ public static function get_team_css( $attr, $id ) { // @codingStandardsIgnoreStart
1415
+
1416
+ $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
1417
+
1418
+ $attr = array_merge( $defaults, (array) $attr );
1419
+
1420
+ $m_selectors = array();
1421
+ $t_selectors = array();
1422
+
1423
+ $selectors = array(
1424
+ " p.uagb-team__desc" => array(
1425
+ "font-family" => $attr['descFontFamily'],
1426
+ "font-weight" => $attr['descFontWeight'],
1427
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1428
+ "line-height" => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1429
+ "color" => $attr['descColor'],
1430
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1431
+ ),
1432
+ " .uagb-team__prefix" => array(
1433
+ "font-family" => $attr['prefixFontFamily'],
1434
+ "font-weight" => $attr['prefixFontWeight'],
1435
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
1436
+ "line-height" => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
1437
+ "color" => $attr['prefixColor'],
1438
+ ),
1439
+ " .uagb-team__desc-wrap" => array(
1440
+ "margin-top" => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
1441
+ ),
1442
+ " .uagb-team__social-icon a" => array(
1443
+ "color" => $attr['socialColor'],
1444
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1445
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1446
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1447
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1448
+ ),
1449
+ " .uagb-team__social-icon svg" => array(
1450
+ "fill" => $attr['socialColor'],
1451
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1452
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1453
+ ),
1454
+ " .uagb-team__social-icon:hover a" => array(
1455
+ "color" => $attr['socialHoverColor'],
1456
+ ),
1457
+ " .uagb-team__social-icon:hover svg" => array(
1458
+ "fill" => $attr['socialHoverColor'],
1459
+ ),
1460
+ ".uagb-team__image-position-left .uagb-team__social-icon" => array(
1461
+ "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1462
+ "margin-left" => "0",
1463
+ ),
1464
+ ".uagb-team__image-position-right .uagb-team__social-icon" => array(
1465
+ "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1466
+ "margin-right" => "0",
1467
+ ),
1468
+ ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
1469
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1470
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1471
+ ),
1472
+ ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
1473
+ "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1474
+ "margin-left" => "0",
1475
+ ),
1476
+ ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
1477
+ "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1478
+ "margin-right" => "0",
1479
+ ),
1480
+ " .uagb-team__image-wrap" => array(
1481
+ "margin-top" => UAGB_Helper::get_css_value( $attr['imgTopMargin'], 'px' ),
1482
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['imgBottomMargin'], 'px' ),
1483
+ "margin-left" => UAGB_Helper::get_css_value( $attr['imgLeftMargin'], 'px' ),
1484
+ "margin-right" => UAGB_Helper::get_css_value( $attr['imgRightMargin'], 'px' ),
1485
+ "width" => UAGB_Helper::get_css_value( $attr['imgWidth'], 'px' )
1486
+ ),
1487
+ );
1488
+
1489
+ if( 'above' == $attr['imgPosition'] ) {
1490
+ if ( 'center' == $attr['align'] ) {
1491
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1492
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1493
+ } else if ( 'left' == $attr['align'] ) {
1494
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1495
+ } else if ( 'right' == $attr['align'] ) {
1496
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1497
+ }
1498
+ }
1499
+
1500
+ if ( "above" != $attr['imgPosition'] ) {
1501
+ if ( "middle" == $attr['imgAlign'] ) {
1502
+ $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
1503
+ }
1504
+ }
1505
+
1506
+ $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1507
+ "font-family" => $attr['titleFontFamily'],
1508
+ "font-weight" => $attr['titleFontWeight'],
1509
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1510
+ "line-height" => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1511
+ "color" => $attr['titleColor'],
1512
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
1513
+ );
1514
+
1515
+ $m_selectors = array(
1516
+ " p.uagb-team__desc" => array(
1517
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1518
+ ),
1519
+ " .uagb-team__prefix" => array(
1520
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1521
+ ),
1522
+ " .uagb-team__social-icon a" => array(
1523
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1524
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1525
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1526
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1527
+ ),
1528
+ " .uagb-team__social-icon svg" => array(
1529
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1530
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1531
+ ),
1532
+ );
1533
+
1534
+ $t_selectors = array(
1535
+ " p.uagb-team__desc" => array(
1536
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1537
+ ),
1538
+ " .uagb-team__prefix" => array(
1539
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1540
+ ),
1541
+ " .uagb-team__social-icon a" => array(
1542
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1543
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1544
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1545
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1546
+ ),
1547
+ " .uagb-team__social-icon svg" => array(
1548
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1549
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1550
+ ),
1551
+ );
1552
+
1553
+ $m_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1554
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
1555
+ );
1556
+
1557
+ $t_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1558
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1559
+ );
1560
+
1561
+ // @codingStandardsIgnoreEnd
1562
+
1563
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
1564
+
1565
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-team-' . $id );
1566
+
1567
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-team-' . $id );
1568
+
1569
+ $generated_css = array(
1570
+ 'desktop' => $desktop,
1571
+ 'tablet' => $tablet,
1572
+ 'mobile' => $mobile,
1573
+ );
1574
+
1575
+ return $generated_css;
1576
+ }
1577
+
1578
+ /**
1579
+ * Get Social Share Block CSS
1580
+ *
1581
+ * @since 0.0.1
1582
+ * @param array $attr The block attributes.
1583
+ * @param string $id The selector ID.
1584
+ * @return array The Widget List.
1585
+ */
1586
+ public static function get_social_share_css( $attr, $id ) { // @codingStandardsIgnoreStart
1587
+
1588
+ $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
1589
+
1590
+ $attr = array_merge( $defaults, (array) $attr );
1591
+
1592
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1593
+
1594
+ $m_selectors = array();
1595
+ $t_selectors = array();
1596
+
1597
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
1598
+ "margin-left" => 0,
1599
+ "margin-right" => 0,
1600
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1601
+ );
1602
+
1603
+ $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
1604
+ "flex-direction" => "column"
1605
+ );
1606
+
1607
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
1608
+ "margin-bottom" => 0
1609
+ );
1610
+
1611
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1612
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1613
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1614
+ );
1615
+
1616
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
1617
+ "margin-left" => 0
1618
+ );
1619
+
1620
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
1621
+ "margin-right" => 0
1622
+ );
1623
+
1624
+ $selectors[" .uagb-ss__wrapper"] = array(
1625
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
1626
+ );
1627
+
1628
+ $selectors[" .uagb-ss__source-wrap"] = array(
1629
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1630
+ );
1631
+
1632
+ $selectors[" .uagb-ss__source-wrap svg"] = array(
1633
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1634
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1635
+ );
1636
+
1637
+ $selectors[" .uagb-ss__source-image"] = array(
1638
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1639
+ );
1640
+
1641
+ $selectors[" .uagb-ss__source-icon"] = array(
1642
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1643
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1644
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1645
+ "line-height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1646
+ );
1647
+
1648
+
1649
+ $t_selectors[" .uagb-ss__source-wrap"] = array(
1650
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1651
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1652
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1653
+ );
1654
+
1655
+ $t_selectors[" .uagb-ss__source-wrap svg"] = array(
1656
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1657
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1658
+ );
1659
+
1660
+ $t_selectors[" .uagb-ss__source-image"] = array(
1661
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1662
+ );
1663
+
1664
+ $t_selectors[" .uagb-ss__source-icon"] = array(
1665
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1666
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1667
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1668
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1669
+ );
1670
+ $t_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1671
+ "margin-left" => 0,
1672
+ "margin-right" => 0
1673
+ );
1674
+
1675
+
1676
+ $m_selectors[" .uagb-ss__source-wrap"] = array(
1677
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1678
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1679
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1680
+ );
1681
+
1682
+ $m_selectors[" .uagb-ss__source-wrap svg"] = array(
1683
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1684
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1685
+ );
1686
+
1687
+ $m_selectors[" .uagb-ss__source-image"] = array(
1688
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1689
+ );
1690
+
1691
+ $m_selectors[" .uagb-ss__source-icon"] = array(
1692
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1693
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1694
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1695
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1696
+ );
1697
+ $m_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1698
+ "margin-left" => 0,
1699
+ "margin-right" => 0
1700
+ );
1701
+
1702
+
1703
+ foreach ( $attr['socials'] as $key => $social ) {
1704
+
1705
+ $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
1706
+ $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
1707
+
1708
+ if ( $attr['social_count'] <= $key ) {
1709
+ break;
1710
+ }
1711
+
1712
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1713
+ "color" => $social['icon_color'],
1714
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], $attr['bgSizeType'] )
1715
+ );
1716
+
1717
+ $m_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1718
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSizeMobile'], $attr['bgSizeType'] )
1719
+ );
1720
+
1721
+ $t_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1722
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSizeTablet'], $attr['bgSizeType'] )
1723
+ );
1724
+
1725
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link svg"] = array (
1726
+ "fill" => $social['icon_color'],
1727
+ );
1728
+
1729
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
1730
+ "color" => $social['icon_hover_color']
1731
+ );
1732
+
1733
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link svg"] = array (
1734
+ "fill" => $social['icon_hover_color']
1735
+ );
1736
+
1737
+ $selectors[" .uagb-ss-repeater-" . $key] = array (
1738
+ "background" => $social['icon_bg_color']
1739
+ );
1740
+
1741
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
1742
+ "background" => $social['icon_bg_hover_color']
1743
+ );
1744
+ }
1745
+
1746
+ $selectors[" .uagb-social-share__wrap"] = array(
1747
+ "justify-content" => $alignment,
1748
+ "-webkit-box-pack" => $alignment,
1749
+ "-ms-flex-pack" => $alignment,
1750
+ "justify-content" => $alignment,
1751
+ "-webkit-box-align" => $alignment,
1752
+ "-ms-flex-align" => $alignment,
1753
+ "align-items" => $alignment,
1754
+ );
1755
+
1756
+ if ( 'horizontal' == $attr['social_layout'] ) {
1757
+
1758
+ if ( "desktop" == $attr['stack'] ) {
1759
+
1760
+ $selectors[" .uagb-ss__wrapper"] = array (
1761
+ "margin-left" => 0,
1762
+ "margin-right" => 0,
1763
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1764
+ );
1765
+
1766
+ $selectors[" .uagb-social-share__wrap"] = array (
1767
+ "flex-direction" => "column"
1768
+ );
1769
+
1770
+ $selectors[" .uagb-ss__wrapper:last-child"] = array (
1771
+ "margin-bottom" => 0
1772
+ );
1773
+
1774
+ } else if ( "tablet" == $attr['stack'] ) {
1775
+
1776
+ $t_selectors[" .uagb-ss__wrapper"] = array (
1777
+ "margin-left" => 0,
1778
+ "margin-right" => 0,
1779
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1780
+ );
1781
+
1782
+ $t_selectors[" .uagb-social-share__wrap"] = array (
1783
+ "flex-direction" => "column"
1784
+ );
1785
+
1786
+ $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
1787
+ "margin-bottom" => 0
1788
+ );
1789
+
1790
+ } else if ( "mobile" == $attr['stack'] ) {
1791
+
1792
+ $m_selectors[" .uagb-ss__wrapper"] = array (
1793
+ "margin-left" => 0,
1794
+ "margin-right" => 0,
1795
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1796
+ );
1797
+
1798
+ $m_selectors[" .uagb-social-share__wrap"] = array (
1799
+ "flex-direction" => "column"
1800
+ );
1801
+
1802
+ $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
1803
+ "margin-bottom" => 0
1804
+ );
1805
+ }
1806
+ }
1807
+
1808
+ // @codingStandardsIgnoreEnd
1809
+
1810
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
1811
+
1812
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-social-share-' . $id );
1813
+
1814
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-social-share-' . $id );
1815
+
1816
+ $generated_css = array(
1817
+ 'desktop' => $desktop,
1818
+ 'tablet' => $tablet,
1819
+ 'mobile' => $mobile,
1820
+ );
1821
+
1822
+ return $generated_css;
1823
+ }
1824
+
1825
+ /**
1826
+ * Get Icon List Block CSS
1827
+ *
1828
+ * @since 0.0.1
1829
+ * @param array $attr The block attributes.
1830
+ * @param string $id The selector ID.
1831
+ * @return array The Widget List.
1832
+ */
1833
+ public static function get_icon_list_css( $attr, $id ) { // @codingStandardsIgnoreStart
1834
+
1835
+ $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
1836
+
1837
+ $attr = array_merge( $defaults, (array) $attr );
1838
+
1839
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1840
+
1841
+ $m_selectors = array();
1842
+ $t_selectors = array();
1843
+
1844
+ $selectors = array(
1845
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper" => array(
1846
+ "margin-left" => 0,
1847
+ "margin-right" => 0,
1848
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1849
+ ),
1850
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrap" => array(
1851
+ "flex-direction" => "column"
1852
+ ),
1853
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child" => array(
1854
+ "margin-bottom" => 0
1855
+ ),
1856
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper" => array(
1857
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1858
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1859
+ ),
1860
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child" => array(
1861
+ "margin-left" => 0
1862
+ ),
1863
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child" => array(
1864
+ "margin-right" => 0
1865
+ ),
1866
+ // Desktop Icon Size CSS starts.
1867
+ " .uagb-icon-list__source-image" => array(
1868
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1869
+ ),
1870
+ " .uagb-icon-list__source-icon" => array(
1871
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1872
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1873
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1874
+ ),
1875
+ " .uagb-icon-list__source-icon svg" => array(
1876
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1877
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1878
+ ),
1879
+ " .uagb-icon-list__source-icon:before"=> array(
1880
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1881
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1882
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1883
+ ),
1884
+ " .uagb-icon-list__label-wrap"=> array(
1885
+ "text-align" => $attr['align']
1886
+ ),
1887
+
1888
+ " .uagb-icon-list__source-wrap"=> array(
1889
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], 'px' ),
1890
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1891
+ "border-style" => ( $attr['border'] > 0 ) ? 'solid' : '',
1892
+ "border-width" => UAGB_Helper::get_css_value( $attr['border'], 'px' )
1893
+ ),
1894
+ " .uagb-icon-list__wrap"=> array(
1895
+ "justify-content" => $alignment,
1896
+ "-webkit-box-pack" => $alignment,
1897
+ "-ms-flex-pack" => $alignment,
1898
+ "justify-content" => $alignment,
1899
+ "-webkit-box-align" => $alignment,
1900
+ "-ms-flex-align" => $alignment,
1901
+ "align-items" => $alignment,
1902
+ )
1903
+ );
1904
+
1905
+ if ( 'right' == $attr['align'] ) {
1906
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1907
+ "margin-left" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1908
+ );
1909
+ $selectors[" .uagb-icon-list__content-wrap"] = array(
1910
+ "flex-direction" => "row-reverse"
1911
+ );
1912
+ } else {
1913
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1914
+ "margin-right" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1915
+ );
1916
+ }
1917
+ // Desktop Icon Size CSS ends.
1918
+
1919
+ // Mobile Icon Size CSS starts.
1920
+ $m_selectors = array(
1921
+ " .uagb-icon-list__source-image" => array(
1922
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1923
+ ),
1924
+ " .uagb-icon-list__source-icon" => array(
1925
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1926
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1927
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1928
+ ),
1929
+ " .uagb-icon-list__source-icon svg" => array(
1930
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1931
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1932
+ ),
1933
+ " .uagb-icon-list__source-icon:before" => array(
1934
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1935
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1936
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1937
+ ),
1938
+ );
1939
+ // Mobile Icon Size CSS ends.
1940
+
1941
+ // Tablet Icon Size CSS starts.
1942
+ $t_selectors = array(
1943
+ " .uagb-icon-list__source-image" => array(
1944
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1945
+ ),
1946
+ " .uagb-icon-list__source-icon" => array(
1947
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1948
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1949
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1950
+ ),
1951
+ " .uagb-icon-list__source-icon svg" => array(
1952
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1953
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1954
+ ),
1955
+ " .uagb-icon-list__source-icon:before" => array(
1956
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1957
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1958
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1959
+ ),
1960
+ );
1961
+ // Tablet Icon Size CSS ends.
1962
+
1963
+ foreach ( $attr['icons'] as $key => $icon ) {
1964
+
1965
+ $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
1966
+ $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
1967
+ $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
1968
+ $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
1969
+ $icon['icon_border_color'] = ( isset( $icon['icon_border_color'] ) ) ? $icon['icon_border_color'] : '';
1970
+ $icon['icon_border_hover_color'] = ( isset( $icon['icon_border_hover_color'] ) ) ? $icon['icon_border_hover_color'] : '';
1971
+ $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
1972
+ $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
1973
+
1974
+ if ( $attr['icon_count'] <= $key ) {
1975
+ break;
1976
+ }
1977
+
1978
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
1979
+ "color" => $icon['icon_color']
1980
+ );
1981
+
1982
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon svg"] = array (
1983
+ "fill" => $icon['icon_color']
1984
+ );
1985
+
1986
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
1987
+ "color" => $icon['icon_hover_color']
1988
+ );
1989
+
1990
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon svg"] = array (
1991
+ "fill" => $icon['icon_hover_color']
1992
+ );
1993
+
1994
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1995
+ "color" => $icon['label_color'],
1996
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSize'], $attr['fontSizeType'] ),
1997
+ 'font-family' => $attr['fontFamily'],
1998
+ 'font-weight' => $attr['fontWeight'],
1999
+ 'line-height' => $attr['lineHeight'] . $attr['lineHeightType'],
2000
+ );
2001
+
2002
+ $m_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2003
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
2004
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
2005
+ );
2006
+
2007
+ $t_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2008
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
2009
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
2010
+ );
2011
+
2012
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
2013
+ "color" => $icon['label_hover_color']
2014
+ );
2015
+
2016
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
2017
+ "background" => $icon['icon_bg_color'],
2018
+ "border-color" => $icon['icon_border_color'],
2019
+ );
2020
+
2021
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
2022
+ "background" => $icon['icon_bg_hover_color'],
2023
+ "border-color" => $icon['icon_border_hover_color']
2024
+ );
2025
+ }
2026
+
2027
+ if ( 'horizontal' == $attr['icon_layout'] ) {
2028
+
2029
+ if ( "tablet" == $attr['stack'] ) {
2030
+
2031
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2032
+ "margin-left" => 0,
2033
+ "margin-right" => 0,
2034
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2035
+ );
2036
+
2037
+ $t_selectors[" .uagb-icon-list__wrap"] = array (
2038
+ "flex-direction" => "column"
2039
+ );
2040
+
2041
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2042
+ "margin-bottom" => 0
2043
+ );
2044
+
2045
+ } else if ( "mobile" == $attr['stack'] ) {
2046
+
2047
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2048
+ "margin-left" => 0,
2049
+ "margin-right" => 0,
2050
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2051
+ );
2052
+
2053
+ $m_selectors[" .uagb-icon-list__wrap"] = array (
2054
+ "flex-direction" => "column"
2055
+ );
2056
+
2057
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2058
+ "margin-bottom" => 0
2059
+ );
2060
+ }
2061
+ }
2062
+
2063
+ // @codingStandardsIgnoreEnd
2064
+
2065
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
2066
+
2067
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-icon-list-' . $id );
2068
+
2069
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-icon-list-' . $id );
2070
+
2071
+ $generated_css = array(
2072
+ 'desktop' => $desktop,
2073
+ 'tablet' => $tablet,
2074
+ 'mobile' => $mobile,
2075
+ );
2076
+
2077
+ return $generated_css;
2078
+ }
2079
+
2080
+ /**
2081
+ * Get Content Timeline Block CSS
2082
+ *
2083
+ * @since 0.0.1
2084
+ * @param array $attr The block attributes.
2085
+ * @param string $id The selector ID.
2086
+ * @return array The Widget List.
2087
+ */
2088
+ public static function get_content_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2089
+
2090
+ $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
2091
+
2092
+ $attr = array_merge( $defaults, (array) $attr );
2093
+
2094
+ $selectors = array();
2095
+ $t_selectors = array();
2096
+ $m_selectors = array();
2097
+
2098
+ $selectors = array(
2099
+ " .uagb-timeline__heading" => array(
2100
+ "text-align" => $attr['align'],
2101
+ "color" => $attr['headingColor'],
2102
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2103
+ 'font-family' => $attr['headFontFamily'],
2104
+ 'font-weight' => $attr['headFontWeight'],
2105
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2106
+ ),
2107
+ " .uagb-timeline__heading-text" => array(
2108
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2109
+ ),
2110
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2111
+ 'color'=> $attr['iconFocus'],
2112
+ ),
2113
+ );
2114
+
2115
+ $desktop_selectors = self::get_timeline_selectors( $attr );
2116
+ $selectors = array_merge( $selectors, $desktop_selectors );
2117
+
2118
+ $t_selectors = array(
2119
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2120
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2121
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2122
+ ),
2123
+ " .uagb-timeline__date-new" => array(
2124
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2125
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2126
+ ),
2127
+ " .uagb-timeline__heading" => array(
2128
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2129
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2130
+ ),
2131
+ " .uagb-timeline-desc-content" => array(
2132
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2133
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
2134
+ ),
2135
+ );
2136
+
2137
+ $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2138
+ $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2139
+
2140
+ $m_selectors = array(
2141
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2142
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2143
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2144
+ ),
2145
+ " .uagb-timeline__date-new" => array(
2146
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2147
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2148
+ ),
2149
+ " .uagb-timeline__heading" => array(
2150
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2151
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2152
+ ),
2153
+ " .uagb-timeline-desc-content" => array(
2154
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2155
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
2156
+ ),
2157
+ );
2158
+
2159
+ $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2160
+
2161
+ $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2162
+
2163
+ // @codingStandardsIgnoreEnd
2164
+
2165
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2166
+
2167
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2168
+
2169
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2170
+
2171
+ $generated_css = array(
2172
+ 'desktop' => $desktop,
2173
+ 'tablet' => $tablet,
2174
+ 'mobile' => $mobile,
2175
+ );
2176
+
2177
+ return $generated_css;
2178
+ }
2179
+
2180
+ /**
2181
+ * Get Content Timeline Block CSS
2182
+ *
2183
+ * @since 0.0.1
2184
+ * @param array $attr The block attributes.
2185
+ * @param string $id The selector ID.
2186
+ * @return array The Widget List.
2187
+ */
2188
+ public static function get_post_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2189
+
2190
+ $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
2191
+
2192
+ $attr = array_merge( $defaults, (array) $attr );
2193
+ $t_selectors = array();
2194
+
2195
+ $selectors = array(
2196
+ " .uagb-timeline__heading" => array(
2197
+ "text-align" => $attr['align'],
2198
+ ),
2199
+ " .uagb-timeline__author" => array(
2200
+ "text-align" => $attr['align'],
2201
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['authorSpace'], 'px' )
2202
+ ),
2203
+ " .uagb-timeline__link_parent" => array(
2204
+ "text-align" => $attr['align'],
2205
+ ),
2206
+ " .uagb-timeline__image a" => array(
2207
+ "text-align" => $attr['align'],
2208
+ ),
2209
+ " .uagb-timeline__author-link" => array(
2210
+ "color" => $attr['authorColor'],
2211
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2212
+ 'font-family' => $attr['authorFontFamily'],
2213
+ 'font-weight' => $attr['authorFontWeight'],
2214
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2215
+ ),
2216
+ " .dashicons-admin-users" => array(
2217
+ "color" => $attr['authorColor'],
2218
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2219
+ 'font-weight' => $attr['authorFontWeight'],
2220
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2221
+ ),
2222
+ " .uagb-timeline__link" => array(
2223
+ "color" => $attr['ctaColor'],
2224
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2225
+ 'font-family' => $attr['ctaFontFamily'],
2226
+ 'font-weight' => $attr['ctaFontWeight'],
2227
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2228
+ "background-color" => $attr['ctaBackground'],
2229
+ ),
2230
+ " .uagb-timeline__heading a" => array(
2231
+ "text-align" => $attr['align'],
2232
+ "color" => $attr['headingColor'],
2233
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2234
+ 'font-family' => $attr['headFontFamily'],
2235
+ 'font-weight' => $attr['headFontWeight'],
2236
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2237
+ ),
2238
+ " .uagb-timeline__heading-text" => array(
2239
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2240
+ ),
2241
+ " .uagb_timeline__cta-enable .uagb-timeline-desc-content" => array(
2242
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['contentSpace'], 'px' ),
2243
+ ),
2244
+ ' .uagb-content' => array(
2245
+ 'padding'=> UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
2246
+ ),
2247
+ );
2248
+
2249
+
2250
+
2251
+ $desktop_selectors = self::get_timeline_selectors( $attr );
2252
+ $selectors = array_merge( $selectors, $desktop_selectors );
2253
+
2254
+ $t_selectors = array(
2255
+ " .uagb-timeline__author-link" => array(
2256
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2257
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2258
+ ),
2259
+ " .dashicons-admin-users" => array(
2260
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2261
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2262
+ ),
2263
+ " .uagb-timeline__link" => array(
2264
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2265
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2266
+ ),
2267
+ " .uagb-timeline__heading a" => array(
2268
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2269
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2270
+ ),
2271
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2272
+ "text-align" => 'left',
2273
+ ),
2274
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2275
+ "text-align" => 'left',
2276
+ ),
2277
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a" => array(
2278
+ 'text-align' => 'left',
2279
+ ),
2280
+ );
2281
+
2282
+ $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2283
+ $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2284
+
2285
+ // Mobile responsive CSS.
2286
+ $m_selectors = array(
2287
+ " .uagb-timeline__author-link" => array(
2288
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2289
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2290
+ ),
2291
+ " .dashicons-admin-users" => array(
2292
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2293
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2294
+ ),
2295
+ " .uagb-timeline__link" => array(
2296
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2297
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2298
+ ),
2299
+ " .uagb-timeline__heading a" => array(
2300
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2301
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2302
+ ),
2303
+ " .uagb-timeline__heading" => array(
2304
+ "text-align" => $attr['align'],
2305
+ ),
2306
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2307
+ "text-align" => 'left',
2308
+ ),
2309
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2310
+ "text-align" => 'left',
2311
+ ),
2312
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a" => array(
2313
+ 'text-align' => 'left',
2314
+ ),
2315
+ );
2316
+
2317
+ $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2318
+ $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2319
+
2320
+ // @codingStandardsIgnoreEnd
2321
+
2322
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2323
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2324
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2325
+
2326
+ $generated_css = array(
2327
+ 'desktop' => $desktop,
2328
+ 'tablet' => $tablet,
2329
+ 'mobile' => $mobile,
2330
+ );
2331
+
2332
+ return $generated_css;
2333
+ }
2334
+
2335
+ /**
2336
+ * Get Restaurant Menu Block CSS
2337
+ *
2338
+ * @since 1.0.2
2339
+ * @param array $attr The block attributes.
2340
+ * @param string $id The selector ID.
2341
+ * @return array The Widget List.
2342
+ */
2343
+ public static function get_restaurant_menu_css( $attr, $id ) { // @codingStandardsIgnoreStart
2344
+
2345
+ $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
2346
+
2347
+ $attr = array_merge( $defaults, (array) $attr );
2348
+
2349
+ $m_selectors = array();
2350
+ $t_selectors = array();
2351
+
2352
+ $align = $attr['headingAlign'];
2353
+ if( 'left' === $align ){
2354
+ $align = 'flex-start';
2355
+ }else if( 'right' === $align ){
2356
+ $align = 'flex-end';
2357
+ }
2358
+
2359
+ $selectors = array(
2360
+ " .uagb-rest_menu__wrap" => array(
2361
+ 'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2362
+ 'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2363
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' )
2364
+ ),
2365
+ " .uagb-rest_menu__wrap .uagb-rm__image-content" => array(
2366
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2367
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2368
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2369
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2370
+ ),
2371
+ " .uagb-rm__image img" => array(
2372
+ 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2373
+ 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2374
+ ),
2375
+ " .uagb-rm__separator-parent" => array(
2376
+ 'justify-content' => $align,
2377
+ ),
2378
+ " .uagb-rm__content" => array(
2379
+ 'text-align' => $attr['headingAlign'] ,
2380
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2381
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2382
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2383
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2384
+ ),
2385
+ " .uagb-rm__title" => array(
2386
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2387
+ 'color' => $attr['titleColor'] ,
2388
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
2389
+ 'font-family' => $attr['titleFontFamily'],
2390
+ 'font-weight' => $attr['titleFontWeight'],
2391
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2392
+ ),
2393
+ " .uagb-rm__price" => array(
2394
+ 'font-size' => UAGB_Helper::get_css_value( $attr['priceFontSize'], $attr['priceFontSizeType'] ),
2395
+ 'font-family' => $attr['priceFontFamily'],
2396
+ 'font-weight' => $attr['priceFontWeight'],
2397
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeight'], $attr['priceLineHeightType'] ),
2398
+ 'color' => $attr['priceColor'],
2399
+ ),
2400
+ " .uagb-rm__desc" => array(
2401
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2402
+ 'font-family' => $attr['descFontFamily'],
2403
+ 'font-weight' => $attr['descFontWeight'],
2404
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2405
+ 'color'=> $attr['descColor'],
2406
+ 'margin-bottom'=> UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2407
+ ),
2408
+ );
2409
+
2410
+ if ( $attr["seperatorStyle"] != "none" ) {
2411
+ $selectors[" .uagb-rest_menu__wrap .uagb-rm__separator"] = array(
2412
+ 'border-top-color'=> $attr['seperatorColor'],
2413
+ 'border-top-style'=> $attr['seperatorStyle'],
2414
+ 'border-top-width'=> UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
2415
+ 'width'=> UAGB_Helper::get_css_value( $attr['seperatorWidth'], '%' ),
2416
+ );
2417
+ }
2418
+
2419
+ $selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
2420
+ 'margin-left'=> '0',
2421
+ 'clear'=> 'left',
2422
+ );
2423
+
2424
+ $t_selectors = array(
2425
+ ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2426
+ 'margin-left'=> 'unset',
2427
+ 'clear'=> 'unset',
2428
+ ),
2429
+ ' .uagb-rest_menu__wrap.uagb-rm__tablet-column-'.$attr['tcolumns'].':nth-child('.$attr['tcolumns'].'n+1)' => array(
2430
+ 'margin-left'=> '0',
2431
+ 'clear'=> 'left',
2432
+ ),
2433
+ " .uagb-rm__title" => array(
2434
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2435
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2436
+ ),
2437
+ " .uagb-rm__desc" => array(
2438
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2439
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2440
+ ),
2441
+ " .uagb-rm__price" => array(
2442
+ "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeTablet'], $attr['priceFontSizeType'] ),
2443
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightTablet'], $attr['priceLineHeightType'] ),
2444
+ )
2445
+ );
2446
+
2447
+ $m_selectors = array(
2448
+ ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2449
+ 'margin-left'=> 'unset',
2450
+ 'clear'=> 'unset',
2451
+ ),
2452
+ ' .uagb-rest_menu__wrap.uagb-rm__mobile-column-'.$attr['mcolumns'].':nth-child('.$attr['mcolumns'].'n+1)' => array(
2453
+ 'margin-left'=> '0',
2454
+ 'clear'=> 'left',
2455
+ ),
2456
+ " .uagb-rm__title" => array(
2457
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2458
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2459
+ ),
2460
+ " .uagb-rm__desc" => array(
2461
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
2462
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
2463
+ ),
2464
+ " .uagb-rm__price" => array(
2465
+ "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeMobile'], $attr['priceFontSizeType'] ),
2466
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightMobile'], $attr['priceLineHeightType'] ),
2467
+ )
2468
+ );
2469
+
2470
+ // @codingStandardsIgnoreEnd
2471
+
2472
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
2473
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-rm-' . $id );
2474
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-rm-' . $id );
2475
+
2476
+ $generated_css = array(
2477
+ 'desktop' => $desktop,
2478
+ 'tablet' => $tablet,
2479
+ 'mobile' => $mobile,
2480
+ );
2481
+
2482
+ return $generated_css;
2483
+ }
2484
+
2485
+ /**
2486
+ * Get Post Grid Block CSS
2487
+ *
2488
+ * @since 1.4.0
2489
+ * @param array $attr The block attributes.
2490
+ * @param string $id The selector ID.
2491
+ * @return array The Widget List.
2492
+ */
2493
+ public static function get_post_grid_css( $attr, $id ) { // @codingStandardsIgnoreStart
2494
+
2495
+ $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
2496
+
2497
+ $attr = array_merge( $defaults, (array) $attr );
2498
+
2499
+ $selectors = self::get_post_selectors( $attr );
2500
+
2501
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2502
+
2503
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2504
+
2505
+ // @codingStandardsIgnoreEnd
2506
+
2507
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
2508
+
2509
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__grid-' . $id );
2510
+
2511
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__grid-' . $id );
2512
+
2513
+ $generated_css = array(
2514
+ 'desktop' => $desktop,
2515
+ 'tablet' => $tablet,
2516
+ 'mobile' => $mobile,
2517
+ );
2518
+
2519
+ return $generated_css;
2520
+ }
2521
+
2522
+ /**
2523
+ * Get Post Carousel Block CSS
2524
+ *
2525
+ * @since 1.4.0
2526
+ * @param array $attr The block attributes.
2527
+ * @param string $id The selector ID.
2528
+ * @return array The Widget List.
2529
+ */
2530
+ public static function get_post_carousel_css( $attr, $id ) { // @codingStandardsIgnoreStart
2531
+
2532
+ $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
2533
+
2534
+ $attr = array_merge( $defaults, (array) $attr );
2535
+
2536
+ $selectors = self::get_post_selectors( $attr );
2537
+
2538
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2539
+
2540
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2541
+
2542
+ $selectors[" .slick-arrow"] = array(
2543
+ "border-color" => $attr['arrowColor']
2544
+ );
2545
+
2546
+ $selectors[" .slick-arrow span"] = array(
2547
+ "color" => $attr['arrowColor'],
2548
+ "font-size" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2549
+ "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2550
+ "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2551
+ );
2552
+
2553
+ $selectors[" .slick-arrow svg"] = array(
2554
+ "fill" => $attr['arrowColor'],
2555
+ "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2556
+ "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2557
+ );
2558
+
2559
+ $selectors[" .slick-arrow"] = array(
2560
+ "border-color" => $attr['arrowColor'],
2561
+ "border-width" => UAGB_Helper::get_css_value( $attr['arrowBorderSize'], 'px' ),
2562
+ "border-radius" => UAGB_Helper::get_css_value( $attr['arrowBorderRadius'], 'px' )
2563
+ );
2564
+
2565
+ $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
2566
+ "color" => $attr['arrowColor']
2567
+ );
2568
+
2569
+ $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
2570
+ "color" => $attr['arrowColor']
2571
+ );
2572
+
2573
+ if ( isset( $attr['arrowDots'] ) && 'dots' == $attr['arrowDots'] ) {
2574
+
2575
+ $selectors[".uagb-slick-carousel"] = array(
2576
+ "padding" => "0 0 35px 0"
2577
+ );
2578
+ }
2579
+
2580
+ // @codingStandardsIgnoreEnd
2581
+
2582
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
2583
+
2584
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__carousel-' . $id );
2585
+
2586
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__carousel-' . $id );
2587
+
2588
+ $generated_css = array(
2589
+ 'desktop' => $desktop,
2590
+ 'tablet' => $tablet,
2591
+ 'mobile' => $mobile,
2592
+ );
2593
+
2594
+ return $generated_css;
2595
+ }
2596
+
2597
+ /**
2598
+ * Get Post Masonry Block CSS
2599
+ *
2600
+ * @since 1.4.0
2601
+ * @param array $attr The block attributes.
2602
+ * @param string $id The selector ID.
2603
+ * @return array The Widget List.
2604
+ */
2605
+ public static function get_post_masonry_css( $attr, $id ) { // @codingStandardsIgnoreStart
2606
+
2607
+ $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
2608
+
2609
+ $attr = array_merge( $defaults, (array) $attr );
2610
+
2611
+ $selectors = self::get_post_selectors( $attr );
2612
+
2613
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2614
+
2615
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2616
+
2617
+ // @codingStandardsIgnoreEnd
2618
+
2619
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
2620
+
2621
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__masonry-' . $id );
2622
+
2623
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__masonry-' . $id );
2624
+
2625
+ $generated_css = array(
2626
+ 'desktop' => $desktop,
2627
+ 'tablet' => $tablet,
2628
+ 'mobile' => $mobile,
2629
+ );
2630
+
2631
+ return $generated_css;
2632
+ }
2633
+
2634
+ /**
2635
+ * Get Post Block Selectors CSS
2636
+ *
2637
+ * @param array $attr The block attributes.
2638
+ * @since 1.4.0
2639
+ */
2640
+ public static function get_post_selectors( $attr ) { // @codingStandardsIgnoreStart
2641
+ return array(
2642
+ " .uagb-post__items" => array(
2643
+ "margin-right" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2644
+ "margin-left" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2645
+ ),
2646
+ " .uagb-post__items article" => array(
2647
+ "padding-right" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2648
+ "padding-left" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2649
+ "margin-bottom" => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' )
2650
+ ),
2651
+ " .uagb-post__inner-wrap" => array(
2652
+ "background" => $attr['bgColor']
2653
+ ),
2654
+ " .uagb-post__text" => array(
2655
+ "padding" => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2656
+ "text-align" => $attr['align']
2657
+ ),
2658
+ " .uagb-post__text .uagb-post__title" => array(
2659
+ "color"=> $attr['titleColor'],
2660
+ "font-size"=> UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2661
+ 'font-family' => $attr['titleFontFamily'],
2662
+ 'font-weight' => $attr['titleFontWeight'],
2663
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2664
+ "margin-bottom"=> UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' )
2665
+ ),
2666
+ " .uagb-post__text .uagb-post__title a" => array(
2667
+ "color" => $attr['titleColor'],
2668
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2669
+ 'font-family' => $attr['titleFontFamily'],
2670
+ 'font-weight' => $attr['titleFontWeight'],
2671
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2672
+ ),
2673
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2674
+ "color"=> $attr['metaColor'],
2675
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2676
+ 'font-family' => $attr['metaFontFamily'],
2677
+ 'font-weight' => $attr['metaFontWeight'],
2678
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2679
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' )
2680
+ ),
2681
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2682
+ "color" => $attr['metaColor'],
2683
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2684
+ 'font-family' => $attr['metaFontFamily'],
2685
+ 'font-weight' => $attr['metaFontWeight'],
2686
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2687
+ ),
2688
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2689
+ "color" => $attr['metaColor'],
2690
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2691
+ 'font-family' => $attr['metaFontFamily'],
2692
+ 'font-weight' => $attr['metaFontWeight'],
2693
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2694
+ ),
2695
+ " .uagb-post__text .uagb-post__excerpt" => array(
2696
+ "color" => $attr['excerptColor'],
2697
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSize'], $attr['excerptFontSizeType'] ),
2698
+ 'font-family' => $attr['excerptFontFamily'],
2699
+ 'font-weight' => $attr['excerptFontWeight'],
2700
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeight'], $attr['excerptLineHeightType'] ),
2701
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' )
2702
+ ),
2703
+ " .uagb-post__text .uagb-post__cta" => array(
2704
+ "color" => $attr['ctaColor'],
2705
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2706
+ 'font-family' => $attr['ctaFontFamily'],
2707
+ 'font-weight' => $attr['ctaFontWeight'],
2708
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2709
+ "background" => $attr['ctaBgColor'],
2710
+ "border-color" => $attr['borderColor'],
2711
+ "border-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2712
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2713
+ "border-style" => $attr['borderStyle'],
2714
+ ),
2715
+ " .uagb-post__text .uagb-post__cta:hover" => array(
2716
+ "border-color"=> $attr['borderHColor']
2717
+ ),
2718
+ " .uagb-post__text .uagb-post__cta a" => array(
2719
+ "color"=> $attr['ctaColor'],
2720
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2721
+ 'font-family' => $attr['ctaFontFamily'],
2722
+ 'font-weight' => $attr['ctaFontWeight'],
2723
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2724
+ "padding" => ( $attr['btnVPadding'] ) . "px " . ( $attr['btnHPadding'] ) . "px",
2725
+ ),
2726
+ " .uagb-post__text .uagb-post__cta:hover" => array(
2727
+ "color"=> $attr['ctaHColor'],
2728
+ "background"=> $attr['ctaBgHColor']
2729
+ ),
2730
+ " .uagb-post__text .uagb-post__cta:hover a" => array(
2731
+ "color"=> $attr['ctaHColor']
2732
+ ),
2733
+ " .uagb-post__image:before" => array(
2734
+ "background-color" => $attr['bgOverlayColor'],
2735
+ "opacity" => ( $attr['overlayOpacity'] / 100 )
2736
+ ),
2737
+ );
2738
+ // @codingStandardsIgnoreEnd
2739
+ }
2740
+
2741
+ /**
2742
+ * Get Post Block Selectors CSS for Mobile devices
2743
+ *
2744
+ * @param array $attr The block attributes.
2745
+ * @since 1.6.1
2746
+ */
2747
+ public static function get_post_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
2748
+
2749
+ return array(
2750
+ " .uagb-post__text .uagb-post__title" => array(
2751
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2752
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2753
+ ),
2754
+ " .uagb-post__text .uagb-post__title a" => array(
2755
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2756
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2757
+ ),
2758
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2759
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2760
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2761
+ ),
2762
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2763
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2764
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2765
+ ),
2766
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2767
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2768
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2769
+ ),
2770
+ " .uagb-post__text .uagb-post__excerpt" => array(
2771
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeMobile'], $attr['excerptFontSizeType'] ),
2772
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightMobile'], $attr['excerptLineHeightType'] ),
2773
+ ),
2774
+ " .uagb-post__text .uagb-post__cta" => array(
2775
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2776
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2777
+ ),
2778
+ " .uagb-post__text .uagb-post__cta a" => array(
2779
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2780
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2781
+ ),
2782
+ " .uagb-post__text" => array(
2783
+ "padding" => ( $attr['contentPaddingMobile'] ) . "px",
2784
+ ),
2785
+ );
2786
+ // @codingStandardsIgnoreEnd
2787
+ }
2788
+
2789
+ /**
2790
+ * Get Post Block Selectors CSS for Tablet devices
2791
+ *
2792
+ * @param array $attr The block attributes.
2793
+ * @since 1.8.2
2794
+ */
2795
+ public static function get_post_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
2796
+ return array(
2797
+ " .uagb-post__text .uagb-post__title" => array(
2798
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2799
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2800
+ ),
2801
+ " .uagb-post__text .uagb-post__title a" => array(
2802
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2803
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2804
+ ),
2805
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2806
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2807
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2808
+ ),
2809
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2810
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2811
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2812
+ ),
2813
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2814
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2815
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2816
+ ),
2817
+ " .uagb-post__text .uagb-post__excerpt" => array(
2818
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeTablet'], $attr['excerptFontSizeType'] ),
2819
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightTablet'], $attr['excerptLineHeightType'] ),
2820
+ ),
2821
+ " .uagb-post__text .uagb-post__cta" => array(
2822
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2823
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2824
+ ),
2825
+ " .uagb-post__text .uagb-post__cta a" => array(
2826
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2827
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2828
+ ),
2829
+ );
2830
+ // @codingStandardsIgnoreEnd
2831
+ }
2832
+
2833
+ /**
2834
+ * Get Blockquote CSS
2835
+ *
2836
+ * @since 1.8.2
2837
+ * @param array $attr The block attributes.
2838
+ * @param string $id The selector ID.
2839
+ * @return array The Widget List.
2840
+ */
2841
+ public static function get_blockquote_css( $attr, $id ) {
2842
+ // @codingStandardsIgnoreStart
2843
+
2844
+ $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
2845
+
2846
+ $attr = array_merge( $defaults, (array) $attr );
2847
+
2848
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
2849
+
2850
+ $content_align ="center";
2851
+
2852
+ if( 'left' === $attr['align'] ){
2853
+ $content_align =" flex-start";
2854
+ }
2855
+ if( 'right' === $attr['align'] ){
2856
+ $content_align =" flex-end";
2857
+ }
2858
+
2859
+ $author_space = $attr['authorSpace'];
2860
+
2861
+ if( 'center' !== $attr['align'] || $attr['skinStyle'] == "border" ){
2862
+ $author_space = 0;
2863
+ }
2864
+
2865
+ //Set align to left for border style.
2866
+ $text_align = $attr['align'];
2867
+
2868
+ if( 'border' === $attr['skinStyle'] ){
2869
+ $text_align = 'left';
2870
+ }
2871
+
2872
+ $selectors = array(
2873
+ " .uagb-blockquote__content" => array(
2874
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2875
+ 'font-family' => $attr['descFontFamily'],
2876
+ 'font-weight' => $attr['descFontWeight'],
2877
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2878
+ "color" => $attr['descColor'],
2879
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2880
+ "text-align" => $text_align,
2881
+ ),
2882
+ " cite.uagb-blockquote__author" => array(
2883
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2884
+ 'font-family' => $attr['authorFontFamily'],
2885
+ 'font-weight' => $attr['authorFontWeight'],
2886
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2887
+ "color" => $attr['authorColor'],
2888
+ "text-align" => $text_align,
2889
+ ),
2890
+ " .uagb-blockquote__skin-border blockquote.uagb-blockquote" => array(
2891
+ "border-color" => $attr['borderColor'],
2892
+ "border-left-style" => $attr['borderStyle'],
2893
+ "border-left-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2894
+ "padding-left" => UAGB_Helper::get_css_value( $attr['borderGap'], 'px' ),
2895
+ "padding-top" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2896
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2897
+ ),
2898
+
2899
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2900
+ "background" => $attr['quoteBgColor'],
2901
+ "border-radius" => UAGB_Helper::get_css_value( $attr['quoteBorderRadius'],'%' ),
2902
+ "margin-top" => UAGB_Helper::get_css_value( $attr['quoteTopMargin'], 'px' ),
2903
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['quoteBottomMargin'], 'px' ),
2904
+ "margin-left" => UAGB_Helper::get_css_value( $attr['quoteLeftMargin'], 'px' ),
2905
+ "margin-right" => UAGB_Helper::get_css_value( $attr['quoteRightMargin'], 'px' ),
2906
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePadding'], $attr['quotePaddingType'] ),
2907
+ ),
2908
+
2909
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2910
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2911
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2912
+ ),
2913
+
2914
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg" => array(
2915
+ "fill" => $attr['quoteColor'],
2916
+ ),
2917
+
2918
+ " .uagb-blockquote__style-style_1 .uagb-blockquote" => array(
2919
+ "text-align" => $attr['align'],
2920
+ ),
2921
+
2922
+ " .uagb-blockquote__author-wrap" => array(
2923
+ "margin-bottom" => UAGB_Helper::get_css_value( $author_space, 'px' ),
2924
+ ),
2925
+ " .uagb-blockquote__author-image img" => array(
2926
+ "width" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2927
+ "height" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2928
+ "border-radius" => UAGB_Helper::get_css_value( $attr['authorImgBorderRadius'], '%' )
2929
+ ),
2930
+
2931
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon:hover svg" => array(
2932
+ "fill" => $attr['quoteHoverColor'],
2933
+ ),
2934
+
2935
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap:hover" => array(
2936
+ "background" => $attr['quoteBgHoverColor'],
2937
+ ),
2938
+
2939
+ " .uagb-blockquote__skin-border blockquote.uagb-blockquote:hover" => array(
2940
+ "border-left-color" => $attr['borderHoverColor'],
2941
+ ),
2942
+ );
2943
+
2944
+ if( $attr['enableTweet'] ){
2945
+ $selectors[" a.uagb-blockquote__tweet-button"] = array(
2946
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2947
+ 'font-family' => $attr['tweetBtnFontFamily'],
2948
+ 'font-weight' => $attr['tweetBtnFontWeight'],
2949
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeight'], $attr['tweetBtnLineHeightType'] ),
2950
+ );
2951
+
2952
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button"] = array(
2953
+ "color" => $attr['tweetLinkColor'],
2954
+ );
2955
+
2956
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button svg"] = array(
2957
+ "fill" => $attr['tweetLinkColor'],
2958
+ );
2959
+
2960
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button"] = array(
2961
+ "color" => $attr['tweetBtnColor'],
2962
+ "background-color" => $attr['tweetBtnBgColor'],
2963
+ "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2964
+ "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2965
+ "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2966
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2967
+ );
2968
+
2969
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button svg"] = array(
2970
+ "fill" => $attr['tweetBtnColor'],
2971
+ );
2972
+
2973
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button"] = array(
2974
+ "color" => $attr['tweetBtnColor'],
2975
+ "background-color" => $attr['tweetBtnBgColor'],
2976
+ "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2977
+ "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2978
+ "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2979
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2980
+ );
2981
+
2982
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button svg"] = array(
2983
+ "fill" => $attr['tweetBtnColor'],
2984
+ );
2985
+
2986
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before"] = array(
2987
+ "border-right-color" => $attr['tweetBtnBgColor'],
2988
+ );
2989
+
2990
+ $selectors[" a.uagb-blockquote__tweet-button svg"] = array(
2991
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2992
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2993
+ );
2994
+
2995
+ $selectors[" .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg"] = array(
2996
+ "margin-right" => UAGB_Helper::get_css_value( $attr['tweetIconSpacing'], 'px' ),
2997
+ );
2998
+
2999
+ // Hover CSS.
3000
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover"] = array(
3001
+ "color" => $attr['tweetBtnHoverColor'],
3002
+ );
3003
+
3004
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover svg"] = array(
3005
+ "fill" => $attr['tweetBtnHoverColor'],
3006
+ );
3007
+
3008
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover"] = array(
3009
+ "color" => $attr['tweetBtnHoverColor'],
3010
+ "background-color" => $attr['tweetBtnBgHoverColor'],
3011
+ );
3012
+
3013
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover svg"] = array(
3014
+ "fill" => $attr['tweetBtnHoverColor'],
3015
+ );
3016
+
3017
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover"] = array(
3018
+ "color" => $attr['tweetBtnHoverColor'],
3019
+ "background-color" => $attr['tweetBtnBgHoverColor'],
3020
+ );
3021
+
3022
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover svg"] = array(
3023
+ "fill" => $attr['tweetBtnHoverColor'],
3024
+ );
3025
+
3026
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover:before"] = array(
3027
+ "border-right-color" => $attr['tweetBtnBgHoverColor'],
3028
+ );
3029
+ }
3030
+
3031
+ $t_selectors = array(
3032
+ " .uagb-blockquote__content" => array(
3033
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
3034
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
3035
+ ),
3036
+ " cite.uagb-blockquote__author" =>array(
3037
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
3038
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
3039
+ ),
3040
+ " a.uagb-blockquote__tweet-button" => array(
3041
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3042
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightTablet'], $attr['tweetBtnLineHeightType'] ),
3043
+ ),
3044
+ " a.uagb-blockquote__tweet-button svg" => array(
3045
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3046
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3047
+ ),
3048
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3049
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingTablet'], $attr['quotePaddingType'] ),
3050
+ ),
3051
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3052
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3053
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3054
+ ),
3055
+ );
3056
+
3057
+ $m_selectors = array(
3058
+ " .uagb-blockquote__content" => array(
3059
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
3060
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
3061
+ ),
3062
+ " cite.uagb-blockquote__author" => array(
3063
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
3064
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
3065
+ ),
3066
+ " a.uagb-blockquote__tweet-button" => array(
3067
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3068
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightMobile'], $attr['tweetBtnLineHeightType'] ),
3069
+ ),
3070
+ " a.uagb-blockquote__tweet-button svg" => array(
3071
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3072
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3073
+ ),
3074
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3075
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingMobile'], $attr['quotePaddingType'] ),
3076
+ ),
3077
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3078
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3079
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3080
+ ),
3081
+ );
3082
+
3083
+ // @codingStandardsIgnoreEnd
3084
+
3085
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-blockquote-' . $id );
3086
+
3087
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-blockquote-' . $id );
3088
+
3089
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-blockquote-' . $id );
3090
+
3091
+ $generated_css = array(
3092
+ 'desktop' => $desktop,
3093
+ 'tablet' => $tablet,
3094
+ 'mobile' => $mobile,
3095
+ );
3096
+
3097
+ return $generated_css;
3098
+ }
3099
+
3100
+ /**
3101
+ * Get Timeline Block Desktop Selectors CSS
3102
+ *
3103
+ * @param array $attr The block attributes.
3104
+ * @since 1.8.2
3105
+ */
3106
+ public static function get_timeline_selectors( $attr ) { // @codingStandardsIgnoreStart
3107
+ $selectors = array(
3108
+ " .uagb-timeline__heading-text" => array(
3109
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
3110
+ ),
3111
+ " .uagb-timeline-desc-content" => array(
3112
+ "text-align" => $attr['align'],
3113
+ "color" => $attr['subHeadingColor'],
3114
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
3115
+ 'font-family' => $attr['subHeadFontFamily'],
3116
+ 'font-weight' => $attr['subHeadFontWeight'],
3117
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
3118
+ ),
3119
+ ' .uagb-timeline__events-new' => array(
3120
+ 'text-align' => $attr['align']
3121
+ ),
3122
+ ' .uagb-timeline__date-inner' => array(
3123
+ 'text-align' => $attr['align']
3124
+ ),
3125
+ ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3126
+ 'border-left-color' => $attr['backgroundColor']
3127
+ ),
3128
+ ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3129
+ 'border-left-color' => $attr['backgroundColor']
3130
+ ),
3131
+ ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3132
+ 'border-right-color' => $attr['backgroundColor']
3133
+ ),
3134
+ ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3135
+ 'border-right-color' => $attr['backgroundColor']
3136
+ ),
3137
+ ' .uagb-timeline__line__inner' => array(
3138
+ 'background-color' => $attr['separatorFillColor']
3139
+ ),
3140
+ ' .uagb-timeline__line' => array(
3141
+ 'background-color' => $attr['separatorColor'],
3142
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' )
3143
+ ),
3144
+ ' .uagb-timeline__right-block .uagb-timeline__line' => array(
3145
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3146
+ ),
3147
+ ' .uagb-timeline__left-block .uagb-timeline__line' => array(
3148
+ 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3149
+ ),
3150
+ ' .uagb-timeline__center-block .uagb-timeline__line' => array(
3151
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3152
+ ),
3153
+ ' .uagb-timeline__marker' => array(
3154
+ 'background-color' => $attr['separatorBg'],
3155
+ 'min-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3156
+ 'min-width' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3157
+ 'line-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3158
+ 'border' => $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
3159
+ ),
3160
+ ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3161
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3162
+ ),
3163
+ ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3164
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3165
+ ),
3166
+ ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3167
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3168
+ ),
3169
+ ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3170
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3171
+ ),
3172
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3173
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3174
+ 'margin-right'=> UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3175
+ ),
3176
+ ' .uagb-timeline__field:not(:last-child)' => array(
3177
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
3178
+ ),
3179
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3180
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
3181
+ 'color' => $attr['dateColor'],
3182
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3183
+ 'font-family' => $attr['dateFontFamily'],
3184
+ 'font-weight' => $attr['dateFontWeight'],
3185
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3186
+ 'text-align' => $attr['align'],
3187
+ ),
3188
+ ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3189
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3190
+ ),
3191
+ ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3192
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3193
+ ),
3194
+ ' .uagb-timeline__date-new' => array(
3195
+ 'color' => $attr['dateColor'],
3196
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3197
+ 'font-family' => $attr['dateFontFamily'],
3198
+ 'font-weight' => $attr['dateFontWeight'],
3199
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3200
+ ),
3201
+ ' .uagb-timeline__events-inner-new' => array(
3202
+ 'background-color' => $attr['backgroundColor'],
3203
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
3204
+ 'padding'=> UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
3205
+ ),
3206
+ ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
3207
+ 'color' => $attr['iconColor'],
3208
+ 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3209
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3210
+ ),
3211
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
3212
+ 'fill'=> $attr['iconFocus'],
3213
+ ),
3214
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
3215
+ 'color'=> $attr['iconFocus'],
3216
+ ),
3217
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
3218
+ 'background' => $attr['iconBgFocus'],
3219
+ 'border-color'=> $attr['borderFocus'],
3220
+ ),
3221
+ ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
3222
+ 'fill'=> $attr['iconColor'],
3223
+ ),
3224
+ );
3225
+
3226
+ return $selectors;
3227
+ // @codingStandardsIgnoreEnd
3228
+ }
3229
+
3230
+ /**
3231
+ * Get Timeline Block Tablet Selectors CSS.
3232
+ *
3233
+ * @param array $attr The block attributes.
3234
+ * @since 1.8.2
3235
+ */
3236
+ public static function get_timeline_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
3237
+ $tablet_selector = array(
3238
+ " .uagb-timeline-desc-content" => array(
3239
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
3240
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
3241
+ ),
3242
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3243
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3244
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3245
+ ),
3246
+ ' .uagb-timeline__date-new' => array(
3247
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3248
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3249
+ ),
3250
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3251
+ 'margin-left' => 0,
3252
+ 'margin-right' => 0,
3253
+ ),
3254
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading" => array(
3255
+ "text-align" => 'left',
3256
+ ),
3257
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content" => array(
3258
+ "text-align" => 'left',
3259
+ ),
3260
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new' => array(
3261
+ 'text-align' => 'left'
3262
+ ),
3263
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner' => array(
3264
+ 'text-align' => 'left'
3265
+ ),
3266
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3267
+ 'text-align'=> 'left',
3268
+ ),
3269
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3270
+ "border-right-color" => $attr['backgroundColor'],
3271
+ ),
3272
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line" => array(
3273
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3274
+ ),
3275
+ );
3276
+
3277
+ return $tablet_selector;
3278
+ // @codingStandardsIgnoreEnd
3279
+ }
3280
+
3281
+ /**
3282
+ * Get Timeline Block Mobile Selectors CSS.
3283
+ *
3284
+ * @param array $attr The block attributes.
3285
+ * @since 1.8.2
3286
+ */
3287
+ public static function get_timeline_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
3288
+ $m_selectors = array(
3289
+ " .uagb-timeline-desc-content" => array(
3290
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
3291
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
3292
+ ),
3293
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3294
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3295
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3296
+ ),
3297
+ ' .uagb-timeline__date-new' => array(
3298
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3299
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3300
+ ),
3301
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3302
+ 'margin-left' => 0,
3303
+ 'margin-right' => 0,
3304
+ ),
3305
+ ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3306
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3307
+ ),
3308
+ ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3309
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3310
+ ),
3311
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading" => array(
3312
+ "text-align" => 'left',
3313
+ ),
3314
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content" => array(
3315
+ "text-align" => 'left',
3316
+ ),
3317
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new' => array(
3318
+ 'text-align' => 'left'
3319
+ ),
3320
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner' => array(
3321
+ 'text-align' => 'left'
3322
+ ),
3323
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3324
+ 'text-align'=> 'left',
3325
+ ),
3326
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3327
+ "border-right-color" => $attr['backgroundColor'],
3328
+ ),
3329
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line" => array(
3330
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3331
+ ),
3332
+ );
3333
+ return $m_selectors;
3334
+ // @codingStandardsIgnoreEnd
3335
+ }
3336
+
3337
+ /**
3338
+ * Get Contact Form 7 CSS
3339
+ *
3340
+ * @param array $attr The block attributes.
3341
+ * @param string $id The selector ID.
3342
+ * @since 1.10.0
3343
+ */
3344
+ public static function get_cf7_styler_css( $attr, $id ) {
3345
+ $defaults = UAGB_Helper::$block_list['uagb/cf7-styler']['attributes'];
3346
+
3347
+ $attr = array_merge( $defaults, (array) $attr );
3348
+
3349
+ $selectors = array(
3350
+ ' .wpcf7 .wpcf7-form' => array(
3351
+ 'text-align' => $attr['align'],
3352
+ ),
3353
+ ' .wpcf7 form.wpcf7-form:not(input)' => array(
3354
+ 'color' => $attr['fieldLabelColor'],
3355
+ ),
3356
+ ' .wpcf7 input:not([type=submit])' => array(
3357
+ 'background-color' => $attr['fieldBgColor'],
3358
+ 'color' => $attr['fieldInputColor'],
3359
+ 'border-style' => $attr['fieldBorderStyle'],
3360
+ 'border-color' => $attr['fieldBorderColor'],
3361
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3362
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3363
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3364
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3365
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3366
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3367
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3368
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3369
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3370
+ 'font-family' => $attr['inputFontFamily'],
3371
+ 'font-weight' => $attr['inputFontWeight'],
3372
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3373
+ 'text-align' => $attr['align'],
3374
+ ),
3375
+ ' .wpcf7 select' => array(
3376
+ 'background-color' => $attr['fieldBgColor'],
3377
+ 'color' => $attr['fieldLabelColor'],
3378
+ 'border-style' => $attr['fieldBorderStyle'],
3379
+ 'border-color' => $attr['fieldBorderColor'],
3380
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3381
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3382
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3383
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3384
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3385
+ 'font-family' => $attr['inputFontFamily'],
3386
+ 'font-weight' => $attr['inputFontWeight'],
3387
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3388
+ 'text-align' => $attr['align'],
3389
+ ),
3390
+ ' .wpcf7 select.wpcf7-form-control.wpcf7-select:not([multiple="multiple"])' => array(
3391
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3392
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3393
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3394
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3395
+ ),
3396
+ ' .wpcf7 select.wpcf7-select[multiple="multiple"] option' => array(
3397
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3398
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3399
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3400
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3401
+ ),
3402
+ ' .wpcf7 textarea' => array(
3403
+ 'background-color' => $attr['fieldBgColor'],
3404
+ 'color' => $attr['fieldInputColor'],
3405
+ 'border-color' => $attr['fieldBorderColor'],
3406
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3407
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3408
+ 'border-style' => $attr['fieldBorderStyle'],
3409
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3410
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3411
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3412
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3413
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3414
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3415
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3416
+ 'font-family' => $attr['inputFontFamily'],
3417
+ 'font-weight' => $attr['inputFontWeight'],
3418
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3419
+ 'text-align' => $attr['align'],
3420
+ ),
3421
+ ' .wpcf7 textarea::placeholder' => array(
3422
+ 'color' => $attr['fieldInputColor'],
3423
+ 'text-align' => $attr['align'],
3424
+ ),
3425
+ ' .wpcf7 input::placeholder' => array(
3426
+ 'color' => $attr['fieldInputColor'],
3427
+ 'text-align' => $attr['align'],
3428
+ ),
3429
+ ' .wpcf7 form label' => array(
3430
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3431
+ 'font-family' => $attr['labelFontFamily'],
3432
+ 'font-weight' => $attr['labelFontWeight'],
3433
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3434
+ ),
3435
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3436
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3437
+ 'font-family' => $attr['labelFontFamily'],
3438
+ 'font-weight' => $attr['labelFontWeight'],
3439
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3440
+ ),
3441
+
3442
+ // Focus.
3443
+ ' .wpcf7 form input:not([type=submit]):focus' => array(
3444
+ 'border-color' => $attr['fieldBorderFocusColor'],
3445
+ ),
3446
+ ' .wpcf7 form select:focus' => array(
3447
+ 'border-color' => $attr['fieldBorderFocusColor'],
3448
+ ),
3449
+ ' .wpcf7 textarea:focus' => array(
3450
+ 'border-color' => $attr['fieldBorderFocusColor'],
3451
+ ),
3452
+
3453
+ // Submit button.
3454
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3455
+ 'color' => $attr['buttonTextColor'],
3456
+ 'background-color' => $attr['buttonBgColor'],
3457
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3458
+ 'font-family' => $attr['buttonFontFamily'],
3459
+ 'font-weight' => $attr['buttonFontWeight'],
3460
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3461
+ 'border-color' => $attr['buttonBorderColor'],
3462
+ 'border-style' => $attr['buttonBorderStyle'],
3463
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3464
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3465
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3466
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3467
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3468
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3469
+ ),
3470
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover' => array(
3471
+ 'color' => $attr['buttonTextHoverColor'],
3472
+ 'background-color' => $attr['buttonBgHoverColor'],
3473
+ 'border-color' => $attr['buttonBorderHoverColor'],
3474
+ ),
3475
+
3476
+ // Check box Radio.
3477
+ ' .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3478
+ 'background-color' => $attr['fieldBgColor'],
3479
+ 'color' => $attr['fieldInputColor'],
3480
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3481
+ 'border-color' => $attr['fieldBorderFocusColor'],
3482
+ ),
3483
+ ' .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3484
+ 'background-color' => $attr['fieldBgColor'],
3485
+ 'color' => $attr['fieldInputColor'],
3486
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3487
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3488
+ 'border-style' => $attr['fieldBorderStyle'],
3489
+ 'border-color' => $attr['fieldBorderColor'],
3490
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3491
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3492
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3493
+ ),
3494
+ ' .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3495
+ 'background-color' => $attr['fieldBgColor'],
3496
+ 'color' => $attr['fieldInputColor'],
3497
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3498
+ 'border-color' => $attr['fieldBorderFocusColor'],
3499
+ ),
3500
+ ' .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3501
+ 'background-color' => $attr['fieldBgColor'],
3502
+ 'color' => $attr['fieldInputColor'],
3503
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3504
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3505
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3506
+ 'border-color' => $attr['fieldBorderColor'],
3507
+ 'border-style' => $attr['fieldBorderStyle'],
3508
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3509
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3510
+ ),
3511
+ ' .wpcf7 .wpcf7-radio input[type="radio"] + span:before' => array(
3512
+ 'background-color' => $attr['fieldBgColor'],
3513
+ 'color' => $attr['fieldInputColor'],
3514
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3515
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3516
+ 'border-style' => $attr['fieldBorderStyle'],
3517
+ 'border-color' => $attr['fieldBorderColor'],
3518
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3519
+ ),
3520
+ ' .wpcf7 .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3521
+ 'border-color' => $attr['fieldBorderFocusColor'],
3522
+ ),
3523
+
3524
+ // Underline border.
3525
+ ' .uagb-cf7-styler__field-style-underline .wpcf7 input:not([type=submit])' => array(
3526
+ 'border-style' => 'none',
3527
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3528
+ 'border-bottom-style' => 'solid',
3529
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3530
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3531
+ ),
3532
+ ' .uagb-cf7-styler__field-style-underline textarea' => array(
3533
+ 'border-style' => 'none',
3534
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3535
+ 'border-bottom-style' => 'solid',
3536
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3537
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3538
+ ),
3539
+ ' .uagb-cf7-styler__field-style-underline select' => array(
3540
+ 'border-style' => 'none',
3541
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3542
+ 'border-bottom-style' => 'solid',
3543
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3544
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3545
+ ),
3546
+ ' .uagb-cf7-styler__field-style-underline textarea' => array(
3547
+ 'border-style' => 'none',
3548
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3549
+ 'border-bottom-style' => 'solid',
3550
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3551
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3552
+ ),
3553
+ ' .uagb-cf7-styler__field-style-underline .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3554
+ 'border-style' => 'solid',
3555
+ ),
3556
+ ' .uagb-cf7-styler__field-style-underline .wpcf7 input[type="radio"] + span:before' => array(
3557
+ 'border-style' => 'solid',
3558
+ ),
3559
+ ' .uagb-cf7-styler__field-style-underline .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3560
+ 'border-style' => 'solid',
3561
+ ),
3562
+ ' .uagb-cf7-styler__field-style-box .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3563
+ 'border-style' => $attr['fieldBorderStyle'],
3564
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3565
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3566
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3567
+ ),
3568
+ ' .uagb-cf7-styler__field-style-box .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3569
+ 'border-style' => $attr['fieldBorderStyle'],
3570
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3571
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3572
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3573
+ ),
3574
+ ' .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3575
+ 'background-color' => $attr['fieldInputColor'],
3576
+ ),
3577
+
3578
+ // Override check box.
3579
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3580
+ 'background-color' => $attr['radioCheckBgColor'],
3581
+ 'color' => $attr['radioCheckSelectColor'],
3582
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3583
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3584
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3585
+ 'border-color' => $attr['radioCheckBorderColor'],
3586
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3587
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3588
+ ),
3589
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3590
+ 'border-color' => $attr['fieldBorderFocusColor'],
3591
+ ),
3592
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3593
+ 'background-color' => $attr['radioCheckBgColor'],
3594
+ 'color' => $attr['radioCheckSelectColor'],
3595
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3596
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3597
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3598
+ 'border-color' => $attr['radioCheckBorderColor'],
3599
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3600
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3601
+ ),
3602
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3603
+ 'border-color' => $attr['fieldBorderFocusColor'],
3604
+ ),
3605
+
3606
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 input[type="radio"] + span:before' => array(
3607
+ 'background-color' => $attr['radioCheckBgColor'],
3608
+ 'color' => $attr['radioCheckSelectColor'],
3609
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3610
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3611
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3612
+ 'border-color' => $attr['radioCheckBorderColor'],
3613
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3614
+ ),
3615
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3616
+ 'background-color' => $attr['radioCheckSelectColor'],
3617
+ ),
3618
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3619
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
3620
+ 'font-family' => $attr['radioCheckFontFamily'],
3621
+ 'font-weight' => $attr['radioCheckFontWeight'],
3622
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
3623
+ 'color' => $attr['radioCheckLableColor'],
3624
+ ),
3625
+ ' span.wpcf7-not-valid-tip' => array(
3626
+ 'color' => $attr['validationMsgColor'],
3627
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
3628
+ 'font-family' => $attr['validationMsgFontFamily'],
3629
+ 'font-weight' => $attr['validationMsgFontWeight'],
3630
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
3631
+ ),
3632
+ ' .uagb-cf7-styler__highlight-border input.wpcf7-form-control.wpcf7-not-valid' => array(
3633
+ 'border-color' => $attr['highlightBorderColor'],
3634
+ ),
3635
+ ' .uagb-cf7-styler__highlight-border .wpcf7-form-control.wpcf7-not-valid .wpcf7-list-item-label:before' => array(
3636
+ 'border-color' => $attr['highlightBorderColor'] . '!important',
3637
+ ),
3638
+ ' .uagb-cf7-styler__highlight-style-bottom_right .wpcf7-not-valid-tip' => array(
3639
+ 'background-color' => $attr['validationMsgBgColor'],
3640
+ ),
3641
+ ' .wpcf7-response-output' => array(
3642
+ 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
3643
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
3644
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
3645
+ 'font-family' => $attr['msgFontFamily'],
3646
+ 'font-weight' => $attr['msgFontWeight'],
3647
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
3648
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3649
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3650
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3651
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3652
+ ),
3653
+ ' .wpcf7-response-output.wpcf7-validation-errors' => array(
3654
+ 'background-color' => $attr['errorMsgBgColor'],
3655
+ 'border-color' => $attr['errorMsgBorderColor'],
3656
+ 'color' => $attr['errorMsgColor'],
3657
+ ),
3658
+ ' .wpcf7-response-output.wpcf7-validation- success' => array(
3659
+ 'background-color' => $attr['successMsgBgColor'],
3660
+ 'border-color' => $attr['successMsgBorderColor'],
3661
+ 'color' => $attr['successMsgColor'],
3662
+ ),
3663
+
3664
+ );
3665
+
3666
+ $t_selectors = array(
3667
+ ' .wpcf7 form.wpcf7-form:not(input)' => array(
3668
+ 'color' => $attr['fieldLabelColor'],
3669
+ ),
3670
+ ' .wpcf7 input:not([type=submit])' => array(
3671
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3672
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3673
+ ),
3674
+ ' .wpcf7 select' => array(
3675
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3676
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3677
+ ),
3678
+ ' .wpcf7 textarea' => array(
3679
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3680
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3681
+ ),
3682
+ ' .wpcf7 form label' => array(
3683
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3684
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3685
+ ),
3686
+
3687
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3688
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3689
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3690
+ ),
3691
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3692
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
3693
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
3694
+ ),
3695
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3696
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
3697
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
3698
+ ),
3699
+ ' span.wpcf7-not-valid-tip' => array(
3700
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
3701
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
3702
+ ),
3703
+ ' .wpcf7-response-output' => array(
3704
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
3705
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
3706
+ ),
3707
+ );
3708
+
3709
+ $m_selectors = array(
3710
+ ' .wpcf7 input:not([type=submit])' => array(
3711
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3712
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3713
+ ),
3714
+ ' .wpcf7 select' => array(
3715
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3716
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3717
+ ),
3718
+ ' .wpcf7 textarea' => array(
3719
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3720
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3721
+ ),
3722
+ ' .wpcf7 form label' => array(
3723
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3724
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3725
+ ),
3726
+
3727
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3728
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3729
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3730
+ ),
3731
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3732
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
3733
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
3734
+ ),
3735
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3736
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
3737
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
3738
+ ),
3739
+ ' span.wpcf7-not-valid-tip' => array(
3740
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
3741
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
3742
+ ),
3743
+ ' .wpcf7-response-output' => array(
3744
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
3745
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
3746
+ ),
3747
+ );
3748
+
3749
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cf7-styler-' . $id );
3750
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cf7-styler-' . $id );
3751
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cf7-styler-' . $id );
3752
+
3753
+ $generated_css = array(
3754
+ 'desktop' => $desktop,
3755
+ 'tablet' => $tablet,
3756
+ 'mobile' => $mobile,
3757
+ );
3758
+
3759
+ return $generated_css;
3760
+ }
3761
+
3762
+
3763
+
3764
+ /**
3765
+ * Get Gravity Form Styler CSS
3766
+ *
3767
+ * @param array $attr The block attributes.
3768
+ * @param string $id The selector ID.
3769
+ * @since 1.12.0
3770
+ */
3771
+ public static function get_gf_styler_css( $attr, $id ) {
3772
+ $defaults = UAGB_Helper::$block_list['uagb/gf-styler']['attributes'];
3773
+
3774
+ $attr = array_merge( $defaults, (array) $attr );
3775
+
3776
+ $attr['msgVrPadding'] = ( '' === $attr['msgVrPadding'] ) ? '0' : $attr['msgVrPadding'];
3777
+ $attr['msgHrPadding'] = ( '' === $attr['msgHrPadding'] ) ? '0' : $attr['msgHrPadding'];
3778
+ $attr['textAreaHeight'] = ( 'auto' === $attr['msgHrPadding'] ) ? $attr['textAreaHeight'] : $attr['textAreaHeight'] . 'px';
3779
+
3780
+ $selectors = array(
3781
+ ' .gform_wrapper form' => array(
3782
+ 'text-align' => $attr['align'],
3783
+ ),
3784
+ ' .wp-block-uagb-gf-styler form:not(input)' => array(
3785
+ 'color' => $attr['fieldLabelColor'],
3786
+ ),
3787
+ ' .gform_heading' => array(
3788
+ 'text-align' => $attr['titleDescAlignment'],
3789
+ ),
3790
+ ' input:not([type=submit])' => array(
3791
+ 'background-color' => $attr['fieldBgColor'],
3792
+ 'color' => $attr['fieldInputColor'],
3793
+ 'border-style' => $attr['fieldBorderStyle'],
3794
+ 'border-color' => $attr['fieldBorderColor'],
3795
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3796
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3797
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3798
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3799
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3800
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3801
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3802
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3803
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3804
+ 'font-family' => $attr['inputFontFamily'],
3805
+ 'font-weight' => $attr['inputFontWeight'],
3806
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3807
+ 'text-align' => $attr['align'],
3808
+ ),
3809
+ ' select' => array(
3810
+ 'background-color' => $attr['fieldBgColor'],
3811
+ 'border-style' => $attr['fieldBorderStyle'],
3812
+ 'border-color' => $attr['fieldBorderColor'],
3813
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3814
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3815
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3816
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3817
+ 'color' => $attr['fieldInputColor'],
3818
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3819
+ 'font-family' => $attr['inputFontFamily'],
3820
+ 'font-weight' => $attr['inputFontWeight'],
3821
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3822
+ 'text-align' => $attr['align'],
3823
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3824
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3825
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3826
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3827
+ ),
3828
+ ' .chosen-container-single span' => array(
3829
+ 'background-color' => $attr['fieldBgColor'],
3830
+ 'border-style' => $attr['fieldBorderStyle'],
3831
+ 'border-color' => $attr['fieldBorderColor'],
3832
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3833
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3834
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3835
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3836
+ 'color' => $attr['fieldInputColor'],
3837
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3838
+ 'font-family' => $attr['inputFontFamily'],
3839
+ 'font-weight' => $attr['inputFontWeight'],
3840
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3841
+ 'text-align' => $attr['align'],
3842
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3843
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3844
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3845
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3846
+ ),
3847
+ ' .chosen-container-single.chosen-container-active .chosen-single span' => array(
3848
+ 'margin-bottom' => 0,
3849
+ ),
3850
+ ' select.wpgf-form-control.wpgf-select:not([multiple="multiple"])' => array(
3851
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3852
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3853
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3854
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3855
+ ),
3856
+ ' select.wpgf-select[multiple="multiple"] option' => array(
3857
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3858
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3859
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3860
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3861
+ ),
3862
+ ' textarea' => array(
3863
+ 'background-color' => $attr['fieldBgColor'],
3864
+ 'color' => $attr['fieldInputColor'],
3865
+ 'border-color' => $attr['fieldBorderColor'],
3866
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3867
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3868
+ 'border-style' => $attr['fieldBorderStyle'],
3869
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3870
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3871
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3872
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3873
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3874
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3875
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3876
+ 'font-family' => $attr['inputFontFamily'],
3877
+ 'font-weight' => $attr['inputFontWeight'],
3878
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3879
+ 'text-align' => $attr['align'],
3880
+ 'height' => $attr['textAreaHeight'],
3881
+ ),
3882
+ ' textarea::placeholder' => array(
3883
+ 'color' => $attr['fieldInputColor'],
3884
+ 'text-align' => $attr['align'],
3885
+ ),
3886
+ ' input::placeholder' => array(
3887
+ 'color' => $attr['fieldInputColor'],
3888
+ 'text-align' => $attr['align'],
3889
+ ),
3890
+ ' form label' => array(
3891
+ 'color' => $attr['fieldLabelColor'],
3892
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3893
+ 'font-family' => $attr['labelFontFamily'],
3894
+ 'font-weight' => $attr['labelFontWeight'],
3895
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3896
+ ),
3897
+ ' form .gfield_radio label' => array(
3898
+ 'color' => $attr['fieldLabelColor'],
3899
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3900
+ 'font-family' => $attr['labelFontFamily'],
3901
+ 'font-weight' => $attr['labelFontWeight'],
3902
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3903
+ ),
3904
+ ' form .gfield_checkbox label' => array(
3905
+ 'color' => $attr['fieldLabelColor'],
3906
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3907
+ 'font-family' => $attr['labelFontFamily'],
3908
+ 'font-weight' => $attr['labelFontWeight'],
3909
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3910
+ ),
3911
+ ' .wpgf .gfield_checkbox input[type="checkbox"] + label, .wpgf .gfield_checkbox input[type="checkbox"] + label' => array(
3912
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3913
+ ),
3914
+
3915
+ // Focus.
3916
+ ' form input:not([type=submit]):focus' => array(
3917
+ 'border-color' => $attr['fieldBorderFocusColor'],
3918
+ ),
3919
+ ' form select:focus' => array(
3920
+ 'border-color' => $attr['fieldBorderFocusColor'],
3921
+ ),
3922
+ ' textarea:focus' => array(
3923
+ 'border-color' => $attr['fieldBorderFocusColor'],
3924
+ ),
3925
+
3926
+ // Submit button.
3927
+ ' input.gform_button' => array(
3928
+ 'color' => $attr['buttonTextColor'],
3929
+ 'background-color' => $attr['buttonBgColor'],
3930
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3931
+ 'font-family' => $attr['buttonFontFamily'],
3932
+ 'font-weight' => $attr['buttonFontWeight'],
3933
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3934
+ 'border-color' => $attr['buttonBorderColor'],
3935
+ 'border-style' => $attr['buttonBorderStyle'],
3936
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3937
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3938
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3939
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3940
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3941
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3942
+ ),
3943
+ ' input.gform_button:hover' => array(
3944
+ 'color' => $attr['buttonTextHoverColor'],
3945
+ 'background-color' => $attr['buttonBgHoverColor'],
3946
+ 'border-color' => $attr['buttonBorderHoverColor'],
3947
+ ),
3948
+
3949
+ // Check box Radio.
3950
+ ' .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3951
+ 'background-color' => $attr['fieldBgColor'],
3952
+ 'color' => $attr['fieldInputColor'],
3953
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3954
+ 'border-color' => $attr['fieldBorderFocusColor'],
3955
+ ),
3956
+ ' .gfield_checkbox input[type="checkbox"] + label:before' => array(
3957
+ 'background-color' => $attr['fieldBgColor'],
3958
+ 'color' => $attr['fieldInputColor'],
3959
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3960
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3961
+ 'border-style' => $attr['fieldBorderStyle'],
3962
+ 'border-color' => $attr['fieldBorderColor'],
3963
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3964
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3965
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3966
+ ),
3967
+ ' input[type="checkbox"]:checked + label:before' => array(
3968
+ 'background-color' => $attr['fieldBgColor'],
3969
+ 'color' => $attr['fieldInputColor'],
3970
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3971
+ 'border-color' => $attr['fieldBorderFocusColor'],
3972
+ ),
3973
+ ' input[type="checkbox"] + label:before' => array(
3974
+ 'background-color' => $attr['fieldBgColor'],
3975
+ 'color' => $attr['fieldInputColor'],
3976
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3977
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3978
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3979
+ 'border-color' => $attr['fieldBorderColor'],
3980
+ 'border-style' => $attr['fieldBorderStyle'],
3981
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3982
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3983
+ ),
3984
+ ' .gfield_radio input[type="radio"] + label:before' => array(
3985
+ 'background-color' => $attr['fieldBgColor'],
3986
+ 'color' => $attr['fieldInputColor'],
3987
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3988
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3989
+ 'border-style' => $attr['fieldBorderStyle'],
3990
+ 'border-color' => $attr['fieldBorderColor'],
3991
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3992
+ ),
3993
+ ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3994
+ 'border-color' => $attr['fieldBorderFocusColor'],
3995
+ ),
3996
+
3997
+ // Underline border.
3998
+ ' .uagb-gf-styler__field-style-underline input:not([type=submit])' => array(
3999
+ 'border-style' => 'none',
4000
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4001
+ 'border-bottom-style' => 'solid',
4002
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4003
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4004
+ ),
4005
+ ' .uagb-gf-styler__field-style-underline textarea' => array(
4006
+ 'border-style' => 'none',
4007
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4008
+ 'border-bottom-style' => 'solid',
4009
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4010
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4011
+ ),
4012
+ ' .uagb-gf-styler__field-style-underline select' => array(
4013
+ 'border-style' => 'none',
4014
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4015
+ 'border-bottom-style' => 'solid',
4016
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4017
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4018
+ ),
4019
+ ' .uagb-gf-styler__field-style-underline textarea' => array(
4020
+ 'border-style' => 'none',
4021
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4022
+ 'border-bottom-style' => 'solid',
4023
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4024
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4025
+ ),
4026
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4027
+ 'border-style' => 'solid',
4028
+ ),
4029
+ ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4030
+ 'border-style' => 'solid',
4031
+ ),
4032
+ ' .uagb-gf-styler__field-style-box .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4033
+ 'border-style' => 'solid',
4034
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4035
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4036
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
4037
+ ),
4038
+ ' .uagb-gf-styler__field-style-box input[type="checkbox"]:checked + label:before' => array(
4039
+ 'border-style' => 'solid',
4040
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4041
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4042
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
4043
+ ),
4044
+ ' .gfield_radio input[type="radio"]:checked + label:before' => array(
4045
+ 'background-color' => $attr['fieldInputColor'],
4046
+ ),
4047
+
4048
+ // Override check box.
4049
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4050
+ 'background-color' => $attr['radioCheckBgColor'],
4051
+ 'color' => $attr['radioCheckSelectColor'],
4052
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4053
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4054
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4055
+ 'border-color' => $attr['radioCheckBorderColor'],
4056
+ 'border-style' => 'solid',
4057
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4058
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4059
+ ),
4060
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4061
+ 'border-color' => $attr['fieldBorderFocusColor'],
4062
+ ),
4063
+ ' .uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before' => array(
4064
+ 'background-color' => $attr['radioCheckBgColor'],
4065
+ 'color' => $attr['radioCheckSelectColor'],
4066
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4067
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4068
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4069
+ 'border-color' => $attr['radioCheckBorderColor'],
4070
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4071
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4072
+ ),
4073
+ ' .uagb-gf-styler__check-style-enabled input[type="checkbox"]:checked + label:before' => array(
4074
+ 'border-color' => $attr['fieldBorderFocusColor'],
4075
+ ),
4076
+
4077
+ ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4078
+ 'background-color' => $attr['radioCheckBgColor'],
4079
+ 'color' => $attr['radioCheckSelectColor'],
4080
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4081
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4082
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4083
+ 'border-color' => $attr['radioCheckBorderColor'],
4084
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4085
+ ),
4086
+ ' .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked + label:before' => array(
4087
+ 'background-color' => $attr['radioCheckSelectColor'],
4088
+ ),
4089
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4090
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4091
+ 'font-family' => $attr['radioCheckFontFamily'],
4092
+ 'font-weight' => $attr['radioCheckFontWeight'],
4093
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4094
+ 'color' => $attr['radioCheckLableColor'],
4095
+ ),
4096
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4097
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4098
+ 'font-family' => $attr['radioCheckFontFamily'],
4099
+ 'font-weight' => $attr['radioCheckFontWeight'],
4100
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4101
+ 'color' => $attr['radioCheckLableColor'],
4102
+ ),
4103
+ // Validation Errors.
4104
+ ' .gform_wrapper .gfield_description.validation_message' => array(
4105
+ 'color' => $attr['validationMsgColor'],
4106
+ ),
4107
+ ' .gform_wrapper .validation_message' => array(
4108
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
4109
+ 'font-family' => $attr['validationMsgFontFamily'],
4110
+ 'font-weight' => $attr['validationMsgFontWeight'],
4111
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
4112
+ ),
4113
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield.gfield_error' => array(
4114
+ 'background-color' => $attr['validationMsgBgColor'],
4115
+ ),
4116
+
4117
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input:not([type="submit"]):not([type="button"]):not([type="image"])' => array(
4118
+ 'border-color' => $attr['highlightBorderColor'],
4119
+ ),
4120
+
4121
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container select' => array(
4122
+ 'border-color' => $attr['highlightBorderColor'],
4123
+ ),
4124
+
4125
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container .chosen-single' => array(
4126
+ 'border-color' => $attr['highlightBorderColor'],
4127
+ ),
4128
+
4129
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container textarea' => array(
4130
+ 'border-color' => $attr['highlightBorderColor'],
4131
+ ),
4132
+
4133
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error' => array(
4134
+ 'border-color' => $attr['highlightBorderColor'],
4135
+ ),
4136
+
4137
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning' => array(
4138
+ 'border-color' => $attr['highlightBorderColor'],
4139
+ ),
4140
+
4141
+ ' .uagb-gf-styler__error-yes li.gfield_error .gfield_checkbox input[type="checkbox"] + label:before' => array(
4142
+ 'border-color' => $attr['highlightBorderColor'],
4143
+ ),
4144
+
4145
+ ' .uagb-gf-styler__error-yes li.gfield_error .ginput_container_consent input[type="checkbox"] + label:before' => array(
4146
+ 'border-color' => $attr['highlightBorderColor'],
4147
+ ),
4148
+
4149
+ ' .uagb-gf-styler__error-yes li.gfield_error .gfield_radio input[type="radio"] + label:before' => array(
4150
+ 'border-color' => $attr['highlightBorderColor'],
4151
+ ),
4152
+
4153
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4154
+ 'border' => $attr['fieldBorderWidth'] . 'px ' . $attr['fieldBorderStyle'] . ' ' . $attr['fieldBorderColor'] . '!important',
4155
+ ),
4156
+
4157
+ ' .uael-gf-style-underline.uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4158
+ 'border-width' => $attr['fieldBorderWidth'] . 'px' . '!important',
4159
+ 'border-style' => 'solid' . '!important',
4160
+ 'border-color' => $attr['fieldBorderColor'] . '!important',
4161
+ ),
4162
+
4163
+ ' .gform_wrapper div.validation_error' => array(
4164
+ 'color' => $attr['errorMsgColor'],
4165
+ 'background-color' => $attr['errorMsgBgColor'],
4166
+ 'border-color' => $attr['errorMsgBorderColor'],
4167
+ 'border-style' => 'solid',
4168
+ 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
4169
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
4170
+ 'padding' => $attr['msgVrPadding'] . 'px ' . $attr['msgHrPadding'] . 'px',
4171
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
4172
+ 'font-family' => $attr['msgFontFamily'],
4173
+ 'font-weight' => $attr['msgFontWeight'],
4174
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
4175
+ ),
4176
+
4177
+ ' .gform_confirmation_message' => array(
4178
+ 'color' => $attr['successMsgColor'],
4179
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSize'], $attr['successMsgFontSizeType'] ),
4180
+ 'font-family' => $attr['successMsgFontFamily'],
4181
+ 'font-weight' => $attr['successMsgFontWeight'],
4182
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeight'], $attr['successMsgLineHeightType'] ),
4183
+ ),
4184
+ );
4185
+
4186
+ $t_selectors = array(
4187
+ ' form.wpgf-form:not(input)' => array(
4188
+ 'color' => $attr['fieldLabelColor'],
4189
+ ),
4190
+ ' input:not([type=submit])' => array(
4191
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4192
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4193
+ ),
4194
+ ' textarea' => array(
4195
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4196
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4197
+ ),
4198
+ ' form label' => array(
4199
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4200
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4201
+ ),
4202
+
4203
+ ' form .gfield_radio label' => array(
4204
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4205
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4206
+ ),
4207
+ ' form .gfield_checkbox label' => array(
4208
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4209
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4210
+ ),
4211
+ ' input.gform_button' => array(
4212
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
4213
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
4214
+ ),
4215
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4216
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4217
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4218
+ ),
4219
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4220
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4221
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4222
+ ),
4223
+ ' span.wpgf-not-valid-tip' => array(
4224
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4225
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4226
+ ),
4227
+ ' .wpgf-response-output' => array(
4228
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4229
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4230
+ ),
4231
+ ' .gform_wrapper .validation_message' => array(
4232
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4233
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4234
+ ),
4235
+ ' .gform_wrapper div.validation_error' => array(
4236
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4237
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4238
+ ),
4239
+ ' .gform_confirmation_message' => array(
4240
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeTablet'], $attr['successMsgFontSizeType'] ),
4241
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightTablet'], $attr['successMsgLineHeightType'] ),
4242
+ 'color' => $attr['successMsgColor'],
4243
+ ),
4244
+ );
4245
+
4246
+ $m_selectors = array(
4247
+ ' input:not([type=submit])' => array(
4248
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4249
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4250
+ ),
4251
+ ' textarea' => array(
4252
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4253
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4254
+ ),
4255
+ ' form label' => array(
4256
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4257
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4258
+ ),
4259
+
4260
+ ' form .gfield_radio label' => array(
4261
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4262
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4263
+ ),
4264
+ ' form .gfield_checkbox label' => array(
4265
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4266
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4267
+ ),
4268
+ ' input.gform_button' => array(
4269
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
4270
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
4271
+ ),
4272
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4273
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4274
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4275
+ ),
4276
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4277
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4278
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4279
+ ),
4280
+ ' span.wpgf-not-valid-tip' => array(
4281
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4282
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4283
+ ),
4284
+ ' .wpgf-response-output' => array(
4285
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4286
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4287
+ ),
4288
+ ' .gform_wrapper .validation_message' => array(
4289
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4290
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4291
+ ),
4292
+ ' .gform_wrapper div.validation_error' => array(
4293
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4294
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4295
+ ),
4296
+ ' .gform_confirmation_message' => array(
4297
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeMobile'], $attr['successMsgFontSizeType'] ),
4298
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightMobile'], $attr['successMsgLineHeightType'] ),
4299
+ 'color' => $attr['successMsgColor'],
4300
+ ),
4301
+ );
4302
+
4303
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-gf-styler-' . $id );
4304
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-gf-styler-' . $id );
4305
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-gf-styler-' . $id );
4306
+ $generated_css = array(
4307
+ 'desktop' => $desktop,
4308
+ 'tablet' => $tablet,
4309
+ 'mobile' => $mobile,
4310
+ );
4311
+
4312
+ return $generated_css;
4313
+ }
4314
+
4315
+ /*
4316
+ * Get Marketing Button Block CSS
4317
+ *
4318
+ * @since 1.11.0
4319
+ * @param array $attr The block attributes.
4320
+ * @param string $id The selector ID.
4321
+ * @return array The Widget List.
4322
+ */
4323
+ public static function get_marketing_btn_css( $attr, $id ) { // @codingStandardsIgnoreStart
4324
+
4325
+ $defaults = UAGB_Helper::$block_list['uagb/marketing-button']['attributes'];
4326
+
4327
+ $attr = array_merge( $defaults, (array) $attr );
4328
+
4329
+ $m_selectors = array();
4330
+ $t_selectors = array();
4331
+
4332
+ $icon_color = ( "" == $attr["iconColor"] ) ? $attr["titleColor"] : $attr["iconColor"];
4333
+ $icon_hover_color = ( "" == $attr["iconHoverColor"] ) ? $attr["titleHoverColor"] : $attr["iconHoverColor"];
4334
+
4335
+ $selectors = array(
4336
+ " .uagb-marketing-btn__title-wrap" => array(
4337
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr["titleSpace"], 'px' )
4338
+ ),
4339
+ " .uagb-marketing-btn__title" => array(
4340
+ "font-size" => UAGB_Helper::get_css_value( $attr["titleFontSize"], $attr["titleFontSizeType"] ),
4341
+ "line-height" => UAGB_Helper::get_css_value( $attr["titleLineHeight"], $attr["titleLineHeightType"] ),
4342
+ "font-family" => $attr["titleFontFamily"],
4343
+ "font-weight" => $attr["titleFontWeight"],
4344
+ "color" => $attr["titleColor"],
4345
+ ),
4346
+ " .uagb-marketing-btn__icon-wrap" => array(
4347
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4348
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4349
+ ),
4350
+ " .uagb-marketing-btn__icon-wrap svg" => array(
4351
+ "fill" => $icon_color
4352
+ ),
4353
+ " .uagb-marketing-btn__prefix" => array(
4354
+ "font-size" => UAGB_Helper::get_css_value( $attr["prefixFontSize"], $attr["prefixFontSizeType"] ),
4355
+ "line-height" => UAGB_Helper::get_css_value( $attr["prefixLineHeight"], $attr["prefixLineHeightType"] ),
4356
+ "font-family" => $attr["prefixFontFamily"],
4357
+ "font-weight" => $attr["prefixFontWeight"],
4358
+ "color" => $attr["prefixColor"],
4359
+ ),
4360
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__title" => array(
4361
+ "color" => $attr["titleHoverColor"],
4362
+ ),
4363
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__prefix" => array(
4364
+ "color" => $attr["prefixHoverColor"],
4365
+ ),
4366
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__icon-wrap svg" => array(
4367
+ "fill" => $icon_hover_color
4368
+ ),
4369
+ " .uagb-marketing-btn__link" => array(
4370
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4371
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4372
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4373
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4374
+ "border-style" => $attr["borderStyle"],
4375
+ "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], 'px' ),
4376
+ "border-color" => $attr["borderColor"],
4377
+ "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], 'px' ),
4378
+ ),
4379
+ " .uagb-marketing-btn__link:hover" => array(
4380
+ "border-color" => $attr["borderHoverColor"]
4381
+ ),
4382
+ );
4383
+
4384
+ if ( "transparent" == $attr["backgroundType"] ) {
4385
+
4386
+ $selectors[" .uagb-marketing-btn__link"]["background"] = "transparent";
4387
+
4388
+ } else if ( "color" == $attr["backgroundType"] ) {
4389
+
4390
+ $selectors[" .uagb-marketing-btn__link"]["background"] = UAGB_Helper::hex2rgba( $attr["backgroundColor"], $attr['backgroundOpacity'] );
4391
+
4392
+ // Hover Background
4393
+ $selectors[" .uagb-marketing-btn__link:hover"] = array(
4394
+ "background" => UAGB_Helper::hex2rgba( $attr["backgroundHoverColor"], $attr['backgroundHoverOpacity'] ),
4395
+ );
4396
+
4397
+ } else if ( "gradient" == $attr["backgroundType"] ) {
4398
+
4399
+ $selectors[' .uagb-marketing-btn__link']['background-color'] = 'transparent';
4400
+
4401
+ if ( 'linear' === $attr['gradientType'] ) {
4402
+
4403
+ $selectors[' .uagb-marketing-btn__link']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4404
+ } else {
4405
+
4406
+ $selectors[' .uagb-marketing-btn__link']['background-image'] = 'radial-gradient( at center center, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4407
+ }
4408
+ }
4409
+
4410
+ $margin_type = ( "after" == $attr["iconPosition"] ) ? "margin-left" : "margin-right";
4411
+
4412
+ $selectors[" .uagb-marketing-btn__icon-wrap"][$margin_type] = UAGB_Helper::get_css_value( $attr["iconSpace"], "px" );
4413
+
4414
+ $m_selectors = array(
4415
+ ' .uagb-marketing-btn__title' => array(
4416
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
4417
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
4418
+ ),
4419
+ ' .uagb-marketing-btn__prefix' => array(
4420
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
4421
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
4422
+ ),
4423
+ ' .uagb-marketing-btn__icon-wrap' => array(
4424
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4425
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4426
+ ),
4427
+ " .uagb-marketing-btn__link" => array(
4428
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4429
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4430
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4431
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4432
+ ),
4433
+
4434
+ );
4435
+
4436
+ $t_selectors = array(
4437
+ ' .uagb-marketing-btn__title' => array(
4438
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
4439
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
4440
+ ),
4441
+ ' .uagb-marketing-btn__prefix' => array(
4442
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
4443
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightTablet'], $attr['prefixLineHeightType'] ),
4444
+ ),
4445
+ ' .uagb-marketing-btn__icon-wrap' => array(
4446
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4447
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4448
+ ),
4449
+ " .uagb-marketing-btn__link" => array(
4450
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4451
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4452
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4453
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4454
+ ),
4455
+
4456
+ );
4457
+
4458
+ // @codingStandardsIgnoreEnd
4459
+
4460
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-marketing-btn-' . $id );
4461
+
4462
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-marketing-btn-' . $id );
4463
+
4464
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-marketing-btn-' . $id );
4465
+
4466
+ $generated_css = array(
4467
+ 'desktop' => $desktop,
4468
+ 'tablet' => $tablet,
4469
+ 'mobile' => $mobile,
4470
+ );
4471
+
4472
+ return $generated_css;
4473
+ }
4474
+
4475
+ /**
4476
+ * Get Table of Contents Block CSS
4477
+ *
4478
+ * @since 1.13.0
4479
+ * @param array $attr The block attributes.
4480
+ * @param string $id The selector ID.
4481
+ * @return array The Widget List.
4482
+ */
4483
+ public static function get_table_of_contents_css( $attr, $id ) { // @codingStandardsIgnoreStart
4484
+
4485
+ $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4486
+
4487
+ $attr = array_merge( $defaults, (array) $attr );
4488
+ $m_selectors = array();
4489
+ $t_selectors = array();
4490
+
4491
+ $selectors = array(
4492
+ " .uagb-toc__list-wrap ul li a:hover" => array(
4493
+ "color" => $attr["linkHoverColor"],
4494
+ ),
4495
+ " .uagb-toc__list-wrap ul li a" => array(
4496
+ "font-size" => UAGB_Helper::get_css_value( $attr["fontSize"], $attr["fontSizeType"] ),
4497
+ "line-height" => UAGB_Helper::get_css_value( $attr["lineHeight"], $attr["lineHeightType"] ),
4498
+ "font-family" => $attr["fontFamily"],
4499
+ "font-weight" => $attr["fontWeight"],
4500
+ "color" => $attr["linkColor"],
4501
+ ),
4502
+ " .uagb-toc__title" => array(
4503
+ "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSize"], $attr["headingFontSizeType"] ),
4504
+ "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeight"], $attr["headingLineHeightType"] ),
4505
+ "font-family" => $attr["headingFontFamily"],
4506
+ "font-weight" => $attr["headingFontWeight"],
4507
+ "color" => $attr["headingColor"],
4508
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr["headingBottom"], "px"),
4509
+ ),
4510
+ " .uagb-toc__wrap" => array(
4511
+ "border-style" => $attr["borderStyle"],
4512
+ "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], "px" ),
4513
+ "border-color" => $attr["borderColor"],
4514
+ "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], "px" ),
4515
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4516
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4517
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4518
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4519
+ "background" => $attr["backgroundColor"],
4520
+ ),
4521
+ " .uagb-toc__list-wrap" => array(
4522
+ 'column-count' => $attr['tColumnsDesktop'],
4523
+ ),
4524
+ " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4525
+ "padding-top" => 0
4526
+ ),
4527
+ " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4528
+ "padding-bottom" => 0
4529
+ ),
4530
+ " .uag-toc__collapsible-wrap svg" => array(
4531
+ "width" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4532
+ "height" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4533
+ "fill" => $attr["iconColor"]
4534
+ ),
4535
+ );
4536
+
4537
+ if ( '' != $attr["contentPaddingDesktop"] ) {
4538
+ $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-top"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4539
+ $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-bottom"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4540
+ }
4541
+
4542
+ if ( $attr["customWidth"] ) {
4543
+ $selectors[" .uagb-toc__wrap"]["width"] = UAGB_Helper::get_css_value( $attr["widthDesktop"], $attr["widthTypeDesktop"] );
4544
+ }
4545
+
4546
+ if ( $attr["disableBullets"] ) {
4547
+ $selectors[" .uagb-toc__list"] = array(
4548
+ "list-style-type" => 'none'
4549
+ );
4550
+ $selectors[" .uagb-toc__list .uagb-toc__list"] = array(
4551
+ "list-style-type" => 'none'
4552
+ );
4553
+ }
4554
+
4555
+
4556
+ $m_selectors = array(
4557
+ ' .uagb-toc__list-wrap ul li a' => array(
4558
+ 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
4559
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
4560
+ ),
4561
+ " .uagb-toc__title" => array(
4562
+ "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeMobile"], $attr["headingFontSizeType"] ),
4563
+ "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightMobile"], $attr["headingLineHeightType"] ),
4564
+ ),
4565
+ " .uagb-toc__wrap" => array(
4566
+ "width" => UAGB_Helper::get_css_value( $attr["widthMobile"], $attr["widthTypeMobile"] ),
4567
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4568
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4569
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4570
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4571
+ ),
4572
+ " .uagb-toc__list-wrap" => array(
4573
+ 'column-count' => $attr['tColumnsMobile'],
4574
+ ),
4575
+ " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4576
+ "padding-top" => 0
4577
+ ),
4578
+ " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4579
+ "padding-bottom" => 0
4580
+ ),
4581
+
4582
+ );
4583
+
4584
+ $t_selectors = array(
4585
+ ' .uagb-toc__list-wrap ul li a' => array(
4586
+ 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
4587
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
4588
+ ),
4589
+ " .uagb-toc__title" => array(
4590
+ "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeTablet"], $attr["headingFontSizeType"] ),
4591
+ "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightTablet"], $attr["headingLineHeightType"] ),
4592
+ ),
4593
+ " .uagb-toc__wrap" => array(
4594
+ "width" => UAGB_Helper::get_css_value( $attr["widthTablet"], $attr["widthTypeTablet"] ),
4595
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4596
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4597
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4598
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4599
+ ),
4600
+ " .uagb-toc__list-wrap" => array(
4601
+ 'column-count' => $attr['tColumnsTablet'],
4602
+ ),
4603
+ " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4604
+ "padding-top" => 0
4605
+ ),
4606
+ " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4607
+ "padding-bottom" => 0
4608
+ ), );
4609
+
4610
+ if ( '' != $attr["contentPaddingTablet"] ) {
4611
+ $t_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4612
+ "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4613
+ "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4614
+ );
4615
+ }
4616
+
4617
+ if ( '' != $attr["contentPaddingMobile"] ) {
4618
+ $m_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4619
+ "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4620
+ "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4621
+ );
4622
+ }
4623
+
4624
+ // @codingStandardsIgnoreEnd
4625
+
4626
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-toc-' . $id );
4627
+
4628
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-toc-' . $id );
4629
+
4630
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-toc-' . $id );
4631
+
4632
+ if ( '' !== $attr['scrollToTopColor'] ) {
4633
+ $desktop .= '.uagb-toc__scroll-top { color: ' . $attr['scrollToTopColor'] . '; }';
4634
+ }
4635
+
4636
+ if ( '' !== $attr['scrollToTopBgColor'] ) {
4637
+ $desktop .= '.uagb-toc__scroll-top { background: ' . $attr['scrollToTopBgColor'] . '; }';
4638
+ }
4639
+
4640
+ $generated_css = array(
4641
+ 'desktop' => $desktop,
4642
+ 'tablet' => $tablet,
4643
+ 'mobile' => $mobile,
4644
+ );
4645
+
4646
+ return $generated_css;
4647
+ }
4648
+
4649
+
4650
+ /**
4651
+ * Get Testimonial Js
4652
+ *
4653
+ * @since 1.6.0
4654
+ * @param array $attr The block attributes.
4655
+ * @param string $id The selector ID.
4656
+ */
4657
+ public static function get_testimonial_js( $attr, $id ) { // @codingStandardsIgnoreStart.
4658
+
4659
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
4660
+
4661
+ $attr = array_merge( $defaults, (array) $attr );
4662
+
4663
+ $dots = ( "dots" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4664
+ $arrows = ( "arrows" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4665
+
4666
+ $slick_options = apply_filters( 'uagb_testimonials_slick_options',[
4667
+ 'slidesToShow' => $attr['columns'],
4668
+ 'slidesToScroll' => 1,
4669
+ 'autoplaySpeed' => $attr['autoplaySpeed'],
4670
+ 'autoplay' => $attr['autoplay'],
4671
+ 'infinite' => $attr['infiniteLoop'],
4672
+ 'pauseOnHover' => $attr['pauseOnHover'],
4673
+ 'speed' => $attr['transitionSpeed'],
4674
+ 'arrows' => $arrows,
4675
+ 'dots' => $dots,
4676
+ 'rtl' => false,
4677
+ 'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
4678
+ 'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
4679
+ 'responsive' => [
4680
+ [
4681
+ 'breakpoint' => 1024,
4682
+ 'settings' => [
4683
+ 'slidesToShow' => $attr['tcolumns'],
4684
+ 'slidesToScroll' => 1,
4685
+ ],
4686
+ ],
4687
+ [
4688
+ 'breakpoint' => 767,
4689
+ 'settings' => [
4690
+ 'slidesToShow' => $attr['mcolumns'],
4691
+ 'slidesToScroll' => 1,
4692
+ ],
4693
+ ]
4694
+ ]
4695
+ ], $id );
4696
+
4697
+ $settings = json_encode($slick_options);
4698
+ $selector = '#uagb-testimonial-'. $id;
4699
+ $js = 'if( jQuery( ".wp-block-uagb-testimonial" ).length > 0 ){ ' .
4700
+ 'return true ' .
4701
+ '} else {' .
4702
+ 'jQuery( "' . $selector . '" ).find( ".is-carousel" ).slick( ' . $settings .' );'.
4703
+ '}';
4704
+
4705
+ return $js;
4706
+ // @codingStandardsIgnoreEnd.
4707
+ }
4708
+
4709
+ /**
4710
+ * Get Blockquote Js
4711
+ *
4712
+ * @since 1.8.2
4713
+ * @param array $attr The block attributes.
4714
+ * @param string $id The selector ID.
4715
+ */
4716
+ public static function get_blockquote_js( $attr, $id ) {
4717
+ // @codingStandardsIgnoreStart.
4718
+
4719
+ $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
4720
+
4721
+ $attr = array_merge( $defaults, (array) $attr );
4722
+
4723
+ $target = $attr['iconTargetUrl'];
4724
+
4725
+ $url = " " ;
4726
+
4727
+ if( $target == 'current' ){
4728
+ global $wp;
4729
+ $url = home_url(add_query_arg(array(),$wp->request));
4730
+ }else{
4731
+ $url = $attr['customUrl'];
4732
+ }
4733
+
4734
+ $via = isset( $attr['iconShareVia'] ) ? $attr['iconShareVia'] : '';
4735
+
4736
+ $selector = '#uagb-blockquote-'. $id;
4737
+
4738
+ $js = 'jQuery( "' . $selector . '" ).find( ".uagb-blockquote__tweet-button" ).click(function(){'.
4739
+ 'var content = jQuery("' . $selector . '").find(".uagb-blockquote__content").text();'.
4740
+ 'var request_url = "https://twitter.com/share?url="+ encodeURIComponent("' . $url . '")+"&text="+content+"&via="+("' . $via . '");'.
4741
+ 'window.open( request_url );'.
4742
+ '});';
4743
+
4744
+ return $js;
4745
+ // @codingStandardsIgnoreEnd.
4746
+ }
4747
+
4748
+ /**
4749
+ * Get Social Share JS
4750
+ *
4751
+ * @since 1.8.1
4752
+ * @param string $id The selector ID.
4753
+ */
4754
+ public static function get_social_share_js( $id ) {
4755
+ $selector = '#uagb-social-share-' . $id;
4756
+ $js = 'jQuery( " ' . $selector . ' " ).find( ".uagb-ss__link" ).click(function(){ ' .
4757
+ 'var social_url = jQuery( this ).data( "href" ); ' .
4758
+ 'var target = ""; ' .
4759
+ 'if( social_url == "mailto:?body=" ){ ' .
4760
+ 'target = "_self";' .
4761
+ '}' .
4762
+ 'var request_url = social_url + window.location.href ;' .
4763
+ 'window.open( request_url,target );' .
4764
+ '});';
4765
+
4766
+ return $js;
4767
+ }
4768
+
4769
+ /**
4770
+ * Get Table of Contents Js
4771
+ *
4772
+ * @since 1.13.0
4773
+ * @param array $attr The block attributes.
4774
+ * @param string $id The selector ID.
4775
+ */
4776
+ public static function get_table_of_contents_js( $attr, $id ) {
4777
+ // @codingStandardsIgnoreStart.
4778
+
4779
+ $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4780
+
4781
+ $attr = array_merge( $defaults, (array) $attr );
4782
+
4783
+ $selector = '#uagb-toc-'. $id;
4784
+
4785
+ $js = 'jQuery( document ).ready(function() { ' .
4786
+ 'UAGBTableOfContents._run( ' . json_encode( $attr ) . ', "'. $selector .'" ); '.
4787
+ '})';
4788
+
4789
+ return $js;
4790
+ // @codingStandardsIgnoreEnd.
4791
+ }
4792
+
4793
+ /**
4794
+ * Adds Google fonts for Advanced Heading block.
4795
+ *
4796
+ * @since 1.9.1
4797
+ * @param array $attr the blocks attr.
4798
+ */
4799
+ public static function blocks_advanced_heading_gfont( $attr ) {
4800
+
4801
+ $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4802
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4803
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4804
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4805
+
4806
+ $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4807
+ $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4808
+ $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4809
+ $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4810
+
4811
+ UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4812
+ UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4813
+ }
4814
+
4815
+
4816
+ /**
4817
+ * Adds Google fonts for CF7 Styler block.
4818
+ *
4819
+ * @since 1.10.0
4820
+ * @param array $attr the blocks attr.
4821
+ */
4822
+ public static function blocks_cf7_styler_gfont( $attr ) {
4823
+
4824
+ $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4825
+ $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4826
+ $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4827
+ $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4828
+
4829
+ $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4830
+ $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4831
+ $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4832
+ $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4833
+
4834
+ $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4835
+ $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4836
+ $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4837
+ $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4838
+
4839
+ $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4840
+ $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4841
+ $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4842
+ $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4843
+
4844
+ $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4845
+ $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4846
+ $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4847
+ $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4848
+
4849
+ $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4850
+ $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4851
+ $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4852
+ $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4853
+
4854
+ UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4855
+ UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4856
+
4857
+ UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4858
+ UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4859
+
4860
+ UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4861
+ UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4862
+ }
4863
+
4864
+
4865
+ /**
4866
+ * Adds Google fonts for Gravity Form Styler block.
4867
+ *
4868
+ * @since 1.12.0
4869
+ * @param array $attr the blocks attr.
4870
+ */
4871
+ public static function blocks_gf_styler_gfont( $attr ) {
4872
+
4873
+ $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4874
+ $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4875
+ $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4876
+ $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4877
+
4878
+ $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4879
+ $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4880
+ $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4881
+ $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4882
+
4883
+ $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4884
+ $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4885
+ $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4886
+ $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4887
+
4888
+ $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4889
+ $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4890
+ $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4891
+ $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4892
+
4893
+ $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4894
+ $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4895
+ $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4896
+ $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4897
+
4898
+ $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4899
+ $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4900
+ $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4901
+ $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4902
+
4903
+ UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4904
+ UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4905
+
4906
+ UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4907
+ UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4908
+
4909
+ UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4910
+ UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4911
+ }
4912
+
4913
+ /**
4914
+ * Adds Google fonts for Marketing Button block.
4915
+ *
4916
+ * @since 1.11.0
4917
+ * @param array $attr the blocks attr.
4918
+ */
4919
+ public static function blocks_marketing_btn_gfont( $attr ) {
4920
+
4921
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4922
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4923
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4924
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4925
+
4926
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4927
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4928
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4929
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4930
+
4931
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4932
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4933
+ }
4934
+
4935
+ /**
4936
+ * Adds Google fonts for Table Of Contents block.
4937
+ *
4938
+ * @since 1.13.0
4939
+ * @param array $attr the blocks attr.
4940
+ */
4941
+ public static function blocks_table_of_contents_gfont( $attr ) {
4942
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4943
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4944
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4945
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4946
+ $heading_load_google_font = isset( $attr['headingLoadGoogleFonts'] ) ? $attr['headingLoadGoogleFonts'] : '';
4947
+ $heading_font_family = isset( $attr['headingFontFamily'] ) ? $attr['headingFontFamily'] : '';
4948
+ $heading_font_weight = isset( $attr['headingFontWeight'] ) ? $attr['headingFontWeight'] : '';
4949
+ $heading_font_subset = isset( $attr['headingFontSubset'] ) ? $attr['headingFontSubset'] : '';
4950
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4951
+ UAGB_Helper::blocks_google_font( $heading_load_google_font, $heading_font_family, $heading_font_weight, $heading_font_subset );
4952
+ }
4953
+
4954
+ /**
4955
+ * Adds Google fonts for Blockquote.
4956
+ *
4957
+ * @since 1.9.1
4958
+ * @param array $attr the blocks attr.
4959
+ */
4960
+ public static function blocks_blockquote_gfont( $attr ) {
4961
+
4962
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4963
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4964
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4965
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4966
+
4967
+ $author_load_google_font = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4968
+ $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4969
+ $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4970
+ $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4971
+
4972
+ $tweet_btn_load_google_font = isset( $attr['tweetBtnLoadGoogleFonts'] ) ? $attr['tweetBtnLoadGoogleFonts'] : '';
4973
+ $tweet_btn_font_family = isset( $attr['tweetBtnFontFamily'] ) ? $attr['tweetBtnFontFamily'] : '';
4974
+ $tweet_btn_font_weight = isset( $attr['tweetBtnFontWeight'] ) ? $attr['tweetBtnFontWeight'] : '';
4975
+ $tweet_btn_font_subset = isset( $attr['tweetBtnFontSubset'] ) ? $attr['tweetBtnFontSubset'] : '';
4976
+
4977
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4978
+ UAGB_Helper::blocks_google_font( $author_load_google_font, $author_font_family, $author_font_weight, $author_font_subset );
4979
+ UAGB_Helper::blocks_google_font( $tweet_btn_load_google_font, $tweet_btn_font_family, $tweet_btn_font_weight, $tweet_btn_font_subset );
4980
+ }
4981
+
4982
+ /**
4983
+ * Adds Google fonts for Testimonial block.
4984
+ *
4985
+ * @since 1.9.1
4986
+ * @param array $attr the blocks attr.
4987
+ */
4988
+ public static function blocks_testimonial_gfont( $attr ) {
4989
+ $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4990
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4991
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4992
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4993
+
4994
+ $name_load_google_fonts = isset( $attr['nameLoadGoogleFonts'] ) ? $attr['nameLoadGoogleFonts'] : '';
4995
+ $name_font_family = isset( $attr['nameFontFamily'] ) ? $attr['nameFontFamily'] : '';
4996
+ $name_font_weight = isset( $attr['nameFontWeight'] ) ? $attr['nameFontWeight'] : '';
4997
+ $name_font_subset = isset( $attr['nameFontSubset'] ) ? $attr['nameFontSubset'] : '';
4998
+
4999
+ $company_load_google_fonts = isset( $attr['companyLoadGoogleFonts'] ) ? $attr['companyLoadGoogleFonts'] : '';
5000
+ $company_font_family = isset( $attr['companyFontFamily'] ) ? $attr['companyFontFamily'] : '';
5001
+ $company_font_weight = isset( $attr['companyFontWeight'] ) ? $attr['companyFontWeight'] : '';
5002
+ $company_font_subset = isset( $attr['companyFontSubset'] ) ? $attr['companyFontSubset'] : '';
5003
+
5004
+ UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5005
+ UAGB_Helper::blocks_google_font( $name_load_google_fonts, $name_font_family, $name_font_family, $name_font_subset );
5006
+ UAGB_Helper::blocks_google_font( $company_load_google_fonts, $company_font_family, $company_font_family, $company_font_subset );
5007
+ }
5008
+
5009
+ /**
5010
+ * Adds Google fonts for Advanced Heading block.
5011
+ *
5012
+ * @since 1.9.1
5013
+ * @param array $attr the blocks attr.
5014
+ */
5015
+ public static function blocks_team_gfont( $attr ) {
5016
+
5017
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5018
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5019
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5020
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5021
+
5022
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5023
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5024
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5025
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5026
+
5027
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5028
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5029
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5030
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5031
+
5032
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5033
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5034
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5035
+ }
5036
+
5037
+ /**
5038
+ *
5039
+ * Adds Google fonts for Restaurant Menu block.
5040
+ *
5041
+ * @since 1.9.1
5042
+ * @param array $attr the blocks attr.
5043
+ */
5044
+ public static function blocks_restaurant_menu_gfont( $attr ) {
5045
+ $title_load_google_fonts = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5046
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5047
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5048
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5049
+
5050
+ $price_load_google_fonts = isset( $attr['priceLoadGoogleFonts'] ) ? $attr['priceLoadGoogleFonts'] : '';
5051
+ $price_font_family = isset( $attr['priceFontFamily'] ) ? $attr['priceFontFamily'] : '';
5052
+ $price_font_weight = isset( $attr['priceFontWeight'] ) ? $attr['priceFontWeight'] : '';
5053
+ $price_font_subset = isset( $attr['priceFontSubset'] ) ? $attr['priceFontSubset'] : '';
5054
+
5055
+ $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5056
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5057
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5058
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5059
+
5060
+ UAGB_Helper::blocks_google_font( $title_load_google_fonts, $title_font_family, $title_font_weight, $title_font_subset );
5061
+ UAGB_Helper::blocks_google_font( $price_load_google_fonts, $price_font_family, $price_font_weight, $price_font_subset );
5062
+ UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5063
+ }
5064
+
5065
+ /**
5066
+ * Adds Google fonts for Content Timeline block.
5067
+ *
5068
+ * @since 1.9.1
5069
+ * @param array $attr the blocks attr.
5070
+ */
5071
+ public static function blocks_content_timeline_gfont( $attr ) {
5072
+ $head_load_google_fonts = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5073
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5074
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5075
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5076
+
5077
+ $subheadload_google_fonts = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5078
+ $subheadfont_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5079
+ $subheadfont_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5080
+ $subheadfont_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5081
+
5082
+ $date_load_google_fonts = isset( $attr['dateLoadGoogleFonts'] ) ? $attr['dateLoadGoogleFonts'] : '';
5083
+ $date_font_family = isset( $attr['dateFontFamily'] ) ? $attr['dateFontFamily'] : '';
5084
+ $date_font_weight = isset( $attr['dateFontWeight'] ) ? $attr['dateFontWeight'] : '';
5085
+ $date_font_subset = isset( $attr['dateFontSubset'] ) ? $attr['dateFontSubset'] : '';
5086
+
5087
+ UAGB_Helper::blocks_google_font( $head_load_google_fonts, $head_font_family, $head_font_weight, $head_font_subset );
5088
+ UAGB_Helper::blocks_google_font( $subheadload_google_fonts, $subheadfont_family, $subheadfont_weight, $subheadfont_subset );
5089
+ UAGB_Helper::blocks_google_font( $date_load_google_fonts, $date_font_family, $date_font_weight, $date_font_subset );
5090
+ }
5091
+
5092
+ /**
5093
+ * Adds Google fonts for Post Timeline block.
5094
+ *
5095
+ * @since 1.9.1
5096
+ * @param array $attr the blocks attr.
5097
+ */
5098
+ public static function blocks_post_timeline_gfont( $attr ) {
5099
+ self::blocks_content_timeline_gfont( $attr );
5100
+
5101
+ $author_load_google_fonts = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
5102
+ $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
5103
+ $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
5104
+ $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
5105
+
5106
+ $cta_load_google_fonts = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5107
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5108
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5109
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5110
+
5111
+ UAGB_Helper::blocks_google_font( $author_load_google_fonts, $author_font_family, $author_font_weight, $author_font_subset );
5112
+ UAGB_Helper::blocks_google_font( $cta_load_google_fonts, $cta_font_family, $cta_font_weight, $cta_font_subset );
5113
+ }
5114
+
5115
+ /**
5116
+ * Adds Google fonts for Mulit Button's block.
5117
+ *
5118
+ * @since 1.9.1
5119
+ * @param array $attr the blocks attr.
5120
+ */
5121
+ public static function blocks_buttons_gfont( $attr ) {
5122
+
5123
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5124
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5125
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5126
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5127
+
5128
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5129
+ }
5130
+
5131
+ /**
5132
+ * Adds Google fonts for Icon List block
5133
+ *
5134
+ * @since 1.9.1
5135
+ * @param array $attr the blocks attr.
5136
+ */
5137
+ public static function blocks_icon_list_gfont( $attr ) {
5138
+
5139
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5140
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5141
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5142
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5143
+
5144
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5145
+ }
5146
+
5147
+ /**
5148
+ * Adds Google fonts for Post block.
5149
+ *
5150
+ * @since 1.9.1
5151
+ * @param array $attr the blocks attr.
5152
+ */
5153
+ public static function blocks_post_gfont( $attr ) {
5154
+
5155
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5156
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5157
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5158
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5159
+
5160
+ $meta_load_google_font = isset( $attr['metaLoadGoogleFonts'] ) ? $attr['metaLoadGoogleFonts'] : '';
5161
+ $meta_font_family = isset( $attr['metaFontFamily'] ) ? $attr['metaFontFamily'] : '';
5162
+ $meta_font_weight = isset( $attr['metaFontWeight'] ) ? $attr['metaFontWeight'] : '';
5163
+ $meta_font_subset = isset( $attr['metaFontSubset'] ) ? $attr['metaFontSubset'] : '';
5164
+
5165
+ $excerpt_load_google_font = isset( $attr['excerptLoadGoogleFonts'] ) ? $attr['excerptLoadGoogleFonts'] : '';
5166
+ $excerpt_font_family = isset( $attr['excerptFontFamily'] ) ? $attr['excerptFontFamily'] : '';
5167
+ $excerpt_font_weight = isset( $attr['excerptFontWeight'] ) ? $attr['excerptFontWeight'] : '';
5168
+ $excerpt_font_subset = isset( $attr['excerptFontSubset'] ) ? $attr['excerptFontSubset'] : '';
5169
+
5170
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5171
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5172
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5173
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5174
+
5175
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5176
+
5177
+ UAGB_Helper::blocks_google_font( $meta_load_google_font, $meta_font_family, $meta_font_weight, $meta_font_subset );
5178
+
5179
+ UAGB_Helper::blocks_google_font( $excerpt_load_google_font, $excerpt_font_family, $excerpt_font_weight, $excerpt_font_subset );
5180
+
5181
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5182
+ }
5183
+
5184
+ /**
5185
+ * Adds Google fonts for Advanced Heading block.
5186
+ *
5187
+ * @since 1.9.1
5188
+ * @param array $attr the blocks attr.
5189
+ */
5190
+ public static function blocks_info_box_gfont( $attr ) {
5191
+
5192
+ $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5193
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5194
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5195
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5196
+
5197
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5198
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5199
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5200
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5201
+
5202
+ $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5203
+ $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5204
+ $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5205
+ $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5206
+
5207
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5208
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5209
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5210
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5211
+
5212
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5213
+ UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
5214
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5215
+ UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
5216
+ }
5217
+
5218
+ /**
5219
+ * Adds Google fonts for Call To Action block.
5220
+ *
5221
+ * @since 1.9.1
5222
+ * @param array $attr the blocks attr.
5223
+ */
5224
+ public static function blocks_call_to_action_gfont( $attr ) {
5225
+
5226
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5227
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5228
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5229
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5230
+
5231
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5232
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5233
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5234
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5235
+
5236
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5237
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5238
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5239
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5240
+
5241
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5242
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5243
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5244
+ }
5245
+ }
5246
+ }
classes/class-uagb-helper.php CHANGED
@@ -441,7 +441,7 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
441
 
442
  $reusable_blocks = $this->parse( $content );
443
 
444
- $this->get_stylesheet( $reusable_blocks );
445
  }
446
  } else {
447
  // Get CSS for the Block.
441
 
442
  $reusable_blocks = $this->parse( $content );
443
 
444
+ self::$stylesheet .= $this->get_stylesheet( $reusable_blocks );
445
  }
446
  } else {
447
  // Get CSS for the Block.
classes/class-uagb-init-blocks.php CHANGED
@@ -1,307 +1,319 @@
1
- <?php
2
- /**
3
- * UAGB Blocks Initializer
4
- *
5
- * Enqueue CSS/JS of all the blocks.
6
- *
7
- * @since 1.0.0
8
- * @package UAGB
9
- */
10
-
11
- if ( ! defined( 'ABSPATH' ) ) {
12
- exit; // Exit if accessed directly.
13
- }
14
-
15
- /**
16
- * UAGB_Init_Blocks.
17
- *
18
- * @package UAGB
19
- */
20
- class UAGB_Init_Blocks {
21
-
22
-
23
- /**
24
- * Member Variable
25
- *
26
- * @var instance
27
- */
28
- private static $instance;
29
-
30
- /**
31
- * Initiator
32
- */
33
- public static function get_instance() {
34
- if ( ! isset( self::$instance ) ) {
35
- self::$instance = new self;
36
- }
37
- return self::$instance;
38
- }
39
-
40
- /**
41
- * Constructor
42
- */
43
- public function __construct() {
44
- // Hook: Frontend assets.
45
- add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
-
47
- // Hook: Editor assets.
48
- add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
-
50
- add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
- }
52
-
53
- /**
54
- * Gutenberg block category for UAGB.
55
- *
56
- * @param array $categories Block categories.
57
- * @param object $post Post object.
58
- * @since 1.0.0
59
- */
60
- function register_block_category( $categories, $post ) {
61
- return array_merge(
62
- $categories,
63
- array(
64
- array(
65
- 'slug' => 'uagb',
66
- 'title' => __( 'Ultimate Addons Blocks', 'ultimate-addons-for-gutenberg' ),
67
- ),
68
- )
69
- );
70
- }
71
-
72
- /**
73
- * Enqueue Gutenberg block assets for both frontend + backend.
74
- *
75
- * @since 1.0.0
76
- */
77
- public function block_assets() {
78
-
79
- if ( ! is_admin() ) {
80
-
81
- if ( false === has_blocks() ) {
82
- return;
83
- }
84
-
85
- if ( false === UAGB_Helper::$uag_flag ) {
86
- return;
87
- }
88
- }
89
-
90
- wp_enqueue_style(
91
- 'uagb-block-css', // Handle.
92
- UAGB_URL . 'dist/blocks.style.css', // Block style CSS.
93
- array(),
94
- UAGB_VER
95
- );
96
-
97
- $blocks = UAGB_Config::get_block_attributes();
98
- $disabled_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
99
- $block_assets = UAGB_Config::get_block_assets();
100
-
101
- foreach ( $blocks as $slug => $value ) {
102
- $_slug = str_replace( 'uagb/', '', $slug );
103
-
104
- if ( ! ( isset( $disabled_blocks[ $_slug ] ) && 'disabled' === $disabled_blocks[ $_slug ] ) ) {
105
-
106
- $js_assets = ( isset( $blocks[ $slug ]['js_assets'] ) ) ? $blocks[ $slug ]['js_assets'] : array();
107
-
108
- $css_assets = ( isset( $blocks[ $slug ]['css_assets'] ) ) ? $blocks[ $slug ]['css_assets'] : array();
109
-
110
- if ( 'cf7-styler' === $_slug ) {
111
- if ( ! wp_script_is( 'contact-form-7', 'enqueued' ) ) {
112
- wp_enqueue_script( 'contact-form-7' );
113
- }
114
-
115
- if ( ! wp_script_is( ' wpcf7-admin', 'enqueued' ) ) {
116
- wp_enqueue_script( ' wpcf7-admin' );
117
- }
118
- }
119
-
120
- foreach ( $js_assets as $asset_handle => $val ) {
121
- // Scripts.
122
- wp_register_script(
123
- $val, // Handle.
124
- $block_assets[ $val ]['src'],
125
- $block_assets[ $val ]['dep'],
126
- UAGB_VER
127
- );
128
-
129
- if ( is_admin() ) {
130
- wp_enqueue_script( $val );
131
- }
132
- }
133
-
134
- foreach ( $css_assets as $asset_handle => $val ) {
135
- // Styles.
136
- wp_register_style(
137
- $val, // Handle.
138
- $block_assets[ $val ]['src'],
139
- $block_assets[ $val ]['dep'],
140
- UAGB_VER
141
- );
142
-
143
- if ( is_admin() ) {
144
- wp_enqueue_style( $val );
145
- }
146
- }
147
- }
148
- }
149
-
150
- } // End function editor_assets().
151
-
152
- /**
153
- * Enqueue Gutenberg block assets for backend editor.
154
- *
155
- * @since 1.0.0
156
- */
157
- function editor_assets() {
158
- // Scripts.
159
- wp_enqueue_script(
160
- 'uagb-block-editor-js', // Handle.
161
- UAGB_URL . 'dist/blocks.build.js',
162
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-api-fetch' ), // Dependencies, defined above.
163
- UAGB_VER,
164
- true // Enqueue the script in the footer.
165
- );
166
-
167
- // Styles.
168
- wp_enqueue_style(
169
- 'uagb-block-editor-css', // Handle.
170
- UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
171
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
172
- UAGB_VER
173
- );
174
-
175
- // Common Editor style.
176
- wp_enqueue_style(
177
- 'uagb-block-common-editor-css', // Handle.
178
- UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
179
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
180
- UAGB_VER
181
- );
182
-
183
- wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
184
-
185
- $blocks = array();
186
- $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
187
-
188
- if ( is_array( $saved_blocks ) ) {
189
- foreach ( $saved_blocks as $slug => $data ) {
190
- $_slug = 'uagb/' . $slug;
191
- $current_block = UAGB_Config::$block_attributes[ $_slug ];
192
-
193
- if ( isset( $current_block['is_child'] ) && $current_block['is_child'] ) {
194
- continue;
195
- }
196
-
197
- if ( isset( $saved_blocks[ $slug ] ) ) {
198
- if ( 'disabled' === $saved_blocks[ $slug ] ) {
199
- array_push( $blocks, $_slug );
200
- }
201
- }
202
- }
203
- }
204
-
205
- wp_localize_script(
206
- 'uagb-deactivate-block-js',
207
- 'uagb_deactivate_blocks',
208
- array(
209
- 'deactivated_blocks' => $blocks,
210
- )
211
- );
212
-
213
- wp_localize_script(
214
- 'uagb-block-editor-js',
215
- 'uagb_blocks_info',
216
- array(
217
- 'blocks' => UAGB_Config::get_block_attributes(),
218
- 'category' => 'uagb',
219
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
220
- 'cf7_forms' => $this->get_cf7_forms(),
221
- 'gf_forms' => $this->get_gravity_forms(),
222
- 'tablet_breakpoint' => UAGB_TABLET_BREAKPOINT,
223
- 'mobile_breakpoint' => UAGB_MOBILE_BREAKPOINT,
224
- 'image_sizes' => UAGB_Helper::get_image_sizes(),
225
- 'post_types' => UAGB_Helper::get_post_types(),
226
- 'all_taxonomy' => UAGB_Helper::get_related_taxonomy(),
227
- )
228
- );
229
- } // End function editor_assets().
230
-
231
-
232
- /**
233
- * Function to integrate CF7 Forms.
234
- *
235
- * @since 1.10.0
236
- */
237
- public function get_cf7_forms() {
238
- $field_options = array();
239
-
240
- if ( class_exists( 'WPCF7_ContactForm' ) ) {
241
- $args = array(
242
- 'post_type' => 'wpcf7_contact_form',
243
- 'posts_per_page' => -1,
244
- );
245
- $forms = get_posts( $args );
246
- $field_options[0] = array(
247
- 'value' => -1,
248
- 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
249
- );
250
- if ( $forms ) {
251
- foreach ( $forms as $form ) {
252
- $field_options[] = array(
253
- 'value' => $form->ID,
254
- 'label' => $form->post_title,
255
- );
256
- }
257
- }
258
- }
259
-
260
- if ( empty( $field_options ) ) {
261
- $field_options = array(
262
- '-1' => __( 'You have not added any Contact Form 7 yet.', 'ultimate-addons-for-gutenberg' ),
263
- );
264
- }
265
- return $field_options;
266
- }
267
-
268
- /**
269
- * Returns all gravity forms with ids
270
- *
271
- * @since 1.12.0
272
- * @return array Key Value paired array.
273
- */
274
- public function get_gravity_forms() {
275
- $field_options = array();
276
-
277
- if ( class_exists( 'GFForms' ) ) {
278
- $forms = RGFormsModel::get_forms( null, 'title' );
279
- $field_options[0] = array(
280
- 'value' => -1,
281
- 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
282
- );
283
- if ( is_array( $forms ) ) {
284
- foreach ( $forms as $form ) {
285
- $field_options[] = array(
286
- 'value' => $form->id,
287
- 'label' => $form->title,
288
- );
289
- }
290
- }
291
- }
292
-
293
- if ( empty( $field_options ) ) {
294
- $field_options = array(
295
- '-1' => __( 'You have not added any Gravity Forms yet.', 'ultimate-addons-for-gutenberg' ),
296
- );
297
- }
298
-
299
- return $field_options;
300
- }
301
- }
302
-
303
- /**
304
- * Prepare if class 'UAGB_Init_Blocks' exist.
305
- * Kicking this off by calling 'get_instance()' method
306
- */
307
- UAGB_Init_Blocks::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Blocks Initializer
4
+ *
5
+ * Enqueue CSS/JS of all the blocks.
6
+ *
7
+ * @since 1.0.0
8
+ * @package UAGB
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) {
12
+ exit; // Exit if accessed directly.
13
+ }
14
+
15
+ /**
16
+ * UAGB_Init_Blocks.
17
+ *
18
+ * @package UAGB
19
+ */
20
+ class UAGB_Init_Blocks {
21
+
22
+
23
+ /**
24
+ * Member Variable
25
+ *
26
+ * @var instance
27
+ */
28
+ private static $instance;
29
+
30
+ /**
31
+ * Initiator
32
+ */
33
+ public static function get_instance() {
34
+ if ( ! isset( self::$instance ) ) {
35
+ self::$instance = new self;
36
+ }
37
+ return self::$instance;
38
+ }
39
+
40
+ /**
41
+ * Constructor
42
+ */
43
+ public function __construct() {
44
+ // Hook: Frontend assets.
45
+ add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
+
47
+ // Hook: Editor assets.
48
+ add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
+
50
+ add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
+ }
52
+
53
+ /**
54
+ * Gutenberg block category for UAGB.
55
+ *
56
+ * @param array $categories Block categories.
57
+ * @param object $post Post object.
58
+ * @since 1.0.0
59
+ */
60
+ function register_block_category( $categories, $post ) {
61
+ return array_merge(
62
+ $categories,
63
+ array(
64
+ array(
65
+ 'slug' => 'uagb',
66
+ 'title' => __( 'Ultimate Addons Blocks', 'ultimate-addons-for-gutenberg' ),
67
+ ),
68
+ )
69
+ );
70
+ }
71
+
72
+ /**
73
+ * Enqueue Gutenberg block assets for both frontend + backend.
74
+ *
75
+ * @since 1.0.0
76
+ */
77
+ public function block_assets() {
78
+
79
+ if ( ! is_admin() ) {
80
+
81
+ if ( class_exists( 'WooCommerce' ) ) {
82
+
83
+ if ( false === UAGB_Helper::$uag_flag ) {
84
+ return;
85
+ }
86
+ } else {
87
+
88
+ if ( false === has_blocks() ) {
89
+ return;
90
+ }
91
+
92
+ if ( false === UAGB_Helper::$uag_flag ) {
93
+ return;
94
+ }
95
+ }
96
+ }
97
+
98
+ wp_enqueue_style(
99
+ 'uagb-block-css', // Handle.
100
+ UAGB_URL . 'dist/blocks.style.css', // Block style CSS.
101
+ array(),
102
+ UAGB_VER
103
+ );
104
+
105
+ $blocks = UAGB_Config::get_block_attributes();
106
+ $disabled_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
107
+ $block_assets = UAGB_Config::get_block_assets();
108
+
109
+ foreach ( $blocks as $slug => $value ) {
110
+ $_slug = str_replace( 'uagb/', '', $slug );
111
+
112
+ if ( ! ( isset( $disabled_blocks[ $_slug ] ) && 'disabled' === $disabled_blocks[ $_slug ] ) ) {
113
+
114
+ $js_assets = ( isset( $blocks[ $slug ]['js_assets'] ) ) ? $blocks[ $slug ]['js_assets'] : array();
115
+
116
+ $css_assets = ( isset( $blocks[ $slug ]['css_assets'] ) ) ? $blocks[ $slug ]['css_assets'] : array();
117
+
118
+ if ( 'cf7-styler' === $_slug ) {
119
+ if ( ! wp_script_is( 'contact-form-7', 'enqueued' ) ) {
120
+ wp_enqueue_script( 'contact-form-7' );
121
+ }
122
+
123
+ if ( ! wp_script_is( ' wpcf7-admin', 'enqueued' ) ) {
124
+ wp_enqueue_script( ' wpcf7-admin' );
125
+ }
126
+ }
127
+
128
+ foreach ( $js_assets as $asset_handle => $val ) {
129
+ // Scripts.
130
+ wp_register_script(
131
+ $val, // Handle.
132
+ $block_assets[ $val ]['src'],
133
+ $block_assets[ $val ]['dep'],
134
+ UAGB_VER
135
+ );
136
+
137
+ if ( is_admin() ) {
138
+ wp_enqueue_script( $val );
139
+ }
140
+ }
141
+
142
+ foreach ( $css_assets as $asset_handle => $val ) {
143
+ // Styles.
144
+ wp_register_style(
145
+ $val, // Handle.
146
+ $block_assets[ $val ]['src'],
147
+ $block_assets[ $val ]['dep'],
148
+ UAGB_VER
149
+ );
150
+
151
+ if ( is_admin() ) {
152
+ wp_enqueue_style( $val );
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ } // End function editor_assets().
159
+
160
+ /**
161
+ * Enqueue Gutenberg block assets for backend editor.
162
+ *
163
+ * @since 1.0.0
164
+ */
165
+ function editor_assets() {
166
+ // Scripts.
167
+ wp_enqueue_script(
168
+ 'uagb-block-editor-js', // Handle.
169
+ UAGB_URL . 'dist/blocks.build.js',
170
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-api-fetch' ), // Dependencies, defined above.
171
+ UAGB_VER,
172
+ true // Enqueue the script in the footer.
173
+ );
174
+
175
+ // Styles.
176
+ wp_enqueue_style(
177
+ 'uagb-block-editor-css', // Handle.
178
+ UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
179
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
180
+ UAGB_VER
181
+ );
182
+
183
+ // Common Editor style.
184
+ wp_enqueue_style(
185
+ 'uagb-block-common-editor-css', // Handle.
186
+ UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
187
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
188
+ UAGB_VER
189
+ );
190
+
191
+ wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
192
+
193
+ $blocks = array();
194
+ $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
195
+
196
+ if ( is_array( $saved_blocks ) ) {
197
+ foreach ( $saved_blocks as $slug => $data ) {
198
+ $_slug = 'uagb/' . $slug;
199
+ $current_block = UAGB_Config::$block_attributes[ $_slug ];
200
+
201
+ if ( isset( $current_block['is_child'] ) && $current_block['is_child'] ) {
202
+ continue;
203
+ }
204
+
205
+ if ( isset( $current_block['is_active'] ) && ! $current_block['is_active'] ) {
206
+ continue;
207
+ }
208
+
209
+ if ( isset( $saved_blocks[ $slug ] ) ) {
210
+ if ( 'disabled' === $saved_blocks[ $slug ] ) {
211
+ array_push( $blocks, $_slug );
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ wp_localize_script(
218
+ 'uagb-deactivate-block-js',
219
+ 'uagb_deactivate_blocks',
220
+ array(
221
+ 'deactivated_blocks' => $blocks,
222
+ )
223
+ );
224
+
225
+ wp_localize_script(
226
+ 'uagb-block-editor-js',
227
+ 'uagb_blocks_info',
228
+ array(
229
+ 'blocks' => UAGB_Config::get_block_attributes(),
230
+ 'category' => 'uagb',
231
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
232
+ 'cf7_forms' => $this->get_cf7_forms(),
233
+ 'gf_forms' => $this->get_gravity_forms(),
234
+ 'tablet_breakpoint' => UAGB_TABLET_BREAKPOINT,
235
+ 'mobile_breakpoint' => UAGB_MOBILE_BREAKPOINT,
236
+ 'image_sizes' => UAGB_Helper::get_image_sizes(),
237
+ 'post_types' => UAGB_Helper::get_post_types(),
238
+ 'all_taxonomy' => UAGB_Helper::get_related_taxonomy(),
239
+ )
240
+ );
241
+ } // End function editor_assets().
242
+
243
+
244
+ /**
245
+ * Function to integrate CF7 Forms.
246
+ *
247
+ * @since 1.10.0
248
+ */
249
+ public function get_cf7_forms() {
250
+ $field_options = array();
251
+
252
+ if ( class_exists( 'WPCF7_ContactForm' ) ) {
253
+ $args = array(
254
+ 'post_type' => 'wpcf7_contact_form',
255
+ 'posts_per_page' => -1,
256
+ );
257
+ $forms = get_posts( $args );
258
+ $field_options[0] = array(
259
+ 'value' => -1,
260
+ 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
261
+ );
262
+ if ( $forms ) {
263
+ foreach ( $forms as $form ) {
264
+ $field_options[] = array(
265
+ 'value' => $form->ID,
266
+ 'label' => $form->post_title,
267
+ );
268
+ }
269
+ }
270
+ }
271
+
272
+ if ( empty( $field_options ) ) {
273
+ $field_options = array(
274
+ '-1' => __( 'You have not added any Contact Form 7 yet.', 'ultimate-addons-for-gutenberg' ),
275
+ );
276
+ }
277
+ return $field_options;
278
+ }
279
+
280
+ /**
281
+ * Returns all gravity forms with ids
282
+ *
283
+ * @since 1.12.0
284
+ * @return array Key Value paired array.
285
+ */
286
+ public function get_gravity_forms() {
287
+ $field_options = array();
288
+
289
+ if ( class_exists( 'GFForms' ) ) {
290
+ $forms = RGFormsModel::get_forms( null, 'title' );
291
+ $field_options[0] = array(
292
+ 'value' => -1,
293
+ 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
294
+ );
295
+ if ( is_array( $forms ) ) {
296
+ foreach ( $forms as $form ) {
297
+ $field_options[] = array(
298
+ 'value' => $form->id,
299
+ 'label' => $form->title,
300
+ );
301
+ }
302
+ }
303
+ }
304
+
305
+ if ( empty( $field_options ) ) {
306
+ $field_options = array(
307
+ '-1' => __( 'You have not added any Gravity Forms yet.', 'ultimate-addons-for-gutenberg' ),
308
+ );
309
+ }
310
+
311
+ return $field_options;
312
+ }
313
+ }
314
+
315
+ /**
316
+ * Prepare if class 'UAGB_Init_Blocks' exist.
317
+ * Kicking this off by calling 'get_instance()' method
318
+ */
319
+ UAGB_Init_Blocks::get_instance();
classes/class-uagb-loader.php CHANGED
@@ -74,7 +74,7 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
74
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
75
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
76
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
77
- define( 'UAGB_VER', '1.13.5' );
78
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
79
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
80
  define( 'UAGB_SLUG', 'uag' );
74
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
75
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
76
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
77
+ define( 'UAGB_VER', '1.13.6' );
78
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
79
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
80
  define( 'UAGB_SLUG', 'uag' );
dist/blocks.style.build.css CHANGED
@@ -1,20 +1,20 @@
1
- .wp-block-uagb-advanced-heading{padding:0;margin:0 auto}.wp-block-uagb-advanced-heading .uagb-heading-text{margin:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator-wrap{font-size:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator{border-top-style:solid;display:inline-block;border-top-width:2px;width:5%;margin:0px 0px 10px 0px}.wp-block-uagb-advanced-heading .uagb-desc-text{margin:0;text-align:center}
2
- .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:100%}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;-webkit-box-sizing:border-box;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:.3s ease;-o-transition:.3s ease;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment{display:inline-block}.uagb-post-grid .uagb-post__author a{-webkit-box-shadow:none;box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;-webkit-box-shadow:0 -1px 0 inset;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:.3s ease;-o-transition:.3s ease;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{-webkit-box-sizing:border-box;box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}
3
- .uagb-section__wrap{position:relative}.uagb-section__wrap .uagb-section__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-section__wrap .uagb-section__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-section__wrap .uagb-section__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-section__wrap .uagb-section__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}@media only screen and (max-width: 449px){.uagb-section__wrap.uagb-section__background-image{background-attachment:scroll !important}}
4
- .uagb-buttons__outer-wrap .uagb-buttons__wrap{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.uagb-buttons__outer-wrap .uagb-button__active,.uagb-buttons__outer-wrap .uagb-button__active:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}.uagb-buttons__outer-wrap a.uagb-button__link:focus,.uagb-buttons__outer-wrap .uagb-button__link:focus{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-buttons__outer-wrap .uagb-button__wrapper{padding:0;border:1px solid #333;border-radius:2px;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:-ms-inline-flexbox;display:inline-flex}.uagb-buttons__outer-wrap .uagb-button__wrapper:first-child{margin-left:0}.uagb-buttons__outer-wrap .uagb-button__wrapper:last-child{margin-right:0}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link{padding:10px 14px;width:100%;color:#333;text-decoration:none;font-family:inherit;line-height:inherit;font-weight:inherit}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover .uagb-button__link{text-decoration:none}
5
- .uagb-ifb-icon-wrap,.uagb-ifb-icon-wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-ifb-icon-wrap .uagb-ifb-icon,.uagb-ifb-content{display:inline-block}.uagb-ifb-icon svg{width:inherit;height:inherit;vertical-align:middle}.infobox-icon-above-title .uagb-ifb-left-right-wrap{text-align:center}a.uagb-infobox-cta-link span{font-size:inherit}.uagb-ifb-cta.uagb-infobox-cta-link-style:empty{display:none}a.uagb-infobox-cta-link,.entry .entry-content a.uagb-infobox-cta-link,a.uagb-infobox-link-wrap,.entry .entry-content a.uagb-infobox-link-wrap{text-decoration:none}a.uagb-infobox-cta-link:hover,.entry .entry-content a.uagb-infobox-cta-link:hover,a.uagb-infobox-link-wrap:hover,.entry .entry-content a.uagb-infobox-link-wrap:hover .entry .entry-content a.uagb-infobox-cta-link:hover{color:inherit}.uagb-infobox-icon-left-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-icon-right-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-image-valign-middle .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-image-valign-middle .uagb-ifb-content,.uagb-infobox-icon-right.uagb-infobox-image-valign-middle .uagb-ifb-content{-ms-flex-item-align:center;align-self:center}.uagb-infobox-left{text-align:left;-ms-flex-pack:start;justify-content:flex-start}.uagb-infobox-center{text-align:center;-ms-flex-pack:center;justify-content:center}.uagb-infobox-right{text-align:right;-ms-flex-pack:end;justify-content:flex-end}.uagb-ifb-left-right-wrap{width:100%;word-break:break-word}.uagb-infobox-icon-above-title .uagb-ifb-left-right-wrap,.uagb-infobox-icon-below-title .uagb-ifb-left-right-wrap{display:block;min-width:100%;width:100%}.uagb-infobox-icon-left-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-left .uagb-ifb-icon-wrap{margin-right:10px}.uagb-infobox-icon-right-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-right .uagb-ifb-icon-wrap{margin-left:10px}.uagb-infobox-icon-left .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-left-title .uagb-ifb-left-title-image,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{-ms-flex-pack:end;justify-content:flex-end}.uagb-ifb-icon-wrap .uagb-ifb-icon span{font-style:initial;height:auto;width:auto}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content{display:inline-block;line-height:0;position:relative;max-width:100%}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content img{display:inline;height:auto !important;max-width:100%;width:auto;-webkit-box-sizing:content-box;box-sizing:content-box;border-radius:inherit}.uagb-ifb-imgicon-wrap .uagb-image-crop-circle img{border-radius:100%}.uagb-ifb-imgicon-wrap .uagb-image-crop-square img{border-radius:0}.uagb-infobox-module-link{position:absolute;width:100%;height:100%;left:0;top:0;bottom:0;right:0;z-index:4}.uagb-edit-mode .uagb-infobox-module-link{z-index:2}.uagb-infobox-link-icon-after{margin-left:5px;margin-right:0}.uagb-infobox-link-icon-before{margin-left:0;margin-right:5px}.uagb-infobox-link-icon{-webkit-transition:all 200ms linear;-o-transition:all 200ms linear;transition:all 200ms linear}.uagb-infobox{position:relative}.uagb-ifb-separator{width:30%;border-top-width:2px;border-top-color:#333;border-top-style:solid;display:inline-block;margin:0}.uagb-ifb-separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px}.uagb-ifb-cta-button{display:inline-block;line-height:1;background-color:#818a91;color:#fff;text-align:center}.uagb-ifb-cta a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-ifb-title-wrap{width:100%}.uagb-ifb-title-wrap .uagb-ifb-title,.uagb-ifb-title-wrap .uagb-ifb-title-prefix{padding:0;margin:0;display:block}.uagb-infobox__content-wrap.uagb-infobox{position:relative}.uagb-ifb-icon span{font-size:40px;height:40px;color:#333;width:40px}.uagb-ifb-icon svg{fill:#333}.uagb-ifb-content{width:100%}.uagb-infobox__content-wrap.uagb-infobox,.uagb-ifb-content,.uagb-ifb-title-wrap,.uagb-ifb-title-prefix *,svg.dashicon.dashicons-upload{z-index:1}.uagb-ifb-left-right-wrap,button.components-button{z-index:1}.uagb-infobox-cta-link{cursor:pointer}a.uagb-infobox-link-wrap{color:inherit}.uagb-ifb-content p:empty{display:none}.uagb-infobox .uagb-ifb-icon,.uagb-infobox .uagb-ifb-image-content img{display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-ifb-align-icon-after{margin-left:5px}.uagb-ifb-align-icon-before{margin-right:5px}span.uagb-ifb-button-icon.uagb-ifb-align-icon-after{float:right}.uagb-ifb-button-icon{height:15px;width:15px;font-size:15px;vertical-align:middle}.uagb-ifb-text-icon{height:15px;width:15px;font-size:15px;line-height:15px;vertical-align:middle;display:inline-block}.uagb-ifb-button-icon svg,.uagb-ifb-text-icon svg{height:inherit;width:inherit;display:inline-block}.block-editor-page #wpwrap .uagb-infobox-cta-link svg,.uagb-infobox-cta-link svg{font-style:normal}.uagb-infobox__outer-wrap{position:relative}a.uagb-infbox__link-to-all{height:100%;width:100%;top:0;left:0;position:absolute;z-index:999;-webkit-box-shadow:none;box-shadow:none;text-decoration:none}@media only screen and (max-width: 976px){.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-tablet.uagb-reverse-order-tablet .uagb-ifb-left-right-wrap{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}@media screen and (max-width: 767px){.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-mobile.uagb-reverse-order-mobile .uagb-ifb-left-right-wrap{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}
6
- .uagb-testimonial__wrap{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}.uagb-testimonial__wrap,.uagb-testimonial__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-icon-wrap .uagb-icon{display:inline-block}.uagb-tm__image{position:relative}.uagb-tm__imgicon-style-circle .uagb-tm__image img{border-radius:100%;-webkit-border-radius:100%}.uagb-tm__imgicon-style-square .uagb-tm__image img{border-radius:0%;-webkit-border-radius:0%}.uagb-tm__image img,.slick-slide .uagb-tm__image img{display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-tm__author-name,.uagb-tm__company{display:inline-block}.uagb-tm__content{overflow:hidden;text-align:center;word-break:break-word;padding:15px;border-radius:inherit;position:relative}.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm__image-position-right .uagb-tm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-tm__meta-inner{display:inline-block}.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm__image-position-bottom .uagb-testimonial-details{display:table-cell;vertical-align:middle}.uagb-tm__meta{width:100%;line-height:1}.uagb-tm__image-position-bottom .uagb-tm__image-content{padding-right:10px}.uagb-tm__author-name,.uagb-tm__company{display:block}.uagb-tm__image-aligned-middle .uagb-tm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-tm__desc{margin-bottom:15px}.uagb-tm__author-name{margin-bottom:5px;font-size:30px;line-height:1em}.uagb-tm__company{font-size:15px;font-style:italic;line-height:1em;color:#888888}.is-carousel .uagb-testomonial__outer-wrap{padding-left:10px;padding-right:10px}.uagb-tm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm__text-wrap{position:relative}.uagb-tm__items{visibility:hidden}.uagb-tm__items.slick-initialized{visibility:visible}.uagb-tm__image-position-top .uagb-tm__image-content{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media (max-width: 976px){.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-tablet .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-tablet .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-tablet.uagb-tm-reverse-order-tablet .uagb-tm__content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-tablet .uagb-tm__image-content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-item-align:center;align-self:center}}@media (max-width: 768px){.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-mobile .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-mobile .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-mobile.uagb-tm-reverse-order-mobile .uagb-tm__content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-mobile .uagb-tm__image-content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-item-align:center;align-self:center}}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:-45px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:-45px;right:auto}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:auto;right:25px}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{right:25px}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{left:25px;right:auto}@media (max-width: 976px){.uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:auto;right:15px}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:15px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:15px;right:auto}}
7
- .uagb-team__outer-wrap .uagb-team__prefix{font-size:15px;font-style:italic;color:#888}.uagb-team__outer-wrap .uagb-team__image-wrap img{display:inline;height:auto !important;max-width:100%;width:inherit;-webkit-box-sizing:content-box;box-sizing:content-box;border-radius:inherit}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-circle img{border-radius:100%}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-square img{border-radius:0}.uagb-team__outer-wrap .uagb-team__social-icon-wrap ul{list-style:none;display:-ms-flexbox;display:flex}.uagb-team__outer-wrap .uagb-team__social-icon a span,.uagb-team__outer-wrap .uagb-team__social-icon a span:before{color:inherit;font-size:inherit;height:inherit;width:inherit}.uagb-team__outer-wrap .uagb-team__social-icon a{font-size:20px;width:20px;height:20px;color:#333;display:block}.uagb-team__outer-wrap .uagb-team__social-icon{margin-right:20px;margin-left:0}.uagb-team__outer-wrap .uagb-team__social-list{margin:0;padding:0}.uagb-team__image-position-above.uagb-team__align-center{text-align:center}.uagb-team__image-position-above.uagb-team__align-left{text-align:left}.uagb-team__image-position-above.uagb-team__align-right{text-align:right}.uagb-team__image-position-left .uagb-team__wrap,.uagb-team__image-position-right .uagb-team__wrap{-js-display:flex;display:-ms-flexbox;display:flex}.uagb-team__image-position-left .uagb-team__content{text-align:left}.uagb-team__image-position-right .uagb-team__content{text-align:right}.uagb-team__image-position-left .uagb-team__social-icon-wrap ul{-ms-flex-pack:start;justify-content:flex-start;margin:0;padding:0}.uagb-team__image-position-right .uagb-team__social-icon-wrap ul{-ms-flex-pack:end;justify-content:flex-end;margin:0;padding:0}.uagb-team__image-position-left li{margin-right:5px}.uagb-team__image-position-right li{margin-left:5px}.uagb-team__image-position-above .uagb-team__social-icon-wrap{display:inline-block}.uagb-team__image-position-above.uagb-team__align-center .uagb-team__content{text-align:center}.uagb-team__image-position-above.uagb-team__align-left .uagb-team__content{text-align:left}.uagb-team__image-position-above.uagb-team__align-right .uagb-team__content{text-align:right}@media only screen and (max-width: 976px){.uagb-team__stack-tablet,.uagb-team__stack-tablet .uagb-team__content{text-align:center}.uagb-team__stack-tablet .uagb-team__wrap{display:inline-block}.uagb-team__stack-tablet .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-tablet .uagb-team__social-icon-wrap ul{-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 767px){.uagb-team__stack-mobile,.uagb-team__stack-mobile .uagb-team__content{text-align:center}.uagb-team__stack-mobile .uagb-team__wrap{display:inline-block}.uagb-team__stack-mobile .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-mobile .uagb-team__social-icon-wrap ul{-ms-flex-pack:center;justify-content:center}}
8
- .uagb-social-share__outer-wrap .uagb-social-share__wrap{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.uagb-social-share__outer-wrap a.uagb-button__link:focus{-webkit-box-shadow:none;box-shadow:none}.uagb-social-share__outer-wrap .uagb-ss__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:-ms-inline-flexbox;display:inline-flex;text-align:center}.uagb-social-share__outer-wrap .uagb-ss__source-wrap{display:inline-block}.uagb-social-share__outer-wrap .uagb-ss__link{color:#3a3a3a;display:inline-table;line-height:0;cursor:pointer}.uagb-social-share__outer-wrap .uagb-ss__source-icon{font-size:40px;width:40px;height:40px}.uagb-social-share__outer-wrap .uagb-ss__source-image{width:40px}.uagb-social-share__outer-wrap .uagb-ss__wrapper:first-child{margin-left:0}.uagb-social-share__outer-wrap .uagb-ss__wrapper:last-child{margin-right:0}
9
- .uagb-google-map__wrap{display:-ms-flexbox;display:flex}.uagb-google-map__wrap .uagb-google-map__iframe{width:100%;-webkit-box-shadow:none;box-shadow:none;border:none;padding:0;margin:0}
10
- .uagb-icon-list__outer-wrap .uagb-icon-list__wrap{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:flex-start;align-items:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start}.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:focus,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:active,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:visited{text-decoration:none}.uagb-icon-list__outer-wrap a.uagb-button__link:focus{-webkit-box-shadow:none;box-shadow:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper>p{display:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:-ms-inline-flexbox;display:inline-flex;text-align:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap,.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{width:inherit;display:inline-block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{display:inherit;-ms-flex-align:center;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap{color:#3a3a3a;-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon,.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon:before{font-size:40px;width:40px;height:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon svg{display:block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-image{width:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:first-child{margin-left:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:last-child{margin-right:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrap>p{display:none}.uagb-icon-list__outer-wrap a.uagb-icon-list__wrapper[href="javascript:void(0);"]{pointer-events:none;cursor:text}.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper{text-decoration:none}.uagb-icon-list__wrap .uagb-icon-list__wrapper{-webkit-box-shadow:none;box-shadow:none}.uagb-icon-list__outer-wrap:not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap{margin-right:15px}.uagb-icon-list__outer-wrap.uagb-icon-list__icon-at-top .uagb-icon-list__source-wrap{-ms-flex-item-align:flex-start;align-self:flex-start;margin-top:5px}
11
- .uagb-rest_menu__wrap{position:relative;padding-left:5px;padding-right:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.uagb-rest_menu__wrap,.uagb-rest_menu__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-rm__image img,.slick-slide .uagb-rm__image img{display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-rm__title,.uagb-rm__price{display:inline-block}.uagb-rm__desc{margin-bottom:15px;font-style:italic}.uagb-rm__content{overflow:hidden;text-align:left;word-break:break-word;padding:15px;border-radius:inherit;position:relative;padding:5px}.uagb-rm__image-position-left .uagb-rm__content,.uagb-rm__image-position-right .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-rm-details{display:table;width:100%}.uagb-rm__title-wrap,.uagb-rm__price-wrap{display:table-cell}.uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:85%}.uagb-rm__price-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:15%}.uagb-rm__title,.uagb-rm__price{display:block}.uagb-rm__align-center .uagb-rm-details,.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%}.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-rm__image{overflow:hidden}.uagb-rm__title{margin-bottom:5px;font-size:20px}.uagb-rm__price{font-style:italic;text-align:right}.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm-details,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%;text-align:center}.uagb-rm__align-center .uagb-rm__price{text-align:center}.uagb-rm__align-right .uagb-rm-details{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-rm__align-right .uagb-rm__price{text-align:left}.uagb-rm__align-left .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm-details{display:-ms-flexbox;display:flex;-ms-flex-direction:unset;flex-direction:unset;text-align:left}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__image-content{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm-details{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;text-align:right}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__image-content{text-align:right}.uagb-rest_menu__outer-wrap{position:relative}.uagb-rm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm-parent{padding:30px}.uagb-rm__text-wrap{position:relative;display:block;width:100%}.uagb-rest_menu__wrap{position:relative}.uagb-rest_menu__outer-wrap:after{content:"";display:block;clear:both}.uagb-rest_menu__wrap.uagb-rm__desk-column-3{display:block;width:33%;float:left;width:calc(100% / 3);padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-2{display:block;width:49%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-1{display:block;width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px;-js-display:flex;display:-moz-flexbox;display:-ms-flexbox;display:flex}.uagb-rm__separator{width:100%;border-top-width:1px;border-top-color:#b2b4b5;border-top-style:inherit}.uagb-rm__image-position-left .uagb-rm__image{margin-right:10px}.uagb-rm__image-position-right .uagb-rm__image{margin-left:10px}@media (max-width: 976px){.uagb-rm__image-position-left.uagb-rm-stacked-tablet .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-tablet .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm-reverse-order-tablet .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:-moz-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__tablet-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:end;align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:start;align-self:flex-start}}@media (max-width: 767px){.uagb-rm__image-position-left.uagb-rm-stacked-mobile .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-mobile .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm-reverse-order-mobile .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:-moz-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__mobile-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:end;align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:start;align-self:flex-start}}
12
- .uagb-timeline__widget{position:relative;-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.uagb-timeline__widget a{text-decoration:none;color:inherit}.uagb-timeline__heading a{font-size:inherit;color:inherit;margin-bottom:inherit}.uagb-timeline__image a{display:block;position:relative;max-width:100%}.uagb-timeline__image img{display:inline-block;-webkit-box-sizing:content-box;-mz-box-sizing:content-box;box-sizing:content-box}.uagb-timeline__author{text-transform:uppercase}.uagb-timeline__main{position:relative}.uagb-content{word-break:break-word}a.uagb-timeline__link{padding:5px 10px;display:inline-block}h1.uagb-timeline__heading,h2.uagb-timeline__heading,h3.uagb-timeline__heading,h4.uagb-timeline__heading,h5.uagb-timeline__heading,h6.uagb-timeline__heading{margin-bottom:0px}.uagb-timeline__inner-date-new p{margin-bottom:0}.uagb-timeline__date-inner .uagb-timeline__inner-date-new p{margin-bottom:0px}.uagb-timeline__line{background-color:#eeeeee}.uagb-timeline__line__inner{background-color:#5cb85c;width:100%}.uagb-timeline__main .uagb-timeline__icon-new{line-height:1em;display:inline-block;vertical-align:middle;font-style:normal}.uagb-timeline__center-block .uagb-timeline__date-hide{display:none}.uagb-timeline__field:not(:last-child){margin-bottom:20px}.uagb-timeline__center-block .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__right-block .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:inherit}.uagb-timeline__center-block .uagb-timeline__date-new{display:block}.uagb-timeline__right-block .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{top:0;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__right-block .uagb-timeline__marker,.uagb-timeline__right-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__right-block .uagb-timeline__day-new{margin-right:14px}.uagb-timeline__right-block .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__right-block .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__left-block .uagb-timeline__marker,.uagb-timeline__left-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__left-block .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__left-block .uagb-timeline__day-new{margin-left:14px}.uagb-timeline__left-block .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__left-block .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{top:0;width:10px;height:40px;position:absolute}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__marker{background-color:#eeeeee;border-radius:999px;position:relative;-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:1;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__main .uagb-timeline__days .uagb-timeline__field-wrap:hover .uagb-timeline__marker{-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__center-block .uagb-timeline__marker{-ms-flex-order:1;order:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block .uagb-timeline__day-new,.uagb-timeline__center-block .uagb-timeline__date-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:50%;flex-basis:50%;max-width:100%;position:relative}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:2;order:2;padding-left:0;padding-right:12px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:2;order:2;padding-right:0;padding-left:12px}.uagb-timeline__events-inner-new{padding:40px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__date-new{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__date-new{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__right-block .uagb-timeline__date-new{margin-left:10px}.uagb-timeline__right-block .uagb-timeline__date-new{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow{right:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow{left:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__arrow-center .uagb-timeline__widget{-ms-flex-align:center;align-items:center}.uagb-timeline__arrow-bottom .uagb-timeline__widget{-ms-flex-align:end;align-items:flex-end}.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__arrow-bottom .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-bottom .uagb-timeline__right .uagb-timeline__arrow{top:100%;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.uagb-timeline__day-right .uagb-timeline__events-inner{text-align:right}.uagb-timeline__day-left .uagb-timeline__events-inner{text-align:left}.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new,.uagb-timeline__arrow-bottom .uagb-timeline__date-new .uagb-timeline__date-new{padding-top:8px;padding-bottom:8px}.uagb-timeline__events-inner-new,.uagb-timeline__arrow{-webkit-transition:background .2s ease-in-out;-o-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.uagb-timeline__arrow:after{-webkit-transition:border-color .2s ease-in-out;-o-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out}.uagb-timeline__date-new{-webkit-transition:color .2s ease-in-out;-o-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__main .uagb-timeline__year{-js-display:flex;display:-ms-flexbox;display:flex;position:relative}.uagb-timeline__main .uagb-timeline__year span{display:inline-block;padding-bottom:6px}.uagb-timeline__day-left .uagb-timeline__arrow:after{content:'';left:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow:after{right:0}.uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__icon{width:100px;height:100px;border-radius:50%;text-align:center;line-height:100px;vertical-align:middle;position:relative;z-index:1}.uagb-timeline__main .uagb-timeline__date .uagb-timeline__inner-date-new{white-space:nowrap;margin:0px}.uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-timeline__right-block .uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block .uagb-timeline__line{left:50%;right:auto}.uagb-timeline__main .in-view i.uagb-timeline__in-view-icon{-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-in-out;-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;-o-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out}.uagb-timeline__left-block .uagb-timeline__days{text-align:left}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block .uagb-timeline__days{text-align:center}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__days{text-align:right}.uagb-timeline__outer-wrap span.dashicons-admin-users.dashicons{display:inline;vertical-align:baseline;margin-right:4px}@media screen and (max-width: 1023px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}@media screen and (max-width: 767px){.uagb-timeline-responsive-none .uagb-timeline__events-inner-new{padding:15px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__day-left .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}.uagb-timeline__line__inner{background-color:#61ce70;width:100%}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.rtl .uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__day-right .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__day-left .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__line{width:3px}.uagb-timeline__main .uagb-timeline__icon-new{font-size:16px}.uagb-timeline__marker{min-height:3em;min-width:3em;line-height:3em}.uagb-timeline__arrow{height:3em}.uagb-timeline__left-block .uagb-timeline__line{left:calc(3em / 2)}.uagb-timeline__right-block .uagb-timeline__line{right:calc(3em / 2)}.rtl .uagb-timeline__left-block .uagb-timeline__line{right:calc(3em / 2);left:auto}.rtl .uagb-timeline__right-block .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline-desc-content p{font-size:inherit}.uagb-timeline__main p:empty{display:none}@media (max-width: 976px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}}@media (max-width: 767px){.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:calc(3em / 2);left:auto}}
13
- .uagb-cta__outer-wrap{position:relative}.uagb-cta__outer-wrap .uagb-cta__content{display:inline-block}.uagb-cta__outer-wrap a.uagb-cta__block-link span{font-size:inherit;vertical-align:middle;display:inline-block;float:left}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__link-wrapper{width:30%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__content{width:70%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:right}.uagb-cta__outer-wrap .uagb-cta__link-wrapper.uagb-cta__block-link-style:empty{display:none}.uagb-cta__outer-wrap a.uagb-cta__block-link,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap{text-decoration:none}.uagb-cta__outer-wrap a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap:hover .entry .entry-content a.uagb-cta__block-link:hover{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content-right{text-align:right;-ms-flex-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{width:100%;word-break:break-word}.uagb-cta__outer-wrap .uagb-cta__icon-position-below-title .uagb-cta__left-right-wrap{display:block;min-width:100%;width:100%}.uagb-cta__outer-wrap .uagb-cta__icon-position-left .uagb-cta__left-right-wrap,.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{-ms-flex-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-after{margin-left:5px;margin-right:0}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-before{margin-left:0;margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link-icon,.uagb-cta__outer-wrap .uagb-cta__block svg{-webkit-transition:all 200ms linear;-o-transition:all 200ms linear;transition:all 200ms linear}.uagb-cta__outer-wrap .uagb-cta__block{position:relative}.uagb-cta__outer-wrap .uagb-cta-typeof-button{display:inline-block;line-height:1;background-color:transparent;color:#333;text-align:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link,.uagb-cta__outer-wrap .uagb-cta__content-right.uagb-cta__button-valign-middle .uagb-cta__left-right-wrap{display:-ms-flexbox;-js-display:flex;display:flex;-ms-flex-align:center;align-items:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{-ms-flex-pack:center;justify-content:center}.uagb-cta__outer-wrap .uagb-cta__link-wrapper a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-cta__outer-wrap .uagb-cta__title-wrap .uagb-cta__title{padding:0;margin:0;display:block}.uagb-cta__outer-wrap .uagb-cta__block,.uagb-cta__outer-wrap .uagb-cta__content{z-index:1}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{z-index:1}.uagb-cta__outer-wrap .uagb-cta__block-link{cursor:pointer}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{display:inline-block;float:right;padding:10px 14px}.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content p:empty{display:none}.uagb-cta__outer-wrap .uagb-cta__button-type-none .uagb-cta__content{width:100%}.uagb-cta__outer-wrap .uagb-cta-with-svg{height:14px;width:14px;line-height:14px;display:inline-block;vertical-align:middle}.uagb-cta__outer-wrap .uagb-cta__block svg{display:block;height:inherit;width:inherit}.uagb-cta__outer-wrap .uagb-cta__align-button-after{margin-left:5px}.uagb-cta__outer-wrap .uagb-cta__align-button-before{margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link i{font-style:normal}.uagb-cta__outer-wrap a.uagb-cta__link-to-all{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}@media only screen and (max-width: 976px){.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap{-ms-flex-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}@media screen and (max-width: 767px){.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap{-ms-flex-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}
14
- .uagb-column__wrap{position:relative;overflow:hidden}.uagb-column__wrap .uagb-column__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2;width:100%}.uagb-column__wrap.uagb-column__align-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__wrap.uagb-column__align-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}.uagb-column__wrap .uagb-column__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-column__wrap .uagb-column__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-column__wrap .uagb-column__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.wp-block-uagb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="uagb/column"]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;-ms-flex-preferred-size:100%;flex-basis:100%}@media (max-width: 976px){.uagb-column__align-tablet-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-tablet-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 767px){.uagb-column__align-mobile-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-mobile-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 449px){.uagb-columns__wrap.uagb-columns__background-image{background-attachment:scroll !important}}
15
- .uagb-columns__wrap{position:relative}.uagb-columns__wrap .uagb-columns__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-columns__wrap .uagb-columns__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-columns__wrap .uagb-columns__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-columns__wrap .uagb-columns__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.uagb-columns__wrap .uagb-column__wrap{display:-ms-flexbox;display:flex}.uagb-columns__wrap .uagb-columns__shape{overflow:hidden;position:absolute;left:0;width:100%;line-height:0;direction:ltr;z-index:1}.uagb-columns__wrap .uagb-columns__shape-top{top:-3px}.uagb-columns__wrap .uagb-columns__shape-bottom{bottom:-3px}.uagb-columns__wrap .uagb-columns__shape[data-negative="false"].uagb-columns__shape-bottom{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape[data-negative="true"].uagb-columns__shape-top{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-flip svg{-webkit-transform:translateX(-50%) rotateY(180deg);transform:translateX(-50%) rotateY(180deg)}.uagb-columns__wrap .uagb-columns__shape svg{display:block;width:calc(100% + 1.3px);position:relative;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-columns__wrap .uagb-columns__shape .uagb-columns__shape-fill{fill:#333;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-above-content{z-index:9;pointer-events:none}.uagb-columns__valign-middle .uagb-column__wrap{-ms-flex-align:center;align-items:center}.uagb-columns__valign-top .uagb-column__wrap{-ms-flex-align:flex-start;align-items:flex-start}.uagb-columns__valign-bottom .uagb-column__wrap{-ms-flex-align:flex-end;align-items:flex-end}.uagb-columns__inner-wrap{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.uagb-columns__columns-1>.uagb-column__wrap{width:100%}.uagb-columns__columns-2>.uagb-column__wrap{width:50%}.uagb-columns__columns-3>.uagb-column__wrap{width:33.33%}.uagb-columns__columns-4>.uagb-column__wrap{width:25%}.uagb-columns__columns-5>.uagb-column__wrap{width:20%}.uagb-columns__columns-6>.uagb-column__wrap{width:16.66%}.uagb-columns__gap-nogap>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:0}.uagb-columns__gap-default>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:10px}.uagb-columns__gap-narrow>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:5px}.uagb-columns__gap-extended>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:15px}.uagb-columns__gap-wide>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:20px}.uagb-columns__gap-wider>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:30px}@media (max-width: 976px){.uagb-columns__stack-tablet .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-tablet .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-tablet .uagb-columns__inner-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (max-width: 767px){.uagb-columns__stack-mobile .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-mobile .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-mobile .uagb-columns__inner-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (max-width: 449px){.uagb-columns__wrap .uagb-column__wrap.uagb-column__background-image{background-attachment:scroll !important}}
16
- .wp-block-uagb-cf7-styler .wpcf7 *,.wp-block-uagb-cf7-styler .wpcf7 :after,.wp-block-uagb-cf7-styler .wpcf7 :before{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::before,.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::after{content:" "}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center;height:15px;width:15px;border-style:solid;border-color:#eaeaea;border-width:1px 1px 1px 1px}.wp-block-uagb-cf7-styler span.wpcf7-list-item{display:inline-block;margin:0 1em 0 0}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before{content:"\2714";line-height:1.2}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{-webkit-box-sizing:content-box;box-sizing:content-box}.wp-block-uagb-cf7-styler input[type=checkbox]:checked+span:before{font-size:calc(12px / 1.2)}.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{border-radius:100%}.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-box .wpcf7-radio input[type="radio"]:checked+span:before,.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-underline .wpcf7-radio input[type="radio"]:checked+span:before{background-color:#545454;-webkit-box-shadow:inset 0px 0px 0px 4px #fafafa;box-shadow:inset 0px 0px 0px 4px #fafafa}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{display:-ms-flexbox;-js-display:flex;display:flex;width:auto;line-height:1em;background:transparent;border-color:#333;border-width:1px;padding:10px 25px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit{margin-left:auto;margin-right:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:auto}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit{-ms-flex-pack:center;justify-content:center;width:100%}.wp-block-uagb-cf7-styler .wpcf7 input[type=checkbox],.wp-block-uagb-cf7-styler .wpcf7 input[type=radio]{display:none}.wp-block-uagb-cf7-styler .wpcf7 select{height:auto;padding:10px;-webkit-appearance:menulist-button;-moz-appearance:menulist-button;-webkit-appearance:menulist-button}.wp-block-uagb-cf7-styler select.wpcf7-form-control.wpcf7-select[multiple="multiple"]{padding:0}.wp-block-uagb-cf7-styler .wpcf7 select option{padding:10px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__highlight-style-bottom_right span.wpcf7-not-valid-tip{display:inline-block;right:0;top:100%;padding:.1em .8em;border-radius:2px;color:#ffffff;background-color:rgba(255,0,0,0.6);padding:5px 10px;font-size:15px;float:right;margin-top:5px}.wp-block-uagb-cf7-styler .wpcf7 input[type="number"]{height:auto}.wp-block-uagb-cf7-styler .wpcf7 input.wpcf7-date{-webkit-appearance:none}@media (min-width: 769px){.wp-block-uagb-cf7-styler .uagb-cf7_styler-col{-js-display:flex;display:-ms-flexbox;display:flex}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col label,.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:100%;flex-basis:100%}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col br{display:none}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-1{padding-left:0;padding-right:15px}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-3{padding-left:15px;padding-right:0}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col span.wpcf7-form-control-wrap{height:100%}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col select{height:100%}}
17
- .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-multi .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0;height:auto;border:1px solid #AAA;border-radius:0;background:#FFF;-webkit-box-shadow:none;box-shadow:none;color:#444;text-decoration:none;white-space:nowrap}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single span{line-height:1}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single{background:#FFF}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=submit]{display:inline-block}.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title,.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper .gf_progressbar_title{opacity:1}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom{position:relative}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom:after{content:"\f078";font-family:'FontAwesome' !important;font-size:0.7em;line-height:1;position:absolute;top:45%;-webkit-transform:translateY(-45%);-ms-transform:translateY(-45%);transform:translateY(-45%);right:0.5em;pointer-events:none;z-index:5}.uagb-gf-styler__check-style-enabled span.name_prefix_select .uag-gf-select-custom{display:inline;vertical-align:middle}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked+label:before{-webkit-box-shadow:inset 0px 0px 0px 4px #fafafa;box-shadow:inset 0px 0px 0px 4px #fafafa}.uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-weight:700}.uagb-gf-styler__check-style-enabled select,.uagb-gf-styler__check-style-enabled .chosen-single{-webkit-appearance:none;-moz-appearance:none;appearance:none}.uagb-gf-styler__check-style-enabled .gform_wrapper div.validation_error{border-top:none;border-bottom:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield_radio li label{margin:0 0 0 0}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_body{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]+label:before{-webkit-box-sizing:content-box !important;box-sizing:content-box !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gsection{margin-right:0}.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=button]{font-size:13px;padding:10px 20px;border-radius:2px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:13px;padding:8px 10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:13px;padding:6px 10px}.ginput_container select{height:100%;line-height:inherit}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:13px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:10px;width:10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 10px / 1.2)}.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=button]{font-size:15px;padding:12px 24px;border-radius:3px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:15px;padding:12px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:15px;padding:10px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:15px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:12px;width:12px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 12px / 1.2)}.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=button]{font-size:16px;padding:15px 30px;border-radius:4px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:16px;padding:15px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:16px;padding:13px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:16px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:15px;width:15px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 15px / 1.2)}.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=button]{font-size:18px;padding:20px 40px;border-radius:5px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:18px;padding:20px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:18px;padding:18px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:18px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:20px;width:20px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 20px / 1.2)}.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=button]{font-size:20px;padding:25px 50px;border-radius:6px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:20px;padding:25px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:20px;padding:23px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:20px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:25px;width:25px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-size:calc( 25px / 1.2)}.uagb-gf-styler__btn-align-right .gform_next_button,.uagb-gf-styler__btn-align-right .gform_previous_button{margin-right:5px !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_footer:not(.top_label){padding:0 0 0 0;margin-right:0;margin-left:0;width:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.left_label,.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.right_label{padding:0 0 0 0}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before{border-radius:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .top_label .gfield_error{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half){max-width:100% !important}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{display:-ms-flexbox;-js-display:flex;display:flex;width:auto}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto}.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto}.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0}.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{-ms-flex-pack:center;justify-content:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']{display:none}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']+label:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']:checked+label:before{content:"\2714";line-height:1.2}.uagb-gf-styler__check-style-enabled .gform_wrapper ul.gform_fields li.gfield:not(.gf_left_half):not(.gf_left_third):not(.gf_middle_third){padding-right:0}.uagb-gf-styler__btn-align-width-full_width .gform_footer input[type=submit]{display:block;text-align:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body ul{margin-left:0;list-style:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container select,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-single,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"],.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input.default{height:auto}.elementor-widget-uag-gf-styler .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"]{padding:0px 0px 0px 0px}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button]{margin-bottom:20px}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single div{display:none}.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_label,.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_required{display:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single span{margin-bottom:0;width:100%}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single{border:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single.chosen-container-active .chosen-single{border:none}@media only screen and (max-width: 976px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-tablet-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type="button"],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-tablet-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-tablet-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-tablet-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-ms-flex-pack:center;justify-content:center;width:100%}}@media only screen and (max-width: 767px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-mobile-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-mobile-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-mobile-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-mobile-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-ms-flex-pack:center;justify-content:center;width:100%}}
18
- .wp-block-uagb-blockquote{padding:0;margin:0 auto}.wp-block-uagb-blockquote .uagb-blockquote__content,.wp-block-uagb-blockquote cite.uagb-blockquote__author{font-style:normal;display:block}.wp-block-uagb-blockquote cite.uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation blockquote.uagb-blockquote{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;quotes:none;border-left:0 none;border-right:0 none;border-top:0 none;border-bottom:0 none;font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap{position:relative;display:inline-block;padding:0px;z-index:1;background:#333;padding:10px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon{height:25px;width:25px;display:inline-block;float:left}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg{height:inherit;width:inherit;display:inherit}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation.uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left}.wp-block-uagb-blockquote blockquote.uagb-blockquote{margin:0;padding:0}.wp-block-uagb-blockquote .uagb-blockquote__wrap,.wp-block-uagb-blockquote .uagb-blockquote__wrap *{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-blockquote .uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left;text-align:left}.wp-block-uagb-blockquote .uagb-blockquote__separator-parent{display:-ms-flexbox;-js-display:flex;display:flex;-ms-flex-pack:start;justify-content:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote footer{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.wp-block-uagb-blockquote .uagb-blockquote a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.wp-block-uagb-blockquote .uagb-blockquote a.uagb-blockquote__tweet-button{display:-ms-flexbox;display:flex;-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s;-ms-flex-item-align:end;align-self:flex-end;line-height:1;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0;color:#1DA1F2;background-color:transparent;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{height:15px;width:15px;margin-right:5px;fill:#fff;vertical-align:middle;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button svg{margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text svg{margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button{padding:8px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-text a.uagb-blockquote__tweet-button{padding:10px 14px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button{padding:10px 0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button{background-color:#1DA1F2;border-radius:100em;color:#fff}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{content:'';border:solid 0.5em transparent;border-right-color:#1DA1F2;position:absolute;left:-0.8em;top:50%;-webkit-transform:translateY(-50%) scale(1, 0.65);-ms-transform:translateY(-50%) scale(1, 0.65);transform:translateY(-50%) scale(1, 0.65);-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:auto;right:-0.8em;-webkit-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);-ms-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);transform:translateY(-50%) scale(1, 0.65) rotate(180deg)}.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-center .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote footer{display:block;text-align:center}.wp-block-uagb-blockquote .uagb-blockquote__align-center a.uagb-blockquote__tweet-button{display:block;text-align:center;margin:0 auto;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-right .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote footer{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__author-image{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-image img{width:50px;height:50px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-end;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;-moz-box-pack:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-start;-webkit-box-pack:flex-start;-ms-flex-pack:flex-start;-webkit-justify-content:flex-start;-moz-box-pack:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:unset;-webkit-box-pack:unset;-ms-flex-pack:unset;-webkit-justify-content:unset;-moz-box-pack:unset}.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .editor-rich-text{width:inherit}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:auto}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap .editor-rich-text{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{text-align:right}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img{margin-left:10px;margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{-ms-flex-direction:column;flex-direction:column}@media only screen and (max-width: 976px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__with-tweet .uagb-blockquote footer{-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}@media screen and (max-width: 767px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__with-tweet .uagb-blockquote footer{-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}
19
- .wp-block-uagb-marketing-button .uagb-marketing-btn__wrap>p,.wp-block-uagb-marketing-button p:empty{display:none}.wp-block-uagb-marketing-button h6.uagb-marketing-btn__title,.wp-block-uagb-marketing-button p.uagb-marketing-btn__prefix{margin:0}.wp-block-uagb-marketing-button .uagb-marketing-btn__wrap{display:-ms-flexbox;display:flex}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{display:inline-block;position:relative;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap{width:20px;height:20px;display:-ms-flexbox;display:flex;z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap svg{width:inherit;height:inherit}.wp-block-uagb-marketing-button .uagb-marketing-btn__title-wrap{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-center .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap{-ms-flex-pack:center;justify-content:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-left .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__title-wrap{-ms-flex-pack:start;justify-content:flex-start}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-right .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__title-wrap{-ms-flex-pack:end;justify-content:flex-end}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-full .uagb-marketing-btn__link{width:100%}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__prefix-wrap{text-align:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__prefix-wrap{text-align:left}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__prefix-wrap{text-align:right}.wp-block-uagb-marketing-button.uagb-marketing-btn__icon-after .uagb-marketing-btn__title-wrap{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.entry-content .wp-block-uagb-marketing-button .uagb-marketing-btn__link{text-decoration:none}
20
- .wp-block-uagb-table-of-contents .uagb-toc__wrap{display:inline-block}.wp-block-uagb-table-of-contents ul.uagb-toc__list:first-child{margin:0}.wp-block-uagb-table-of-contents ul.uagb-toc__list{margin-left:1em;margin-bottom:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul{padding:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul li a{color:inherit;line-height:inherit;font-size:inherit}.wp-block-uagb-table-of-contents.uagb-toc__align-left{text-align:left}.wp-block-uagb-table-of-contents.uagb-toc__align-center{text-align:center}.wp-block-uagb-table-of-contents.uagb-toc__align-right{text-align:right}.wp-block-uagb-table-of-contents ul li:empty{display:none}.wp-block-uagb-table-of-contents .uagb-toc__title-wrap{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap svg{width:20px;height:20px}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap{margin-left:10px;display:-ms-flexbox;display:flex;cursor:pointer}.wp-block-uagb-table-of-contents.uagb-toc__collapse .uagb-toc__list-wrap{display:none}.uagb-toc__list .uagb-toc__list{list-style-type:circle}.uagb-toc__scroll-top{display:none;position:fixed;bottom:50px;right:50px;padding:10px;background:#ccd0d4;cursor:pointer}.uagb-toc__scroll-top.uagb-toc__show-scroll{display:inline-table}
1
+ .wp-block-uagb-advanced-heading{padding:0;margin:0 auto}.wp-block-uagb-advanced-heading .uagb-heading-text{margin:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator-wrap{font-size:0;text-align:center}.wp-block-uagb-advanced-heading .uagb-separator{border-top-style:solid;display:inline-block;border-top-width:2px;width:5%;margin:0px 0px 10px 0px}.wp-block-uagb-advanced-heading .uagb-desc-text{margin:0;text-align:center}
2
+ .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:100%}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;-webkit-box-sizing:border-box;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:.3s ease;-o-transition:.3s ease;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment{display:inline-block}.uagb-post-grid .uagb-post__author a{-webkit-box-shadow:none;box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;-webkit-box-shadow:0 -1px 0 inset;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:.3s ease;-o-transition:.3s ease;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{-webkit-box-sizing:border-box;box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}
3
+ .uagb-section__wrap{position:relative}.uagb-section__wrap .uagb-section__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-section__wrap .uagb-section__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-section__wrap .uagb-section__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-section__wrap .uagb-section__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}@media only screen and (max-width: 449px){.uagb-section__wrap.uagb-section__background-image{background-attachment:scroll !important}}
4
+ .uagb-buttons__outer-wrap .uagb-buttons__wrap{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.uagb-buttons__outer-wrap .uagb-button__active,.uagb-buttons__outer-wrap .uagb-button__active:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}.uagb-buttons__outer-wrap a.uagb-button__link:focus,.uagb-buttons__outer-wrap .uagb-button__link:focus{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-buttons__outer-wrap .uagb-button__wrapper{padding:0;border:1px solid #333;border-radius:2px;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:-ms-inline-flexbox;display:inline-flex}.uagb-buttons__outer-wrap .uagb-button__wrapper:first-child{margin-left:0}.uagb-buttons__outer-wrap .uagb-button__wrapper:last-child{margin-right:0}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link{padding:10px 14px;width:100%;color:#333;text-decoration:none;font-family:inherit;line-height:inherit;font-weight:inherit}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover .uagb-button__link{text-decoration:none}
5
+ .uagb-ifb-icon-wrap,.uagb-ifb-icon-wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-ifb-icon-wrap .uagb-ifb-icon,.uagb-ifb-content{display:inline-block}.uagb-ifb-icon svg{width:inherit;height:inherit;vertical-align:middle}.infobox-icon-above-title .uagb-ifb-left-right-wrap{text-align:center}a.uagb-infobox-cta-link span{font-size:inherit}.uagb-ifb-cta.uagb-infobox-cta-link-style:empty{display:none}a.uagb-infobox-cta-link,.entry .entry-content a.uagb-infobox-cta-link,a.uagb-infobox-link-wrap,.entry .entry-content a.uagb-infobox-link-wrap{text-decoration:none}a.uagb-infobox-cta-link:hover,.entry .entry-content a.uagb-infobox-cta-link:hover,a.uagb-infobox-link-wrap:hover,.entry .entry-content a.uagb-infobox-link-wrap:hover .entry .entry-content a.uagb-infobox-cta-link:hover{color:inherit}.uagb-infobox-icon-left-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-icon-right-title.uagb-infobox-image-valign-middle .uagb-ifb-title-wrap,.uagb-infobox-image-valign-middle .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-image-valign-middle .uagb-ifb-content,.uagb-infobox-icon-right.uagb-infobox-image-valign-middle .uagb-ifb-content{-ms-flex-item-align:center;align-self:center}.uagb-infobox-left{text-align:left;-ms-flex-pack:start;justify-content:flex-start}.uagb-infobox-center{text-align:center;-ms-flex-pack:center;justify-content:center}.uagb-infobox-right{text-align:right;-ms-flex-pack:end;justify-content:flex-end}.uagb-ifb-left-right-wrap{width:100%;word-break:break-word}.uagb-infobox-icon-above-title .uagb-ifb-left-right-wrap,.uagb-infobox-icon-below-title .uagb-ifb-left-right-wrap{display:block;min-width:100%;width:100%}.uagb-infobox-icon-left-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-left .uagb-ifb-icon-wrap{margin-right:10px}.uagb-infobox-icon-right-title .uagb-ifb-icon-wrap,.uagb-infobox-icon-right .uagb-ifb-icon-wrap{margin-left:10px}.uagb-infobox-icon-left .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-left-title .uagb-ifb-left-title-image,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-infobox-icon-right .uagb-ifb-left-right-wrap,.uagb-infobox-icon-right-title .uagb-ifb-right-title-image{-ms-flex-pack:end;justify-content:flex-end}.uagb-ifb-icon-wrap .uagb-ifb-icon span{font-style:initial;height:auto;width:auto}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content{display:inline-block;line-height:0;position:relative;max-width:100%}.uagb-ifb-imgicon-wrap .uagb-ifb-image-content img{display:inline;height:auto !important;max-width:100%;width:auto;-webkit-box-sizing:content-box;box-sizing:content-box;border-radius:inherit}.uagb-ifb-imgicon-wrap .uagb-image-crop-circle img{border-radius:100%}.uagb-ifb-imgicon-wrap .uagb-image-crop-square img{border-radius:0}.uagb-infobox-module-link{position:absolute;width:100%;height:100%;left:0;top:0;bottom:0;right:0;z-index:4}.uagb-edit-mode .uagb-infobox-module-link{z-index:2}.uagb-infobox-link-icon-after{margin-left:5px;margin-right:0}.uagb-infobox-link-icon-before{margin-left:0;margin-right:5px}.uagb-infobox-link-icon{-webkit-transition:all 200ms linear;-o-transition:all 200ms linear;transition:all 200ms linear}.uagb-infobox{position:relative}.uagb-ifb-separator{width:30%;border-top-width:2px;border-top-color:#333;border-top-style:solid;display:inline-block;margin:0}.uagb-ifb-separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px}.uagb-ifb-cta-button{display:inline-block;line-height:1;background-color:#818a91;color:#fff;text-align:center}.uagb-ifb-cta a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-ifb-title-wrap{width:100%}.uagb-ifb-title-wrap .uagb-ifb-title,.uagb-ifb-title-wrap .uagb-ifb-title-prefix{padding:0;margin:0;display:block}.uagb-infobox__content-wrap.uagb-infobox{position:relative}.uagb-ifb-icon span{font-size:40px;height:40px;color:#333;width:40px}.uagb-ifb-icon svg{fill:#333}.uagb-ifb-content{width:100%}.uagb-infobox__content-wrap.uagb-infobox,.uagb-ifb-content,.uagb-ifb-title-wrap,.uagb-ifb-title-prefix *,svg.dashicon.dashicons-upload{z-index:1}.uagb-ifb-left-right-wrap,button.components-button{z-index:1}.uagb-infobox-cta-link{cursor:pointer}a.uagb-infobox-link-wrap{color:inherit}.uagb-ifb-content p:empty{display:none}.uagb-infobox .uagb-ifb-icon,.uagb-infobox .uagb-ifb-image-content img{display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-ifb-align-icon-after{margin-left:5px}.uagb-ifb-align-icon-before{margin-right:5px}span.uagb-ifb-button-icon.uagb-ifb-align-icon-after{float:right}.uagb-ifb-button-icon{height:15px;width:15px;font-size:15px;vertical-align:middle}.uagb-ifb-text-icon{height:15px;width:15px;font-size:15px;line-height:15px;vertical-align:middle;display:inline-block}.uagb-ifb-button-icon svg,.uagb-ifb-text-icon svg{height:inherit;width:inherit;display:inline-block}.block-editor-page #wpwrap .uagb-infobox-cta-link svg,.uagb-infobox-cta-link svg{font-style:normal}.uagb-infobox__outer-wrap{position:relative}a.uagb-infbox__link-to-all{height:100%;width:100%;top:0;left:0;position:absolute;z-index:999;-webkit-box-shadow:none;box-shadow:none;text-decoration:none}@media only screen and (max-width: 976px){.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-tablet.uagb-reverse-order-tablet .uagb-ifb-left-right-wrap{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-tablet .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-tablet .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}@media screen and (max-width: 767px){.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{padding:0;margin-bottom:20px}.uagb-infobox-stacked-mobile.uagb-reverse-order-mobile .uagb-ifb-left-right-wrap{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-content,.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{display:block;width:100%;text-align:center}.uagb-infobox.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap .uagb-ifb-imgicon-wrap{margin-left:0px;margin-right:0px}.uagb-infobox-stacked-mobile .uagb-ifb-left-right-wrap{display:inline-block}.uagb-infobox-icon-left-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-left.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-right:0px}.uagb-infobox-icon-right-title.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap,.uagb-infobox-icon-right.uagb-infobox-stacked-mobile .uagb-ifb-imgicon-wrap{margin-left:0px}.uagb-infobox-icon-left-title .uagb-ifb-separator-parent{margin:10px 0}}
6
+ .uagb-testimonial__wrap{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}.uagb-testimonial__wrap,.uagb-testimonial__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-icon-wrap .uagb-icon{display:inline-block}.uagb-tm__image{position:relative}.uagb-tm__imgicon-style-circle .uagb-tm__image img{border-radius:100%;-webkit-border-radius:100%}.uagb-tm__imgicon-style-square .uagb-tm__image img{border-radius:0%;-webkit-border-radius:0%}.uagb-tm__image img,.slick-slide .uagb-tm__image img{display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-tm__author-name,.uagb-tm__company{display:inline-block}.uagb-tm__content{overflow:hidden;text-align:center;word-break:break-word;padding:15px;border-radius:inherit;position:relative}.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm__image-position-right .uagb-tm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-tm__meta-inner{display:inline-block}.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm__image-position-bottom .uagb-testimonial-details{display:table-cell;vertical-align:middle}.uagb-tm__meta{width:100%;line-height:1}.uagb-tm__image-position-bottom .uagb-tm__image-content{padding-right:10px}.uagb-tm__author-name,.uagb-tm__company{display:block}.uagb-tm__image-aligned-middle .uagb-tm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-tm__desc{margin-bottom:15px}.uagb-tm__author-name{margin-bottom:5px;font-size:30px;line-height:1em}.uagb-tm__company{font-size:15px;font-style:italic;line-height:1em;color:#888888}.is-carousel .uagb-testomonial__outer-wrap{padding-left:10px;padding-right:10px}.uagb-tm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm__text-wrap{position:relative}.uagb-tm__items{visibility:hidden}.uagb-tm__items.slick-initialized{visibility:visible}.uagb-tm__image-position-top .uagb-tm__image-content{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media (max-width: 976px){.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-tablet .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-tablet .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-tablet .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-tablet.uagb-tm-reverse-order-tablet .uagb-tm__content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-tablet .uagb-tm__image-content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-item-align:center;align-self:center}}@media (max-width: 768px){.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-tm__image-content,.uagb-tm__image-position-bottom.uagb-tm-stacked-mobile .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm__image-position-left.uagb-tm-stacked-mobile .uagb-tm__content,.uagb-tm__image-position-right.uagb-tm-stacked-mobile .uagb-tm__content{display:block;-js-display:block;display:block}.uagb-tm__image-position-right.uagb-tm-stacked-mobile.uagb-tm-reverse-order-mobile .uagb-tm__content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-tm__image-aligned-top.uagb-tm-stacked-mobile .uagb-tm__image-content{display:-ms-inline-flexbox;-js-display:inline-flex;display:inline-flex;-ms-flex-item-align:center;align-self:center}}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:-45px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:-45px;right:auto}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:auto;right:25px}.uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{right:25px}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{left:25px;right:auto}@media (max-width: 976px){.uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:auto;right:15px}.uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{right:15px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:15px;right:auto}}
7
+ .uagb-team__outer-wrap .uagb-team__prefix{font-size:15px;font-style:italic;color:#888}.uagb-team__outer-wrap .uagb-team__image-wrap img{display:inline;height:auto !important;max-width:100%;width:inherit;-webkit-box-sizing:content-box;box-sizing:content-box;border-radius:inherit}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-circle img{border-radius:100%}.uagb-team__outer-wrap .uagb-team__image-wrap.uagb-team__image-crop-square img{border-radius:0}.uagb-team__outer-wrap .uagb-team__social-icon-wrap ul{list-style:none;display:-ms-flexbox;display:flex}.uagb-team__outer-wrap .uagb-team__social-icon a span,.uagb-team__outer-wrap .uagb-team__social-icon a span:before{color:inherit;font-size:inherit;height:inherit;width:inherit}.uagb-team__outer-wrap .uagb-team__social-icon a{font-size:20px;width:20px;height:20px;color:#333;display:block}.uagb-team__outer-wrap .uagb-team__social-icon{margin-right:20px;margin-left:0}.uagb-team__outer-wrap .uagb-team__social-list{margin:0;padding:0}.uagb-team__image-position-above.uagb-team__align-center{text-align:center}.uagb-team__image-position-above.uagb-team__align-left{text-align:left}.uagb-team__image-position-above.uagb-team__align-right{text-align:right}.uagb-team__image-position-left .uagb-team__wrap,.uagb-team__image-position-right .uagb-team__wrap{-js-display:flex;display:-ms-flexbox;display:flex}.uagb-team__image-position-left .uagb-team__content{text-align:left}.uagb-team__image-position-right .uagb-team__content{text-align:right}.uagb-team__image-position-left .uagb-team__social-icon-wrap ul{-ms-flex-pack:start;justify-content:flex-start;margin:0;padding:0}.uagb-team__image-position-right .uagb-team__social-icon-wrap ul{-ms-flex-pack:end;justify-content:flex-end;margin:0;padding:0}.uagb-team__image-position-left li{margin-right:5px}.uagb-team__image-position-right li{margin-left:5px}.uagb-team__image-position-above .uagb-team__social-icon-wrap{display:inline-block}.uagb-team__image-position-above.uagb-team__align-center .uagb-team__content{text-align:center}.uagb-team__image-position-above.uagb-team__align-left .uagb-team__content{text-align:left}.uagb-team__image-position-above.uagb-team__align-right .uagb-team__content{text-align:right}@media only screen and (max-width: 976px){.uagb-team__stack-tablet,.uagb-team__stack-tablet .uagb-team__content{text-align:center}.uagb-team__stack-tablet .uagb-team__wrap{display:inline-block}.uagb-team__stack-tablet .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-tablet .uagb-team__social-icon-wrap ul{-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 767px){.uagb-team__stack-mobile,.uagb-team__stack-mobile .uagb-team__content{text-align:center}.uagb-team__stack-mobile .uagb-team__wrap{display:inline-block}.uagb-team__stack-mobile .uagb-team__image-wrap{margin-left:auto !important;margin-right:auto !important}.uagb-team__stack-mobile .uagb-team__social-icon-wrap ul{-ms-flex-pack:center;justify-content:center}}
8
+ .uagb-social-share__outer-wrap .uagb-social-share__wrap{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.uagb-social-share__outer-wrap a.uagb-button__link:focus{-webkit-box-shadow:none;box-shadow:none}.uagb-social-share__outer-wrap .uagb-ss__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:-ms-inline-flexbox;display:inline-flex;text-align:center}.uagb-social-share__outer-wrap .uagb-ss__source-wrap{display:inline-block}.uagb-social-share__outer-wrap .uagb-ss__link{color:#3a3a3a;display:inline-table;line-height:0;cursor:pointer}.uagb-social-share__outer-wrap .uagb-ss__source-icon{font-size:40px;width:40px;height:40px}.uagb-social-share__outer-wrap .uagb-ss__source-image{width:40px}.uagb-social-share__outer-wrap .uagb-ss__wrapper:first-child{margin-left:0}.uagb-social-share__outer-wrap .uagb-ss__wrapper:last-child{margin-right:0}
9
+ .uagb-google-map__wrap{display:-ms-flexbox;display:flex}.uagb-google-map__wrap .uagb-google-map__iframe{width:100%;-webkit-box-shadow:none;box-shadow:none;border:none;padding:0;margin:0}
10
+ .uagb-icon-list__outer-wrap .uagb-icon-list__wrap{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:flex-start;align-items:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start}.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:focus,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:active,.uagb-icon-list__outer-wrap.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper:visited{text-decoration:none}.uagb-icon-list__outer-wrap a.uagb-button__link:focus{-webkit-box-shadow:none;box-shadow:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper>p{display:none}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper{padding:0;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:-ms-inline-flexbox;display:inline-flex;text-align:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap,.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{width:inherit;display:inline-block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-wrap{display:inherit;-ms-flex-align:center;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap{color:#3a3a3a;-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon,.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon:before{font-size:40px;width:40px;height:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__source-icon svg{display:block}.uagb-icon-list__outer-wrap .uagb-icon-list__source-image{width:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:first-child{margin-left:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrapper:last-child{margin-right:0}.uagb-icon-list__outer-wrap .uagb-icon-list__wrap>p{display:none}.uagb-icon-list__outer-wrap a.uagb-icon-list__wrapper[href="javascript:void(0);"]{pointer-events:none;cursor:text}.wp-block-uagb-icon-list .uagb-icon-list__wrap a.uagb-icon-list__wrapper{text-decoration:none}.uagb-icon-list__wrap .uagb-icon-list__wrapper{-webkit-box-shadow:none;box-shadow:none}.uagb-icon-list__outer-wrap:not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap{margin-right:15px}.uagb-icon-list__outer-wrap.uagb-icon-list__icon-at-top .uagb-icon-list__source-wrap{-ms-flex-item-align:flex-start;align-self:flex-start;margin-top:5px}
11
+ .uagb-rest_menu__wrap{position:relative;padding-left:5px;padding-right:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.uagb-rest_menu__wrap,.uagb-rest_menu__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-rm__image img,.slick-slide .uagb-rm__image img{display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-rm__title,.uagb-rm__price{display:inline-block}.uagb-rm__desc{margin-bottom:15px;font-style:italic}.uagb-rm__content{overflow:hidden;text-align:left;word-break:break-word;padding:15px;border-radius:inherit;position:relative;padding:5px}.uagb-rm__image-position-left .uagb-rm__content,.uagb-rm__image-position-right .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-rm-details{display:table;width:100%}.uagb-rm__title-wrap,.uagb-rm__price-wrap{display:table-cell}.uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:85%}.uagb-rm__price-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:15%}.uagb-rm__title,.uagb-rm__price{display:block}.uagb-rm__align-center .uagb-rm-details,.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%}.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-rm__image{overflow:hidden}.uagb-rm__title{margin-bottom:5px;font-size:20px}.uagb-rm__price{font-style:italic;text-align:right}.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm-details,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%;text-align:center}.uagb-rm__align-center .uagb-rm__price{text-align:center}.uagb-rm__align-right .uagb-rm-details{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-rm__align-right .uagb-rm__price{text-align:left}.uagb-rm__align-left .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm-details{display:-ms-flexbox;display:flex;-ms-flex-direction:unset;flex-direction:unset;text-align:left}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__image-content{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm-details{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;text-align:right}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__image-content{text-align:right}.uagb-rest_menu__outer-wrap{position:relative}.uagb-rm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm-parent{padding:30px}.uagb-rm__text-wrap{position:relative;display:block;width:100%}.uagb-rest_menu__wrap{position:relative}.uagb-rest_menu__outer-wrap:after{content:"";display:block;clear:both}.uagb-rest_menu__wrap.uagb-rm__desk-column-3{display:block;width:33%;float:left;width:calc(100% / 3);padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-2{display:block;width:49%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-1{display:block;width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px;-js-display:flex;display:-moz-flexbox;display:-ms-flexbox;display:flex}.uagb-rm__separator{width:100%;border-top-width:1px;border-top-color:#b2b4b5;border-top-style:inherit}.uagb-rm__image-position-left .uagb-rm__image{margin-right:10px}.uagb-rm__image-position-right .uagb-rm__image{margin-left:10px}@media (max-width: 976px){.uagb-rm__image-position-left.uagb-rm-stacked-tablet .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-tablet .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm-reverse-order-tablet .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:-moz-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__tablet-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__tablet-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:end;align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:start;align-self:flex-start}}@media (max-width: 767px){.uagb-rm__image-position-left.uagb-rm-stacked-mobile .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-mobile .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm-reverse-order-mobile .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:-moz-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__mobile-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:end;align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:start;align-self:flex-start}}
12
+ .uagb-timeline__widget{position:relative;-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.uagb-timeline__widget a{text-decoration:none;color:inherit}.uagb-timeline__heading a{font-size:inherit;color:inherit;margin-bottom:inherit}.uagb-timeline__image a{display:block;position:relative;max-width:100%}.uagb-timeline__image img{display:inline-block;-webkit-box-sizing:content-box;-mz-box-sizing:content-box;box-sizing:content-box}.uagb-timeline__author{text-transform:uppercase}.uagb-timeline__main{position:relative}.uagb-content{word-break:break-word}a.uagb-timeline__link{padding:5px 10px;display:inline-block}h1.uagb-timeline__heading,h2.uagb-timeline__heading,h3.uagb-timeline__heading,h4.uagb-timeline__heading,h5.uagb-timeline__heading,h6.uagb-timeline__heading{margin-bottom:0px}.uagb-timeline__inner-date-new p{margin-bottom:0}.uagb-timeline__date-inner .uagb-timeline__inner-date-new p{margin-bottom:0px}.uagb-timeline__line{background-color:#eeeeee}.uagb-timeline__line__inner{background-color:#5cb85c;width:100%}.uagb-timeline__main .uagb-timeline__icon-new{line-height:1em;display:inline-block;vertical-align:middle;font-style:normal}.uagb-timeline__center-block .uagb-timeline__date-hide{display:none}.uagb-timeline__field:not(:last-child){margin-bottom:20px}.uagb-timeline__center-block .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__right-block .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:inherit}.uagb-timeline__center-block .uagb-timeline__date-new{display:block}.uagb-timeline__right-block .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{top:0;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__right-block .uagb-timeline__marker,.uagb-timeline__right-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__right-block .uagb-timeline__day-new{margin-right:14px}.uagb-timeline__right-block .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__right-block .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__left-block .uagb-timeline__marker,.uagb-timeline__left-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__left-block .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__left-block .uagb-timeline__day-new{margin-left:14px}.uagb-timeline__left-block .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__left-block .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{top:0;width:10px;height:40px;position:absolute}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__marker{background-color:#eeeeee;border-radius:999px;position:relative;-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:1;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__main .uagb-timeline__days .uagb-timeline__field-wrap:hover .uagb-timeline__marker{-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uagb-timeline__center-block .uagb-timeline__marker{-ms-flex-order:1;order:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block .uagb-timeline__day-new,.uagb-timeline__center-block .uagb-timeline__date-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:50%;flex-basis:50%;max-width:100%;position:relative}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:2;order:2;padding-left:0;padding-right:12px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:2;order:2;padding-right:0;padding-left:12px}.uagb-timeline__events-inner-new{padding:40px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__date-new{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__date-new{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__right-block .uagb-timeline__date-new{margin-left:10px}.uagb-timeline__right-block .uagb-timeline__date-new{-js-display:flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow{right:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow{left:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__arrow-center .uagb-timeline__widget{-ms-flex-align:center;align-items:center}.uagb-timeline__arrow-bottom .uagb-timeline__widget{-ms-flex-align:end;align-items:flex-end}.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__arrow-bottom .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-bottom .uagb-timeline__right .uagb-timeline__arrow{top:100%;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.uagb-timeline__day-right .uagb-timeline__events-inner{text-align:right}.uagb-timeline__day-left .uagb-timeline__events-inner{text-align:left}.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new,.uagb-timeline__arrow-bottom .uagb-timeline__date-new .uagb-timeline__date-new{padding-top:8px;padding-bottom:8px}.uagb-timeline__events-inner-new,.uagb-timeline__arrow{-webkit-transition:background .2s ease-in-out;-o-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.uagb-timeline__arrow:after{-webkit-transition:border-color .2s ease-in-out;-o-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out}.uagb-timeline__date-new{-webkit-transition:color .2s ease-in-out;-o-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__main .uagb-timeline__year{-js-display:flex;display:-ms-flexbox;display:flex;position:relative}.uagb-timeline__main .uagb-timeline__year span{display:inline-block;padding-bottom:6px}.uagb-timeline__day-left .uagb-timeline__arrow:after{content:'';left:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow:after{right:0}.uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__icon{width:100px;height:100px;border-radius:50%;text-align:center;line-height:100px;vertical-align:middle;position:relative;z-index:1}.uagb-timeline__main .uagb-timeline__date .uagb-timeline__inner-date-new{white-space:nowrap;margin:0px}.uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-timeline__right-block .uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block .uagb-timeline__line{left:50%;right:auto}.uagb-timeline__main .in-view i.uagb-timeline__in-view-icon{-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-in-out;-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;-o-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out}.uagb-timeline__left-block .uagb-timeline__days{text-align:left}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block .uagb-timeline__days{text-align:center}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__days{text-align:right}.uagb-timeline__outer-wrap span.dashicons-admin-users.dashicons{display:inline;vertical-align:baseline;margin-right:4px}@media screen and (max-width: 1023px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}@media screen and (max-width: 767px){.uagb-timeline-responsive-none .uagb-timeline__events-inner-new{padding:15px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__day-left .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}.uagb-timeline__line__inner{background-color:#61ce70;width:100%}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.rtl .uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__day-right .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__day-left .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__line{width:3px}.uagb-timeline__main .uagb-timeline__icon-new{font-size:16px}.uagb-timeline__marker{min-height:3em;min-width:3em;line-height:3em}.uagb-timeline__arrow{height:3em}.uagb-timeline__left-block .uagb-timeline__line{left:calc(3em / 2)}.uagb-timeline__right-block .uagb-timeline__line{right:calc(3em / 2)}.rtl .uagb-timeline__left-block .uagb-timeline__line{right:calc(3em / 2);left:auto}.rtl .uagb-timeline__right-block .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline-desc-content p{font-size:inherit}.uagb-timeline__main p:empty{display:none}@media (max-width: 976px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}}@media (max-width: 767px){.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:calc(3em / 2);left:auto}}
13
+ .uagb-cta__outer-wrap{position:relative}.uagb-cta__outer-wrap .uagb-cta__content{display:inline-block}.uagb-cta__outer-wrap a.uagb-cta__block-link span{font-size:inherit;vertical-align:middle;display:inline-block;float:left}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__link-wrapper{width:30%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__content{width:70%}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:right}.uagb-cta__outer-wrap .uagb-cta__link-wrapper.uagb-cta__block-link-style:empty{display:none}.uagb-cta__outer-wrap a.uagb-cta__block-link,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap{text-decoration:none}.uagb-cta__outer-wrap a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link:hover,.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap:hover,.uagb-cta__outer-wrap .entry .entry-content a.uagb-cta__block-link-wrap:hover .entry .entry-content a.uagb-cta__block-link:hover{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content-right{text-align:right;-ms-flex-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{width:100%;word-break:break-word}.uagb-cta__outer-wrap .uagb-cta__icon-position-below-title .uagb-cta__left-right-wrap{display:block;min-width:100%;width:100%}.uagb-cta__outer-wrap .uagb-cta__icon-position-left .uagb-cta__left-right-wrap,.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-cta__outer-wrap .uagb-cta__icon-position-right .uagb-cta__left-right-wrap{-ms-flex-pack:end;justify-content:flex-end}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-after{margin-left:5px;margin-right:0}.uagb-cta__outer-wrap .uagb-cta__block-link-icon-before{margin-left:0;margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link-icon,.uagb-cta__outer-wrap .uagb-cta__block svg{-webkit-transition:all 200ms linear;-o-transition:all 200ms linear;transition:all 200ms linear}.uagb-cta__outer-wrap .uagb-cta__block{position:relative}.uagb-cta__outer-wrap .uagb-cta-typeof-button{display:inline-block;line-height:1;background-color:transparent;color:#333;text-align:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link,.uagb-cta__outer-wrap .uagb-cta__content-right.uagb-cta__button-valign-middle .uagb-cta__left-right-wrap{display:-ms-flexbox;-js-display:flex;display:flex;-ms-flex-align:center;align-items:center}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{-ms-flex-pack:center;justify-content:center}.uagb-cta__outer-wrap .uagb-cta__link-wrapper a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.uagb-cta__outer-wrap .uagb-cta__title-wrap .uagb-cta__title{padding:0;margin:0;display:block}.uagb-cta__outer-wrap .uagb-cta__block,.uagb-cta__outer-wrap .uagb-cta__content{z-index:1}.uagb-cta__outer-wrap .uagb-cta__left-right-wrap{z-index:1}.uagb-cta__outer-wrap .uagb-cta__block-link{cursor:pointer}.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link{display:inline-block;float:right;padding:10px 14px}.uagb-cta__outer-wrap a.uagb-cta__block-link-wrap{color:inherit}.uagb-cta__outer-wrap .uagb-cta__content p:empty{display:none}.uagb-cta__outer-wrap .uagb-cta__button-type-none .uagb-cta__content{width:100%}.uagb-cta__outer-wrap .uagb-cta-with-svg{height:14px;width:14px;line-height:14px;display:inline-block;vertical-align:middle}.uagb-cta__outer-wrap .uagb-cta__block svg{display:block;height:inherit;width:inherit}.uagb-cta__outer-wrap .uagb-cta__align-button-after{margin-left:5px}.uagb-cta__outer-wrap .uagb-cta__align-button-before{margin-right:5px}.uagb-cta__outer-wrap .uagb-cta__block-link i{font-style:normal}.uagb-cta__outer-wrap a.uagb-cta__link-to-all{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}@media only screen and (max-width: 976px){.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap{-ms-flex-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}@media screen and (max-width: 767px){.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap{-ms-flex-direction:column;flex-direction:column;text-align:center}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__button-wrapper{display:inline-block;float:none;margin:0 auto}.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}
14
+ .uagb-column__wrap{position:relative;overflow:hidden}.uagb-column__wrap .uagb-column__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2;width:100%}.uagb-column__wrap.uagb-column__align-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__wrap.uagb-column__align-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}.uagb-column__wrap .uagb-column__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-column__wrap .uagb-column__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-column__wrap .uagb-column__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.wp-block-uagb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="uagb/column"]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;-ms-flex-preferred-size:100%;flex-basis:100%}@media (max-width: 976px){.uagb-column__align-tablet-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-tablet-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 767px){.uagb-column__align-mobile-left .uagb-column__inner-wrap{margin-left:0;margin-right:auto}.uagb-column__align-mobile-right .uagb-column__inner-wrap{margin-left:auto;margin-right:0}}@media (max-width: 449px){.uagb-columns__wrap.uagb-columns__background-image{background-attachment:scroll !important}}
15
+ .uagb-columns__wrap{position:relative}.uagb-columns__wrap .uagb-columns__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-columns__wrap .uagb-columns__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-columns__wrap .uagb-columns__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-columns__wrap .uagb-columns__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.uagb-columns__wrap .uagb-column__wrap{display:-ms-flexbox;display:flex}.uagb-columns__wrap .uagb-columns__shape{overflow:hidden;position:absolute;left:0;width:100%;line-height:0;direction:ltr;z-index:1}.uagb-columns__wrap .uagb-columns__shape-top{top:-3px}.uagb-columns__wrap .uagb-columns__shape-bottom{bottom:-3px}.uagb-columns__wrap .uagb-columns__shape[data-negative="false"].uagb-columns__shape-bottom{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape[data-negative="true"].uagb-columns__shape-top{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-flip svg{-webkit-transform:translateX(-50%) rotateY(180deg);transform:translateX(-50%) rotateY(180deg)}.uagb-columns__wrap .uagb-columns__shape svg{display:block;width:calc(100% + 1.3px);position:relative;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-columns__wrap .uagb-columns__shape .uagb-columns__shape-fill{fill:#333;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-above-content{z-index:9;pointer-events:none}.uagb-columns__valign-middle .uagb-column__wrap{-ms-flex-align:center;align-items:center}.uagb-columns__valign-top .uagb-column__wrap{-ms-flex-align:flex-start;align-items:flex-start}.uagb-columns__valign-bottom .uagb-column__wrap{-ms-flex-align:flex-end;align-items:flex-end}.uagb-columns__inner-wrap{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.uagb-columns__columns-1>.uagb-column__wrap{width:100%}.uagb-columns__columns-2>.uagb-column__wrap{width:50%}.uagb-columns__columns-3>.uagb-column__wrap{width:33.33%}.uagb-columns__columns-4>.uagb-column__wrap{width:25%}.uagb-columns__columns-5>.uagb-column__wrap{width:20%}.uagb-columns__columns-6>.uagb-column__wrap{width:16.66%}.uagb-columns__gap-nogap>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:0}.uagb-columns__gap-default>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:10px}.uagb-columns__gap-narrow>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:5px}.uagb-columns__gap-extended>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:15px}.uagb-columns__gap-wide>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:20px}.uagb-columns__gap-wider>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:30px}@media (max-width: 976px){.uagb-columns__stack-tablet .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-tablet .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-tablet .uagb-columns__inner-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (max-width: 767px){.uagb-columns__stack-mobile .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-mobile .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-mobile .uagb-columns__inner-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}}@media (max-width: 449px){.uagb-columns__wrap .uagb-column__wrap.uagb-column__background-image{background-attachment:scroll !important}}
16
+ .wp-block-uagb-cf7-styler .wpcf7 *,.wp-block-uagb-cf7-styler .wpcf7 :after,.wp-block-uagb-cf7-styler .wpcf7 :before{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::before,.wp-block-uagb-cf7-styler span.wpcf7-list-item-label::after{content:" "}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center;height:15px;width:15px;border-style:solid;border-color:#eaeaea;border-width:1px 1px 1px 1px}.wp-block-uagb-cf7-styler span.wpcf7-list-item{display:inline-block;margin:0 1em 0 0}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before{content:"\2714";line-height:1.2}.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-acceptance input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]+span:before,.wp-block-uagb-cf7-styler .wpcf7-checkbox input[type=checkbox]:checked+span:before,.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{-webkit-box-sizing:content-box;box-sizing:content-box}.wp-block-uagb-cf7-styler input[type=checkbox]:checked+span:before{font-size:calc(12px / 1.2)}.wp-block-uagb-cf7-styler .wpcf7-radio input[type=radio]+span:before{border-radius:100%}.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-box .wpcf7-radio input[type="radio"]:checked+span:before,.wp-block-uagb-cf7-styler .uagb-cf7-styler__field-style-underline .wpcf7-radio input[type="radio"]:checked+span:before{background-color:#545454;-webkit-box-shadow:inset 0px 0px 0px 4px #fafafa;box-shadow:inset 0px 0px 0px 4px #fafafa}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit,.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{display:-ms-flexbox;-js-display:flex;display:flex;width:auto;line-height:1em;background:transparent;border-color:#333;border-width:1px;padding:10px 25px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-right input.wpcf7-form-control.wpcf7-submit{margin-left:auto;margin-right:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-left input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:0}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-center input.wpcf7-form-control.wpcf7-submit{margin-right:auto;margin-left:auto}.wp-block-uagb-cf7-styler .uagb-cf7-styler__btn-align-justify input.wpcf7-form-control.wpcf7-submit{-ms-flex-pack:center;justify-content:center;width:100%}.wp-block-uagb-cf7-styler .wpcf7 input[type=checkbox],.wp-block-uagb-cf7-styler .wpcf7 input[type=radio]{display:none}.wp-block-uagb-cf7-styler .wpcf7 select{height:auto;padding:10px;-webkit-appearance:menulist-button;-moz-appearance:menulist-button;-webkit-appearance:menulist-button}.wp-block-uagb-cf7-styler select.wpcf7-form-control.wpcf7-select[multiple="multiple"]{padding:0}.wp-block-uagb-cf7-styler .wpcf7 select option{padding:10px}.wp-block-uagb-cf7-styler .uagb-cf7-styler__highlight-style-bottom_right span.wpcf7-not-valid-tip{display:inline-block;right:0;top:100%;padding:.1em .8em;border-radius:2px;color:#ffffff;background-color:rgba(255,0,0,0.6);padding:5px 10px;font-size:15px;float:right;margin-top:5px}.wp-block-uagb-cf7-styler .wpcf7 input[type="number"]{height:auto}.wp-block-uagb-cf7-styler .wpcf7 input.wpcf7-date{-webkit-appearance:none}@media (min-width: 769px){.wp-block-uagb-cf7-styler .uagb-cf7_styler-col{-js-display:flex;display:-ms-flexbox;display:flex}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col label,.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:100%;flex-basis:100%}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col br{display:none}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-1{padding-left:0;padding-right:15px}.wp-block-uagb-cf7-styler .uagb-cf7_styler-col>span.uagb-cf7_styler-col-3{padding-left:15px;padding-right:0}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col span.wpcf7-form-control-wrap{height:100%}.wp-block-uagb-cf7-styler .wpcf7 .uagb-cf7_styler-col select{height:100%}}
17
+ .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-multi .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0;height:auto;border:1px solid #AAA;border-radius:0;background:#FFF;-webkit-box-shadow:none;box-shadow:none;color:#444;text-decoration:none;white-space:nowrap}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single span{line-height:1}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single{background:#FFF}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=submit]{display:inline-block}.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title,.uagb-gf-styler__check-style-enabled .gform_wrapper .gf_progressbar_wrapper .gf_progressbar_title{opacity:1}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom{position:relative}.uagb-gf-styler__check-style-enabled .uag-gf-select-custom:after{content:"\f078";font-family:'FontAwesome' !important;font-size:0.7em;line-height:1;position:absolute;top:45%;-webkit-transform:translateY(-45%);-ms-transform:translateY(-45%);transform:translateY(-45%);right:0.5em;pointer-events:none;z-index:5}.uagb-gf-styler__check-style-enabled span.name_prefix_select .uag-gf-select-custom{display:inline;vertical-align:middle}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked+label:before{-webkit-box-shadow:inset 0px 0px 0px 4px #fafafa;box-shadow:inset 0px 0px 0px 4px #fafafa}.uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{-webkit-box-sizing:content-box;box-sizing:content-box}.uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-weight:700}.uagb-gf-styler__check-style-enabled select,.uagb-gf-styler__check-style-enabled .chosen-single{-webkit-appearance:none;-moz-appearance:none;appearance:none}.uagb-gf-styler__check-style-enabled .gform_wrapper div.validation_error{border-top:none;border-bottom:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield_radio li label{margin:0 0 0 0}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_body{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="checkbox"]+label:before,.uagb-gf-styler__check-style-enabled .gform_wrapper input[type="radio"]+label:before{-webkit-box-sizing:content-box !important;box-sizing:content-box !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gsection{margin-right:0}.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xs .uagb-gf-styler__check-style-enabled input[type=button]{font-size:13px;padding:10px 20px;border-radius:2px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:13px;padding:8px 10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:13px;padding:6px 10px}.ginput_container select{height:100%;line-height:inherit}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:13px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:10px;width:10px}.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xs .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 10px / 1.2)}.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-sm .uagb-gf-styler__check-style-enabled input[type=button]{font-size:15px;padding:12px 24px;border-radius:3px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:15px;padding:12px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:15px;padding:10px 10px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:15px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:12px;width:12px}.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-sm .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 12px / 1.2)}.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-md .uagb-gf-styler__check-style-enabled input[type=button]{font-size:16px;padding:15px 30px;border-radius:4px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:16px;padding:15px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:16px;padding:13px 10px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:16px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:15px;width:15px}.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-md .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 15px / 1.2)}.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-lg .uagb-gf-styler__check-style-enabled input[type=button]{font-size:18px;padding:20px 40px;border-radius:5px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:18px;padding:20px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:18px;padding:18px 10px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:18px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:20px;width:20px}.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-lg .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{font-size:calc( 20px / 1.2)}.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=submit],.uag-gf-btn-size-xl .uagb-gf-styler__check-style-enabled input[type=button]{font-size:20px;padding:25px 50px;border-radius:6px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container textarea,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-single,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container .chosen-choices{font-size:20px;padding:25px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container select{font-size:20px;padding:23px 10px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .uag-gf-select-custom{font-size:20px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]+label:before{height:25px;width:25px}.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked+label:before,.uag-gf-input-size-xl .uagb-gf-styler__check-style-enabled .ginput_container_consent input[type="checkbox"]:checked+label:before{font-size:calc( 25px / 1.2)}.uagb-gf-styler__btn-align-right .gform_next_button,.uagb-gf-styler__btn-align-right .gform_previous_button{margin-right:5px !important}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_footer:not(.top_label){padding:0 0 0 0;margin-right:0;margin-left:0;width:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.left_label,.uagb-gf-styler__check-style-enabled .gform_wrapper .gform_page_footer.right_label{padding:0 0 0 0}.uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]+label:before{border-radius:100%}.uagb-gf-styler__check-style-enabled .gform_wrapper .top_label .gfield_error{width:100% !important}.uagb-gf-styler__check-style-enabled .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half){max-width:100% !important}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{display:-ms-flexbox;-js-display:flex;display:flex;width:auto}.uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto}.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto}.uagb-gf-styler__btn-align-right .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_wrapper .gform_footer input[type=submit],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=button],html[dir=rtl] .uagb-gf-styler__btn-align-left .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0}.uagb-gf-styler__btn-align-justify .gform_wrapper .gform_footer input[type=submit],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=button],.uagb-gf-styler__btn-align-justify .gform_page .gform_page_footer input[type=submit]{-ms-flex-pack:center;justify-content:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio'],.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']{display:none}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_radio .gfield_radio input[type='radio']+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']+label:before{content:'';display:inline-block;vertical-align:middle;margin-right:10px;text-align:center}.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_checkbox .gfield_checkbox input[type='checkbox']:checked+label:before,.uagb-gf-styler__check-style-enabled .gform_body .ginput_container_consent input[type='checkbox']:checked+label:before{content:"\2714";line-height:1.2}.uagb-gf-styler__check-style-enabled .gform_wrapper ul.gform_fields li.gfield:not(.gf_left_half):not(.gf_left_third):not(.gf_middle_third){padding-right:0}.uagb-gf-styler__btn-align-width-full_width .gform_footer input[type=submit]{display:block;text-align:center;width:100%}.uagb-gf-styler__check-style-enabled .gform_body ul{margin-left:0;list-style:none}.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container select,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-single,.uagb-gf-styler__check-style-enabled .gform_wrapper .gfield .ginput_container .chosen-choices,.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"],.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input.default{height:auto}.elementor-widget-uag-gf-styler .uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-choices li.search-field input[type="text"]{padding:0px 0px 0px 0px}.uagb-gf-styler__check-style-enabled .gform_page .gform_page_footer input[type=button]{margin-bottom:20px}.uagb-gf-styler__check-style-enabled .gform_wrapper .chosen-container-single .chosen-single div{display:none}.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_label,.uagb-gf-styler__hide-label .gform_wrapper .gform_fields .gfield_required{display:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single span{margin-bottom:0;width:100%}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single .chosen-single{border:none}.wp-block-uagb-gf-styler .gform_wrapper .chosen-container-single.chosen-container-active .chosen-single{border:none}@media only screen and (max-width: 976px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-tablet-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type="button"],.uag-tablet-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-tablet-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-tablet-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-tablet-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-tablet-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-ms-flex-pack:center;justify-content:center;width:100%}}@media only screen and (max-width: 767px){.uagb-gf-styler__btn-align-center .gform_page .gform_page_footer{text-align:center}.uagb-gf-styler__btn-align-right .gform_page .gform_page_footer{text-align:right}.uag-mobile-gf-button-center .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-center .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:auto;width:auto}.uag-mobile-gf-button-left .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-left .gform_page .gform_page_footer input[type=submit]{margin-left:0;margin-right:auto;width:auto}.uag-mobile-gf-button-right .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-right .gform_page .gform_page_footer input[type=submit]{margin-left:auto;margin-right:0;width:auto}.uag-mobile-gf-button-justify .gform_wrapper .gform_footer input[type=submit],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=button],.uag-mobile-gf-button-justify .gform_page .gform_page_footer input[type=submit]{-ms-flex-pack:center;justify-content:center;width:100%}}
18
+ .wp-block-uagb-blockquote{padding:0;margin:0 auto}.wp-block-uagb-blockquote .uagb-blockquote__content,.wp-block-uagb-blockquote cite.uagb-blockquote__author{font-style:normal;display:block}.wp-block-uagb-blockquote cite.uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation blockquote.uagb-blockquote{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;quotes:none;border-left:0 none;border-right:0 none;border-top:0 none;border-bottom:0 none;font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap{position:relative;display:inline-block;padding:0px;z-index:1;background:#333;padding:10px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon{height:25px;width:25px;display:inline-block;float:left}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg{height:inherit;width:inherit;display:inherit}.wp-block-uagb-blockquote .uagb-blockquote__skin-quotation.uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left}.wp-block-uagb-blockquote blockquote.uagb-blockquote{margin:0;padding:0}.wp-block-uagb-blockquote .uagb-blockquote__wrap,.wp-block-uagb-blockquote .uagb-blockquote__wrap *{-webkit-box-sizing:border-box;box-sizing:border-box}.wp-block-uagb-blockquote .uagb-blockquote__style-style_2 .uagb-blockquote__icon-wrap{display:inline-block;float:left;text-align:left}.wp-block-uagb-blockquote .uagb-blockquote__separator-parent{display:-ms-flexbox;-js-display:flex;display:flex;-ms-flex-pack:start;justify-content:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote footer{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.wp-block-uagb-blockquote .uagb-blockquote a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.wp-block-uagb-blockquote .uagb-blockquote a.uagb-blockquote__tweet-button{display:-ms-flexbox;display:flex;-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s;-ms-flex-item-align:end;align-self:flex-end;line-height:1;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0;color:#1DA1F2;background-color:transparent;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{height:15px;width:15px;margin-right:5px;fill:#fff;vertical-align:middle;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote a.uagb-blockquote__tweet-button svg{font-style:normal}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button svg{margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text svg{margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon a.uagb-blockquote__tweet-button{padding:8px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-text a.uagb-blockquote__tweet-button{padding:10px 14px}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button{padding:10px 0}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button,.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button{background-color:#1DA1F2;border-radius:100em;color:#fff}.wp-block-uagb-blockquote .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{content:'';border:solid 0.5em transparent;border-right-color:#1DA1F2;position:absolute;left:-0.8em;top:50%;-webkit-transform:translateY(-50%) scale(1, 0.65);-ms-transform:translateY(-50%) scale(1, 0.65);transform:translateY(-50%) scale(1, 0.65);-webkit-transition:0.2s;-o-transition:0.2s;transition:0.2s}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:auto;right:-0.8em;-webkit-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);-ms-transform:translateY(-50%) scale(1, 0.65) rotate(180deg);transform:translateY(-50%) scale(1, 0.65) rotate(180deg)}.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-center .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote footer{display:block;text-align:center}.wp-block-uagb-blockquote .uagb-blockquote__align-center a.uagb-blockquote__tweet-button{display:block;text-align:center;margin:0 auto;-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet.uagb-blockquote__align-right .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote footer{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__author-image{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-image img{width:50px;height:50px;border-radius:100%;margin-right:10px}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-end;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;-moz-box-pack:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{justify-content:flex-start;-webkit-box-pack:flex-start;-ms-flex-pack:flex-start;-webkit-justify-content:flex-start;-moz-box-pack:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:unset;-webkit-box-pack:unset;-ms-flex-pack:unset;-webkit-justify-content:unset;-moz-box-pack:unset}.wp-block-uagb-blockquote .uagb-blockquote__align-center .uagb-blockquote__author-wrap,.wp-block-uagb-blockquote .uagb-blockquote__align-center.uagb-blockquote__with-tweet .uagb-blockquote__author-wrap{justify-content:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-box-pack:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .uagb-blockquote__author,.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top .editor-rich-text{width:inherit}.wp-block-uagb-blockquote .uagb-blockquote__with-tweet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{width:auto}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap .editor-rich-text{-ms-flex-item-align:center;align-self:center}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wp-block-uagb-blockquote .uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{text-align:right}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img{margin-left:10px;margin-right:0}.wp-block-uagb-blockquote .uagb-blockquote__author-wrap.uagb-blockquote__author-at-top{-ms-flex-direction:column;flex-direction:column}@media only screen and (max-width: 976px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__with-tweet .uagb-blockquote footer{-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-tablet.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}@media screen and (max-width: 767px){.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author{width:100%}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left{-ms-flex-direction:column;flex-direction:column}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-right .uagb-blockquote__author-image img,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left .uagb-blockquote__author-image img{margin-left:0;margin-right:0;margin-bottom:10px}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__with-tweet .uagb-blockquote footer{-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__with-tweet .uagb-blockquote footer,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right .uagb-blockquote__author-wrap.uagb-blockquote__author-at-left,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right a.uagb-blockquote__tweet-button{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile a.uagb-blockquote__tweet-button{margin-top:10px}.wp-block-uagb-blockquote .uagb-blockquote__align-right.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image{-ms-flex-item-align:flex-end;align-self:flex-end}.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-mobile .uagb-blockquote__author-image,.wp-block-uagb-blockquote .uagb-blockquote__align-left.uagb-blockquote__stack-img-tablet .uagb-blockquote__author{-ms-flex-item-align:flex-start;align-self:flex-start}.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-right.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before,.wp-block-uagb-blockquote .uagb-blockquote__stack-img-mobile.uagb-blockquote__align-left.uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before{left:50%;top:-0.8em;right:auto;-webkit-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);-ms-transform:translateX(-50%) scale(1, 0.85) rotate(90deg);transform:translate(-50%, 10%) scale(1, 0.85) rotate(90deg)}}
19
+ .wp-block-uagb-marketing-button .uagb-marketing-btn__wrap>p,.wp-block-uagb-marketing-button p:empty{display:none}.wp-block-uagb-marketing-button h6.uagb-marketing-btn__title,.wp-block-uagb-marketing-button p.uagb-marketing-btn__prefix{margin:0}.wp-block-uagb-marketing-button .uagb-marketing-btn__wrap{display:-ms-flexbox;display:flex}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{display:inline-block;position:relative;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap{width:20px;height:20px;display:-ms-flexbox;display:flex;z-index:1}.wp-block-uagb-marketing-button .uagb-marketing-btn__icon-wrap svg{width:inherit;height:inherit}.wp-block-uagb-marketing-button .uagb-marketing-btn__title-wrap{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-center .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap{-ms-flex-pack:center;justify-content:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-left .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__title-wrap{-ms-flex-pack:start;justify-content:flex-start}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-right .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__title-wrap{-ms-flex-pack:end;justify-content:flex-end}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-full .uagb-marketing-btn__link{width:100%}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__prefix-wrap{text-align:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__prefix-wrap{text-align:left}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__prefix-wrap{text-align:right}.wp-block-uagb-marketing-button.uagb-marketing-btn__icon-after .uagb-marketing-btn__title-wrap{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.entry-content .wp-block-uagb-marketing-button .uagb-marketing-btn__link{text-decoration:none}
20
+ .wp-block-uagb-table-of-contents .uagb-toc__wrap{display:inline-block}.wp-block-uagb-table-of-contents ul.uagb-toc__list:first-child{margin:0}.wp-block-uagb-table-of-contents ul.uagb-toc__list{margin-left:1em;margin-bottom:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul{padding:0}.wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul li a{color:inherit;line-height:inherit;font-size:inheri