

 














/* Intial declartaion of css */
* { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
html { -webkit-text-size-adjust: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word }
q { quotes: none }
q:before, q:after { content: ''; content: none }
small { font-size: 85% }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline }
sup { top: -0.5em; }
sub { bottom: -0.55em }
:focus { outline: 0; }
*:before, *:after {box-sizing: border-box;}
embed,img, object, svg { max-width: 100%;height: auto; }
iframe{max-width: 100%;border-radius: 10px; }

/* hubspot */
.header-container-wrapper ul,.footer-container-wrapper ul, .header-container-wrapper ol,.footer-container-wrapper ol { list-style: none; list-style-image: none; }
.row-fluid [class*="span"] {min-height: 0px !important;}
.row-fluid:before, .row-fluid:after{ display:none !important;}

/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left;}
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
table { border: 0 none; border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* For modern browsers */ 

.cf:before, .cf:after { content: ""; display: table }
.cf:after { clear: both; }
::selection { background: #005151; color:#ffffff; }
::-moz-selection {background: #005151 ;color: #ffffff;}

/* body */
body { color:#3A3A3A; font-size:16px; line-height: 1.5; font-family: Lato, sans-serif; font-weight:400; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; -webkit-tap-highlight-color: rgba(0,0,0,0); -moz-osx-font-smoothing: grayscale;  -webkit-tap-highlight-color: transparent;  }
body:not(.custom-background-image)::before, body:not(.custom-background-image)::after { display: none !important; }
img { border: 0 none; max-width: 100%; vertical-align:middle;height:auto}
a { outline: none; cursor: pointer;transition:color 0.5s ease;text-decoration:none;color: inherit;}
svg path,svg circle{transition:fill 0.5s ease,stroke 0.5s ease; }
svg{vertical-align:middle; }
a:focus { outline: none; text-decoration: none; }
.hs-embed-wrapper{ margin-bottom: 25px!important;}
u { text-underline-position: under; }

/* Title */
h2,h3,h4,h5,h6{font-weight:700;font-family:Playfair Display, sans-serif;}
h1,.font60{font-family:Playfair Display, sans-serif;font-size:60px; line-height:1.17;margin-bottom: 48px;font-weight:400; }
h2,.font48 {font-size:48px;line-height: 1.2;margin-bottom: 34px; }
h3,.font36{font-size:36px;line-height: 1.27;margin-bottom: 33px;}
.font26{font-size:26px;line-height: 1.27;margin-bottom: 26px;}
h4{font-size:24px;margin-bottom: 25px;line-height: 1.33;}
h5,h6{margin-bottom: 20px;}
.font54{font-size: 54px;line-height:1.12; }
h2 mark { background: transparent; border-bottom: 4px solid; display: inline-block; color: inherit; }

/* body.home h1 {font-family:Lato, sans-serif;} */
body.home h1 mark {background:none; color:#a51d44;}
@media (min-width:560px){span.no-wrap {white-space: nowrap}}

/* Hakan*/

/* HOME */

@media (min-width: 1281px) {
  body.home .hero-slider-wrapper .heading {
    font-size: 48px;
  }
}

h2.loginsimplemenu {font-size:36px;line-height: 1.2;text-align:center;margin-top: 6px; margin-bottom:12px; font-weight:400; }

.heart-baron {display: inline; vertical-align: bottom; max-width: 70px;}

.make-block {display:block;margin-top:20px;}

@media (max-width: 767px) {
  .heart-baron {max-width: 45px;}
  .top-bar-cta a {font-size:11px !important;}
  span.topmenu-phone {display: none !important;}
  a.topmenu-phone {display: inline-block !important;}
}

.main-bar .header-cta a.cta_button {background: #005151;}

.hs-blog-post .blog-post-content .post-body h2 {font-size: 26px;}
.hs-blog-post .blog-post-content .post-body h3 {font-size: 20px;}
.hs-blog-post .blog-post-content .post-body h3 {margin-bottom: 20px !important; font-size:20px !important; font-weight:bold !important;}
.hs-blog-post .blog-post-content .post-body h4 {font-size: 18px;}
.hs-blog-post .blog-post-content .post-body p {font-size: 18px;}
.hs-blog-post .blog-post-content .post-body ol, .hs-blog-post .blog-post-content .post-body ul {font-size: 18px; padding-left: 30px}
.hs-blog-post .blog-post-content .post-body ol li, .hs-blog-post .blog-post-content .post-body ul li {margin-bottom: 10px;}

.hs-blog-post .blog-post-content .post-body blockquote {font-size: 24px; line-height: 1.5; font-weight: bold; color: #005151;}
.hs-blog-post .blog-post-content .post-body blockquote:before {content: "";}
.hs-blog-post .blog-post-content .post-body img {border-radius:10px;}

img.blog-image, .add-shadow {box-shadow: 2px 2px 8px 0px rgb(0 0 0 / 15%);}
.vidyard-container {padding-top: 64px;}
.feature-img .vidyard-container {padding-top: 0;}
.blog-post-content .hs-video-container {margin-top: 60px !important;}
hr.pricing-line {padding-top: 20px;height: 1px;border-bottom: 1px solid;margin-bottom: 20px;opacity: 0.2;}

.post-body ol.numbered-qa li>*:first-child { display: block; margin-top: 20px; margin-bottom: 9px; font-weight:bold;}
.post-body ol.numbered-qa li::marker, .post-body ol.bold-numbers li::marker { font-weight: bold; }

.lc-access-item .flex-box {flex-wrap: wrap !important;}
.lc-access-type a {font-weight:normal;margin-top:5px;}

.spacer-250 {padding-bottom:250px}

/* Fixed Content */
.fixed-content {padding-right:33px;}
.fixed-content .resources-content-form {
  background: #fff;
  color: #3a3a3a;
  -webkit-box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
  border-radius: 32px;
  width: 95%;
  max-width: 530px;
  padding: 34px 26px;
  margin: 0 auto;
  position: relative;
  margin-top: 50px;
  z-index: 1;
}

.fixed-content {
  overflow: hidden;
  padding-bottom: 30px;
}

@media (max-width:1024px) {.fixed-content {padding-right:20px;}}
@media (max-width:767px) {.fixed-content {padding-right:0px;}}

@media (max-width:900px){.spacer-250 {padding-bottom:0;}}

@media (min-width: 1281px) { span.home-slider-sub.reduce-size {font-size: 28px;} }
@media (max-width: 1280px) { span.home-slider-sub.reduce-size {font-size: 26px;} }
@media (max-width: 1280px) { span.home-slider-sub.reduce-size {font-size: 24px;} }

/* Standalone Page */

.standalone-page {font-size:18px;}
.standalone-page .title-with-cta h3 {font-size: 20px;}

/* END Standalone Page */

/* TAG CLOUD */

.tag-cloud-container a:hover {color: #a51d44;}
.tag-cloud-container a {line-height: 1rem;}
.tag-cloud-container {padding-bottom: 30px;}

/* END TAG CLOUD */

/* YOUTUBE CTA */

.yt-cta {text-align: center;}
.yt-cta img {margin-bottom: 0 !important; image-rendering: -webkit-optimize-contrast;}
.yt-cta .cta_button {background: none;margin-top: 60px;padding: 0;}
.yt-cta .cta_button:hover {background: none;}
.blog-post-content .post-body .yt-cta img {margin-top:0;}

/* ERC CTA */

.erc-cta img {image-rendering: -webkit-optimize-contrast;margin-top:-5px !important;}
.erc-cta .cta_button {background: none;padding: 0;}
.erc-cta .cta_button:hover {background: none;}

/* ORDERED LIST CHANGE */
ol.number-list > li {position: relative;padding-left: 40px;margin-bottom: 20px;}
ol > li:before {content: counter(list) ")";counter-increment: list;float: left;padding-right: 7px;font-weight: bold;}
ol.number-list > li:before {content: counter(list);background: #a51d44;color: #fff;font-weight: 400;width: 30px;height: 30px;border-radius: 50%;padding: 0px 0px 2.5px;display: grid;place-content: center;position: absolute;left: 0;}
ol > li {list-style: none;}
ol {counter-reset: list;}

/* FORM DISCLAIMER */

.disclaimer-form {font-size:12px;}

.body-container .hs_submit.hs-submit {
  line-height: 1.2;
}

.body-container .widget-span .hs_submit.hs-submit:after {
  font-size: 12px;
  margin-top: 15px;
  display: block;
  content: "We’re committed to your privacy. BARON uses the information you provide to us to contact you about our relevant content, technology, and services.";
}

/* TOPICS */

.topics-main {margin-bottom: 50px;}

@media (max-width:899px) {.topics-main {margin-top: 0px;} .resources-types > div {display:flex; justify-content:space-between;} .topics-main .topics-list {left:0 ;right:auto;} .topics-main { margin-bottom: 0; } .blog-filter {display:none !important;}}

/* 941X */

.hs_which_of_the_following_best_describes_you_ label, .hs-fieldtype-radio > label {
  padding-left: 4px !important;
  padding-right: 4px !important;
}
.hs_which_of_the_following_best_describes_you_ label:before, .hs-fieldtype-radio > label:before {
  display: none;
}

/* FORM DESCRIPTION */
p.form-description {
  display: block;
  margin-bottom: 20px;
}

/* Home ERC */

@media (max-width: 1549px) {
  .white-mobile, .white-mobile span { color: #fff !important; }
  .home-erc.two-column-form-section .bg-shape {display: none;}
}

@media (min-width: 1550px) {
  .black-desktop { color: #3a3a3a; }
  .home-erc .two-column-form-left {
    width: 50%;
    padding-right: 100px;
  }
}

@media (max-width: 767px) {
  .home-erc .text-below-image {
    display: none;
  }
}

.home-erc.two-column-form-section .bg-shape {
  top: auto !important;
  max-height: 100%;
  width: 50%;
}

.home-erc .please-enter {
  display: none;
}

.home-erc .erc-privacy {
  padding-top: 20px;
  padding-bottom: 20px;
}

.home-erc .form-wrapper {
  padding-top: 20px;
}

.home-erc .banner-module {
  display: none;
}

/*
@media (min-width:768px) {
.home-erc .banner-module {
display: none;
}
}

.home-erc .banner-module {
padding: 35px 0px !important;
}

.home-erc .banner-module .down-arrow {
text-align: center;
}*/

/* FORM IN POST */
.hs-blog-post .blog-post-content .post-body .hs-embed-wrapper {
  max-height: unset !important;
}

.post-form.white {
  border-radius: 10px;
  background-color: #a51d44;
  max-width: 600px;
  margin: 0 auto 25px;
  padding: 40px 40px;
}

.post-form.white form .hs_submit input {
  background: #005151;
  transition: background .5s ease,border .5s ease;
}

.post-form.white form .hs_submit input:hover {
  background: #3a3a3a;
}

.post-form.white form ul.hs-error-msgs {
  color: #fff;
  margin-bottom: 0;
  padding-left: 0;
}

.post-form .hs-embed-wrapper {
  max-width: 100% !important;
  min-width: 1px !important;
}

.resources-content-form form input[type=text],
.resources-content-form form .input>.hs-input {
  color: #3a3a3a;
  font-family: Lato,arial;
  font-size: 13px;
  font-weight: 700;
  line-height: 2;
  background-color: #fff;
  border: 1px solid #ededed;
  border-radius: 5px;
  margin: 0;
  padding: 11px 12px;
}

.resources-content-form form label {
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.resources-content-form form .hs-form-field {
  padding: 0 9px;
  margin: 0 0 19px;
}

/* WAGE ON DEMAND */

ul.wage-faq li {
  display: inline-block;
}

p.wage-faq-q {
  font-weight: bold;
  color: #a51d44;
}

.detail-content ul.wage-faq,
.two-columns {
  columns: 2 300px;
  padding-left: 0;
  column-gap: 55px;
}

/* Zayzoon */

ol.zayzoon-ol {
  list-style: none;
  counter-reset: item;
  padding-left: 0 !important;
}
ol.zayzoon-ol li {
  counter-increment: item;
  margin-bottom: 5px;
}
ol.zayzoon-ol li:before {
  margin-right: 10px;
  content: counter(item);
  background: #005151;
  border-radius: 100%;
  color: white;
  width: 2em;
  line-height: 2em;
  padding-right: 0;
  float: none;
  text-align: center;
  display: inline-block;
}

.zayzoon-list div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.zayzoon-list.list-top div {
  align-items: flex-start;
  margin-bottom: 25px;
}

.zayzoon-list div img {
  margin-right: 15px;
}

.inner-two-column {
  display: flex;
  justify-content: space-between;
}

.inner-two-column.inner-col-center {
  align-items: center;
}

.inner-col-left, .inner-col-right {
  flex: 1;
  max-width: 45%;
}

.max60 {
  max-width: 60%;
  flex: 1.5;
}

.check-list-this:not(.check-box-me) {
  list-style: none;
  background: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/check.svg) no-repeat 0px 1px, url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/greenbox.svg) no-repeat 2px 7px;
  padding-left: 40px;
  background-size: 25px 25px, 20px 20px;  
}

.check-list li, .check-list-this {
  list-style: none;
  background: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/check.svg) no-repeat left 7px;
  padding-left: 40px;
}

.check-list-this.check-box-me {
  list-style: none;
  background: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/greenbox.svg) no-repeat 2px 7px;
  padding-left: 40px;
}

section.white .check-list li {
  background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Vector-2.svg);
}

.equal-widths .two-col-swap-img {
  width: 45%;
}

.equal-widths .two-col-swap-content {
  width: 45%;
}

/* Media Queries */

@media (min-width:1281px) {
  .hero-slider-wrapper .wage-page .heading {
    font-size: 44px; 
  }
  .hero-slider-wrapper .wage-page .sub-heading {
    font-size: 33px; 
  }
}

@media (max-width:1280px) {
}

@media (max-width:767px) {
  .inner-two-column {
    flex-direction: column;
  }
  .inner-col-left, .inner-col-right {
    max-width: 100%;
    text-align: center;
  }
  .inner-col-left {
    margin-bottom: 30px;
  }

  .equal-widths .two-col-swap-img {
    width: 100%;
  }

  .equal-widths .two-col-swap-content {
    width: 100%;
  }  
}

.spaced-list li {
  margin-bottom: 15px;
}

/* Baron Quizzes */

.baron-question .question-text {
  font-family: Playfair Display, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.baron-question input[type=checkbox]+label, .baron-question input[type=radio]+label {
  font-size: 16px;
}

.baron-question .help-text {
  font-size: 18px;
}

.result-inner {
  font-size: 20px;
}

/* Three Column In-line */

.in-columns-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.in-column .button-group.common-cta {
  padding: 0 20px;
}

/* Redio Buttons Blog Post Forms */

.blog-post-content form .input ul.inputs-list li label input[type="radio"]:checked+span:before {
  box-shadow: 0 0 0 8px #ffffff inset;
  border: 2px solid #ffffff;
}

.blog-post-content form .input ul.inputs-list li label input[type="radio"]+span:before {
  height: 12px;
  width: 12px;
  top: 5px;
}

.blog-post-content form .input ul.inputs-list li label input[type="radio"]+span {
  display: inline;
  font-size: 16px;
  padding-left: 30px;
}

.blog-post-content ul.inputs-list.multi-container {
  padding-left: 0;
  margin-top: 20px;
}

/* ERC Sales Page */

.steps-images {display: flex; justify-content: center;}

.steps-images img {
  width: 25% !important;
  margin-bottom: 20px;
}

@media (max-width:1024px) {
  .steps-images img {
    width: 50% !important;
  }    
  .steps-images {flex-wrap: wrap;}
}

@media (max-width:480px) {
  .steps-images img {
    width: 100% !important;
  }    
}

/* ERC Forms */

.erc-form form .input ul.inputs-list li label input[type="checkbox"]+span {
  padding-left: 40px;
}

.erc-form form .input ul.inputs-list li label input[type="checkbox"]+span:before {
  height: 24px;
  width: 24px;
}

.erc-form fieldset .hs-richtext.hs-main-font-element {
  padding: 0 9px;
  margin-bottom: 15px;
}

/* True Accordion */

@media (min-width:901px) { ul.true-accordion {
  padding-bottom: 90px;
  }
}

ul.true-accordion li {
  display: block;
}

ul.true-accordion li:not(.faq-with-title) > p:nth-child(2),
ul.true-accordion li > div {
  display: none;
}
body.hs-landing-page .payrollhr-services-content-form-module .content-items.content-bottom ul.true-accordion li:not(.faq-with-title) > p.rotated + p:nth-child(2) + div,
body.hs-landing-page .payrollhr-services-content-form-module .content-items.content-bottom ul.true-accordion li:not(.faq-with-title) > p.rotated + p:nth-child(2) + div:last-child {
    display: block;
}

ul.true-accordion li > div {
  padding-bottom: 20px;
}

ul.true-accordion li > p:first-child,
ul.true-accordion li > p.faq-with-title {
  display: inline-block;
  cursor: pointer;
}

ul.true-accordion li, ul.true-accordion p {
  padding-bottom: 10px;
  position: relative;
}

ul.true-accordion li > p:first-child:after,
ul.true-accordion li > p.faq-with-title:after {
  content: "";
  position: absolute;
  left: 0px;
  /*   top: calc(50% - 11px); */
  top: 7px;
  display: block;
  background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/cross.svg);
  height: 14px;
  width: 14px;
  background-size: 100%;
  transition: transform 0.4s ease;
}

ul.true-accordion li > p:first-child,
ul.true-accordion li > p.faq-with-title {
  padding-left: 25px;
}

ul.true-accordion li > p.rotated:first-child:after,
ul.true-accordion li > p.rotated.faq-with-title:after {
  transform: rotate(90deg);
}

.one-column {
  columns: 1 !important;
}

.two-column-div {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.two-column-div > * {
  flex: 1;
}

@media (max-width:767px) {
  .two-column-div {
    flex-direction: column;
    gap: 0;
  }
  .two-column-div > * {
    margin-bottom: 0 !important;
  }
  .no-bot-padding p {
    padding-bottom: 0 !important;
  }
}

.no-bot-padding {
  padding-bottom: 0 !important;
}

/* END Accordion */

p.nested-list span {
  display: block;
  margin-bottom: 15px;
}

.payrollhr-services-content-form-module .content-column {
  padding-top: 30px;
}

/* Hide Asterisk */

.hs_erc_approval_2020 .hs-form-required,
.hs_erc_approval_2021 .hs-form-required
{
  display: none;
}

/* Form Checkboxes */

form .input ul.inputs-list li label input[type="checkbox"]+span:before {
  top: -3px !important;
  width: 20px !important;
  height: 20px !important;
}

form .input ul.inputs-list li label input[type="checkbox"]+span {
  padding-left: 30px !important;
}

.white form .input ul.inputs-list li label input[type="checkbox"]:checked+span:before {
  background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Tick_white.png);
}

.white form .input ul.inputs-list li label input[type="checkbox"]+span:before {
  top: 2px !important;
}

/* TWO CTAs */

.two-cta {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 200px;
}

.two-cta a.cta_button {
  padding-left: 30px;
  padding-right: 30px;
  min-width: 220px;
}

@media (max-width:1052px) {
  .two-cta {
    flex-direction: column;
    align-items: center;
  }
  .two-cta a.cta_button {
    min-width: 260px;
  }
}

@media (max-width:900px) {
  .two-cta {
    padding-bottom: 0;
  }
}

/* ITIN INCLUDES SERVICE PAGE */
.itin-includes {
  display: flex;
  margin-top: 60px;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 20px;
}

.itin-includes > div {
  width: calc(22% - 10px);
}

.itin-includes img {
  display: block;
  margin: 0 auto;
  max-height: 70px;
  margin-bottom: 20px;
}

.itin-includes span {
  font-size: 16px;
  line-height: 1.2;
}

.itin-includes h5 {
  font-family: 'Lato';
  margin-bottom: 15px;
}

@media (min-width:1280px) {
  span.smaller-title {
    font-size: 40px;
    line-height: 1.2;
  }
}

@media (max-width:768px) {

  .itin-includes {
    flex-wrap: wrap;
  }

  .itin-includes > div {
    width: calc(45% - 10px);
  }

}

@media (max-width:400px) {

  .itin-includes > div {
    width: 100%;
  }

}

/* CPA Sales Page */

.two-column-list {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.two-column-list ul.wage-faq.true-accordion {
  flex: 1;
  padding-bottom: 0;
}

@media (max-width:768px) {
  .two-column-list   {
    display: block;
  }
  .two-column-list ul.wage-faq.true-accordion {
    margin-bottom: 0;
  }
}

.hs-landing-page .hero-two-col p {
  margin-bottom: 25px;
}

ul.itin-list {
  list-style-type: none;
}

ul.itin-list img {
  border-radius: 0;
  margin-right: 15px;
  height: 40px !important;
  width: 40px !important;
  object-fit: contain;
}

ul.itin-list li {
  padding-bottom: 20px;
}

/* Industry Form Options */

select[name="0-2/industry"] option {display: none;}

select[name="0-2/industry"] option[disabled=""],
select[name="0-2/industry"] option[value="LANDSCAPING"],
select[name="0-2/industry"] option[value="CONSTRUCTION"],
select[name="0-2/industry"] option[value="AUTO BODY & REPAIR"],
select[name="0-2/industry"] option[value="MANUFACTURING"],
select[name="0-2/industry"] option[value="HOME CARE AGENCY"],
select[name="0-2/industry"] option[value="CLEANING"],
select[name="0-2/industry"] option[value="TRADE"],
select[name="0-2/industry"] option[value="MOVING"],
select[name="0-2/industry"] option[value="RESTORATION"]
{display: block;}

/* CPA Form */

.white form .input ul.inputs-list li label input[type="radio"]:checked+span:before {
  box-shadow: 0 0 0 8px #fff inset;
  border: 2px solid #fff;
  background: #fff;
}

.cpa-form {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.cpa-form h2 {
  font-size: 40px;
}

.space-20 {
  margin-top: 20px;
}

.cpa-form form div.hs-form-field .input > ul > li.hs-form-radio {
  margin-bottom: 5px;  
}

.cpa-form form .input ul.inputs-list li label input[type="radio"]+span:before {
  width: 12px;
  height: 12px;
  top: 7px;
}

.cpa-form form .input ul.inputs-list li label input[type="radio"]+span {
  padding-left: 25px;
  min-height: 25px;
}

.cpa-form ul[role="checkbox"] {
  padding-left: 5px;
  margin-top: 10px;
}

.cpa-form form .hs-form-field > label {
  text-align: left;
}

.cpa-form form ul.hs-error-msgs li label {
  color: #fff;
}

.cpa-form .hs_referral_next_step label span:first-child {
  font-size: 18px;
}

/* Payroll Day CPA */

.payroll-day-cpa-box {
  display: flex;
  align-items: center;
}

.payroll-day-cpa-box .left-box {
  flex: 2;
}

.payroll-day-cpa-box .right-box {
  flex: 3;
}

.payroll-day-cpa-box a:hover {
  background-color: unset !important;
}

@media (max-width:768px) {
  .payroll-day-cpa-box {
    display: flex;
    align-items: center;
    flex-direction: column;
  }    
}

/* Two Col FAQ */
.hero-faq .hero-two-col-img.two-col-faq-side {
  text-align: left !important;
}

.two-col-faq-side p.wage-faq-q {
  font-size: 20px;
}

.hero-faq .detail-content {
  font-size: 20px;
}

.faq-group-title {
  font-size: 30px;
}

h2.sub-heading {
  font-size: 36px;
  font-weight: 400;
}

@media (max-width:1280px) {
  h2.sub-heading {
    font-size: 30px;
  }
}

@media (max-width:767px) {
  h2.sub-heading {
    font-size: 28px;
  }
}

/* New Contact Page Styling */

h1.h1-sub {
  font-size: 44px;
}

.gen-sub-heading {
  font-size: 33px;
  margin-bottom: 20px;
}

@media (max-width:767px) {
  h1.h1-sub {
    font-size: 33px;
  }
  .gen-sub-heading {
    font-size: 28px;
  }  
}

.cta-contact {
    text-align: center;
}

.contact-page-form {
    background: #ededed;
    border-radius: 10px;
    padding: 30px 30px;
    margin-top: 65px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-page-form > .hs-embed-wrapper {
  max-width: 100% !important;
}

@media (max-width: 500px) {
     .contact-page-form {
         padding: 20px;
     }   
}

/* table styling */
.table-package {
    overflow: auto;
    width: 100%;
}

.table-package table {
    border: 1px solid #ededed;
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

.table-package caption {
    caption-side: top;
    text-align: left;
}

.table-package th {
    border: 1px solid #ededed;
    font-family: 'Playfair Display';
    padding: 10px;
}

.table-package td {
    border: 1px solid #ededed;
    background-color: #ffffff;
    color: #3A3A3A;
    padding: 8px 5px 8px 10px;
}
.table-package tbody td {
    font-family: 'Lato';
    font-size: 16px;
  
}
.check-icon {
    background: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/check.svg) no-repeat scroll 0 0 transparent;
}
.times-icon {
    background: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/close-2.png) no-repeat scroll 0 0 transparent;
}
.table-package .inline-text {
    float: left;
    padding-left: 23px;
    background-position-y: 3px;
}
/* table styling end */

/* END Hakan*/

/* Thank You Link Lists */

ul.thank-you-link-list li { margin-bottom: 12px; }
ul.thank-you-link-list li a { text-decoration: none !important; font-weight: bold;}
ul.thank-you-link-list li a:hover { text-decoration: underline !important; }

/* Thank You Link Lists */

h1.bold,h2.bold,h3.blod { font-weight:700; }
h3.font16,.font16 {  margin-bottom: 20px; font-size:16px; line-height:24px;     font-family: Lato,sans-serif; }
.copyh1 { font-family: Playfair Display,sans-serif; color: #005151; }

@media(min-width:1281px){
  .copyh1 { font-size: 50px; }  
}

/* CTA */
.common-cta { margin-top: 25px; }
.common-cta a, a.cta_button { font-size: 15px; background:#A51D44;color: #ffffff !important;  min-width: 260px; border-radius: 120px; position: relative; box-sizing: border-box !important;  text-align: center; font-weight: 700; padding: 10px 30px; display: inline-block; transition: color .5s ease,background .5s ease;}
.common-cta a:hover,a.cta_button:hover{background-color:#C02350;}
.common-cta a.white,a.white.cta_button{ color:#ffffff; background-color:#005151;}
.common-cta a.white:hover,a.white.cta_button:hover{background-color:#333333;}
.link-cta{ text-transform: uppercase; font-weight: 700; letter-spacing: 0.16px; line-height: 1.8; text-underline-position: under;cursor: pointer; transition: color .5s ease;}

/* Richtext */
.detail-content > *:last-child,.hs_cos_wrapper_type_rich_text > *:last-child{margin-bottom:0 !important;}
.detail-content ul, .hs_cos_wrapper_type_rich_text ul { padding-left: 20px; margin-bottom: 25px; }
.detail-content ul ul,.hs_cos_wrapper_type_rich_text ul ul { margin-top: 25px; }
.detail-content ol,.hs_cos_wrapper_type_rich_text ol{ padding-left: 20px;margin-bottom: 25px;}
.detail-content p,.hs_cos_wrapper_type_rich_text p {margin-bottom: 25px; }
.detail-content.tc ul,.detail-content.tc ol,.tc .detail-content ul,.tc .detail-content ol,.tc .hs_cos_wrapper_type_rich_text ul,.tc .hs_cos_wrapper_type_rich_text ol{ text-align:left; }
.detail-content a:not(.cta_button),.hs_cos_wrapper_type_rich_text a:not(.cta_button){ color:#005151; text-decoration: underline; text-underline-position: under; }
.detail-content a:not(.cta_button):hover,.hs_cos_wrapper_type_rich_text a:not(.cta_button):hover{ color:#A51D44; }
.white .detail-content a:not(.cta_button),.white .hs_cos_wrapper_type_rich_text a:not(.cta_button){ color:#ffffff; }
.white .detail-content a:not(.cta_button):hover,.white .hs_cos_wrapper_type_rich_text a:not(.cta_button):hover{ text-decoration-color:#A51D44; }
strong{font-weight:700;}

/* Section */
.rtp{padding-top:0!important;}
.rbp{padding-bottom:0!important;}
.white{ color:#ffffff;}
.tbl {display:table;width:100%;height:100%;}
.tbl-cell {display:table-cell;vertical-align:middle}
.flex-box{display:flex;flex-wrap:wrap;}
.vmiddle{align-items:center;}
.vbottom{align-items:flex-end;}
.vstart{align-items:flex-start;}
.hcenter{justify-content:center;}
.hright{justify-content:right;}
.hbetween{justify-content: space-between;}
.hevenly{justify-content: space-evenly;}
.tc{text-align:center;}
.tr{text-align:right;}
.tl{text-align:left;}
.container,.row-fluid .span12.container{ max-width: 1294px; width:100%; margin-left: auto !important; margin-right: auto !important; float: none; padding-left: 32px; padding-right: 32px; }
.flex-box>.row-fluid-wrapper>.row-fluid:before, .flex-box>.row-fluid-wrapper>.row-fluid:after{display:none;}
.cp{padding:100px 0;}
.clear { clear: both; }
.overlay{position:relative;z-index:1;}
.overlay:before { position: absolute; content: ""; height: 100%; width: 100%; top: 0; left: 0; background-color: rgba(31, 31, 41, 0.78); z-index: -1; }
.black{color:#3A3A3A; }
.playfair-display{ font-family:Playfair Display, sans-serif;}

/* Form CSS Start here */

input::-webkit-input-placeholder{ color: #8F8F8F; opacity:1;font-weight:700; } /* WebKit browsers */
input:-moz-placeholder { color:#8F8F8F; opacity:1;font-weight:700;  } /* Mozilla Firefox 4 to 18 */
input::-moz-placeholder { color:#8F8F8F; opacity:1;font-weight:700;  } /* Mozilla Firefox 19+ */
input:-ms-input-placeholder { color:#8F8F8F; opacity:1;font-weight:700;  } /* Internet Explorer 10+ */
textarea::-webkit-input-placeholder { color: #8F8F8F; opacity:1;font-weight:700;  } /* WebKit browsers */
textarea:-moz-placeholder { color:#8F8F8F; opacity:1;font-weight:700;  } /* Mozilla Firefox 4 to 18 */
textarea::-moz-placeholder { color:#8F8F8F; opacity:1;font-weight:700;  } /* Mozilla Firefox 19+ */
textarea:-ms-input-placeholder { color:#8F8F8F; opacity:1;font-weight:700;  } /* Internet Explorer 10+ */

select::-ms-expand {display: none;}
input::-ms-clear { display:none;}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {-webkit-box-shadow: 0 0 0 100px #ffffff inset;-moz-box-shadow: 0 0 0 100px #ffffff inset; box-shadow: 0 0 0 100px#ffffff inset;	color:#3A3A3A; -webkit-text-fill-color: #3A3A3A;}

input,textarea,select {border-radius: 0; }
button, html input[type="button"], input[type="reset"], input[type="submit"], textarea { -webkit-appearance: none; border-radius: 0; transition: color 0.5s ease ; }
button, input, select, textarea,option { font-size: 100%; margin: 0; vertical-align: baseline; font-family:Lato, sans-serif;}
input[type="text"],input[type="tel"],input[type="email"],input[type="search"]{ -webkit-appearance:none !important; }
input[type="submit"] {cursor: pointer;transition:color 0.5s ease;}
textarea { overflow: auto; vertical-align: top; resize:none; height:104px; }

/* Fieldset */
form ul{list-style:none;padding: 0; margin: 0;}
form div.hs-form-field .input > ul > li > label{cursor:pointer;}
form ul.hs-error-msgs { color: #A51D44; }
form .legal-consent-container .hs-error-msgs { position: relative; top: -20px; }
form .hs-form-required { display:inline; }
form .hs_error_rollup {display: none;}
.submitted-message { text-align: center; font-size: 18px; font-weight: 700; }
.legal-consent-container .hs-error-msgs label{color:red !important}
form fieldset{max-width:100% !important;}
form div.hs-form-field{float:none !important;display: inline-block;vertical-align: top;width: 100%!important;margin-bottom:6px;position: relative;}
form fieldset.form-columns-2 > div.hs-form-field{margin-right:2.5%; width: 48.5%!important;}
form fieldset.form-columns-2 > div.hs-form-field:last-child{margin-right:0;}
form fieldset.form-columns-3 > div.hs-form-field{margin-right:2.9%;width:31.4%!important;}
form fieldset.form-columns-3 > div.hs-form-field:last-child{margin-right:0;}
form ul.hs-error-msgs li label{font-size:14px;}

/* input */
form .input{margin-right:0 !important;}
form .hs-form-field > label { width: 100%; pointer-events: none; display:block;margin-bottom:7px;line-height: 1.23;}
form textarea,form input[type="text"],form input[type="password"],form input[type="datetime"],form input[type="datetime-local"],form input[type="date"],form input[type="month"],form input[type="time"],form input[type="week"],form input[type="number"],form input[type="email"],form input[type="url"],form input[type="search"],form input[type="tel"],form input[type="color"],form select{
  color:#3A3A3A; border:1px solid #ededed;background-color:#ffffff;padding:16px; width: 100% !important;border-radius:5px; margin:0 0 3px;font-size: 13px; font-weight: 700;}

/* Select */
form select { -moz-appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Down.svg'); background-position: right 20px center; background-repeat: no-repeat; background-size:12px auto; padding-right: 40px; }

/* Radio Button */
form .input ul.inputs-list li label input[type="radio"]:checked+span:before {box-shadow:0 0 0 8px #3A3A3A inset; border: 2px solid #3A3A3A;}
form .input ul.inputs-list li label input[type="radio"] { opacity: 0; display:none !important;}
form .input ul.inputs-list li label input[type="radio"]+span:before { position: absolute; content: ''; left: 0; top: 0; width: 38px; height: 38px; text-align: center; border: 2px solid ; border-radius:50%;}
form .input ul.inputs-list li label input[type="radio"]+span { position: relative; display: flex; padding-left: 64px; min-height: 38px; align-items: center; }

/* Check Box */
form .input ul.inputs-list li label input[type="checkbox"]:checked+span:before { background-image: url('https://discover.porziolifesciences.com/hubfs/PLS/images/Tick.png'); background-size:75%; background-position: center center; background-repeat: no-repeat; }
form .input ul.inputs-list li label input[type="checkbox"] { opacity: 0; display:none !important;}
form .input ul.inputs-list li label input[type="checkbox"]+span:before { position: absolute; content: ''; left: 0; top:-5px; width: 38px; height: 42px; text-align: center; border: 2px solid ; }
form .input ul.inputs-list li label input[type="checkbox"]+span { position: relative;  padding-left: 64px; min-height: 42px; align-items: center; }

/* Button */
form .actions{text-align:center;}
form .hs-submit { margin-top:12px; }
form .hs_submit input { background:#A51D44;color:#ffffff;  border-radius: 125px; font-size: 15px; text-align: center; font-weight: 700; padding: 12px 30px; display: inline-block; transition: background .5s ease,border .5s ease; width: 100%; }
form .hs_submit input:hover{ background-color:#c02350;}

/* Check Box & Radio Button in One Col */
form div.hs-form-field .input > ul > li{margin:0 0 28px;}
form .legal-consent-container .hs-form-booleancheckbox-display>span { margin-left: 0; }
form .legal-consent-container .field.hs-form-field { margin-bottom: 0; }
form .legal-consent-container a { font-weight: 700; }
form .legal-consent-container a:hover { color:; }
form .hs_recaptcha.hs-recaptcha {display: none;}

/* Header Global Module */
header{font-size:15px;color:#636669;background:#ffffff;line-height: 1.2; position: fixed; width: 100%;z-index: 99;left:0;top:0;transition:transform .5s ease;box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.05); padding: 9px 0;}
.small-header:not(.mobile-open) header { transform: translateY(-110%); }
header a {display:inline-block;} 
header .right-part { max-width: calc(100% - 206px); }
header .logo { width: 206px ; }
header .menu .hs-menu-depth-1 { padding:8px 13px; position: relative; }
header .right-part > .flex-box{ justify-content: flex-end; }
header li.hs-menu-depth-1.active > a,header li.hs-menu-depth-1.active-branch > a{ color:#A51D44!important;}

header a.cta_button { min-width: 160px; }
header .header-main-flex{justify-content: space-between;}
header .main-bar { padding-left: 20px; }
header .top-bar { color: #3A3A3A; }
header .top-bar a { text-decoration: underline; text-underline-position: under; }
header .top-bar a:hover{ color:#A51D44;}
header .top-bar strong a{ text-decoration:none; } 

/* Footer Global Module  */
footer { color:#636669;font-size:15px; background: #EDEDED; padding: 70px 0 35px;line-height: 1.2;  }
footer .footer-flex { align-items: flex-start; }
footer a{ display:inline-block;}
footer a:not(.cta_button):hover{ color:#A51D44;}
footer .f-logo { width: 130px; margin-top: -15px;}
footer .f_menu { width: calc(82.5% - 130px); border-right: 2px solid #E0E0E0;padding-left: 60px; padding-right: 35px; }
/* footer .f_menu .hs-menu-wrapper > ul { display: flex; justify-content: space-between; } */
footer .f_menu .hs-menu-wrapper > ul { display: flex; justify-content: flex-start; column-gap: 30px; }
footer .contact-info { width: 17.5%;  padding-left: 57px; }
footer .social-icons { width: 100%; padding-left: 200px; margin-top:30px; }
footer .social-icons svg { height: 20px; width: 20px; }
footer .copyright-text { width: 100%; font-size: 13px; margin-top: 54px; display: flex; justify-content: space-between; }
footer .copyright-text ul {padding-left: 200px;}
.by-synarcon {width: 17.5%; padding-left:57px;}
footer .copyright-text .by-synarcon a {text-decoration:none;}
footer .contact-info ul { font-size: 18px; line-height: 1.35; }
footer .contact-info ul small {  color:#A51D44;font-size: 13px; display: block; font-weight: 700; line-height: 1.85; }
footer .f_menu .hs-menu-depth-1 { padding: 0 10px; }
footer .f_menu .hs-menu-children-wrapper { margin-top: 16px; }
footer .f_menu .hs-menu-depth-2 { margin-top: 4px; }
footer .f_menu .hs-menu-depth-1 > a {color: #A51D44;  font-size: 18px; font-weight: 700; }
footer .copyright-text ul { display: flex; flex-wrap: wrap; align-items: center; margin-left: -13px; margin-right: -13px;}
footer .copyright-text ul li { position: relative; padding: 0 13px; border-right: 1px solid; }
footer .copyright-text ul li:last-child { border-right: none; }
footer .social-icons svg path { fill: #3A3A3A; }
footer .social-icons a:hover svg path { fill:#A51D44; }
footer .social-icons li { margin-right:9px; }
footer .copyright-text a { text-decoration: underline; text-underline-position: under; }
footer .book a { text-decoration: underline; text-underline-position: under; }
footer .book { margin-top: 26px; font-weight: 700; font-size: 13px; line-height: 1.23;position: relative; padding-left: 18px; }
footer .book:before { position: absolute; content: ""; left: 0; top: 2px; background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Group%2047.svg); height: 10px; width: 10px; }
footer .footer-cta { margin-top: 36px; }
footer .footer-cta a { min-width: auto; max-width: 160px; width: 100%;padding:10px 20px; }
.back-to-top { position: fixed; right: 30px; bottom: 30px; width: 50px; transform: rotate( 180deg); z-index: 9; }

@media(min-width:768px){
  form .legal-consent-container { margin-top: 55px; }
  footer .footer-child-trigger { display: none; }
  footer .f_menu .hs-menu-children-wrapper { display: block !important; }
}

@media(min-width:992px){
  footer .book.mobile,footer small .mobile{ display:none; }
}

@media(min-width:1025px){
  .header-height { height: 109px; }
  header .menu{position:relative; }
  header .menu ul>li.hs-menu-depth-1>a:hover,header .menu ul>li.hs-menu-depth-1.hs-item-has-children:hover > a{ color:#A51D44; } 
  header .hs-menu-depth-2 a:hover,header .hs-menu-depth-2.active > a{color: #A51D44; background: #EDEDED; font-weight: 700;} 
  header .menu{display:block !important;}
  header .mobile-trigger{display: none!important;}
  header .menu .hs-menu-depth-1 > ul.hs-menu-children-wrapper {position: absolute; visibility: hidden; padding: 9px 0; top: 100%; min-width: 180px; font-size: 14px; background: #ffffff; box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.1); border-radius: 0px 0px 10px 10px;}
  header .menu .hs-menu-depth-1:hover > ul.hs-menu-children-wrapper{visibility:visible;}
  header .menu .hs-menu-wrapper > ul{display: flex; flex-wrap: wrap;justify-content:flex-end;}
  header .hs-menu-children-wrapper{display:block !important;}
  header .child-trigger { width: 12px; margin-left: 9px;position: relative; top: -1px; }
  header .hs-menu-children-wrapper > li { margin-bottom: 4px; }
  header .menu .hs-menu-depth-1{ display: inline-flex; }
  header .main-bar > .flex-box { justify-content: flex-end;padding: 15px 0 6px; border-top: 1px solid #EBEBEB; }
  header .top-bar { text-align: right; margin-bottom:9px; }
  header .menu .hs-menu-depth-2 > a { width: 100%; padding: 5px 20px; }
  header .menu .hs-menu-depth-1:first-child { padding-left: 0; }
  header .header-cta { margin-left: 27px; }
  header .respoinsive-bar,header .responsive-cta{ display:none; }
  /* Updated */
  .small-header:not(.mobile-open) header { transform: translateY(0%); }
  header .logo img { transition: width .5s ease; }
  .small-header header .logo img { width: 150px !important; }
  header .top-bar { transition: margin .5s ease; }
  .small-header header .top-bar { margin-top: -43px; }
}

@media(max-width:1366px){
  footer .contact-info, .by-synarcon { padding-left: 25px; }
}

@media(max-width:1280px){
  h1,.font60{ font-size:46px;margin-bottom:34px; }
  h2,.font48{font-size:38px;margin-bottom:20px;}
  h3,.font36{font-size:30px;margin-bottom:20px;}
  .font26{font-size:22px;margin-bottom: 20px;}
  .font54{font-size:40px;}
  header .header-cta { margin-left: 15px; }
  header a.cta_button { min-width: auto; }
  header .menu .hs-menu-depth-1 { padding: 8px; }
  header .child-trigger { margin-left: 5px; }
  header .logo{ width:160px;}
  header .right-part { max-width: calc(100% - 160px); }
  footer .book{ font-size:12px;line-height:1.5; }
  footer .book:before{ top:4px; }
  footer .footer-cta { margin-top: 26px; }
  footer .social-icons { padding-left: 155px; }
  footer .copyright-text ul { padding-left: 155px; }
}

@media(max-width:1170px){
  footer .f_menu{ padding:0 20px;}
  footer .f_menu .hs-menu-depth-1 { padding: 0 5px; }
  footer .contact-info, .by-synarcon { padding-left: 20px; }
}

@media(max-width:1024px){
  .detail-content ul li, body:not(.single-blog) .hs_cos_wrapper_type_rich_text ul li { padding-left: 30px; }
  .detail-content p, .hs_cos_wrapper_type_rich_text p,.detail-content ul, .hs_cos_wrapper_type_rich_text ul,.detail-content ol, .hs_cos_wrapper_type_rich_text ol   { margin-bottom: 20px; }
  .detail-content ul ul,.hs_cos_wrapper_type_rich_text ul ul { margin-top: 20px; }
  h1,.font60{ font-size:42px; }
  .common-cta a, .cta_button { padding: 10px 20px; min-width: 190px; }
  form .input ul.inputs-list li label input[type="checkbox"]+span,form .input ul.inputs-list li label input[type="radio"]+span{padding-left:50px;min-height: 35px;}
  form .input ul.inputs-list li label input[type="checkbox"]+span:before,form .input ul.inputs-list li label input[type="radio"]+span:before{height:35px;width:35px;}  
  form select{background-position: right 15px center; background-size: 16px auto; padding-right:50px !important;}
  .header-height { height: 103px; }
  header .mobile-trigger { cursor: pointer; position: relative; width:22px; height:16px; }
  header .mobile-trigger .line {display: block;background:#636669;width:100%;height:3px;position:absolute;left: 0;border-radius: 3px;}
  header .mobile-trigger .line.line-3{top:100%;}
  header .mobile-trigger.active-re .line-3 { transform:rotate(-45deg);}
  header .mobile-trigger.active-re .line.line-3 {top:50%;}
  header .mobile-trigger .line.line-2{top:50%;}
  header .mobile-trigger.active-re .line-2 { opacity: 0;}
  header .mobile-trigger .line.line-1{top:0;}
  header .mobile-trigger.active-re .line-1{top:50%;}
  header .mobile-trigger.active-re .line-1 { transform:rotate(45deg);}
  header{ padding:0;}
  header .header-main-flex { padding: 12px 0; }
  header .menu { display:none;position: absolute;box-shadow: 0px 4px 3px rgba(0, 0, 0,0.5);transition: transform 0.5s ease; overflow-y: auto; width: 100%; right: 0;top: 100%; background-color:#ffffff; padding: 0 32px 30px;max-height: calc(100vh - 103px);}
  header .menu .hs-menu-wrapper > ul{border-top: 1px solid #EBEBEB;}
  header .menu ul > li.hs-menu-depth-1{ width: 100%; border-bottom: 1px solid #EBEBEB; padding: 21px 35px 21px 0px; }
  header .menu ul > li.hs-menu-depth-1 > a { width: 100%; position: relative;font-size: 18px; font-weight: 700; }
  header .menu li.hs-menu-depth-2 { margin-top: 13px; }
  header .menu ul.hs-menu-children-wrapper { display: none;margin: 0; padding: 2px 0 0;font-size:14px;}
  header .menu ul > li.hs-menu-depth-1 .child-trigger { position: absolute; top: 0; right: 0; height: 64px; width: 35px; z-index: 1; cursor: pointer; display: flex; justify-content: center; align-items: center; margin: 0; padding-right:5px; }
  header .menu ul > li.hs-menu-depth-1 .child-trigger img { width: 14px; transition: transform .5s ease; }
  header .menu ul > li.hs-menu-depth-1 .child-trigger.child-open img { transform: rotate(-180deg);}
  header .menu ul > li.hs-menu-depth-2 a {width: 100%; }
  header .menu li a:hover{ color:#A51D44;font-weight:700;}
  header .logo{ width:125px; }
  header .right-part .top-bar,header .right-part .header-cta { display: none; }
  header .cta-link a { font-size: 14px; color: #A51D44; font-weight: 700; text-decoration: underline; text-underline-position: under; margin-right: 25px; }
  header .top-bar { font-size: 14px; padding: 11px 0; text-align: center; border-bottom: 1px solid #EBEBEB; }
  header .header-main-flex { padding: 12px 0; }
  header .menu ul>li.hs-menu-depth-1.active-child>a { color:#A51D44; }
  footer{ padding:35px 0;}
  footer .contact-info .book,footer .footer-cta { display: none; }
  footer .f-logo { width: 130px; margin-top: 0; margin-bottom: 40px; }
  footer .f_menu { padding: 0; width: 100%; border: 0; margin-left: -5px; margin-right: -5px; }
  footer .contact-info { padding-left: 0; margin-top: 25px; width: 100%; }
  footer .social-icons, footer .copyright-text { padding-left: 0; }
  footer .book { font-size: 13px; margin: 0; }
  footer .social-icons{ display: flex; justify-content: space-between; margin-top: 24px; }
  footer .social-icons li { margin-right: 0; margin-left: 9px; }
  footer .contact-info ul { font-size: 15px; }
  footer .contact-info ul li { display: flex; flex-wrap:wrap; align-items: center; margin-bottom: 3px; }
  footer .contact-info ul small { display: inline-block; margin-right: 5px; }
  footer .copyright-text{ margin-top:27px;}
  .back-to-top { right: 20px; bottom: 20px; }
}

@media(max-width:767px){
  h1,.font60{ font-size:36px;}
  h2,.font48{font-size:32px;}
  .font54{font-size:34px;}
  h3,.font36{font-size:28px;}
  .font26{font-size:20px;}
  form .actions { text-align:center; }
  footer{ padding:15px 0 30px;}
  footer .f-logo{ display:none;}
  footer .f_menu  { margin-left: 0; margin-right: 0; }
  footer .f_menu .hs-menu-wrapper>ul { flex-wrap: wrap; }
  footer .f_menu .hs-menu-children-wrapper { display: none; margin-top: 0; padding: 2px 0 5px;}
  footer .f_menu .hs-menu-depth-1 { padding: 15px 0; position: relative; width: 100%; border-bottom: 2px solid #E0E0E0;}
  footer .f_menu .hs-menu-depth-1>a { display: block;}
  footer .footer-child-trigger { position: absolute; top: 0; right: 0; height: 53px; display: flex; align-items: center; justify-content: flex-end; width: 35px; cursor: pointer; z-index: 1; }
  footer .footer-child-trigger img{ width:14px; transition: transform .5s ease; }
  footer .footer-child-trigger.child-open img{ transform: rotate( 180deg ); }
  footer .f_menu .hs-menu-depth-2 { margin-top: 17px; }
  footer .book { padding-left: 0; }
  footer .book:before { display:none; }
  footer .copyright-text { line-height: 1.5; }
  footer .copyright-text ul li:first-child { width: 100%;}
  footer .copyright-text ul li:not(:first-child):not(:last-child):before { position: absolute; content: "|"; right: -1px; top: 0; }
  footer .copyright-text ul li { border-right: 0; }
  footer li u{ font-weight:700;}
}

@media(max-width:600px){
  .by-synarcon {padding-left: 155px;padding-top: 10px; width:auto;}
  footer .copyright-text {flex-wrap:wrap;}
}

@media(max-width:640px){
  small { font-size: 80%; }
  form div.hs-form-field,form fieldset.form-columns-2 > div.hs-form-field,form fieldset.form-columns-3 > div.hs-form-field{width: 100% !important;margin-right:0 !important;}
  form textarea,form input[type="text"],form input[type="password"],form input[type="datetime"],form input[type="datetime-local"],form input[type="date"],form input[type="month"],form input[type="time"],form input[type="week"],form input[type="number"],form input[type="email"],form input[type="url"],form input[type="search"],form input[type="tel"],form input[type="color"],form select{padding: 16px 14px;} 
  form div.hs-form-field{margin-bottom:7px}
}   

@media(max-width:375px){
  .common-cta a, .cta_button { min-width: auto; width: 100%; }
}

@media(max-width:374px){
  .header-height { height: 100px; }
  .container, .row-fluid .span12.container{ padding:0 20px;}
  header .top-bar { padding: 8px 0; line-height: 1.5;font-size: 13px; }
  header .menu{ padding: 0 20px 30px;max-height: calc(100vh - 100px); }
  header .menu ul>li.hs-menu-depth-1 .child-trigger{ padding-right:0; }
  footer .social-icons { display: block }
  footer .book { width: 100%;margin-bottom: 24px; }
  footer .social-icons li { margin-right: 9px; margin-left: 0; }
}

.slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-list.dragging { cursor: pointer; cursor: hand; }
.slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
.slick-track:before, .slick-track:after { display: table; content: ''; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
[dir='rtl'] .slick-slide{ float: right;}
.slick-slide img{display: block;}
.slick-slide.slick-loading img{display: none;}
.slick-slide.dragging img{pointer-events: none;}
.slick-initialized .slick-slide{display: block;}
.slick-loading .slick-slide{visibility: hidden;}
.slick-vertical .slick-slide{  display: block; height: auto; border: 1px solid transparent; }
.slick-arrow.slick-hidden {display: none;}
.slick-dotted ul.slick-dots { display: flex!important; flex-wrap: wrap; align-items: center; justify-content: center; list-style: none; margin-top: 30px; }
ul.slick-dots > * {line-height: 0;}
ul.slick-dots li {margin: 10px 5px 0 5px;}
ul.slick-dots button {font-size: 0;height: 20px;width: 20px;background: #EDEDED;border-radius: 50%;cursor: pointer;}
ul.slick-dots li.slick-active button,ul.slick-dots li button:hover  {background: #636669;}
.slick-arrow { position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer;z-index: 5;}
.slick-arrow.prev-arrow {left: -15px;}
.slick-arrow.next-arrow {right: -15px;}
.slick-arrow:hover path { fill: #005151 !important; }

@media(max-width:1366px){
  .slick-arrow.prev-arrow { left: 0; }
  .slick-arrow.next-arrow {right: 0;}
}

@media(max-width:767px){
  ul.slick-dots button { height: 15px; width: 15px;}
  .slick-dotted ul.slick-dots{  margin-top: 26px; }
}
.sub-title { color:#A51D44; letter-spacing: 0.1em; font-weight: 700; line-height: 2.25; margin-bottom: 10px; font-size:16px; }
.white .sub-title { color:#ffffff;}
.red-icon { position: absolute; width: 100%; left: 0; top: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.red-icon  a { display: inline-flex; align-items: center; justify-content: center; height: 50px; width: 50px; border-radius: 50%; background: #A51D44; transition: color .5s ease,background .5s ease;}
.red-icon  a:hover{  background: #005151; }
.red-icon svg { width: 12px; }
.red-icon path { fill: #ffffff; }

/* Newsletter Subscribe Global Module */
.newsletter-subscibe { background: #EDEDED; padding: 55px 0; }
.newsletter-contant { width: 35%; padding-right: 30px; }
.newsletter-form { width: 65%; }
.newsletter-form > span { display: block; max-width: 600px; }
.newsletter-flex { align-items: flex-end; }
.newsletter-subscibe form .hs_submit input { border-radius: 0px 5px 5px 0px; width: 170px; padding: 16px; }
.newsletter-subscibe form .hs-submit { margin-top: 0; }
.newsletter-subscibe form {display: flex; align-items: flex-start;}
.newsletter-subscibe form .hs-form-field>label{ display:none;}
.newsletter-subscibe form .hs-input { border-radius: 5px 0px 0px 5px;    border-color: transparent; }
.newsletter-subscibe form ul.hs-error-msgs { /*position: absolute; */ left: 0; top: 100%; }

/* Hero Slider - Two Column Module */
.hero-slider-wrapper { padding: 67px 0 74px; }
.hero-slider-wrapper h1,.hero-slider-wrapper h2,.hero-slider-wrapper .heading {color:#005151;font-weight: 700; margin: 0 0 16px;}
.hero-slider-wrapper .heading,.hero-slider-wrapper .sub-heading {font-family:Playfair Display, sans-serif; color:#005151; line-height: 1.1;}
.hero-slider-wrapper .sub-heading {font-weight:400;}
.hero-slider-wrapper .detail-content {color: #636669; font-size: 18px; line-height: 1.35;}
.hero-slider-item > .flex-box { justify-content: space-between; }
.hero-slider-content { width: 48.22%;}
.hero-img { width: 43%; text-align: center; }
.hero-img img { border-radius: 25px; overflow: hidden; margin: 0 auto; }
.hero-slider-wrapper .slick-track{ display:flex;}
.hero-slider-wrapper .hide-dots ul.slick-dots { display: none !important; }
.hero-slider-wrapper h3{color: #005151;font-weight: 400;line-height: 1.1;}

/* Discover Baron Module */
.discover-baron{background: #A51D44; overflow:hidden;padding: 135px 0 105px; position:relative; }
.discover-baron:before { position: absolute; content: ""; border-right: 100vw solid #ffffff; border-bottom: 43px solid transparent; top: 0; left: 0; z-index:1; }
.discover-baron:after { position: absolute; content: ""; border-left: 100vw solid #ffffff; border-top: 43px solid transparent; bottom: 0; left: 0; z-index:1; }
.discover-baron-top { margin-bottom: 108px; }
.discover-baron-top-left { width: 24.25%; padding-right: 30px; padding-top:10px;}
.discover-baron-top-left h4 { margin-bottom: 0; display: inline-flex; align-items: center; }
.discover-baron-top-left h4 img { margin-left: 24px; margin-top: 5px; }
.discover-baron-top-right .detail-content { max-width: 820px; }
.discover-baron-top-right { width: 75.75%; }
.discover-baron-top-right h3 { font-family: inherit; line-height: 1.22; }
.discover-baron-top-right h3 strong { opacity: 0.5; font-family: 'Lato', sans-serif; font-weight:600; }
.discover-baron-bottom { position: relative; z-index: 1; }
.discover-baron-bottom .bg-shape { position: absolute; z-index: -1; left: 0; top: -34px; width: 42%; }
.discover-baron-bottom-flex { justify-content: space-between; align-items: flex-start; }
.discover-baron-bottom-left { width: 44%; position: relative; margin-top: 75px; }
.discover-baron-bottom-left img { width: 100%; border-radius: 25px; overflow: hidden; }
.discover-baron-bottom-left .img-shape {background:#005151;  position: absolute; top: -31px; right: -30px;border-radius: 40px 0px 40px 40px; height: 100%; width: 52%; z-index: -1; }
.discover-baron-bottom-right { width: 43.25%; }

/* Services Module */
.our-services{ padding:55px 0 90px;}
.our-services h2 mark { border-color: #30CEBB;}
.our-services-content { margin-bottom: 36px; }
.our-services-flex { justify-content: center; }
.our-services-item { width: 14.75%; padding: 20px 10px;display: flex; flex-wrap: wrap; justify-content: center; }
.our-services-icon { background:#A51D44; border-radius: 50%; height: 108px; width: 108px; margin: 0 auto 28px;overflow: hidden;transition: background .5s ease;  }
.our-services-icon a { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%;}
.our-services-item h4 { font-family: inherit; font-size: 18px; line-height: 1.33; margin-bottom: 0; order:2; width:100%; }
.our-services-icon:hover,.our-services-item h4:hover + .our-services-icon{ background-color:#C02350;} 
.our-services-item a.no-link { pointer-events: none; }

/* UKG Partnership Module */
.ukg-partnership { position: relative; z-index:1;padding: 45px 0 60px ; background-color:#005151;overflow: hidden;}
.ukg-partnership-flex{justify-content: space-between;padding-right:20px;}
.ukg-partnership-logo { background: #2a605e; width: 414px; height: 414px; border-radius: 50%; position: relative; justify-content: center; align-items: center; display: flex; }
.ukg-partnership-content { width: 41.1%; }
.ukg-partnership .cicle1 { position: absolute; height: 716px ; width: 716px ; right: 100%; background: #2a605e; top: 100%; transform: translate(239px ,-170px ); border-radius: 50%; }
.ukg-partnership .cicle2 { position: absolute; height: 506px ; width: 506px ; background: #2a605e; border-radius: 50%; bottom: 0; left: 26%; transform: translateY(84%); }

/* Access to Learning Center Module */
.lc-access-wrapper { padding: 98px 0; }
.lc-access-wrapper h2 mark { border-color: #E2849F; }
.lc-access-wrapper .detail-content { max-width: 485px; margin: 0 auto 40px; }
.lc-access { margin-left: -25px; margin-right: -25px; }
.lc-access .slick-arrow { top: 36%; transform: translateY(0%);}
.lc-access-item { font-size: 15px; font-weight:700; margin-right: 25px; margin-left: 25px;}
.lc-access-item .flex-box { align-items: flex-start; flex-wrap: nowrap; justify-content: space-between; }
.lc-access-img { height: 180px; width: 100%; border-radius: 10px; background-size: cover; background-repeat: no-repeat; background-position: center; margin-bottom: 10px; }
.lc-access-title { padding-right: 15px; }
.lc-access-type a{ position: relative; padding-left: 18px; display:inline-block; white-space: nowrap; }
.lc-access-type a:after { position: absolute; content: ""; left: 0; top: 6px; background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Group%2047.svg); height: 10px; width: 10px; }
.lc-access-item a:hover{ color:#A51D44;}

/* Two Column - Protect Yourself Module */
.protect-yourself { background: linear-gradient(87.95deg, #A51D44 63.56%, #E2849F 115.7%); position:relative; }
.protect-yourself:after { position: absolute; content: ""; border-left: 100vw solid #ffffff; border-top: 60px solid transparent; bottom: 0; right: 0; z-index: 1; }
.protect-yourself:before { position: absolute; content: ""; border-left: 100vw solid #ffffff; border-bottom: 70px solid transparent; top: 0; right: 0; z-index: 1; }
.protect-yourself h2 mark {  border-color: #E2849F; }
.protect-yourself-content { width: 52.75%; padding: 115px 105px 115px 32px; }
.protect-yourself-img { width: 47.25%; background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Testimonials Module */
.testimonial-wrapper { overflow: hidden; padding: 95px 0 125px; }
.testimonial-wrapper h2 mark { border-color: #E2849F; }
.testimonials { margin-left: -70px; margin-right: -70px; }
.testimonial-quote { margin-bottom: 27px; }
.testimonial-item { padding: 0 20px; }
.testimonial-item blockquote { font-size: 24px; line-height: 1.4;max-width: 260px; margin: 0 auto; display: block; }
.testimonial-item .name { color: #A51D44; font-weight: 900; margin-top: 35px; }
.testimonial-item .author-img { height: 90px; width: 90px; margin: 12px auto 0; border-radius: 100%; overflow: hidden; }
.testimonial-item .author-img img { width: 100%; height: 100% !important; object-fit: cover; }
.testimonial-bottom { max-width: 1170px; margin: 0 auto; padding-top: 90px; }
.testimonial-bottom .flex-box { justify-content: space-between; }
.testimonial-bottom-content { width: 28.25%; }
.testimonial-bottom-video { width: 61%; }
.small-title {font-size:32px;}

/* Banner - Partner Module */
.partner-with-us { padding: 114px 0 92px; background-size: cover; background-repeat: no-repeat; background-position: center; }
.partner-with-us .detail-content { max-width: 414px; margin-left: auto; margin-right: auto; }
.partner-with-us-bottom { margin-top: 10px; font-size: 12px;}

/* Hero - Two Column Module */
.hero-two-col { padding: 65px 0 50px; }
.hero-two-col h1{ color:#005151;}
.hero-two-col-flex{ justify-content: space-between; }
.hero-two-col-content { width: 47.5%; }
.hero-two-col-img { width: 46.5%; margin-bottom: 30px; }
.hero-two-col-img img { border-radius: 25px;}
.hero-swap-column .hero-two-col-flex {flex-direction: row-reverse;}
section.hero-two-col.v2 .hero-two-col-img { text-align: center; }
section.hero-two-col.v2 .hero-two-col-img img { max-width: 300px; width: 100%; }

.top-slant:before { position: absolute; content: ""; border-bottom: 70px solid transparent; top: 0; right: 0; z-index: 1; width: 100%; border-left: 100vw solid #fff; }
.bottom-slant:after { position: absolute; content: ""; border-top: 70px solid transparent; bottom: 0; right: 0; z-index: 1; width: 100%; border-right: 100vw solid #fff; }

.top-slant { padding-top: 123px !important; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; z-index:1; }
.bottom-slant { padding-bottom: 129px !important; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; z-index:1; }

@media (max-width:1000px) {
  .two-column-repeater .hero-swap-column .hero-two-col-flex {flex-direction: column-reverse;}
  .two-column-repeater .hero-swap-column.x_swap_col_mobile .hero-two-col-flex {flex-direction: column;}
}

@media (max-width:767px) {
  .hero-swap-column .hero-two-col-flex {flex-direction: column-reverse;}
  .hero-swap-column.x_swap_col_mobile .hero-two-col-flex {flex-direction: column;}
  .hero-two-col-content br {
    display: none;
  }
}

@media (min-width: 1025px) {
  .hero-two-col-flex.vtop .hero-two-col-content {padding-top: 0px !important;}
}

/* Richtext Area Module */
.richtext-area { padding: 155px 0 160px; position: relative; }
.richtext-area:before { position: absolute; content: ""; border-right: 100vw solid #ffffff; border-bottom: 85px solid transparent; top: 0; right: 0;z-index:1; }
.richtext-area:after { position: absolute; content: ""; border-left: 100vw solid #ffffff; border-top: 85px solid transparent; bottom: 0; right: 0;z-index:1; }
.richtext-area .detail-content { font-size: 20px; line-height: 1.4; }
.richtext-area-width { margin: 0 auto; }
.two-col-b-points ul { list-style: none; column-count: 2; padding-left: 0; column-gap: 20px; padding-top: 30px; }
.two-col-b-points ul li { position: relative; padding-left: 40px; margin-bottom: 20px; }
.two-col-b-points ul li:before { position: absolute; content: ""; background-image: url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Vector-3.svg'); width: 19px; height: 17px; left: 0; top: 9px; }
.richtext-area h2 mark {border:none; color: #A51D44;}
.richtext-area.normal-bot:before {border-left-width: 0 !important;border-top-width: 0 !important;}
.richtext-area.normal-bot {padding-bottom:75px;}
.richtext-area.no-top-slant:before {content:none}
.richtext-area.no-bot-slant:after {content:none}

/* Two Column - Swap Module */
.two-col-swap { padding: 85px 0 115px; }
.two-col-swap-flex{ justify-content: space-between; }
.two-col-swap-content { width: 37%; }
.two-col-swap-img { width: 51.25%; }
.two-col-swap-img img{ border-radius:25px;}
.two-col-swap-item:not(:first-child) { padding-top: 104px; }

/* Numbers Module */
.baron-numbers { background:#005151; padding: 150px 0; position: relative; }
.baron-numbers:before { position: absolute; content: ""; border-right: 100vw solid #ffffff; border-bottom: 68px solid transparent; top: 0; right: 0;z-index:1; }
.baron-numbers:after { position: absolute; content: ""; border-left: 100vw solid #ffffff; border-top: 55px solid transparent; bottom: 0; right: 0;z-index:1; }
.baron-numbers.overlapped{ z-index: -1; margin-bottom: -65px; }
.baron-numbers h4 { font-family: inherit; font-weight: 400;}
.baron-numbers-flex { justify-content: center; }
.baron-numbers-item { margin: 25px 39px; font-weight: 700; width: 158px; }
.baron-number{ font-family: Playfair Display, sans-serif;  color: #005151; max-width: 160px; font-size: 64px;  width: 100%; height: 164px; justify-content: center; display: flex; align-items: center; position: relative; z-index: 1; padding-bottom: 37px; margin: 0 auto; }
.baron-number .bg-shape { position: absolute; top: 50%; left: 0; z-index: -1; width: 100%; transform: translateY(-50%); right: 0; text-align: center; margin: 0 auto; }
.baron-numbers-item p { font-size: 18px; margin-top: 27px; }
.baron-numbers.light { background: #ffffff; }
.baron-numbers.light .baron-numbers-flex { margin-left: -22px; margin-right: -22px; }
.baron-numbers.light .baron-numbers-item { margin: 26px 22px; font-weight: 400; width: 210px;  padding: 0; }
.baron-numbers.light .baron-number { width: 135px; height: 140px; font-size: 42px; font-weight: 900; padding-bottom: 30px; color:#A51D44;   }
.baron-numbers.light .baron-number small { font-weight: 700; font-size: 36px; position: relative; top: 1px; }
.baron-numbers.light .baron-numbers-item p { margin-top: 16px; line-height: 1.33; }
.baron-numbers.light h4 strong{ font-weight:800; color:#A51D44;}

/* Why Baron Payroll Module */
.why-baron-main-wrapper { padding-top: 37px; }
.why-baron{ background:#A51D44; padding: 128px 0; position: relative;}
.why-baron:before { position: absolute; content: ""; border-right: 50vw solid #a51d44; border-top: 37px solid transparent; top: -37px; right: 0; z-index: 1; }
.why-baron:after { position: absolute; content: ""; border-left: 50vw solid #C02350; border-top: 37px solid transparent; border-bottom: 37px solid transparent; top: -37px; left: 0; z-index: 1; }
.why-baron .why-baron-top h2 { margin-bottom: 48px; }
.why-baron-top-flex{ justify-content: space-between; }
.why-baron-item { width: 42.5%; margin-bottom: 40px; }
.why-baron-item-icon { width: 48px;margin-top: 5px; }
.why-baron-item-content { width: calc(100% - 48px); padding-left: 24px; }
.why-baron-item-content  strong{ font-weight:900;}
.why-baron-item p { margin-bottom: 20px; }
.why-baron-bottom { padding-top: 50px; }
.why-baron-bottom .flex-box { justify-content: space-between; }
.why-baron-content { width: 37%; }
.why-baron-video { width: 49.75%; }
.why-baron-content .detail-content { font-family: 'Lato', sans-serif; max-width: 330px; }
.why-baron-item .title{ font-weight:700; }


/* Full width Image with caption Text Module */
.image-with-caption { padding: 125px 0; }
.image-with-caption-wrapper { max-width: 970px; margin: 0 auto; position: relative; }
.image-caption { max-width: 330px; padding-left: 44px; position: relative; margin-left: auto; margin-top: -75px; }
.image-with-caption-wrapper .left-arrow { position: absolute; left: 0; top: 0; }
.services-detail-left .common-cta { margin-top: -21px; text-align: center; padding: 0 20px; }
.services-detail-left .common-cta a { background: #005151; min-width: auto; max-width: 400px; width: 100%; }
.services-detail-left .common-cta a:hover{background:#1a6363; }

/* Services Module */
.services-detail { padding: 128px 0 112px; }
.services-detail-flex,.guarantee-detail-flex{ justify-content: space-between; }
.services-detail-left,.guarantee-img-right  { width: 43.25%; }
.services-detail-left .img-wrap { margin-top: 39px; }
.services-detail-left .common-cta { margin-top: -21px; text-align: center; }
.services-detail-left .detail-content { margin-top: 42px; }
.services-detail-left .img-wrap img { border-radius: 25px; overflow: hidden; width: 100%; }
.services-detail-left .common-cta-group a.cta_button { min-width: 188px;border: 2px solid #A51D44 ; padding: 8px 20px; }
.services-detail-left .common-cta-group a.cta_button:hover{ border-color:#c02350; }
.services-detail-left .common-cta-group a.cta_button.border:not(:hover) { background: transparent; color: #A51D44 !important; }
.services-detail-left a.plain-text strong { display: inline-block;}
.services-detail-left a.plain-text:hover{ color:#A51D44;}
.services-detail-left .common-cta-group { margin-top: 17px; }
.services-detail-left .common-cta-group a{ margin-top:25px;margin-right: 24px; }
.services-detail-left .common-cta-group a:last-child{ margin-right:0;}
.services-detail-right,.guarantee-detail-left { width: 43.5%; font-size: 20px; line-height: 1.4; padding-left: 45px; margin-top: -24px; margin-bottom: -24px; }
.services-detail-item { padding: 24px 30px 24px 0; border-bottom: 2px solid #EDEDED; position: relative; }
.services-detail-item:last-child { border: 0; }
.services-detail-right strong,.guarantee-detail-left strong { color: #A51D44; }
.services-detail-right .left-icon,.guarantee-detail-left .left-icon { position: absolute; top: 24px; left: -44px; }
.services-detail-right .close-icon { transition: transform .25s ease; position: absolute; right: -9px; top: 24px; cursor: pointer; width: 30px; height: 30px; display: flex; justify-content: center;align-items: center; display:none;transform: rotate(45deg); }
.services-detail-right .show-icon.close-icon{ display:flex;}
.services-detail-right .loadmore .close-icon{ transform: rotate(0deg); }
.services-detail-item.loadmore .detail-content { -webkit-line-clamp: 2; -webkit-box-orient: vertical; -moz-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; }
.services-detail-item.show-content .detail-content{-webkit-line-clamp: 1000 !important;}
.services-detail-right .show-content .close-icon{ transform: rotate(45deg); }
.services-detail-right:not(.hide-oveflow) .services-detail-item,.guarantee-detail-left:not(.hide-oveflow) .services-detail-item{ padding-right: 0; }

/* + Two Column - Guarantee Module */
.guarantee-detail { padding: 120px 0; }
.guarantee-detail-left { width: 41%; }
.guarantee-detail.rtp { padding-top: 50px !important; }
.guarantee-detail .guarantee-img-right img{border-radius:25px;overflow: hidden;}

/* Client Login Global Module */
.client-login { padding: 100px 0; }
.client-login-inner { background: #ededed; border-radius: 10px; max-width: 500px; margin: 0 auto; padding: 50px; position: relative; }
.client-login-inner-arrow { position: absolute; top: 0; left: 0; right: 0; text-align: center; display: inline-block; width: 50px; margin: 0 auto; transform: translateY(-50%); }
.client-login .login-error{color:#c02350;}
.loginsimplemenu { text-align: center; padding-top: 30px; }
.loginsimplemenu ul { list-style: none; }
.loginsimplemenu ul li a:hover{ color:#a51d44 }

/* Learning Center css*/
/* Resources Types Global Module */
.resources-main h5 { font-size: 20px; font-family: inherit; line-height: 1.4; margin-bottom: 25px;letter-spacing: 0.1em; }
.resources-group { list-style: none; text-transform: uppercase; letter-spacing: 0.1em; }
.resources-group li a { padding: 16px 0 16px 26px; display: block; }
.resources-group li a:hover { font-weight: 700; }
.resources-group li.active a {  margin-left: -12px; padding-left: 37px;}
.resources-group .active-arrow { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); padding-bottom: 2px; }

/* Learning Center - Hero Module */
.lc-hero { background:#A51D44; padding: 70px 0 115px;position: relative; }
.lc-hero:after { position: absolute; content: ""; border-left: 100vw solid #ffffff; border-top: 80px solid transparent; bottom: 0; right: 0; z-index: 1; }
.lc-hero-inner { max-width: 496px; margin: 0 auto; }
.lc-hero-serch { margin-top: 70px; }
.lc-hero-serch form { position: relative; display: flex; flex-wrap: wrap; border-radius: 125px; overflow: hidden; }
.lc-hero-serch input[type="text"] { width: calc(100% - 116px) !important; border-radius: 0; margin-bottom: 0; }
.lc-hero-serch input[type="submit"] { width: 116px; opacity:1; background-color: #005151; color: #ffffff; font-size: 15px; transition: background .5s ease; font-weight: 700; display: flex; justify-content: center; align-items: center; padding-left: 25px;background-image: url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Search.svg'); background-repeat: no-repeat; background-position: center left 18px; }
.lc-hero-serch input[type="submit"]:hover{background-color:#2a605e;}

.lc-hero-serch input[type="text"] {
    border: 1px solid #000;
    border-bottom-left-radius: 30px!important;
    border-top-left-radius: 30px!important;
}

.lc-hero-serch form {
   margin-bottom: 30px !important;
    max-width: 600px;
}

/* Blog Listing */
.lc-wrapper { padding: 15px 0 128px; }
.lc-wrapper .container > div > div { display: flex; flex-wrap: wrap; justify-content: space-between; }
.lc-wrapper .container{max-width: 1265px!important;}
.lc-wrapper .row-fluid .resources-types { padding-right: 52px;width: 25%; }
.lc-wrapper .row-fluid .blog-list-main { margin-left: 0; width: 75%; }
.blog-list-inner h2 { margin-bottom: 18px;}
.blog-list-flex { justify-content: space-between; }
.blog-post-item { background: #EDEDED; border-radius: 10px; overflow: hidden; position: relative; width: calc(50% - 15px); margin-top: 27px; }
.blog-post-item-img { /*height: 215px;*/ height: auto; padding-bottom:66%; width: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; display: block; position:relative; }
.blog-post-item-img.video-item {padding-bottom:56.25%; }
.blog-post-item-img span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.blog-post-item-img:hover path { fill: #ffffff; }
.blog-post-item-img:hover circle { fill: #A51D44; }
.blog-post-item-content { padding: 10px 20px 80px; }
.blog-post-item-topics { font-size: 12px; font-weight: 700; color: #C02350; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.blog-post-item-content h3 { font-size: 22px; line-height: 1.27; margin-bottom: 10px; }
.blog-post-item-content h3 a:hover{ color:#A51D44;}
.blog-post-item-content p { font-size: 15px; line-height: 1.2; }
.blog-post-item .read-now-cta { position: absolute; right: 20px; bottom: 10px; color: #A51D44; font-size: 15px; font-weight: 700; }
.blog-post-item .read-now-cta a:hover,.blog-post-item-topics a:hover{ color:#005151;}
.blog-post-all a.all-posts-link.cta_button { min-width: 188px; margin-top: 64px; }
.blog-post-all a.all-posts-link.cta_button:not(:hover) { background: #EDEDED; color: #3A3A3A !important; }
.blog-list-inner { padding-left: 33px; border-left: 1px solid #EDEDED; min-height:460px; }
.blog-list-inner .active-filter { cursor: pointer; font-weight: 700; letter-spacing: 0.1em; }
.blog-list-inner .active-filter span { color: #A51D44; display: inline-block; padding-left: 5px; text-transform: uppercase; }
.blog-filter { display: flex; justify-content: flex-end; position: relative; margin-bottom: 10px; }
.blog-filter ul { position: absolute; display: none;  right: 0; top: 100%; list-style: none; background:#ffffff;max-height: 250px; overflow-y: auto; z-index: 1; box-shadow: 2px -1px 5px rgba(0, 0, 0,0.1); border-radius: 0px 0px 10px 10px; padding: 9px 0; width: 200px; font-size: 14px; line-height: 1.4; }
.blog-filter ul li a { width: 100%; padding: 5px 20px; display: block; }
.blog-filter ul li a:hover{ color: #A51D44; background: #ededed;}
.lc-wrapper h4.search-title span { color: #A51D44; }
.blog-list-inner .back-to-home a { opacity: 1; transition: color .5s ease; }
.blog-list-inner .back-to-home a:hover { color: #A51D44;opacity: 1; }

.search-and-back {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-and-back > * {
    margin-bottom: 0;
}

@media (max-width: 899px) {
    .search-and-back {
        justify-content: center;
    }

    .lc-hero-serch form {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Blog Detail */
.blog-post-hero { background:#A51D44; padding: 70px 0 139px; position: relative; }
.blog-post-hero:after { position: absolute; content: ""; border-right: 100vw solid #ffffff; border-top: 80px solid transparent; bottom: 0; right: 0; z-index: 1; }
.blog-post-hero-left { width: 75.75%; padding-right:33px; }
.blog-post-hero h1{ margin-bottom: 0; font-weight: 700; }
.blog-post-hero-right { width: 21.5%; text-align: right; }
.blog-post-hero-flex,.blog-post-flex{justify-content: space-between;}
.back-to-home a { display: inline-flex; justify-content: flex-end; font-size: 15px; font-weight: 700;    transition: opacity .5s ease; }
.back-to-home a svg { margin-right: 13px; }
.back-to-home a:hover,.blog-post-hero .sub-title a:hover,.blog-post-hero-bottom .social-shre a:hover { opacity: 0.7; }
.blog-post-hero .sub-title { line-height: inherit; margin-bottom: 25px; }
.blog-post-hero .sub-title a{ transition: opacity .5s ease;  }
.blog-post-hero-bottom { margin-top: 80px; }
.blog-post-hero-bottom > .flex-box { justify-content: space-between; }
.blog-post-hero-bottom time { font-size: 14px; font-weight: 700; }
.blog-post-hero-bottom .social-shre ul { list-style: none; font-size: 15px; font-weight: 700; }
.blog-post-hero-bottom .social-shre ul li:not(:first-child) { margin-left: 7px; }
.blog-post-hero-bottom .social-shre ul li:first-child svg { margin: 0 11px; }
.blog-post-hero-bottom .social-shre ul a { display: flex; transition: opacity .5s ease; }
.blog-post-hero-bottom .social-shre li:not(:first-child) svg { height: 17px; width: 17px; }
.blog-post-hero-bottom .social-shre path { fill:#ffffff; }

.blog-post-wrapper { margin-top: -127px; position: relative; z-index: 2; }
.blog-post-content{width: 75.75%; }
.blog-post-right { width: 21.5%; }
.blog-post-content .post-body { border-right: 1px solid #EDEDED; padding: 64px 33px 0 0; margin-bottom:70px; }
.blog-post-content .feature-img { margin-right: 33px; border-radius: 10px; overflow: hidden; }
.blog-post-content .feature-img img{ width:100%; }
.blog-post-content .post-body .hs_cos_wrapper_type_rich_text > *:first-child,.blog-post-content .post-body .hs_cos_wrapper_type_rich_text > *:first-child img{margin-top:0 !important;}
.blog-post-content .post-body .hs_cos_wrapper_type_rich_text h3{font-size: 28px; font-weight: 400; color:#A51D44; margin:50px 0;}
.blog-post-content .post-body img{margin: 70px 0;}
.blog-post-content .post-body blockquote { font-size: 36px; line-height: 1.27; font-family: Playfair Display, sans-serif; margin-bottom:40px; }
.blog-post-content .post-body blockquote strong{ color:#A51D44;}
.blog-post-content .post-body blockquote:before { position: relative; content: "“"; font-size: 64px; line-height: 0.9; z-index: 1; font-weight: 700; }

.blog-post-bottom-back { text-align: right; padding-bottom: 56px; }
.blog-post-bottom-back .back-to-home a{ transition: color .5s ease;opacity:1;}
.blog-post-bottom-back .back-to-home a:hover{ color:#A51D44; opacity:1;}

/* Blog Detail - Right Column Module */
.resources-content-form { background: #005151; border-radius: 10px; color: #fff; padding: 46px 27px 35px;margin-bottom: 64px;}
.resources-content-form .form-title { font-size: 18px; line-height: 1.22; font-weight: 400; margin-bottom: 25px;text-align: center; }
.resources-content-form form { font-size: 11px; position: relative; }
.resources-content-form form .hs-form-field > label { font-weight: 700; margin-bottom: 5px; }
.resources-content-form form textarea, .resources-content-form form input[type="text"], .resources-content-form form input[type="password"], .resources-content-form form input[type="datetime"], .resources-content-form form input[type="datetime-local"], .resources-content-form form input[type="date"], .resources-content-form form input[type="month"], .resources-content-form form input[type="time"], .resources-content-form form input[type="week"], .resources-content-form form input[type="number"], .resources-content-form form input[type="email"], .resources-content-form form input[type="url"], .resources-content-form form input[type="search"], .resources-content-form form input[type="tel"], .resources-content-form form input[type="color"], .resources-content-form form select { padding: 5px; }
.resources-content-form form ul.hs-error-msgs { color: #ffffff; }
.resources-content-form form ul.hs-error-msgs li label { font-size: inherit; }
.resources-content-form form fieldset:nth-last-of-type(1) .hs-richtext.hs-main-font-element { position: absolute; top: 100%; right: 0; margin-top: 5px; }
.resources-content-form form .hs-submit { margin-top: 22px; }

.related-articles-wrapper h3 { font-size: 32px; margin-bottom: 30px; line-height: 1.12; }
.related-article-item { background: #EDEDED; border-radius: 10px; overflow: hidden; margin-bottom: 36px; }
.related-article-item-img { height: 120px; width: 100%; display: block; background-position: center; background-repeat: no-repeat; background-size: cover;position: relative; overflow: hidden; }
.related-article-item h4 { font-size: 18px; line-height: 1.33; margin-bottom: 0; padding: 6px 15px 15px; }
.related-article-item h4 a:hover{ color:#A51D44;}
.related-article-item-img span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.related-article-item-img:hover circle { fill: #A51D44; }
.related-article-item-img:hover path { fill: #ffffff; }
.bottom-detail-content { margin-top: 50px; margin-bottom: 30px; }

/* Title With CTA Module */
.title-with-cta { background: #005151; border-radius: 10px; padding: 40px 30px 0; margin-top: 65px; }
.title-with-cta h3 { font-size: 32px; line-height: 1.19; margin-bottom: 0; }
.title-with-cta h3 mark { color: #30CEBB; background: transparent;font-family: 'Lato', sans-serif; font-weight:600;  }
.title-with-cta .common-cta { position: relative; top: 18px; margin-top: 17px; }
.title-with-cta .common-cta a { min-width: 236px; padding-top: 6px; padding-bottom: 6px; }

/* Learning Center Main Module */
.lc-resource-wrapper { padding-left: 33px; border-left: 1px solid #EDEDED; }
.resource-left { width: 48.65%; }
.resource-right { width: 48.65%; }
.resource-item > .flex-box { justify-content: space-between; }
.resource-post-item { background: #EDEDED; border-radius: 10px; overflow: hidden;  position: relative; }
.resource-post-item-content { padding: 10px 20px 40px; }
.resource-post-item h4 { margin-bottom: 10px; }
.resource-post-item h4 a:hover{ color:#A51D44;}
.resource-post-item p { font-size: 15px; line-height: 1.2;max-width:264px; }
/* .resource-right h4 { font-size: 18px; } */
/* .resource-right .resource-post-item:first-child { margin-bottom: 26px; } */
/* .resource-right .resource-post-item { min-height: calc(50% - 13px); } */
.resource-right .resource-post-item-img { height: auto; padding-bottom: 66%; width: 100%; display: block; background-size: cover; background-position: center; position: relative; background-repeat: no-repeat; overflow: hidden; }
.resource-left .resource-post-item-img { height: auto; padding-bottom: 66%; width: 100%; display: block; background-size: cover; background-position: center; position: relative; background-repeat: no-repeat;  overflow: hidden;}
.video-item .resource-left .resource-post-item-img, .video-item .resource-right .resource-post-item-img {padding-bottom:56.25%;}
.resource-left .resource-post-item, .resource-right .resource-post-item { height: 100%; }
.lc-resource-wrapper .read-now-cta { text-align: right; position: absolute; right: 20px; bottom: 15px; }
.lc-resource-wrapper .read-now-cta svg { margin-left: 8px; }
.lc-resource-wrapper a.more-link { display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; color: #A51D44; }
.lc-resource-wrapper a.more-link:hover{ color:#005151;}
.lc-resource-wrapper a.more-link:hover circle{ fill:#005151;}
.lc-resource-wrapper a.more-link circle{transition: fill .5s ease; }
.lc-resource-wrapper .common-cta { margin-top: 32px; }
.lc-resource-wrapper .common-cta a { min-width: 188px; }
.lc-resource-wrapper h3 { margin-bottom: 64px; }
.lc-resource:not(:last-child) { margin-bottom: 48px; }
.resource-post-item-img span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.resource-post-item-img:hover circle{ fill:#A51D44;}
.resource-post-item-img:hover path{ fill:#ffffff;}

/* Two Column Swap - Content and Form Module */
.two-column-form-section {position: relative; z-index: 1; overflow: hidden; }
.two-column-form-section:before { position: absolute; content: ""; border-right: 100vw solid #fff; border-bottom: 67px solid transparent; top: 0; left: 0; z-index: -2; }
.two-column-form-section:after { position: absolute; content: ""; border-left: 100vw solid #fff; border-top: 60px solid transparent; bottom: 0; left: 0; z-index: -2; }
.two-column-form-left { width: 50%; }
.two-column-form-right { width: 43.5%; }
/* .two-column-form-right .detail-content { max-width: 450px; font-family: 'Work Sans',sans-serif; } */
.two-column-form-right .detail-content { max-width: 450px; font-family: 'Lato',sans-serif; }
.two-column-form-right .form-wrapper { max-width: 480px;margin-top: 25px; }
.two-column-form-right h4 { font-family: inherit; font-weight: 400; line-height: 1.15; }
.two-column-form-right form .hs_submit input { background:#005151; }
.two-column-form-right form,.two-column-form-right form ul.hs-error-msgs{ color:#ffffff; }
.two-column-form-right form .hs_submit input:hover{ background: #3A3A3A; }
.two-column-form-right form fieldset.form-columns-0 { line-height: 0; }
.two-column-form-flex { justify-content: space-between; }
.two-column-form-img { max-width: 338px ; position: relative;z-index:1; }
.two-column-form-img img { width: 100%; border-radius: 10px; }
.two-column-form-img .img-shape { background: #005151; position: absolute; top: -25px ; right: -25px ; border-radius: 40px 0px 40px 40px ; height: 69%; width: 83%; z-index: -1; }
.two-column-form-section .bg-shape { position: absolute; z-index: -1; left: 0; bottom: 0; width: 39.6%; }
.swap-column .two-column-form-flex { flex-direction: row-reverse; }
.swap-column .bg-shape2 { position: absolute; right: 0; bottom: 0; z-index: -1; width: 43.2%; }
/* .swap-column .two-column-form-img img { border-radius: 0; } */
.swap-column .two-column-form-img { margin-left: auto; }

/* Kind of Payroll Company Module */
.kind-payroll-company-module { padding: 104px 0 78px; }
.kind-payroll-company-module h2{ font-weight: 700;}
.kind-payroll-company-module mark{ color:#A51D44;    border: none;}
.kind-payroll-company-module .top-content .detail-content { width: 100%; max-width: 700px ; margin: 0 auto 24px ;}
.kind-payroll-company-module .common-cta a{ min-width:200px; }
.kind-payroll-company-module .columns-wrapper { position: relative; overflow: hidden; } 
.kind-payroll-company-module .column { width: 33.33%; font-size: 16px; line-height: 1.5; text-align: center; padding: 20px 55px; position: relative; }
/* .kind-payroll-company-module .columns-group { display: flex; flex-wrap: wrap; justify-content: space-around; margin: 0 -55px; } */
.kind-payroll-company-module .columns-group { display: flex; flex-wrap: wrap; justify-content: space-around; margin: 0; }
.kind-payroll-company-module .logo-group { margin: 0 0 30px; }
.kind-payroll-company-module .content-group .detail-content { max-width: 340px ; margin: 0 auto; }

@media(min-width:768px){
  .protect-yourself-content-wrapper { max-width: 516px; margin-left: auto; }
  .protect-yourself-img{ mask: url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/mask-shape-1.png') repeat-x; -webkit-mask: url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/mask-shape-1.png') repeat-x; -webkit-mask-position-y: bottom; mask-position-y: bottom; mask-size: cover; -webkit-mask-size: 100% 100%;}
  .two-col-swap-flex.right { flex-direction: row-reverse; }
  .two-col-swap-flex.right .two-col-swap-img,.guarantee-img-right{ text-align:right; }
  .two-col-swap-flex.left .two-col-swap-img{ text-align:left;}
  .baron-numbers h4 { letter-spacing: 0.1em; margin-bottom: 33px;}
  .related-articles-wrapper.top-space{ margin-top:135px;}
  .why-baron-main-wrapper .mobile-show,.testimonial-wrapper .mobile-show{ display:none;}
  .two-col-swap-img .common-cta {margin-left: auto; text-align: center;}
}

@media(min-width:900px){
  .testimonials.hide-dots ul.slick-dots,.resources-main h5 img { display: none !important; }
  .resources-group { display: block !important;height: auto !important; overflow: inherit !important; }
  .resources-group li.active a { background: #A51D44; border-radius: 5px; color: #ffffff; margin-left: -12px; padding-left: 37px; position: relative; font-weight: 700; }
  .resources-group li { border-bottom: 1px solid #EDEDED; }
  .resources-main h5 { pointer-events: none; }
}

@media(min-width:768px) and (max-width:1024px) {
  .resources-content-form form fieldset.form-columns-2 > div.hs-form-field { margin-right: 0; width: 100% !important; }
}

@media(min-width:1025px){
  .hero-slider-wrapper .common-cta a{min-width:210px;}
  .ukg-partnership .common-cta,.partner-with-us .common-cta,.why-baron .common-cta{ margin-top: 42px; }
  .protect-yourself .common-cta { margin-top: 46px; }
  .testimonial-bottom-content .common-cta { margin-top: 40px; }
  .hero-two-col-flex.vtop .hero-two-col-content { padding-top: 35px; }
  .hero-two-col-flex.vmiddle .hero-two-col-content { padding-bottom: 35px; }
  .richtext-area .red-icon{ height:85px; }
  .richtext-area .red-icon a{margin-top:20px; }
  .why-baron-item .title,.blog-post-hero-bottom .social-shre ul li:first-child,.back-to-home a {letter-spacing: 0.1em;}
  .white .sub-title{ margin-bottom:20px; }
  .baron-numbers.light { padding: 100px 0 85px; }
  .two-column-form-right .sub-title,.ukg-partnership .sub-title { margin-bottom: 10px; }
}

@media(min-width:1281px){
  .lc-access-wrapper h2 { margin-bottom:31px;}
  .partner-with-us h2.font54 { font-size: 60px; }
  .hero-two-col h1,.blog-post-hero h1,.lc-hero h1 { font-size: 50px; }
  .blog-post-content .post-body { line-height:1.75; }
  .baron-numbers.light h4{ font-size:30px; }
  .richtext-area.module_1628329942775557,.richtext-area.widget_1628329942775557{ padding: 60px 0 107px;}
  .two-column-form-right h4 { font-size: 26px; }
  .two-column-form-right form  fieldset.form-columns-2>div.hs-form-field { margin-right: 4%; width: 48% !important; }
  .two-column-form-right form  fieldset.form-columns-2>div.hs-form-field:last-child { margin-right:0;}
  .two-column-form-section { padding: 122px 0 140px; }
  .swap-column .two-column-form-left {padding-right: 24px; }
  .two-column-form-section.swap-column { padding: 95px 0 104px; }
  .hero-slider-wrapper h1,.hero-slider-wrapper h2 { font-size:64px;}
  .hero-slider-wrapper .heading { font-size:64px;}
  .hero-slider-wrapper .sub-heading { font-size:36px;}
  .hero-slider-wrapper h3, .hero-slider-wrapper .sub-heading { margin-bottom:44px; }
  .hero-slider-wrapper .common-cta{ margin-top:47px; }
  .kind-payroll-company-module .button-group{ margin-top: 35px; }
}

@media(min-width:1440px){
  .lc-access .prev-arrow { left: -45px; } 
  .lc-access .next-arrow { right: -45px; }
}

@media(min-width:1920px){
  .two-column-form-section .bg-shape,.swap-column .bg-shape2 { top: 100px; width: 42.6%; }
}

@media(min-width:2200px){
  .ukg-partnership-bg .cicle2{ right: 47%; }
  .partner-with-us,.protect-yourself-content { padding-top: 160px; padding-bottom: 160px; }
}

@media(max-width:1366px){
  .ukg-partnership-bg .cicle3 { transform: translate(-30%,-50%); }
  .ukg-partnership-bg .cicle2 { transform: translateY(70%); right: 28%; }
  .ukg-partnership-bg .cicle1 { transform: translate(25%,-25%); }
  .lc-access{padding: 0 25px;}
  .lc-access .prev-arrow { left: 15px; }
  .lc-access .next-arrow { right: 15px; }
  .testimonials { margin-left: -32px; margin-right: -32px; }
  .richtext-area{ padding:120px 0; }
  .services-detail-left .common-cta-group a{ margin-right: 15px;}
  .baron-numbers.light .baron-numbers-flex { margin-left: -15px; margin-right: -15px; }
  .baron-numbers.light .baron-numbers-item { margin: 25px 15px; }
}

@media(max-width:1280px){
  .discover-baron,.richtext-area,.baron-numbers,.services-detail,.guarantee-detail,.two-column-form-section{ padding:100px 0; }
  .protect-yourself-content { padding: 100px 70px 100px 32px; }
  .testimonial-wrapper{ padding:95px 0 100px;}
  .partner-with-us { padding: 100px 0 92px;}
  .richtext-area .detail-content { font-size: 18px; }
  .two-col-swap-item:not(:first-child) { padding-top: 100px; }
  .two-col-swap{ padding:85px 0 100px;}
  .baron-numbers{ padding:120px 0;}
  .why-baron { padding:120px 0 100px; }
  .services-detail-left .common-cta-group a.cta_button { width: calc(50% - 8px); }
  .services-detail-left .common-cta-group a:nth-child(2n){ margin-right:0;}
  .services-detail-left .common-cta-group a.plain-text br { display: none; }
  .services-detail-left .common-cta-group .flex-box { justify-content: center; }
  .lc-wrapper { padding: 15px 0 100px; }
  .blog-post-content .post-body .hs_cos_wrapper_type_rich_text h3 { font-size: 26px; margin: 30px 0; }
  .blog-post-content .post-body img { margin: 30px 0; }
  .blog-post-content .post-body blockquote { font-size: 30px; margin-bottom: 30px; }
  .related-articles-wrapper h3 { font-size: 26px; }
  .title-with-cta h3 { font-size: 28px;  }
  .kind-payroll-company-module .columns-group {margin-left: -3%;margin-right: -3%;}
  .kind-payroll-company-module .column {padding-left: 3%;padding-right: 3%;}
  .hero-slider-wrapper .heading { font-size:38px;}
  .hero-slider-wrapper .sub-heading { font-size:30px;}

}

@media(max-width:1240px){
  .baron-numbers.light .container{ max-width: 900px; }
}

@media(max-width:1170px){
  .discover-baron-top-left h4 img { margin-left: 18px; }
  .our-services-item { width: 20%; }
  .why-baron-item,.services-detail-left,.guarantee-img-right{ width: 47.5%;}
  .why-baron-item-content,.blog-list-inner,.lc-resource-wrapper  { padding-left: 20px; }
  .services-detail-right, .guarantee-detail-left { width: 47.5%; font-size: 18px; padding-left: 35px;  }
  .blog-post-item { width: calc(50% - 10px); margin-top: 20px; }
  .lc-wrapper .row-fluid .resources-types { width: 200px!important; padding-right: 20px; }
  .lc-wrapper .row-fluid .blog-list-main{width: calc(100% - 200px)!important; margin: 0 !important;}
  .resources-main h5 { font-size: 18px; margin-bottom: 15px; letter-spacing: 0;}
  .resources-group li a { padding: 13px 0 13px 15px; display: block; }
  .resources-group li.active a{ margin-left:-8px;padding-left: 23px; }
  .resources-group .active-arrow {left: 7px;}
  .resources-group { letter-spacing: 0; }
  .blog-post-right { width: 22%; }
  .blog-post-content .feature-img { margin-right: 20px;}
  .blog-post-content .post-body,.blog-post-hero-left { padding-right: 20px; }
  .resources-content-form { padding: 35px 20px; margin-bottom: 50px; }
  .lc-resource-wrapper h3 { margin-bottom: 50px; }
}

@media(max-width:1024px){
  .hero-slider-wrapper .detail-content { font-size:18px; max-width: 100%; }
  /*   .hero-slider-content { width: 46%; padding-top: 0px; } */
  .discover-baron-bottom-left,.discover-baron-bottom-right { width: 47.5%; }
  .discover-baron-bottom .bg-shape,.two-column-form-section .bg-shape,.swap-column .bg-shape2{ display:none; }
  .discover-baron-bottom-left .img-shape,.two-column-form-img .img-shape { top: -15px; right: -15px; }
  .discover-baron-top-left { width: 35%; padding-right: 25px; padding-top:0; }
  .discover-baron-top-right { width: 65%; }
  .discover-baron-top { margin-bottom: 70px; }
  .discover-baron,.lc-access-wrapper,.testimonial-wrapper,.partner-with-us,.richtext-area,.two-col-swap,.image-with-caption,.services-detail,.client-login,.guarantee-detail,.two-column-form-section,.two-column-form-section,.ukg-partnership{ padding:70px 0; }
  .discover-baron:after { border-top: 22px solid transparent;  }
  .discover-baron:before { border-bottom: 22px solid transparent;}
  .our-services-icon{ margin-bottom:18px;}
  .our-services { padding: 55px 0 60px; }
  .ukg-partnership-bg .cicle1,.ukg-partnership-bg .cicle2,.ukg-partnership-bg .cicle3 { display:none; }
  .ukg-partnership-content { width: 48%; }
  .ukg-partnership-logo { width: 300px; height: 300px; padding:20px;}
  .ukg-partnership .cicle1 {transform: translate(165px ,-170px);}
  .ukg-partnership-flex { padding-right: 0; }
  .protect-yourself-content { padding: 100px 32px; }
  .testimonials { margin-left: -12px; margin-right: -12px; }
  .testimonial-bottom-content { width: 35%; }
  .testimonial-item { padding: 0 10px; }
  .testimonial-bottom {padding-top: 70px; }
  .testimonial-item .name {  margin-top: 20px; }
  .hero-two-col-content { width: 50%; }
  .hero-two-col-img { width: 45%; }
  .richtext-area:before,.baron-numbers:before,.two-column-form-section:before{ border-bottom-width:50px;}
  .richtext-area:after,.baron-numbers:after,.lc-hero:after,.blog-post-hero:after,.two-column-form-section:after{ border-top-width:50px;}
  .two-col-swap-content { width: 44%; }
  .two-col-swap-flex { align-items: center; }
  .two-col-swap-item:not(:first-child) { padding-top:70px; }
  .baron-numbers.overlapped{ margin-bottom: -50px;}
  .baron-numbers{ padding:100px 0;}
  .baron-numbers-item { margin: 25px; }
  .why-baron-video { width: 55%; }
  .why-baron-content { width: 40%; }
  .why-baron-bottom { padding-top: 30px; }
  .why-baron-main-wrapper { padding-top: 25px; }
  .why-baron { padding:100px 0 70px; }
  .why-baron:before { border-top-width: 25px; top: -25px; }
  .why-baron:after { border-top-width: 25px; border-bottom-width: 25px; top: -25px; }
  .services-detail-right, .guarantee-detail-left { font-size: 16px; padding-left: 30px; }
  .services-detail-right .left-icon,.guarantee-detail-left .left-icon { top: 22px; left: -29px; }
  .services-detail-item { padding: 20px 25px 20px 0; }
  .services-detail-right .close-icon{ top:18px; }
  .services-detail-item.loadmore .detail-content { -webkit-line-clamp: 3;}
  .services-detail-left .detail-content,.services-detail-left .img-wrap { margin-top: 30px; }
  .services-detail-left .common-cta-group { margin-top: 10px;}
  .lc-hero-serch,.blog-post-hero-bottom,.title-with-cta  { margin-top: 50px; }
  .lc-wrapper { padding: 30px 0 70px; }
  .blog-post-item-content { padding: 20px 20px 50px; }
  .blog-post-all a.all-posts-link.cta_button {  margin-top: 50px; }
  .blog-post-item-content h3 { font-size: 20px; }
  .blog-post-right,.blog-post-hero-right {width: 30%; padding-left: 20px; }
  .blog-post-content,.blog-post-hero-left { width: 70%; }
  .related-article-item h4,.resources-content-form .form-title { font-size: 16px; }
  .blog-post-hero .sub-title{ margin-bottom:15px;}
  .blog-post-content .post-body {  padding: 50px 20px 0 0; }
  /*   .resource-right h4 { font-size: 16px; } */
  .resource-left .resource-post-item-img { height: auto;}
  .lc-resource-wrapper h3 { margin-bottom: 40px; }
  .blog-list-inner .active-filter { letter-spacing: 0em; }
  .two-col-b-points ul li:before{ top:5px; }
  .two-col-b-points ul li {padding-left: 30px;}
  .two-col-b-points ul{ padding-top: 20px;}
  .two-column-form-left { width: 46%; }
  .two-column-form-right { width: 47.5%; }
  .kind-payroll-company-module{ padding:70px 0px;}
}

@media(max-width:991px){
  .newsletter-form { width: 60%; }
  .newsletter-contant { width: 40%; padding-right: 25px; }
  .image-caption {  padding-left: 0; margin: 10px auto 0; text-align: center; padding-top: 35px; }
  .image-with-caption-wrapper .left-arrow { position: absolute; left: 0; top: 0; right: 0; }
  .services-detail-left .common-cta-group .flex-box { max-width: 250px; margin: 0 auto; }
  .services-detail-left .common-cta-group a.cta_button { width: 100%; margin-right: 0; }
}

@media(max-width:991px){
  .why-baron-item { width: 100%; }
}

@media(max-width:899px){
  .lc-wrapper .row-fluid .resources-types { width: 100% !important; padding: 0;}
  .lc-wrapper .row-fluid .blog-list-main { width: 100% !important; }
  .resources-group { display: none; position: absolute; left: 0; top: 100%; list-style: none; background:#ffffff; overflow-y: auto; z-index: 1; box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.1); border-radius: 0px 0px 10px 10px; padding: 9px 0; width: 200px; font-size: 14px; line-height: 1.4; }
  .blog-list-inner,.lc-resource-wrapper { padding-left: 0; border: none; min-height:auto;  }
  .resources-main h5 { font-size: 16px; margin-bottom: 0;display: inline-flex; align-items: center; cursor: pointer; }
  .resources-main h5 img.down-arrow { margin-left: 5px; }
  .resources-main,.lc-wrapper .container { position: relative; }
  .resources-group li a,.blog-filter ul li a {  width: 100%; padding: 10px 20px; }
  .resources-group li.active a { margin-left: 0; padding-left: 20px; color: #A51D44; background: #ededed; font-weight:700; }
  .blog-filter { margin-bottom: 0;position: absolute; right: 32px; top: 0; z-index: 2; }
  .blog-list-inner h2 { margin-bottom: 18px; margin-top: 18px; }
  .resources-group .active-arrow { left: 7px; display: none; }
  .blog-filter ul{ max-height:291px;}
  .lc-resource-wrapper,.lc-wrapper .search-title { margin-top: 30px; }
  .kind-payroll-company-module .column { width: 50%; max-width: 350px;padding-top:30px;padding-bottom:30px; }

}

@media(max-width:767px){
  .sub-title{ margin-bottom:7px;}
  .red-icon a{ height:40px; width:40px; }
  .newsletter-subscibe { padding: 35px 0 15px; }
  .newsletter-contant { width: 100%; padding-right: 0; margin-bottom: 25px; text-align: center; }
  .newsletter-form,.discover-baron-bottom-left, .discover-baron-bottom-right,.discover-baron-top-right,.testimonial-bottom-video,.two-col-swap-content,.blog-post-content,.services-detail-left, .guarantee-img-right, .two-column-form-right  { width: 100%; }
  .newsletter-form>span { display: block; max-width: 600px; margin: 0 auto; }
  .newsletter-subscibe form ul.hs-error-msgs { position: static;}
  .hero-slider-wrapper,.image-with-caption,.hero-two-col  { padding: 50px 0; }
  .hero-slider-content { width: 100%; padding-top: 0px; margin-bottom: 50px; }
  .hero-img, .hero-two-col-img { width: 100%; text-align: center; }
  .discover-baron{ text-align: center; }
  .discover-baron-bottom-left { margin: 0 0 35px; }
  .discover-baron-bottom-left .img-shape { top: -15px; right: -32px; width: 56%; border-bottom-right-radius: 0; }
  .discover-baron-top-left { width: 100%; padding-right: 0; margin-bottom: 30px; }
  .discover-baron-top-left h4 { align-items: flex-end; }
  .discover-baron-top-left h4 img { transform: rotate( 90deg ); margin: 0 0 3px 18px; }
  .discover-baron-top { margin-bottom: 56px; }
  .discover-baron{ padding:35px 0 50px; }
  .discover-baron:before { border-bottom: 0;  }
  .our-services-item { width: 33.33%; }
  .our-services-content { margin-bottom: 26px; }
  .our-services { padding: 25px 0 30px; }
  .ukg-partnership-logo { width: 250px ; height: 250px ; margin: 0 auto 35px ; }
  .ukg-partnership-content { width: 100%; text-align:center; }
  .ukg-partnership .cicle2 { transform: translateY(90%); }
  .lc-access { padding: 0; }
  .lc-access { margin-left: -32px; margin-right: -32px; }
  .lc-access-wrapper{ padding:45px 0 50px;}
  .protect-yourself{ background:#A51D44;text-align: center;}
  .protect-yourself-content { padding: 65px 32px 32px; width: 100%; }
  .protect-yourself-img { width: 100%; height: 54vw; }
  .protect-yourself:before{ border-bottom-width: 22px; }
  .protect-yourself:after { border-top-width: 15px; }
  .testimonial-bottom-content { width: 100%; text-align: center; margin-bottom: 20px; }
  .testimonial-bottom {padding-top: 36px; }
  .testimonial-wrapper{ padding:54px 0 32px;}
  .partner-with-us { padding:35px 0;}
  .hero-two-col-content { width: 100%; margin-bottom: 50px; }
  .richtext-area .detail-content { font-size: 16px;}
  .richtext-area:before,.baron-numbers:before,.two-column-form-section:before{ border-bottom-width:25px;}
  .richtext-area:after,.baron-numbers:after,.lc-hero:after,.blog-post-hero:after,.two-column-form-section:after{ border-top-width:25px;}
  .two-col-swap { padding: 50px 0;}
  .two-col-swap-img { width: 100%; margin-bottom: 35px; }
  .two-col-swap-item:not(:first-child) { padding-top: 50px; }
  .baron-numbers.overlapped{ margin-bottom: -25px;}
  .baron-numbers{ padding:70px 0;}
  .baron-numbers-item { margin: 0; font-weight: 700; width: 100%; padding: 25px; }
  .why-baron-content { width: 100%; margin-bottom: 50px; }
  .why-baron-content .detail-content,.services-detail-left .common-cta-group .flex-box,.two-column-form-right .detail-content,.two-column-form-right .form-wrapper  { max-width: 100%; }
  .why-baron-video { width: 100%; order: 2; }
  .why-baron-bottom { padding-top: 10px; }
  .why-baron-main-wrapper { padding-top: 15px; }
  .why-baron { padding:70px 0 50px;}
  .why-baron:before { border-top-width: 15px; top: -15px; }
  .why-baron:after { border-top-width: 15px; border-bottom-width: 15px; top: -15px; }
  .services-detail-right, .guarantee-detail-left { width: 100%; margin-top: 30px; }
  .services-detail-item.loadmore .detail-content { -webkit-line-clamp: 4; }
  .services-detail-left .common-cta-group a.cta_button { width: calc(50% - 8px);margin-right:15px; }
  .services-detail-left .common-cta-group a:nth-child(2n){ margin-right:0;}
  .lc-hero{ padding:70px 0 100px;}
  .blog-post-content .post-body .hs_cos_wrapper_type_rich_text h3 { font-size: 24px; margin: 25px 0; }
  .blog-post-content .post-body img { margin: 25px 0; }
  .blog-post-content .post-body blockquote { font-size: 28px; margin-bottom: 25px; }
  .blog-post-hero { padding: 50px 0 139px; }
  .blog-post-hero-left { width: 100%; padding-right: 0; order: 2; }
  .blog-post-hero-right { width: 100%; padding-left: 0; margin-bottom: 15px; }
  .blog-post-right{ width: 100%; padding-left: 0;max-width: 400px; margin: 0 auto;}
  .blog-post-content .feature-img { margin-right: 0; }
  .blog-post-content .post-body { padding: 50px 0 0; border: 0;  }
  .title-with-cta h3 { font-size: 24px;  }
  .lc-resource-wrapper h3 { margin-bottom:35px; }
  .related-article-item-img { height: 175px;}
  .guarantee-detail-left{ order:2; }
  .why-baron-main-wrapper .mobile-hide,.testimonial-wrapper .mobile-hide{ display:none;}
  .why-baron-video .common-cta{ margin-top: 40px; }
  .testimonial-bottom-video .common-cta{ margin-top: 30px; text-align:center; }
  .two-column-form-img { max-width: 350px;margin: 0 auto; }
  .two-column-form-left { width: 100%; margin-bottom: 35px ; }
  .hero-slider-wrapper .heading { font-size:32px;}
  .hero-slider-wrapper .sub-heading { font-size:28px;}

}

@media(max-width:640px){
  .blog-post-item,.resource-right { width: 100%;}
  .blog-filter ul { right: auto;  }
  .resources-group { right: 0; left: 0; margin: 0 auto; overflow-y: auto; z-index: 3;}
  .resources-main { display: flex; justify-content: center; }
  .blog-filter { position: relative; margin-top: 20px; left: 0; justify-content: center; }
  .blog-list-inner h2 {  margin-top: 35px; text-align: center; }
  .blog-post-hero-bottom .social-shre { width: 100%; margin: 10px 0; }
  .blog-post-hero-bottom { margin-top: 30px; }
  .blog-post-hero-bottom .social-shre ul li:first-child svg { margin: 0 0 0 5px; }
  .resource-left { width: 100%; margin-bottom: 26px; }
  .resource-right .resource-post-item-img { height: 175px;}
  .lc-resource-wrapper h3 ,.lc-resource-wrapper .common-cta,.lc-wrapper .result-msg,.lc-wrapper .search-title { text-align: center; }
  .two-col-b-points ul { column-count: 1;}
  .kind-payroll-company-module .column { width: 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
  .kind-payroll-company-module .column:last-child { padding-bottom:0; }
  .kind-payroll-company-module .logo-group img {width: 85% !important;max-width: 180px !important;}
}

@media(max-width:567px){
  .our-services-flex { justify-content: flex-start; }
  .our-services-item { width: 50%; padding: 10px; }
}

@media(max-width:480px){
  .newsletter-subscibe form .hs_submit input { width: 90px; padding: 16px 10px; }
  .ukg-partnership .sub-title { max-width: 175px; line-height: 1.25; margin-bottom: 16px; }
  .why-baron-item-content { padding-left: 0; width: 100%; margin-top: 25px; }
  .why-baron-item p { margin-bottom: 15px; }
  .why-baron-item-icon { margin-top: 0px; }
  .services-detail-left .common-cta-group a.cta_button { width: 100%;margin-right:0; }
  .services-detail-left .common-cta-group .flex-box { max-width: 250px; }
  .client-login-inner{ padding:50px 25px;} 
  .lc-hero-serch input[type="text"] { width: calc(100% - 100px) !important;}
  .lc-hero-serch input[type="submit"] { width: 100px; padding-left: 20px; background-position: center left 13px; }

}

@media(max-width:375px){
  .services-detail-left .common-cta-group .flex-box { max-width: 100%; }
}

@media(max-width:374px){
  .discover-baron-bottom-left .img-shape { right: -20px;}
  .ukg-partnership-logo-border { right: 21.5px; }
  .ukg-partnership-logo{ right:0; }
  .ukg-partnership-content { margin-top: 0px; }
  .lc-access { margin-left: -20px; margin-right: -20px; }
  .lc-access-item { margin-right: 10px; margin-left: 10px; }
  .protect-yourself-content { padding: 65px 20px 32px; }
  .services-detail-right .left-icon, .guarantee-detail-left .left-icon { top: 20px; left: -20px; width: 15px; }
  .services-detail-right,.guarantee-detail-left {  padding-left: 20px; }
  .services-detail-item { padding: 20px 20px 20px 0; }
}

/* Quizzes */

.result-cta-box .heading2 {
  font-weight: bold;
  display: block;
  font-size: 25px;  
}

.result-cta p {
  background-color: #ededed;
  border-radius: 10px;
  padding: 30px 30px 40px;
  text-align: center;
}

/* END Quizzes */

/* Multi Columns ETC */

.round-corners img {border-radius: 10px;}

.multi-column-module .column {
  padding-bottom: 70px !important;
}

.strong48.font48 {
  font-size: 48px !important;
}

@media (max-width: 1280px) {
  .strong48.font48 {
    font-size: 38px !important;
  }
}

@media (max-width: 767px) {
  .strong48.font48 {
    font-size: 32px !important;
  }
}

.multi-column-module .button-group.common-cta {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

@media (max-width:899px) {
  .multi-column-module .column:not(:last-child) {
    margin-bottom: 25px;
  }
}

ul.spaced-list li strong {
  display: block;
  margin-bottom: 5px;
}

/* Banner Image with CTA */
.banner-image-cta-module {
  min-height: 600px;
  display: flex;
  align-items: center;1
}

/* Partnership Four Column */

.partners-fourcol-wrapper.three-column .partners-fourcol-content {
  width: 28%;
}

.partners-fourcol-module h2 mark {
  color: #A51D44;
  border: none;
}

.partners-fourcol-module .top-content .detail-content {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto 60px;
}

.partners-fourcol-module {
  -webkit-backface-visibility: hidden;
}

.partners-fourcol-module.reverse-slant {
  -webkit-clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 86%);
  clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 86%); 
}

.quiz-links.common-cta a {
  font-size: 20px;
  min-height: 80px;
  min-width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 15px;
}

.quiz-links.common-cta {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 0;
}

.quiz-links a.red-button,
.quiz-links a.dark-green-button,
.quiz-links a.green-button {
  background-color: #ffffff;
}

.quiz-links a.red-button {
  color: #A51D44 !important;
}
.quiz-links a.dark-green-button {
  color: #005151 !important;
}
.quiz-links a.green-button {
  color: #56b6b6 !important;
}

.partners-fourcol-content.quiz-section .first-point {
  position: relative;
  padding-bottom: 105px;
}

.quiz-links.common-cta .red-bg-button {
  background-color:#A51D44;
}
.quiz-links.common-cta .grey-bg-button {
  background-color:#758084;
}
.quiz-links.common-cta .green-bg-button {
  background-color:#185B5D;
}

@media (min-width: 1201px) {
  .partners-fourcol-content.quiz-section {
    padding-bottom: 130px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (min-width:1024px) and (max-width: 1300px) {
  .quiz-links a {
    font-size: 14px !important;
    padding: 0;
  }
}

@media (min-width: 767px) and (max-width: 1200px) {
  .partners-fourcol-content.quiz-section {
    padding-bottom: 65px;
  }

  .partners-fourcol-wrapper.three-column .partners-fourcol-content {
    width: 48%;
    margin: 60px 1% 0px;    
  }

  .partners-fourcol-module.reverse-slant {
    -webkit-clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 95%);
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 95%); 
  }  
}

@media (max-width: 767px) {
  .partners-fourcol-wrapper.three-column .partners-fourcol-content {
    width: 100%;
    margin: 60px 1% 0px;
  }

  .partners-fourcol-module.reverse-slant {
    -webkit-clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 98%);
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 98%); 
  }  
}

/* Lightbox CSS */

a.watch-video {
  display: block;
  text-align: left;
  position: relative;
  padding: 20px 10px;
  background-color: #ededed;
  border-radius: 20px;
  padding-left: 90px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: bold;
}

a.watch-video:before {
  content: "";
  position: absolute;
  left: 20px;
  background-color: rgb(66, 91, 118);
  background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/playbutton-2.svg);
  background-position: center;
  background-repeat: no-repeat;
  height: 50px;
  width: 50px;
  border: none;
  border-radius: 50%;
  background-size: 60%;
  opacity: 0.8;
  top: calc(50% - 25px);
  /*     left: calc(50% - 47px); */
}

.back-to-form {
  position: absolute;
  right: 0;
  top: -42px;
  z-index: 10000000;
  background-color: #a51d44;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Payroll HR Services II */

.payrollhr-services-banner-module .watch-this-banner {
  color: #fff;
  font-family: Lato,arial;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 2;
  text-align: right;
  text-transform: uppercase;
}

.payrollhr-services-banner-module .watch-this-banner {
  position: relative;
  padding-right: 70px;
  padding-top: 35px;
  line-height: 1 !important;
}

.payrollhr-services-banner-module .watch-this-banner:after {
  position: absolute;
  height: 100px;
  width: 100px;
  content: "";
  right: -50px;
  top: -20px;
  z-index: 100;
  background: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Icons/upward_arrow_white_down.png) no-repeat center;
  background-size: contain;
}

@media (max-width:1200px) {
  .payrollhr-services-banner-module .watch-this-banner:after {
    right: -20px;
    top: -20px;        
  }
  .payrollhr-services-banner-module .watch-this-banner {
    padding-right: 90px;
  }
}

@media (max-width:899px) {
  .payrollhr-services-banner-module .watch-this-banner:after {
    transform: scale(-1,-1);
    top: 20px;
    left: 100px;
  }
  .payrollhr-services-banner-module .watch-this-banner {
    padding-left: 210px;
    padding-bottom: 10px;
    text-align: left;
    padding-right: 0;
  }
}

.hide-section {
  display: none;
}

/* Article Row */

.article-row-container {
  margin-top: 40px;
  margin-bottom: 40px;
}

.article-row-container .related-article-item {
  width: 30%;
}

.article-row-box,
.article-row-box .hs_cos_wrapper_type_related_blog_posts {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.article-row-container .related-article-item-img {
  height: 0px;
  padding-top: 56%;
}

@media (max-width:767px) {
  .article-row-container .related-article-item {
    width: 100%;
  }
  .article-row-box,
  .article-row-box .hs_cos_wrapper_type_related_blog_posts {
    flex-wrap: wrap;
  }
}

/* Quiz Section */

.blog-post-content .partners-fourcol-content .icon-text,
.blog-post-content .partners-fourcol-content .first-point {
  padding-left: 15px;
  padding-right: 15px;
}

.blog-post-content .quiz-links.common-cta {
  left: 15px;
  right: 15px;
}

.blog-post-content .quiz-links.common-cta a {
  font-size: 15px;
  padding: 5px 10px !important;
  min-height: 0;
  text-decoration: none;
}

.blog-post-content .partners-fourcol-content.quiz-section .first-point {
  padding-bottom: 80px;
}

.blog-post-content .first-point p:first-child {
  font-size: 16px !important;
}

.blog-post-content .first-point p:nth-child(2) {
  font-size: 14px !important;
  margin-bottom: 0;
}

.blog-post-content .post-body .quiz-section img {
  margin: 0;
}

.blog-post-content .partners-fourcol-content .icon-text {
  padding-bottom: 20px;
}

.blog-post-content .post-body .quiz-section {
  padding-top: 30px;
  padding-bottom: 30px !important;
}

.blog-post-content div#partners-fourcol.quiz-section-global .partners-fourcol-module,
.blog-post-content .quiz-section-global>div>div {
  padding: 0;
}

.blog-post-content div#partners-fourcol.quiz-section-global .partners-fourcol-module,
.blog-post-content div#partners-fourcol.quiz-section-global {
  background: none !important;
}

.blog-post-content .partners-fourcol-content.quiz-section:nth-child(1) {
  background-color: rgba(165, 29, 68,1) !important;
}
.blog-post-content .partners-fourcol-content.quiz-section:nth-child(2) {
  background-color: rgba(0, 81, 81,1) !important;
}
.blog-post-content .partners-fourcol-content.quiz-section:nth-child(3) {
  background-color: rgba(86, 182, 182,1) !important;
}
.blog-post-content .partners-fourcol-content.quiz-section:nth-child(4) {
  background-color: rgba(153, 153, 153,1) !important;
}

/* END Quiz Section */

/* Banner Module Plus */

.left-right-image {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.left-right-image .container > div {
  flex: 1;
}

.left-right-image .container {
  display: flex;
  align-items: end;
  justify-content: center;
  max-width: 100%;
  gap: 30px;
}

.left-right-image .partner-inner {
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  flex: 1;
  align-self: center;
}

@media (max-width:899px) {
  .left-right-image .left-image {
    display: none;
  }

  .left-right-image .container {
    flex-direction: column;
  }

  .left-right-image .partner-inner {
    padding-bottom: 0;
  }
}
/*  Partnership Hero Module */
.partners-wrapper{position:relative}
.partners-module.left { -webkit-clip-path: polygon(0 0,100% 0,100% 100%,0% 86%); clip-path: polygon(0 0,100% 0,100% 100%,0% 86%);}
.partners-module.right { -webkit-clip-path:polygon(0 0,100% 0,100% 86%,0% 100%); clip-path: polygon(0 0,100% 0,100% 86%,0% 100%);}
.partners-module.none { -webkit-clip-path: none; clip-path:none; }
.partners-wrapper .partners-image{text-align: right;width:40%;position:relative;z-index:1; }
.partners-wrapper .partners-image img { border-radius: 25px; overflow: hidden; }
.partners-wrapper .partners-content { position:relative; z-index:1; width:55%; }
.partners-wrapper .down-arrow{position:absolute;width:100%;left:0;z-index:2;bottom:14px;display:flex;align-items:center;justify-content:center;text-align:center}
.partners-wrapper .down-arrow a:hover path{fill:#ffffff}
.partners-wrapper .down-arrow a:hover circle { fill:#005151;}
.partners-wrapper .subheading{ font-size:20px;line-height:1.4;}
.partners-wrapper .subheading h4{font-family:Lato;font-style:normal;font-weight:400;font-size:30px;line-height:36px;color:#3a3a3a}

/*  Partnership Four Column Module */
.partners-fourcol-wrapper{ position:relative; }
.partners-fourcol-content{position:relative; width:23%;padding:50px 0;background:#ffffff;border-radius:24px;margin: 0 1%;}
.partners-fourcol-flex{margin-left: -1%; margin-right: -1%;}
.partners-fourcol-content .clients{ font-size:12px;margin-bottom:5px; font-weight:700; }
.partners-fourcol-content .title { margin-bottom: 0; line-height: 1.17; }
.partners-fourcol-content .flex-box{padding-bottom:11px;border-bottom:1px solid #ededed;}
.partners-fourcol-content .icon-text { position: relative; padding: 0 25px 28px; }
.partners-fourcol-content .icon{position:absolute;top:-78px;right:25px}
.partners-fourcol-content .first-point { padding: 0px 25px 20px; }
.partners-fourcol-content ul li { list-style: none; margin-bottom: 15px; position: relative; font-size: 18px; line-height: 1.33; padding-left: 32px; }
.partners-fourcol-content ul li:last-child { margin-bottom: 0; }
.partners-fourcol-content ul li:before { content: ""; position: absolute; left: 0; top: 2px; background: url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Icons/Vector-1.png'); height: 15px; background-repeat: no-repeat; width: 17px; background-size: contain; }
.partners-fourcol-content ul li strong { color: #C02350; }
.partners-fourcol-content .plus-text { padding: 16px 25px; color: #ffffff; font-weight: 700; font-size: 15px; display: flex; align-items: center; }
.partners-fourcol-content .plus-text span { margin-right: 19px; width: 14px;display: flex; align-items: center; justify-content: center; }
.partners-fourcol-content .pointers ul li:before { top: 5px; }
.partners-fourcol-content .pointers ul li { font-size: 15px; line-height: 1.6; }
.partners-fourcol-content .pointers { padding: 25px; }
.partners-fourcol-content .pointers ul { max-width: 217px; }
.partners-fourcol-module { -webkit-clip-path:polygon(0 0,100% 0,100% 86%,0% 100%); clip-path:polygon(0 0,100% 0,100% 86%,0% 100%); }
.partners-fourcol-wrapper .red-icon { bottom: 14px; top: auto; }

/* Partners With Us - Form Module */
/* Original - .partners-form-col { padding: 70px 0 105px; } - changed by Hakan */
.partners-form-col { padding: 70px 0 50px; }
.partners-form-col h2 { margin-bottom: 29px; }
.partners-form-col .form { max-width: 630px; margin: 0 auto; }
.partners-form-col .detail-content { padding-bottom: 35px; border-bottom: 1px solid #EDEDED; margin-bottom:39px; }
.partners-form-col .select-hidden{visibility:hidden;}
.partners-form-col .select { cursor: pointer; display: block; position: relative; font-size: 13px; width: 100%; height: 50px; }
.partners-form-col .select-styled { position: absolute; top: 0; right: 0; left: 0; color: #8f8f8f; border: 1px solid #ededed; background-color: #ffffff; padding: 14px 16px; width: 100% ; border-radius: 5px; margin: 0 0 3px; font-weight: 700; transition: all .2s ease-in; }
.partners-form-col .select-styled:after{content:"";width:12px;height:7px;position:absolute;top:20px;background-repeat:no-repeat;background-size:12px;background-image:url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Down.svg');right:20px}
.partners-form-col .select-options { display: none; position: absolute; top: 50px; left: 0; width: 100%; z-index: 999; letter-spacing: -.02em; color: #8f8f8f; background: #ffffff; box-shadow: 0 0 4px 1px rgb(0 0 0 / 10%); }
.partners-form-col .select-options li{padding:15px 16px;transition:all .15s ease-in}
.partners-form-col .select-options li:hover{color:#A51D44;background:#ededed;font-weight:700;}
.partners-form-col .select-options li[rel=hide]{display:none}
.partners-form-col form textarea, .partners-form-col form input[type="text"], .partners-form-col form input[type="password"], .partners-form-col form input[type="datetime"], .partners-form-col form input[type="datetime-local"], .partners-form-col form input[type="date"], .partners-form-col form input[type="month"], .partners-form-col form input[type="time"], .partners-form-col form input[type="week"], .partners-form-col form input[type="number"], .partners-form-col form input[type="email"], .partners-form-col form input[type="url"], .partners-form-col form input[type="search"], .partners-form-col form input[type="tel"], .partners-form-col form input[type="color"], .partners-form-col form select{ color:#8F8F8F;}
.partners-form-col form .hs-richtext{ line-height: 1.25; }
.partners-form-col form .hs-message.hs-form-field{ margin-bottom:0; }

/*  Partnership Two Column Module */
.partners-two-col { position: relative; padding: 162px 0 128px; }
.partners-two-col:before { position: absolute; content: ""; border-right: 100vw solid #ffffff; border-bottom: 78px solid transparent; top: 0; right: 0; z-index: 1; }
.partners-two-col h2 mark { border-color: #30CEBB;padding-bottom:4px;}
.partners-two-col-left,.partners-two-col-right{width:48.75%; }
.partners-two-col-item{position:relative;z-index:1;padding:57px 30px 35px;background:#ffffff;border-radius:5px; margin-top:50px;}
.partners-two-col-item.red{ box-shadow: 14px 15px 10px rgba(0, 0, 0, 0.25); }
.partners-two-col-left .partners-two-col-item:first-child{ margin-top:0;}
.partners-two-col-item h3{ font-size:30px;margin-bottom:0; max-width: 327px;}
.partners-two-col-item .title { width: 75%; padding-right: 20px; }
.partners-two-col-item .icon { width: 25%; text-align: right; }
.partners-two-col-item h3 mark{ background: transparent; }
.partners-two-col-item.red h3 mark,.partners-two-col-item.red ul li strong { color:#C02350; }
.partners-two-col-item.green h3 mark,.partners-two-col-item.green ul li strong{color:#005151;}
.partners-two-col-item .detail-content{ font-size:20px; line-height:1.4;}
.partners-two-col-item ul{ padding:0; list-style: none;}
.partners-two-col-item ul li { position: relative; padding: 18px 0 18px 33px; }
.partners-two-col-item ul li:after { position: absolute; content: ""; height: 2px; width: 90.85%; left: 0; bottom: 0; background: #ededed; }
.partners-two-col-item ul li:last-child:after{width:0;}
.partners-two-col-item ul li:before { content: ""; position: absolute; left: 0; top: 23px;height: 15px; background-repeat: no-repeat; width: 9px; background-size: contain; }
.partners-two-col-item.red ul li:before { background-image:url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Frame-2.svg');}
.partners-two-col-item.green ul li:before { background-image:url('https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Vector-1.svg');}
.partners-two-col-item .top-part { margin-bottom: 17px; }
.partners-two-col-top { max-width: 875px; margin: 0 auto 65px; }
.partners-two-col-top .sub-title{ color:inherit;}

/*  Leadership Banner Module */
.banner-module{position:relative;}
.banner-module:after { position: absolute; content: "";  border-top: 90px solid transparent; bottom: 0; right: 0; z-index: 1; }
.banner-module.left:after{ border-left: 100vw solid #ffffff; }
.banner-module.right:after{ border-right: 100vw solid #ffffff; }
.banner-module .detail-content{max-width:829px; margin:0 auto;font-size:20px; line-height:1.4; }
.banner-module h1 { max-width: 633px; margin-left: auto; margin-right: auto;}
.banner-module h4 { font-family: inherit; font-weight: 400; font-size: 30px; line-height: 1.2; padding-top: 10px; }
.banner-module .down-arrow { position: absolute; width: 100%; left: 0; z-index: 2; bottom: 20px; }
.banner-module .down-arrow a {display: inline-flex;align-items: center;justify-content: center;height: 50px;width: 50px;border-radius: 50%;background:#005151;transition: color .5s ease,background .5s ease;}
.banner-module .down-arrow a>svg {width: 12px;}
.banner-module .down-arrow path {fill:#ffffff;}
.banner-module .down-arrow a:hover {background:#A51D44;}
.banner-module.tl .detail-content,.banner-module.tl h1{max-width:100%; }
.banner-module h1 mark{background: transparent; color: inherit; }
.banner-module.full-width .detail-content { max-width: 750px; }
.banner-module.full-width h1 { max-width: 100%; }

/* Leadership Module */
.leader-module { padding: 64px 0 105px ; }
.leader-module .container{max-width:1160px;}
.leader-module .flex-box { justify-content: center; }
.leader-content img{width:242px;height:242px!important;border-radius:100%;object-fit: cover;}
.leader-content h5 { font-family: inherit; font-weight: 400; font-size: 32px; line-height: 1.2; margin-bottom: 8px ;}
.leader-content p { font-weight: 700; font-size: 14px; line-height: 1.43; letter-spacing: .1em; margin-bottom: 19px ; }
.leader-content{text-align:center;padding:30px 15px;position:relative;width:33.33%; }
.leader-module .common-cta { margin-top: -38px; }
.leader-module .common-cta a { min-width: 190px ; padding: 8px 20px ; font-size: 15px; width:auto; }

/* Contact Us Form Module */
.contact-col{padding:103px 0 128px; }
.contact-col-inner{ max-width:830px;margin:0 auto; }
.contact-box { max-width: 740px; margin: 0 auto 128px; }
.contact-box .business{padding:0 15px;position:relative;width:50%; }
.contact-box .contact-us{border-right: 1px solid #EDEDED;padding:0 15px;position:relative;width:50%; }
.contact-box h6{ font-family: inherit; font-size: 15px; line-height: 1.33; letter-spacing: .1em; text-transform: uppercase; padding-top: 20px; } 
.contact-box .phone{ margin-bottom: 10px; font-size: 15px; }
.contact-box .phone a { display: inline-block; font-weight: 700; }
.contact-box .phone img{padding:0 5px;margin-bottom:2px}
.contact-box .phone a:hover{color:#A51D44}
.contact-box .phone span { color:#A51D44;font-size: 14px; }
.contact-box .address { font-size: 15px; line-height: 1.2; }
.contact-box .address p a { font-size: 14px; margin-left: 5px; text-decoration: underline; text-underline-position: under; }
.contact-box .address p a:hover{  text-decoration: none;} 
.contact-box .address p:not(:last-child) { margin-bottom: 13px; }
.contact-box ul.social-icon { display: flex; list-style: none; flex-wrap: wrap; justify-content: center; padding: 23px 0 15px; line-height: 0; }
.contact-box ul.social-icon li { margin: 0 4px; }
.contact-box ul.social-icon a { display: inline-flex; align-items: center; }
.contact-box .social-icon svg path{fill:#3a3a3a;transition:fill .5s ease,stroke .5s ease}
.contact-box .social-icon svg path:hover{fill:#A51D44}
.contact-box .social-icon svg{height:18px;width:18px}
.contact-box  a.cta_button{min-width:188px;}
.contact-box .business .detail-content{ line-height: 1.57; font-size: 14px;}
.contact-box .business .detail-content p{margin-bottom:5px; }
.contact-col .form .detail-content {max-width: 475px;margin: 0 auto 50px;}
.contact-col .form{background:#ededed;border-radius:10px;padding:53px 50px 64px;}
.contact-col .form form { margin: 0 auto; max-width: 570px; }
.contact-col .form form .hs-richtext{ line-height: 1.25;}
.contact-col .down_arrow a>svg {width: 12px;}
.contact-col .down_arrow{width: 100;z-index: 2;margin-bottom: -26px;display: flex;align-items: center;justify-content: center;text-align: center;}
.contact-col .down_arrow a {    display: inline-flex;align-items: center;justify-content: center;height: 50px;width: 50px;border-radius: 50%;background: #005151;transition: color .5s ease,background .5s ease;}
.contact-col .down_arrow path {fill: #fff;}
.contact-col .down_arrow a:hover {background: #A51D44;}


/* Video Testimonials Slider Module */
.testimonial2-wrapper { padding: 77px 0; overflow: hidden;position: relative; z-index: 1;}
.testimonial2-wrapper:before { position: absolute; content: ""; background:#ffffff; height: 73%; width: 100%; z-index: -1; top: 0; left: 0; border-left: 100vw solid #EDEDED; border-bottom: 140px solid transparent; }
.testimonial2-top-content { max-width: 470px; margin: 0 auto 32px; }
.testimonial2 .slick-list{ overflow: inherit !important;margin-left: -10px; margin-right: -10px;}
.testimonial2{ padding-top: 60px; }
.testimonial2-item{margin:0 10px;text-align: left;border-radius:5px; overflow: hidden; }
.testimonial2-item .name { font-size: 22px; line-height: 1.43; margin: 0;padding-right:15px; }
.testimonial2-item .text { font-size: 14px; line-height: 1.43; }
.testimonial2 .text-box {background:#A51D44;padding:15px 20px;margin:0; }
.testimonial2 iframe,.testimonial2-wrapper iframe{ border-radius:0;}

.testimonial3 .text-box {background:#A51D44;padding:15px 20px;margin:0; }
.testimonial3{ padding:0 80px;max-width: 760px; margin: 0 auto;  }
.testimonial3 .slick-arrow:hover svg circle { fill: #005151; }
.testimonial3 .slick-arrow:hover svg path { fill: #fff !important; }

.testimonial2 .slick-arrow.prev-arrow{left:auto;margin-right:64px; }
.testimonial2 .slick-arrow{top:0px;right:70px;transform: none;}
.testimonial2 .slick-arrow:hover svg circle{fill:#005151;}
.testimonial2 .slick-arrow:hover svg path{fill:#ffffff !important;}
.testimonial2 .slick-arrow.slick-disabled { pointer-events: none;}
.testimonial2-item .detail-content.match { background:#000000; }

/* Text Testimonials Slider Module */
.testimonial1-wrapper { overflow: hidden; padding: 128px 0px 122px; }
.testimonial1-wrapper .slick-list { margin-left: -22px; margin-right: -22px; }
.testimonial1-item{margin:0 22px}
.testimonial1-item .name { font-weight: 700; font-size: 22px; line-height: 1.27; color: #a51d44; padding-left: 19px; width: calc(100% - 90px); }
.testimonial1-item .author-img { width: 90px; }
.testimonial1-item .author-img img { height: 90px !important; width: 90px; border-radius: 100%; overflow: hidden; object-fit: cover; }
.testimonial1-item .text{margin-top:18px}

/* leadership detail module */
.leadership-module{ background-color:#A51D44;padding:77px 0px 0px;position:relative; margin-bottom: 6.75%; }
.leadership-module .container > .flex-box{align-items: flex-start;}
.leadership-left { width: 34.5%; padding-right: 30px;    padding-bottom: 90px; }
.leadership-right { position: relative; z-index: 1; margin-bottom: -10.5%; width: 65.5%; }
.leadership-module .social-icons { list-style: none; display: flex; flex-wrap:wrap; align-items: center; margin-top: 25px; }
.leadership-module .social-icons li { width: 26px; margin-right: 13px; }
.leadership-left .detail-content{font-size: 20px; line-height: 1.4;}
.leadership-left .detail-content a{ text-decoration:none; }
.leadership-right-top-link { text-align: right; margin-bottom: 15px;margin-top: 7px;}
.leadership-right-top-link a { display: inline-flex; align-items: center; }
.leadership-right-top-link svg { margin-right: 17px; }
.leadership-module a{transition: opacity .5s ease;}
.leadership-module a:hover{ opacity:0.7; }
.leadership-module svg path{ fill:#ffffff;}
.leadership-module:after{position:absolute;content:"";border-right:100vw solid #fff;border-top:80px solid transparent;bottom:0;right:0}

/* Leadership Three Column Module */
.leader-three-col { padding: 100px 0 60px; }
.leader-three-col .flex-box { margin-left: -22px; margin-right: -22px; }
.leader-three-col h3 { font-family: inherit; font-size: 30px; font-weight: inherit; }
.leader-three-col .three-col { padding: 22px; position: relative; width: 33.33%; }
.leader-three-col .back-link{text-align:right; margin-top: 15px; }
.leader-three-col .back-link svg{margin-right:17px;margin-top: 3px;}
.leader-three-col .back-link a { display: inline-flex; align-items: center; }
.leader-three-col .back-link a:hover{color:#A51D44;}

/* Partnership Director Tabs Module */
.partners-directory { padding: 70px 0 128px;     overflow: hidden;}
.partners-directory .sub-title { color: inherit;}
.partners-directory-top { margin-bottom: 70px; }
.partners-directory .category { font-size: 20px; line-height: 1.4; text-transform: uppercase; letter-spacing: .1em; font-family: inherit; margin-bottom: 27px; }
.partners-directory .container > .flex-box { align-items: flex-start; }
.partners-directory .tab-menu { width: 24.5%; position: relative; padding-right: 30px; padding-bottom: 42px; }
.partners-directory .tab-boxes { width: 75.5%;padding-left: 33px; border-left: 1px solid #ededed; }
.partners-directory .tab-flex-box{  justify-content: space-between;margin-left: -1.5%; margin-right: -1.5%;margin-top:-46px;min-height:450px;}
.partners-directory .boxes { background-color:#ffffff;  border: 1px solid #ededed; border-radius: 10px; margin-top: 46px; width: 47%; padding: 30px 22px 17px;margin-left: 1.5%; margin-right: 1.5%;transition-property: opacity !important; }
/* .partners-directory .boxes:nth-child(1), .partners-directory .boxes:nth-child(2) { margin-top: 0; } */
.partners-directory .icon-text { position: relative; padding-bottom:39px;padding-right: 115px;}
.partners-directory .title { margin: 0; }
.partners-directory .clients { font-family:Playfair Display, sans-serif; font-weight: 700; font-size:16px; }
.partners-directory .icon { position: absolute; top: -55px; right: 0px; }
.partners-directory .name { font-weight: 700; font-size: 15px; line-height: 1.87; }
.partners-directory-contact a { font-size: 15px; line-height: 1.87; display: inline-block; }
/* .partners-directory-contact .number { display: flex; align-items: center; flex-wrap: wrap; }
.partners-directory-contact .number a { margin-right: 8px; } */
.partners-directory-contact .mail a { text-decoration: underline; text-underline-position: under; }
.partners-directory .load-cta { padding-top: 48px;background: #ffffff; position: relative; margin-left: -34px; margin-right: -34px; }
.partners-directory .load-cta a.cta_button:not(:hover){background: #EDEDED;color:#3A3A3A!important; }
.partners-directory .load-cta a.cta_button{ min-width:188px; }
.partners-directory .tab-menu ul { list-style: none; }
.partners-directory .tab-menu ul li button { transition: color .5s ease,background .5s ease; width:100%;font-family: inherit; cursor: pointer;     text-align: left;    background: transparent;letter-spacing: .1em;border-radius:5px; text-transform: uppercase; padding: 16px 10px 16px 20px; position: relative; display: flex; align-items: center; margin-left: -12px; }
.partners-directory .tab-menu li { position: relative; }
.partners-directory .tab-menu ul li:after { content: ""; position: absolute; height: 1px; width: 91%; bottom: -1px; left: 0; background: #ededed; }
.partners-directory .tab-menu ul li button.is-checked,.partners-directory .tab-menu ul li button:hover{background:#A51D44;color:#ffffff; }
.partners-directory .tab-menu ul svg { margin-right: 16px; min-width: 9px; }
.partners-directory a.moreless-button { margin-left: -13px; padding-left: 13px;position: absolute; bottom: 0; left: 0; display: flex; align-items: center; font-weight: 700; font-size: 14px; line-height: 1.71; width: 100%; padding-top: 74px; background: linear-gradient( 180deg , rgba(255, 255, 255, 0) 0%, #FFFFFF 44.1%);  cursor: pointer;z-index: 5; }
.partners-directory a.moreless-button svg { margin-left: 13px; }
.partners-directory .boxes.color1 .clients,.partners-directory .boxes.color1 .partners-directory-contact a:hover{ color: #DAA520; }
.partners-directory .boxes.color2 .clients,.partners-directory .boxes.color2 .partners-directory-contact a:hover{ color: #005151; }
.partners-directory .boxes.color3 .clients,.partners-directory .boxes.color3 .partners-directory-contact a:hover{ color: #C02350; }
.partners-directory .boxes.color4 .clients,.partners-directory .boxes.color4 .partners-directory-contact a:hover{ color: #30CEBB; }
.partners-directory .moreless-button.expand rect:first-child { display: none; }
.partners-directory .moreless-button.expand { background-image: none; padding-top: 0; }
.partners-directory .tab{display:none}
.partners-directory .tab-active{display:block}

/* Banner Module */
.banner-section { position: relative; padding: 141px 0 132px; z-index: 1; background-size: cover; background-position: center; background-repeat: no-repeat; }
.banner-section .c-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; }
.banner-section h2:not(.revert) { font-family: inherit; font-weight: 400; }
.banner-section.smaller { padding: 82px 0 52px; }

/* UKG Partnership - Hero Module */
.ukg-partner-hero { background-color:#005151; position: relative; z-index: 1;padding: 77px 0 182px; }
.ukg-partner-hero-banner { position: absolute;width: 100%; left: 0; top: 0; height: 100%; z-index: -1;background-size: cover; background-repeat: no-repeat; }
.ukg-partner-hero:before { position: absolute; content: ""; border-right: 100vw solid #ffffff; border-top: 60px solid transparent; bottom: 0; right: 0; z-index: 1; }
.ukg-partner-hero:after { position: absolute; content: ""; border-left: 50vw solid #30cebb; border-top: 30px solid transparent; border-bottom: 30px solid transparent; bottom: 0; left: 0; z-index: 1; }
.ukg-partner-hero .detail-content{ font-size: 20px; }
.ukg-hero-top { max-width: 600px; margin: 0 auto 105px;}
.ukg-hero-top .sub-title { color: #30CEBB; }
.ukg-hero-flex { justify-content: space-between; }
.ukg-hero-left { width: 54.15%; background:#ffffff; border-radius: 25px;position: relative; z-index: 1; }
.ukg-hero-left .detail-content{ padding: 50px 48px; }
.ukg-hero-logo { background:#ffffff; height: 195px; width: 195px; text-align: center; border-radius: 50%; margin-top: -65px; position: absolute; left: 0; padding: 40px; z-index: -1; }
.ukg-hero-right { width: 43.9%; border-radius: 25px; background-size: cover; background-repeat: no-repeat; background-position: center; }
.ukg-partner-hero-arrow { position: absolute; left: 0; width: 100%; text-align: center; bottom: 0; z-index: 2; }
.ukg-partner-hero-arrow a:hover circle{fill:#005151;}

/* UKG by Numbers Module */
.ukg-numbers{ color: #005151;padding: 80px 0; }
.ukg-numbers-flex { justify-content: center;margin-left: -15px; margin-right: -15px; }
.ukg-numbers-item { margin: 30px 15px; width: 197px; }
.ukg-number { background: #005151; width: 164px; height: 164px; display: flex; align-items: center; justify-content: center; border-radius: 100%; margin: 0 auto; font-size: 50px; font-weight: 700; font-family: Playfair Display,sans-serif; line-height: 24px; padding-bottom: 15px; }
.ukg-numbers-item p {line-height: 1.33; font-weight: 700; margin-top: 27px; font-size:18px; }
.ukg-number small { font-size: 29px; position: relative; top: 7px; }
.ukg-number mark { background: transparent; font-weight: 700; font-size: 26px; color: #30CEBB; font-family: Lato,sans-serif; position: relative; top: 7px; }
.ukg-numbers h3 { font-family: inherit; letter-spacing: 0.1em; font-weight: inherit; display: flex; flex-wrap:wrap; align-items: center; justify-content: center; }
.ukg-numbers h3 img { margin-right: 20px; padding: 7px 0; }

/* Two Column - Content Module */
.two-column-section{ padding:50px 0 70px;}
.two-column-section .detail-content { width:50%;padding: 15px; }
.two-column-content-flex { justify-content: space-between; margin-left: -15px; margin-right: -15px; }
.two-column-section .container{ max-width: 894px; }

/* Banner with Title Module */
.title-banner-section { padding: 103px 0 109px; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; z-index:1; }
.title-banner-section:before { position: absolute; content: ""; border-bottom: 70px solid transparent; top: 0; right: 0; z-index: 1; width: 100%; border-left: 100vw solid #fff; }
.title-banner-section:after { position: absolute; content: ""; border-top: 70px solid transparent; bottom: 0; right: 0; z-index: 1; width: 100%; border-right: 100vw solid #fff; }
.title-banner-section .c-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.title-banner-section h2 mark{border-color: #E2849F;padding-bottom: 5px;}

/* Three Column - Core Values Module */
.core-value-section { background: #A51D44; padding: 110px 0 135px; position:relative; }
.core-value-content { max-width: 682px; margin-bottom: 55px; }
.core-value-content p { font-size: 30px; line-height: 1.2; }
.core-value-flex { margin-left: -16px; margin-right: -16px; }
.core-value-item { width: 33.33%; padding: 16px; }
.core-value-item .detail-content { position: relative; padding-left: 42px; }
.core-value-item .detail-content:before { position: absolute; content: ""; background-image: url(https://5638311.fs1.hubspotusercontent-na1.net/hubfs/5638311/Baron%20Payroll/Images/Vector-2.svg); width: 20px; height: 17px; left: 0; top: 5px; background-position: center; background-repeat: no-repeat; }
.core-value-item h4 { font-family: inherit; font-weight: 600; line-height: 1.08; }
.core-value-section:before { position: absolute; content: ""; border-bottom: 70px solid transparent; top: 0; right: 0; z-index: 1; width: 100%; border-right: 100vw solid #fff; }
.core-value-section:after { position: absolute; content: ""; border-top: 70px solid transparent; bottom: 0; right: 0; z-index: 1; width: 100%; border-right: 100vw solid #fff; }

@media(min-width:768px){ 
  .two-column-section .detail-content:nth-child(2n){ margin-top:35px; }
}

@media(min-width:1025px){ 
  .partners-wrapper .sub-title { margin-bottom: 20px; }
  .partners-form-col .detail-content{ line-height:1.75;}
  .banner-module.tl:after { border-top-width: 60px; }
  .banner-section .common-cta a{ min-width:236px; }
}

@media (min-width:1281px){ 
  .partners-wrapper h1,.partners-directory h1,.testimonial2-wrapper h1{ font-size: 50px; }
  .banner-module h1{ font-size:50px; margin-bottom: 35px; }
  .contact-col .form h2 { font-size: 32px; margin-bottom: 50px; }
  .testimonial2 .slick-list{padding-right:70px;}
  .leadership-module h1{ margin-bottom:45px; }
  .partners-directory .sub-title { color: inherit;margin-bottom:23px;}
  .banner-section h2:not(.revert) { font-size: 32px; }
  .banner-section.smaller h2:not(.revert) { font-size:30px;margin-bottom:40px;}
  .ukg-partner-hero h1 { margin-bottom: 45px; font-size: 50px; }
  .ukg-numbers h3 { font-size: 40px; }
  .title-banner-section h2:not(.revert) { font-size: 44px; line-height: 1; }
}

@media(min-width:1440px){
  .testimonial1-wrapper .slick-arrow.prev-arrow { left: -65px; }
  .testimonial1-wrapper .slick-arrow.next-arrow { right: -65px; }
}

@media(min-width:2200px){
  .banner-section,.title-banner-section,.title-banner-section { padding:170px 0;}
  .banner-section.smaller{ padding:120px 0;}
  .banner-module.default.module_1628151609657122 { padding: 150px 0 !important; }
}

@media(max-width:1366px){
  .partners-two-col { padding: 120px 0; }
  .testimonial1 { padding: 0 25px; }
  .testimonial1-wrapper .slick-arrow.prev-arrow { left: -15px; }
  .testimonial1-wrapper .slick-arrow.next-arrow { right: -15px; }
  .partners-directory .tab-menu { padding-right: 25px;}
}

@media(max-width:1280px){
  .partners-two-col,.contact-col,.testimonial1-wrapper,.banner-section,.core-value-section{ padding: 100px 0; }
  .partners-two-col-item h3 { font-size: 26px;  }
  .contact-box { margin-bottom:100px; }
  .testimonial2 .slick-arrow { right: 20px; }
  .testimonial1-item { margin: 0 15px; }
  .testimonial1-wrapper .slick-list { margin-left: -15px; margin-right: -15px; }
  .leader-three-col h3 { font-size: 26px; }
  .leader-three-col{padding:80px 0 60px;}
  .partners-directory { padding: 70px 0 100px; }
  .partners-directory .tab-menu { width: 30%; }
  .partners-directory .tab-boxes { width: 70%; }
  .partners-directory .tab-menu ul svg { margin-right: 7px; }
  .partners-directory .tab-menu ul li button{ padding-left:15px;    letter-spacing: 0;}
  .partners-directory .boxes { /*width: 48.5%;*/ padding: 20px 15px; }
  .partners-directory .icon { top: -45px; }
  .partners-directory .title{ font-size:22px;}
  .ukg-partner-hero{ padding:77px 0 100px;}
}

@media(max-width:1170px){
  .partners-fourcol-content .icon-text { padding: 0 20px 28px; }
  .partners-fourcol-content .icon { top: -85px; right: 15px; }
  .partners-fourcol-content .first-point { padding: 0px 20px 20px; }
  .partners-fourcol-content .plus-text { padding: 15px 20px;}
  .partners-fourcol-content .plus-text span { margin-right: 10px; width: 12px;}
  .partners-fourcol-content .pointers { padding: 25px 20px; }
  .partners-fourcol-content .pointers ul { max-width: 100%; }
  .partners-fourcol-content ul li{ font-size:16px;padding-left: 25px;  }
  .partners-fourcol-content ul li:before{ top:4px; }
  .testimonial2-item .name{width:100%;padding-right:0;}
  .testimonial2-item .text{ width:100%;margin-top:4px }
  .leadership-module{  margin-bottom:7.5%; }
  .leadership-right{ margin-bottom:-8%; }
  .leader-three-col .three-col { padding: 20px 10px; }
  .leader-three-col .flex-box { margin-left: -10px; margin-right: -10px; }
  .ukg-numbers .container { max-width: 900px; }
  .core-value-flex { margin-left: -10px; margin-right: -10px; }
  .core-value-item { padding: 15px 10px; }
  .core-value-item .detail-content { padding-left: 30px; }
  .leader-module { padding: 64px 0; }
}

@media(min-width:768px) and (max-width:1170px){
  .leader-content{width:50%;}
  .leader-module .container { max-width: 800px; }
}

@media(max-width:1024px){
  .partners-wrapper .subheading,.leadership-left .detail-content,.testimonial2-item .name,.banner-module .detail-content,.partners-two-col-item .detail-content,.partners-directory .category { font-size:18px; }
  .partners-module.right { -webkit-clip-path: polygon(0 0,100% 0,100% 91%,0% 100%); clip-path: polygon(0 0,100% 0,100% 91%,0% 100%); }
  .partners-module.left { -webkit-clip-path: polygon(0 0,100% 0,100% 100%,0% 91%); clip-path: polygon(0 0,100% 0,100% 100%,0% 91%);}
  .partners-wrapper .down-arrow{ bottom:0; }
  .partners-fourcol-content .pointers { padding-bottom:0; }
  .partners-form-col, .partners-two-col,.contact-col,.testimonial2-wrapper,.testimonial1-wrapper,.partners-directory,.banner-section,.ukg-partner-hero,.ukg-numbers,.core-value-section{ padding: 70px 0; }
  .partners-form-col .detail-content { padding-bottom: 35px; margin-bottom: 30px; }
  .partners-two-col-item ul li { padding: 17px 0 17px 25px; }
  .partners-two-col-item{ padding:50px 20px 35px;}
  .partners-two-col-item h3,.leader-three-col h3 { font-size: 24px;  }
  .banner-module{ padding:70px 0 110px!important;}
  .banner-module:after,.leadership-module:after,.ukg-partner-hero:before,.title-banner-section:after,.core-value-section:after{ border-top-width:50px; }
  .banner-module .down-arrow{ bottom:0; }
  .banner-module h4{ font-size:24px;padding:0; }
  .leader-module{padding:45px 0}
  .contact-box { margin-bottom:70px; }
  .contact-col .form{ padding:50px;}
  .testimonial2 .slick-list{padding-right:0;}
  .testimonial2-wrapper:before,.title-banner-section:before,.core-value-section:before{  border-bottom-width:50px; }
  .testimonial1-item{text-align: center;}
  .testimonial1-item .name { font-size: 18px; width: 100%; }
  .testimonial1-item .author-img { margin: 0 auto 15px; }
  .leadership-module{ padding-top:70px;margin-bottom:0;}
  .leadership-right { width: 55%;margin-bottom:0; }
  .leadership-left { width: 45%;padding-bottom: 50px; }
  .leader-three-col{padding:50px 0 60px;}
  .partners-directory .tab-menu { width: 35%; padding-right: 20px; }
  .partners-directory .tab-boxes { width: 65%; padding-left: 20px; }
  .partners-directory .icon-text { padding-bottom: 25px; }
  .partners-directory .tab-menu ul li button{ font-size:14px;}
  .partners-directory-top { margin-bottom: 50px; }
  .ukg-partner-hero .detail-content{ font-size:18px; }
  .ukg-hero-left .detail-content { padding: 40px 25px; }
  .ukg-partner-hero:after {border-top-width: 25px; border-bottom-width:25px;}
   .core-value-content p{ font-size:24px;}
  .core-value-content { margin-bottom: 35px; }
  .banner-section.smaller { padding: 50px 0; }
  .partners-directory .boxes, .partners-directory .t-box{ height:auto !important;}
}

@media (min-width:768px) and (max-width:1024px){
  .partners-fourcol-wrapper .partners-fourcol-content{width:48%;margin:60px 1% 0px;}
  .partners-fourcol-wrapper .partners-fourcol-content:nth-child(1),.partners-fourcol-wrapper .partners-fourcol-content:nth-child(2){ margin-top:0; }
  .partners-fourcol-module{-webkit-clip-path:polygon(0 0,100% 0,100% 95%,0 100%);clip-path:polygon(0 0,100% 0,100% 95%,0 100%);}
  .partners-fourcol-wrapper .red-icon { bottom: -10px;}
  .partners-two-col:before { border-bottom-width: 50px;}
/*   .partners-directory .boxes:nth-child(2){margin-top:46px;} */
  .partners-directory .boxes{width:97%;}
}

@media(max-width:991px){
  .leader-three-col .three-col{width:100%;padding:10px 0;}
}

@media(max-width:900px){
  .ukg-hero-left { width: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .ukg-hero-right { width: 100%; height: 50vw; min-height: 348px; border-top-left-radius: 0; border-top-right-radius: 0; }
  .core-value-item { padding: 20px 10px; width: 100%; }
  .core-value-item h4 br{ display:none; }
}

@media(max-width:840px){
  .testimonial2 .slick-list { padding: 0 25px; }
}

@media(max-width:767px){
  .partners-wrapper .partners-content{width:100%; margin-bottom: 40px; }
  .partners-wrapper .partners-module{ padding:60px 0 !important; }
  .partners-wrapper .partners-module .partners-image{text-align:center;width:100%}
  .partners-wrapper .down-arrow { bottom: -13px; }
  .partners-module.right,.partners-fourcol-module { -webkit-clip-path: polygon(0 0,100% 0,100% 97%,0% 100%); clip-path: polygon(0 0,100% 0,100% 97%,0% 100%); }
  .partners-module.left { -webkit-clip-path: polygon(0 0,100% 0,100% 100%,0% 97%); clip-path: polygon(0 0,100% 0,100% 100%,0% 97%);}
  .partners-fourcol-wrapper .partners-fourcol-content{width:100%;margin:60px 1% 0px;}
  .partners-fourcol-wrapper .partners-fourcol-content:nth-child(1){ margin-top:0; }
  .partners-fourcol-wrapper .red-icon { bottom: 0; }
  .partners-fourcol-wrapper .partners-fourcol-content:last-child { padding-bottom: 80px; }
  .partners-two-col:before,.testimonial2-wrapper:before,.title-banner-section:before,.core-value-section:before { border-bottom-width: 25px;}
  .partners-two-col-left, .partners-two-col-right,.leader-content,.three-col,.partners-directory .tab-menu,.partners-directory .boxes,.leadership-right .right_content,.two-column-section .detail-content  {width:100%;}
  .partners-two-col-item .detail-content{ font-size:16px;}
  .partners-two-col-top {margin-bottom:65px;}
  .banner-module:after,.leadership-module:after,.ukg-partner-hero:before,.title-banner-section:after,.core-value-section:after { border-top-width:25px; }
  .banner-module .down-arrow { bottom: -12px; }
  .banner-module .detail-content,.ukg-partner-hero .detail-content{ font-size:16px;}
  .leader-content h5 { font-size: 24px; }
  .leadership-module,.partners-directory,.ukg-numbers,.two-column-section{ padding:50px 0;}
  .leadership-right-top-link {margin-bottom: 0; margin-top: 15px; width: 100%; order: 2; }
  .leadership-right { width: 100%; display: flex; flex-wrap: wrap; }
  .leadership-left { width: 100%; padding: 0 0 40px; }
  .partners-directory .tab-boxes{width:100%;padding-top:50px;padding-left: 0; border: 0;}
  .partners-directory .tab-flex-box{ margin-left: 0; margin-right: 0;min-height:auto; }
  .partners-directory .boxes { margin-left: 0; margin-right: 0; }
  .partners-directory .tab-menu ul li button{ margin-left:0;}
  .partners-directory .title { font-size: 20px; }
  .partners-directory .icon { top: -38px; max-width: 75px; }
  .partners-directory .icon-text { padding-right: 85px; }
/*   .partners-directory .boxes:nth-child(2){ margin-top:46px;} */
  .partners-directory .sub-title { line-height: inherit; margin-bottom: 15px; }
  .partners-directory a.moreless-button { margin-left: 0; padding-left: 0;}
  .ukg-hero-left .detail-content { padding: 40px 20px; }
  .ukg-partner-hero:after {border-top-width: 12.5px; border-bottom-width:12.5px;}
  .ukg-numbers-item p{ font-size:18px; }
  .core-value-content p{ font-size:20px;}
  .partners-directory .load-cta {  margin-left: 0; margin-right: 0; }
  .testimonial3{ padding: 0 50px; }
}

@media(max-width:640px){
  .contact-box .business,.contact-box .contact-us{width:100%;}
  .contact-box .contact-us{ border:0;margin-bottom:50px; }
  .contact-col .form{ padding:50px 25px;}
  .testimonial2 .slick-list,.testimonial1 { padding: 0; }
  .testimonial2 .slick-arrow { right: 0; }
  .testimonial2 .text-box { padding: 15px;}
  .testimonial3 .slick-arrow {     display: none !important; }
  .testimonial3{ padding:0; }
}

@media(max-width:425px){
  .partners-two-col-item .icon { text-align: left; width: 100%; margin-bottom: 20px; }
  .partners-two-col-item .title { width: 100%; padding-right: 0; order: 2; }
  .partners-two-col h2{ font-size:30px;}
}