.header-wrap {
    position: relative;
    padding: 60px 0px;
    background-color: #fff;
    z-index: 999;
}

@media (min-width: 1080px) {
    body .header-wrap {
        padding: 25px 0 60px;
    }
}

@media (min-width: 1080px){
    body .header-wrap .page-center {
        max-width: 1260px !important;
    }
}
     
.header-otr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.header-left {
    width: 13%;
}

.header-right {
    width: 87%;
}

.header-menu { 
    float: right;
    text-align: right;
    min-height: auto;
}

.header-logo {
    top: 10px;
    position: relative;
}

.header-logo img {
    max-width: 150px !important;
}

.header-menu ul {
    margin: 0px !important;
    padding: 0px;
    margin-bottom: -10px !important;
}

.header-menu ul li {
    margin: 0px;
    margin-left: 65px;
}

.header-menu ul li:nth-child(1) {
    margin-left: 0px !important;
}

.header-menu ul li a { 
    padding: 15px 5px !important; 
    max-width: 100% !important;
    white-space: normal !important;
    font-weight: 500;
    color: #000054;
    position: relative;
}

.header-menu  ul > li.hs-menu-item.hs-menu-depth-1:last-child > a {
    padding: 15px 12px !important;  
    color: #fff;
    background: #7340FA;
    border-radius: 5px;
    font-size: 15px;
}

.header-menu ul > li.hs-menu-item.hs-menu-depth-1 > a:before {
    content: "";
    background: #fff;
    width: 90%;
    height: 2px;
    bottom: 0px;
    position: absolute;
}

.header-menu ul > li.hs-menu-item.hs-menu-depth-1 > a:hover:before {
    content: "";
    background: #7340FA; 
}

.header-menu ul > li.hs-menu-item.hs-menu-depth-1:last-child > a {
    padding: 15px 12px !important;
    font-size: 14px !important;
    line-height: 16px !important;
}

.header-menu ul > li.hs-menu-item.hs-menu-depth-1:last-child > a:hover {
    background: #00dec4 !important;
}

.header-menu ul > li.hs-menu-item.hs-menu-depth-1:last-child > a:before {
    content: "";
    background: #fff;
    width: 90%;
    height: 0px; 
}

.header-menu ul li.hs-item-has-children a {
    display: flex !important;
    color: #000054;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 22px !important;
    margin-bottom: 10px;
    transition: all .3s;
}

.header-menu ul li a {
    font-size: 16px !important;
    line-height: 22px !important; 
}
  

.header-menu ul li.hs-item-has-children a img {
    max-width: 40px !important;
    margin-right: 10px;
}

.header-menu ul li.hs-item-has-children a span {
    color: #000054;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    display: block;
    margin-top: 7px;
}

.header-menu ul li.hs-item-has-children a p {
    margin: 0px;
}

.header-menu ul > li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > a:after {
    content: "";
    background-image: url(https://cdn2.hubspot.net/hubfs/19523311/Perx_2022/Images/arrow.svg);
    position: absolute;
    width: 15px;
    height: 14px;
    background-size: 12px 10px !important;
    background-position: 100% 4px;
    background-repeat: no-repeat;
    right: -12px;
    top: 18px;
} 

.header-menu ul.hs-menu-children-wrapper {
    background: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 46px -7px rgba(0, 0, 0, 0.2);
}

.header-menu ul ul li a {
    text-transform: capitalize;
}

.header-menu ul ul li {
    margin: 0px; 
}
 

.header-menu ul li.hs-item-has-children:nth-child(1) ul.hs-menu-children-wrapper {
    min-width: 750px; 
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: initial;
    padding: 30px;
    top: 70% !important;
/*     transition: all 0.3s ease; */
}

.header-menu ul li.hs-item-has-children:nth-child(1) ul.hs-menu-children-wrapper li {
    width: 50% !important;
    float: left !important;
}









/* ==========================================================================
   Custom Menu Primary
   ========================================================================== */


{% set ulColor       = "" %} /* Set ul background color */
{% set liColor       = "" %} /* Set li background Color */
{% set aColor        = "#000000" %} /* Set link Color */
{% set aColorHover   = "#000000" %} /* Set link Hover Color */
{% set uldropColor   = "#fff" %} /*Set dropdown menu background color */

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{ 
  background:; 
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
	background:;
    float: left;
    list-style-type: none;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
  	color:;
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    margin: 0;
    text-align: center;  
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{
  color:;
}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul ul{
    background:; 
    margin: 0;
    min-width: 415px;
    border: 0px solid rgba(0,0,0,0.17);
    border-top: none;
    ;
    ;
    transform: translate(-40%,15px);
    top: 70% !important;
}

.custom-menu-primary .hs-menu-wrapper > ul ul li{
  background:;
    border: none;
    border-top: 0px solid rgba(0, 0, 0, 0.17);
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
  color:;
      padding: 15px;
    line-height: 1;
    font-size: 0.938rem;
    font-weight: 500;
    text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
  color:;
}

/* Override max width on menu links */
.custom-menu-primary .hs-menu-wrapper > ul li a, 
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  overflow: visible !important;
  max-width: none !important;
  width: auto !important;
}

/* Fix menu disappearing on desktop after toggling mobile menu */

@media screen and (min-width:1080px) {
      .custom-menu-primary .hs-menu-wrapper { 
          display:block !important;
      }
}




/* ==========================================================================
   Mobile Menu - Hubspot Standard Toggle Menu
   ========================================================================== */


/**
 * Special Note
 *
 * When the menu is open, a class of .mobile-open is applied to the body. You can 
 * use this for custom styling on any element when the menu is in the open position.                     
 */

.mobile-trigger, .child-trigger{
    display: none; /* Hide button on Desktop */
}

@media (max-width: 1080px){


  /* Variables
     ========================================================================== */

  {% set menuColorMobile = "#000000" %}   /* Set Mobile Menu Background Color */
  {% set aColorMobile = "#ffffff" %}      /* Set Link Color */
  {% set aColorHoverMobile = "#fff" %} /* Set Link Hover Color */

  /* 
    * Menu Reset
    *
    * Remove styling from desktop version of custom-menu-primary. Place any 
    * additional CSS you want removed from the mobile menu in this reset 
    */

  .custom-menu-primary,
  .custom-menu-primary .hs-menu-wrapper > ul,
  .custom-menu-primary .hs-menu-wrapper > ul li,
  .custom-menu-primary .hs-menu-wrapper > ul li a{
    display: block;
    float: none;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0px;
    margin: 0px;
    background-image: none;
    background-color: transparent;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none; 
    max-width: none;
    width: 100%;
    height: auto;
    line-height: 1;  
    font-weight: normal;
    text-decoration: none;
    text-indent: 0px;
    text-align: left;
    color:;
  }


  /* Toggle Button
     ========================================================================== */

  .mobile-trigger{
    display: inline-block !important; /* Show button on mobile */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /*******************************************/
    top: 0px;          /* Position Button at right of screen  */
    right: 15px;        /*******************************************/
    width: auto; /* Button width */
    height: auto; /* Button height */      
    padding: 7px 0px 8px 0px;
    background: transparent; /* Background color */
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: ; 
  }
  .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    color: #fff;
    background-color: transparent ; 
    border-color: transparent;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
    color:;
    background-color: transparent; 
    border-color: transparent;
  }


  /* Toggle Button Icon
     ========================================================================== */

  .mobile-trigger i{
    display: inline;
    position: relative;
    top: -4px;
  }
  .mobile-trigger i:before, .mobile-trigger i:after{
    position: absolute;
    content: '';
  }
  .mobile-trigger i, .mobile-trigger i:before, .mobile-trigger i:after{
    width: 30px; /* Icon line width */
    height: 2px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-color: #000054; /* Icon color */
    display: inline-block;
  }
  .mobile-trigger i:before{
    top: -7px; /* Position top line */
  }
  .mobile-trigger i:after{
    top: 7px; /* Position bottom line */
  }
  
  .mobile-open .mobile-trigger i:before {
      top: 0px;
      transform: rotate(45deg);
      width: 25px;
  }

  .mobile-open .mobile-trigger i:after {
      top: 0px;
      transform: rotate(134deg);
      width: 25px;
  }
  
  .mobile-open .mobile-trigger i { 
    height: 0px;
  }
      
  .mobile-trigger:hover i, .mobile-trigger:hover i:before, .mobile-trigger:hover i:after,  
  .mobile-open .mobile-trigger i, .mobile-open .mobile-trigger i:before, .mobile-open .mobile-trigger i:after{
      background-color: #000054; /* Icon color */
  }


  /* Child Toggle Button
     ========================================================================== */

  .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width:100% !important; /* Button width */
    min-width: 65px !important;
    height: 45px !important; /* Button height */  
    padding: 0 !important;
    border-left: 0px dotted rgba(255, 255, 255, .20);
    background-image: url(https://content.perxrewards.co.uk/hubfs/Perx_2022/Images/Bottom.png);
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 20px;
}

  .child-trigger.child-open {
      background-image: url(https://content.perxrewards.co.uk/hubfs/Perx_2022/Images/Top.png);
  }

  .child-trigger:hover{
    text-decoration: none;
  }
  
  .header-menu ul > li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > a:after ,
  .header-menu ul > li.hs-menu-item.hs-menu-depth-1 > a:before {
    display: none !important;
  }
  
  
  
/*  .child-trigger i{
    position: relative;
    top: 50%; /* Centers icon inside button 
    margin: 0 auto !important;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .child-trigger i:after{
    position: absolute;
    content: '';
  }
  .child-trigger i, .child-trigger i:after{
    width: 10px; 
    height: 1px;
    background-color:; 
    display: block;

  }
  .child-trigger i:after{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .child-trigger.child-open i:after{
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .child-trigger.child-open i{
  }

*/
    
  /* Menu Styles on Mobile Devices
     ========================================================================== */  
     
   .custom-menu-primary.js-enabled{
       position: relative;
       padding-top: 44px; /* Makes room for button */
       margin: 10px 0 10px 0;
   }

  /* Hide menu on mobile */
  .custom-menu-primary.js-enabled .hs-menu-wrapper,
  .custom-menu-primary.js-enabled .hs-menu-children-wrapper{
    display: none;
  }  

  /* Make child lists appear below parent items */
  .custom-menu-primary ul.hs-menu-children-wrapper{
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    display: none;
  }

  /* Mobile Menu Styles */ 
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative; /**************************************************************/
    top: 0;             /* Positions the menu to drop from the very top of the screen */
    left: 0;          /**************************************************************/
    padding: 0;
  }
  .custom-menu-primary .hs-menu-wrapper{
    background-color: #fff; /* Menu background color set off global menuColorMobile variable */
    width: 100%; /* Full screen width */
  }

   /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li a{
    font-size: 1.375rem; /* Font size of top level list items */
    line-height: 45px;
    overflow: visible;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul li{
    border-top: 0px dotted rgba(255, 255, 255, .35); /* Adds transparent dark highlights to top of top level list items */
  }
  .custom-menu-primary .hs-menu-wrapper >  ul li a{
    padding: 0 10px;
    color:; /* link color set by global mobile-aColor variable */
  }
  .custom-menu-primary .hs-menu-wrapper > ul li a:hover{
    color:; /* link hover color set by global mobile-aColorHover variable */
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul li{
    background-color: rgba(255, 255, 255, .08);
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a{
    text-indent: 10px; /* Indent Child lists */
    font-size: 16px; /* Font size of child lists */
  }

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li a{
    text-indent: 30px; /* Indent Child lists */
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul ul ul li a{
    text-indent: 50px; /* Indent Child lists */
  }
}

@media only screen and (min-width: 1081px) and (max-width: 1280px) {
  
  .header-menu ul li { 
      margin-left: 40px;
  }

  
  
} 




/******** Mobile Styling *********/

@media (min-width: 1366px) {
    .header>.container {
        max-width: 1260px;
    }
}

@media (min-width: 1200px) {
  .header>.container {
      max-width: 1200px;
  }
}

@media (min-width: 1200px) {
  .header>.container {
      max-width: 1200px;
  }
}

@media (min-width: 1080px) {
    body .header-logo img {
        max-width: 170px !important;
    }
}

@media (max-width: 1080px) {
   
  
  .header-menu ul ul { 
      display: block;  
  }
  
  .header-menu ul ul li {
      margin: 0px;
      margin-bottom: 0px !important;
  }

  .header-menu ul { 
      display: inline-block ; 
      padding: 0;
  }
    
  .header-menu.custom-menu-primary.js-enabled ul {
      background: #fff;
      padding: 10px 0px 20px;
      border-bottom: 0px solid #ffff;
  }
  
  .header-menu.custom-menu-primary.js-enabled ul ul {
      padding: 20px !important;
      border: 0px !important;
      background-color: transparent !important;
      width: 100% !important;
  }
  
  .header-menu .hs-menu-wrapper>ul>li.active a:before {
      display: none !important;
  }
  
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li>a {
      font-size: 16px;
      margin: 0px 0px;
      padding: 7px 20px 0px !important;
      border-bottom: 0px solid #d5d5d5;
      color: #03132d;
  }
   
  .header-menu {
      width: 100% !important;
      float: left !important;
  }
    
  .custom-menu-primary {
      position: absolute !important; 
      top: 50px !important;
      right: 0 !important;
      width: 100% !important;
      padding: 0px !important;
      min-height: 0 !important;
      margin: 0 !important;
  }
	
  .custom-menu-primary.js-enabled .hs-menu-wrapper {
      top: 50px !important;
  } 
  
  .header-menu li.hs-item-has-children:after {
    display: none;
  }
  
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-item-has-children>ul.hs-menu-children-wrapper {
      left: 0;
      -webkit-transform: translateX(0) translatey(0);
      -moz-transform: translateX(0) translatey(0);
      -o-transform: translateX(0) translatey(0);
      -ms-transform: translateX(0) translatey(0);
      transform: translateX(0) translatey(0);
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      -o-box-shadow: none;
      -ms-box-shadow: none;
      box-shadow: none;
  }
  
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li:not(:first-child) {
      margin: 0 0 0 0px;
  }
  
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li {
      margin: 0 0 0 0px;
  }
 
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
      padding: 10px 10px !important;
      color: #03132d;
      text-align: left;
  }
  
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li {
      background-color: #fff;
      border: 0px;
  }
  
  .header-menu.custom-menu-primary ul:before {
      content: '';
      position: absolute; 
      top: -10px;
      right: 0px;
      width: 43px;
      background-repeat: no-repeat;
  }
  
  .header-menu.custom-menu-primary ul {
      position: relative;
  }  

  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li > a:hover{ background: transparent; color: #000; }
   
  .header-menu .hs-menu-wrapper>ul>li.hs-menu-item.hs-menu-depth-1.hs-item-has-children.active-branch>a {
      color: #000;
  }
   
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li:last-child>a {
      padding: 12px 20px !important;
      font-size: 16px;
      background: transparent;
      border: 0px solid #000 !important;
      color: #000;
      width: 100% !important;
      display: inline-block;
  }
 
  
  .header-menu ul li.hs-item-has-children:nth-child(1) ul.hs-menu-children-wrapper li {
      width: 100% !important;
      float: left !important;
  }

  .header-menu ul li.hs-item-has-children:nth-child(1) ul.hs-menu-children-wrapper {
      min-width: 100%; 
      padding: 20px;
      top: 20% !important; 
  }
  
  .header-wrap { 
      padding: 25px 0px; 
  }

}

@media only screen and (min-width:768px) and (max-width: 1024px) and (orientation: portrait) {
  
  
}  

@media (max-width: 767px) {
   
  .header-logo img {
      max-width: 200px !important;
  }
}

@media (max-width: 479px) {

  
}

.hs-featured-image-wrapper.hs-featured-image-wrapperratio {
    background-repeat: no-repeat !important;
}

.ucHubspotTopicData {
    margin-bottom: 0;
}

.ucTopicLink {
    font-size: 14px;
    margin-bottom: 10px;
}