body select#blog-topics .button {
  color: #000;
  font-weight: 500;
  text-align: left;
  background: #ededed;
  font-size: 16px;
}
select#blog-topics {
  -moz-padding-start: 15px!important;
}
@-moz-document url-prefix() {
  select#blog-topics {
    padding-top: 13px!important;
  }
}

.search-group .selectric {
  border-radius: 0px;
  border: none !important;
  background: #EDEDED 0% 0% no-repeat padding-box;
}
.search-group .selectric .label {
  color: #0F0F0F !important;
  text-align: left;
  letter-spacing: 0px;
  font-size: 18px;
  font-weight: 300 !important;
}
.search-group .selectric .selectArrow {
  display: none !important;
}
body select#blog-topics{    
  background: url(https://f.hubspotusercontent00.net/hubfs/6308956/Blog_Nov_2020/icons-arrow-new-3.png) no-repeat right #EDEDED;
  -webkit-appearance: none;
  background-position-x: 310px;
}
.filter-cat-results .f-cat.active {
  opacity: 1;
  display: block;
  -webkit-animation: fadeIn 0.65s ease forwards;
  animation: fadeIn 0.65s ease forwards;     
  position:relative;  /** TRTR  **/
  /*     margin-left: 15px;
  margin-right: 15px; */
  margin-top: 37px;
}
.filter-cat-results .f-cat {
  opacity: 1;
  display: none;
}
/*----------------------------------------------------------------------
* search
----------------------------------------------------------------------*/ 
.hs-search-field {
  position: absolute;
  right: 0;
}
.hs-search-field__input {
  box-sizing: border-box;
  width: 100%;
}
.hs-search-field__bar button svg {
  height: 10px;
}
.hs-search-field__suggestions {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hs-search-field--open .hs-search-field__suggestions {
  border: 1px solid #000;  
}
.hs-search-field__suggestions li {
  display: block;
  margin: 0;
  padding: 0;
}
.hs-search-field__suggestions #results-for {
  font-weight: bold;
}
.hs-search-field__suggestions a,
.hs-search-field__suggestions #results-for {
  display: block;
}
.hs-search-field__suggestions a:hover,
.hs-search-field__suggestions a:focus {
  background-color:  rgba(0,0,0, .1);
  outline: none;
}

body .search-group .form input[type="text"] {
  text-align: left;
  letter-spacing: 0px;
  color: #707070;
  text-transform: capitalize !important;
  padding: 0 50px;
}
.search-group .form:before {
  content: '';
  background: url(https://f.hubspotusercontent00.net/hubfs/6308956/Blog_Nov_2020/search.png);
  background-position: center center;
  background-size: cover;
  height: 20px;
  width: 20px;
  position: absolute;
  left: 0;
  margin: 15px;
  border: none;
  z-index: 999;

}
#formButton .fa-search:before {
  content: "\f002";
  font-size: 20px;
}
button#formButton {
  display:none;
}
button#formButton:focus {
  outline: none;
}
button#formButton {
  padding: 15px 18px;
  border: none;
  height: 100%;
  max-height: 50px;
}
body .search-group .form {
  display: block;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  text-align: left;
  letter-spacing: 0px;
  color: #707070 !important;
  /*   text-transform: capitalize !important; */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  text-align: left;
  letter-spacing: 0px;
  color: #707070 !important;
  text-transform: capitalize !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  text-align: left;
  letter-spacing: 0px;
  color: #707070 !important;
  text-transform: capitalize !important;
}



/* ******************* pagination ******************* */

.custom-theme ul{
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.custom-theme li{
  display: inline-block;
  margin: 0px 2px;
}
/* .custom-theme span {
text-align: center;
border-radius: 4px;
padding: 5px 10px;
color: #707070 !important;
font-size: 21px;
line-height: 24px;
font-weight: 700;
font-family: 'Circular',sans-serif;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
text-decoration: none;
transition-duration: 500ms;
outline: 0;
cursor: pointer;
} */
.custom-theme .active span.current{
  background-color: #ebebeb;
}
.blog-pagination.custom-theme a:hover,
.blog-pagination.custom-theme li span:hover{
  background: #15cc79;
  background-color: #15cc79;
  transition: .3s ease all;
}


.cm-search-wrapper {
  padding: 15px 0;
  background: linear-gradient(93deg, rgba(33,118,180,1) 0%, rgba(23,192,115,1) 100%);
}

.cm-search-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 55px;
  max-width: 990px;
  margin: 0px auto;
}

.hs-search-field {
  transition: all 0.5s ease;
/*   flex: 1; */
  
  display: flex;
  justify-content: flex-end;
    width: 55px; 
  max-width:unset!important;
  margin:unset!important;
}

input#quicksearch {

    padding: 10px 30px!important;
    min-height: 55px!important;}
.cm-search-inner.active-input input#quicksearch{padding: 10px 30px 10px 40px!important;}
.hs-search-field div {
  transition: all 0.5s ease;
  width: 100%;
  right: 0;
}

.hs-search-field input, .hs-search-field i  {
  transition: all 0.5s ease;
}

.form-group.search {
  display: flex;
  justify-content: flex-end;
}

.cm-search-icon {
  display: flex;
  align-items: center;
}

.cm-search-icon img {
  display: block;
  margin-right: 20px;
  width: 37px;
}

.cm-search-icon p {
  margin: 0;
  font-family: CircularStd-Bold;
  font-size: 20px;
  line-height: 35px;
  color: #ffffff;
}

.hs-search-field__bar .live-search-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  outline: 0;
  border: 0;
  opacity: 1;
  cursor: pointer;
  background-image: url(https://www.harrisonclarke.com/hubfs/03-2023%20Blog/images/Group%201376.png);
  background-repeat: no-repeat;
  background-position: 50%;
  color: transparent;
  background-color: #fffc;
}

.form-group.search {
  position: relative;
}

.form-group.search > i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 21px;
  color: #18B77B;
  font-weight: normal;
  z-index: 1;
  cursor: pointer;
}

.cm-search-inner.active-input .cm-search-icon {
  display: none;
}

.cm-search-inner.active-input .hs-search-field {
  width: 100%;
}

.cm-search-inner.active-input .hs-search-field__bar .live-search-box {
  width: 100%;
  border-radius: 5px;
  padding: 14px 17px;
  padding-left: 40px;
  background-image: url(https://www.harrisonclarke.com/hubfs/03-2023%20Blog/images/Group%201377.png);
  background-repeat: no-repeat;
  background-position: 10px 50%;
  color: #333333 !important;
  opacity: 1;
}

.cm-search-inner .hs-search-field__bar .live-search-box::placeholder {
  color: transparent !important;
}

.cm-search-inner.active-input .hs-search-field__bar .live-search-box::placeholder {
  color: #333333 !important;
}

.cm-search-inner.active-input .form-group.search > i {
  left: 18px;
}

.cm-search-inner.active-input .hs-search-field__bar {
  width: 100%;
}

#blog-topics {
  display: none;
}

.cm-filter-tag {
  background-color: #F7F7F7;
}

.cm-tags>button, .cm-tags div {
/*   flex: 1; */
  border: 0;
  outline: none;
  padding: 33px 20px;
  position: relative;
  cursor: pointer;
  text-align: center;
  background-color: transparent;
  font-size: 18px;
  line-height: 23px;
}

.cm-tags {
  display: flex;
/*   display: -webkit-box; */
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cm-tags .sub-list {
  position: absolute;
  right: 0;
  top: 96%;
  padding: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease;
  z-index: 10;
  min-width: 219px;
  padding: 10px 49px 22px 34px;
  text-align: right;
  background-color: #F7F7F7;
  box-shadow: 2px 2px 2px #00000029;
  font-family: Circular Std Book;
}

ul.sub-list.active-subTag {
  opacity: 1;
  visibility: visible;
}

.cm-tags .sub-list button {
  display: block !important;
  margin-left: auto;
  border: 0;
  background-color: transparent;
  font-size: 18px;
  line-height: 32px;
}

.cm-tags>button:after, .cm-tags div:after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 4px;
  width: 100%;
  left: 0;
  transition: 0.3s all ease;
}

.active-tab:after {
  background-color: #19B67D;
}

/* .cm-tags div:after {
display: none;
} */

.active-tab {
  font-weight: bold;
}

.cm-tags div {
  background-image: url(https://www.harrisonclarke.com/hubfs/03-2023%20Blog/images/more.png);
  background-repeat: no-repeat;
  background-position: 95% 50%;
  background-size: 10px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.filtering {
  position: relative;
}

.activeWrapper-topics:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  top: 68px;
  height: 100%;
  background: linear-gradient(193deg, rgba(49,49,49,1) 0%, rgba(3,4,3,1) 100%);
  opacity: 0.4;
  z-index: 2;
}


.blog-topic-wrapper {
  position: relative;
  z-index: 10;
  display: none;
}

.blog-topic-wrapper img {
  position: absolute;
  right: 24px;
  top: 26px;
  width: 12px;
  transition: 0.3s all ease;
}

.blog-topic-wrapper.active-topics img {
  rotate: 180deg;
  top: 24px;
}

.blog-pagination ul li a:hover {
  background-color: transparent !important;
}



/* ******************* Media Query ******************* */

/*  ipad pro Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  body .search-group .form {
    display: block;
  }

}

/* ipad Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
  body .search-group .form {
    display: block;
  }
}


/* Landscape iphones 6 and portrait tablets */
@media (max-width: 767px) {
  body .search-group .form {
    display: none;
  }
  .hs-search-field__bar .live-search-box {
  
  background-position: 2%!important;
  background-color: rgb(209 235 233 / 51%)!important;
    border-radius:0px!important;
}
  input#quicksearch {
    padding: 10px 30px 10px 35px!important;
  }
  button#formButton {
    display:block;
  }
  .hs-search-field {
  
    width: 100%; 
 
}

  .search-group .form:before {
    margin: 15px;
  }
  .search-group .form:before {
    right: 0;
    /*     float: right;
    left: auto; */
  }
  /*body .search-group .form input[type="text"] {
  padding: 0px;
  width: 100%;
  border: none;
  background-color: #EDEDED;
}
  body .search-group .form {
  width: 15%;
  float: right;
  margin-top: -13.3%;
}*/
  ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    /*    color: #EDEDED !important; */
  }

  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    /*     color: #EDEDED !important; */
  }

  ::-ms-input-placeholder { /* Microsoft Edge */
    /*    color: #EDEDED !important; */
  }
}

/* Landscape phones and smaller */
@media (min-width: 380px) and (max-width: 480px){
  button#formButton {
    float: right;
    /*     padding: 15px 22px;
    margin-top: -50px; */
    border: 0;
  }
}
@media (max-width: 320px) {
  button#formButton {
    float: right;
    /*     padding: 15.5px 18px;
    margin-top: -51px; */
    border: 0;
  }
}

/*------------------------------
/* ******************* Media Query ******************* */

/*  ipad pro Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  body select#blog-topics {
    background: url(https://f.hubspotusercontent00.net/hubfs/6308956/Blog_Nov_2020/icons-arrow-new-3.png) no-repeat right #ededed;
    -webkit-appearance: none;
    background-position-x: 100%;
  }

}

/* ipad Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
  body select#blog-topics{    
    background-position-x: 100%;
  }
}


/* Landscape iphones 6 and portrait tablets */
@media (max-width: 767px) {
  body select#blog-topics {
    background: url(https://f.hubspotusercontent00.net/hubfs/6308956/Blog_Nov_2020/icons-arrow-new-3.png) no-repeat right #15cc79 !important;
    -webkit-appearance: none !important;
    background-position-x: 85% !important;
    border: 0;
  }
  .search-group .selectric-wrapper {
    margin-bottom: 0;
    padding: 0;
    width: 100%;
  }
  .search-group .selectric {
    background: #00C87C;
  }

  /* cm mobile css */

  .cm-tags {
    display: none;
  }

  body select#blog-topics {
    display: block;
    width: 100%;
    padding: 17.5px 23px;
    background: linear-gradient(259deg, rgba(24,185,121,1) 0%, rgba(33,118,180,1) 100%) !important;
    color: #ffffff;
    font-size: 18px;
    line-height: 23px;
  }

  .cm-search-wrapper {
    background: #ffffff;
  }

  .cm-search-icon {
    display: none;
  }

  .hs-search-field__bar .live-search-box , .cm-search-inner.active-input .hs-search-field__bar .live-search-box {
    width: 100%;
    background-color: rgb(209 235 233 / 51%);
    border-radius: 0;
    background-position: 10px 50%;
    opacity: 1;
    font-size: 14px;
    line-height: 24px;
    color: #333333;
    padding: 0 0px 0 40px;
    height: 58px;
  }

  .cm-search-inner .hs-search-field__bar .live-search-box::placeholder {
    color: #333333 !important;
    font-size: 14px;
    line-height: 24px;
  }

  .cm-search-inner.active-input .hs-search-field__bar .live-search-box::placeholder {
    color: #333333 !important;
    font-size: 14px;
    line-height: 24px;
  }

  body select#blog-topics .button {
    color: #000;
    font-weight: 500;
    text-align: left;
    background: #ededed;
    font-size: 18px;
    line-height: 32px;
  }

  .blog-topic-wrapper {
    display: block;
  }
  .cm-filter-tag {
    background-color: #ffffff;
    /* position: relative; */
  }

}

/* Landscape iphones 5 and portrait tablets */
@media (max-width: 640px) {

}

/* Landscape phones and smaller */
@media (min-width: 380px) and (max-width: 480px){
  body select#blog-topics {
    /*     background-position-x: 310px !important; */
  }
}

@media (max-width: 320px) {
  body select#blog-topics {
    background-position-x: 83% !important;
  }
}



