.btn-common,
.pager .button {
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 700;
  border: 1px solid var(--primary-color);
  height: 40px;
  padding: 0 15px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-common a {
  text-decoration: none;
}

.btn-common:hover a {
  color: var(--white);
}

.btn-common:hover,
.pager .button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.pager {
  text-align: center;
  padding-left: 0;
}

.btn-style-1:hover:after {
  background: url(/themes/custom/uneg/components/button/img/about-learn-more.svg) no-repeat center center transparent;
}

.btn-style-1:after {
  content: "";
  display: block;
  background: url(/themes/custom/uneg/components/button/img/Chevron.svg) no-repeat center center transparent;
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

.archieve-btn:after {
  width: 12px !important;
  background: url(/themes/custom/uneg/components/button/img/Chevron-down.svg) no-repeat center center transparent !important;
}

.archieve-btn:hover:after {
  background: url(/themes/custom/uneg/components/button/img/Chevron-down-hover.svg) no-repeat center center transparent !important;
}


.archieve-btn.active:after {
  animation: rotate 1s forwards;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-180deg);
  }
}

.read-more-btn {
  border: none;
  padding: 0;
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
  height: auto;
}

.read-more-btn:hover {
  background: none;
  color: var(--primary-color);
}

.read-more-btn:after {
  content: "";
  display: block;
  background: url(/themes/custom/uneg/components/button/img/arrow-right.svg) no-repeat center center transparent;
  width: 20px;
  height: 20px;
  margin-left: 5px;
}

.read-more-btn:hover:after {
  background: url(/themes/custom/uneg/components/button/img/arrow-right-hover.svg) no-repeat center center transparent;
}

.learnmore-btn {
  font-size: 0.875rem;
  color: var(--white);
  border: 1px solid var(--white);
}

.learnmore-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

.learnmore-btn:after {
  content: "";
  display: block;
  background: url(/themes/custom/uneg/components/button/img/about-learn-more.svg) no-repeat center center transparent;
  width: 13px;
  height: 20px;
  margin-left: 10px;
}

.learnmore-btn:hover:after {
  background: url(/themes/custom/uneg/components/button/img/Chevron.svg) no-repeat center center transparent;
}

.back-btn a {
  font-size: 0.875rem;
  line-height: 1.1428571428571428;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.back-btn a:hover {
  color: var(--white-3);
}

.back-btn a:before {
  content: "";
  display: block;
  background: url(/themes/custom/uneg/components/button/img/back-arrow-white.svg) no-repeat center center transparent;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  margin-bottom: 1px;
}

.compare-table-head .back-btn a:before {
  width: 7px;
  height: 14px;
  margin-bottom: 1px;
  padding-left: 12px;
}

.back-btn a:hover:before {
  background: url(/themes/custom/uneg/components/button/img/back-arrow-gray.svg) no-repeat center center transparent;
}

.back-btn.blue a {
  margin-left: 0;
  color: var(--primary-color);
}

.back-btn.blue a:hover {
  opacity: 0.8;
}

.back-btn.blue a:before {
  margin-left: 0;
  background: url(/themes/custom/uneg/components/button/img/back-arrow-blue.svg) no-repeat center left transparent;
}

.btn-style-3 {
  background: var(--yellow-2);
  color: var(--black-2);
  border: 1px solid var(--yellow-1);
  font-size: 0.875rem;
  line-height: 1;
}

.btn-style-3:hover {
  color: var(--black-2);
  background: var(--yellow-1);
}

.with-icon.view-icon {
  background-image: url(/themes/custom/uneg/components/button/img/view-icon.svg);
  background-repeat: no-repeat;
  background-position: center right 32px;
  background-size: 14px;
  padding-right: 56px;
  padding-left: 32px;
  background-size: 14px;
  text-transform: unset;
}

.download-button {
  padding-top: 2px;
}

.download-button.with-icon::after {
  content: "";
  display: block;
  background: url(/themes/custom/uneg/components/button/img/download.svg) no-repeat center center transparent;
  width: 16px;
  height: 14px;
  margin-left: 10px;
}

.download-button.with-blue-icon::after {
  background: url(/themes/custom/uneg/components/button/img/download-blue.svg) no-repeat center center transparent;
}

.download-btn {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.1721428571428572;
  color: var(--primary-color);
  padding: 10px 32px 10px 32px;
  border-radius: 18px;
  padding-right: 55px;
  background: url(/themes/custom/uneg/components/button/img/download-blue.svg) center right 32px no-repeat;
  border: 1px solid var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  width: auto !important;
  text-transform: uppercase;
}

.download-btn:hover {
  background: var(--primary-color) url(/themes/custom/uneg/components/button/img/download-white.svg) center right 32px no-repeat;
  color: var(--white);
}

.detail-back-btn a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-left: 15px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.1721428571428572;
  text-align: left;
  color: var(--black-2);
  text-transform: uppercase;
  text-decoration: none;
  background: url(/themes/custom/uneg/components/button/img/left_arrow.svg) no-repeat top calc(50% - 1px) left 0 transparent;
  transition: all 0.3s ease;
}

.detail-back-btn a:hover {
  opacity: 0.6;
}

/* -- */
.view-agency-profile-detail-page .btn-common {
  padding: 0 32px;
}

/* Used in Filter Popup */

.btn-style-5 {
  background: var(--blue-2);
  color: var(--blue-6);
  border: 1px solid var(--blue-6);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-transform: capitalize;
  height: 36px;
  padding: 10px 32px;
}

.btn-style-5:hover,
.btn-style-5:active {
  background: var(--blue-6);
  color: var(--white);
}

/* compare button */
.primary-btn {
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
  text-decoration: none;
  min-height: 36px;
  padding: 10px 32px;
  border: 1px solid var(--primary-color);
  border-radius: 18px;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.compare-btn {
  padding-right: 56px !important;
  background: url(/themes/custom/uneg/components/button/img/compare-icon.svg) center right 32px no-repeat;
}

.compare-btn:hover {
  background: var(--primary-color) url(/themes/custom/uneg/components/button/img/compare-icon-hover.svg) center right 32px no-repeat;
}

.export-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.3333333333333333;
  color: var(--black-2);
  text-transform: uppercase;
  padding-right: 40px;
  background: url(/themes/custom/uneg/components/button/img/export-icon.svg) center right no-repeat;
  background-size: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 30px;
}

.export-btn:hover {
  opacity: 0.8;
}

.members-view .pager .button {
  width: 142px;
  color: var(--blue-2);
  border: 1px solid var(--blue-2);
  background: var(--white);
}

.members-view .pager .button:hover {
  color: var(--white);
  background: var(--blue-2);
}

.page-our-work .download-btn {
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .popup-component-btn {
    width: 250px;
  }

  .btn-common,
  .pager .button {
    height: 30px;
  }

  .members-view .pager .button {
    width: auto;
  }

  .view-agency-profile-detail-page .btn-common {
    padding: 0 15px;
    height: 35px;
  }

  .detail-back-btn a {
    font-size: 0.755rem;
  }
}

@media (max-width: 991px) {
  .back-btn a {
    font-size: 10px;
  }

  .view-agency-profile-detail-page .btn-common {
    padding-top: 1px !important;
  }

  .btn-common,
  .pager .button {
    font-size: 0.675rem;
  }

  .view-agency-profile-detail-page .btn-common {
    padding: 0 15px;
  }

  .microsite-page .ast-header .download-btn {
    font-size: .75rem;
    padding: 10px 15px 10px 15px;
    padding-right: 36px;
    color: var(--white);
    background: url(/themes/custom/uneg/components/button/img/download-white.svg) center right 15px no-repeat;
    border: 1px solid var(--white);
    margin-left: 15px;
  }

  .microsite-page .ast-header .download-btn:hover {
    background: var(--white) url(/themes/custom/uneg/components/button/img/download-blue.svg) center right 15px no-repeat;
    color: var(--primary-color);
  }
}

@media only screen and (max-width: 767px) {
  .primary-btn {
    padding: 10px 25px;
  }
}
