/*button styles*/
.anchor-button {
  border: none;
  background: none;
}

.btn-reset-style {
  border: none;
  background: none;
}

.see-all-link:focus-within,
a[class*="btn"]:not(.view-all-btn):focus-within,
.right-sec .item-list a:focus-within,
.user-logged-in .ast-edit-node a:focus-within {
  text-decoration: none;
  color: inherit;
}

a[class*="btn"]:hover {
  text-decoration: none;
}

.right-sec .item-list a:hover:focus-visible,
.btn-style-1:focus-visible,
.btn-style-2:focus-visible,
.shortcut-view .item-list a:focus-visible,
.share-btn:focus-visible,
.inf-scroll-btn:focus-visible {
  /* outline: none; */
  /* border: 1px dotted #000; */
  /* border: 2px dotted var(--focus-visible-color); */
  outline: 2px dotted var(--focus-visible-color);
  text-decoration: none;
}

.see-all-link a {
  /*color changed as per new homepage design*/
  /* color: var(--very-dark-cyan-1) !important; */
  color: var(--blue) !important;
  font-size: 1em;
  font-weight: 500;
}

.see-all-link a:active {
  color: var(--dark-cyan) !important;
}

.share-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3125em;
  font-weight: 600;
  line-height: 1;
  color: var(--gray) !important;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 7px 45px 10px 25px;
  background: #fff url(img/button-img/share_grey.png) no-repeat center right 15px;
  display: inline-flex;
  align-items: center;
}

.btn-yellow {
  background-color: var(--vivid-orange-3);
}

.share-btn:hover {
  background-color: var(--vivid-orange-4);
  color: var(--gray);
}

.share-btn:active {
  background-color: var(--vivid-orange-5);
  color: var(--gray);
}

.yellow-btn {
  background-color: var(--light-orange);
}

.btn-grey {
  background-color: var(--light-grayish-orange);
}

.btn-blue-light {
  background-color: var(--moderate-cyan);
}

.btn-orange {
  background-color: var(--strong-orange);
  color: var(--white);
}

.btn-style-1 {
  padding: 7px 30px 10px;
  color: var(--gray) !important;
  background: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3125em;
  font-weight: 600;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-transform: uppercase;
  line-height: 1;
}

.inf-scroll-btn,
.btn-style-2,
.right-sec .item-list a,
.btn,
.button,
a.button.button--danger,
.user-logged-in .ast-edit-node a,
.shortcut-view .item-list a,
.shortcut-view .item-list button,
a.button,
.btn-primary:disabled,
.btn-primary.disabled {
  min-height: 38px;
  padding: 4px 25px 6px;
  /*328646 Issue 2*/
  padding: 5px 25px 6px;
  color: var(--gray) !important;
  background: var(--vivid-orange-3);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3125em;
  font-weight: 600;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: none;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.inf-scroll-btn:hover,
.btn-style-2:hover,
.right-sec .item-list a:hover,
.btn:hover,
.button:hover,
a.button.button--danger:hover,
.user-logged-in .ast-edit-node a:hover,
.btn-style-1:hover,
.shortcut-view .item-list a:hover,
.shortcut-view .item-list button:hover,
.play-btn:hover,
.edit-options .btn-style-2:hover,
a.button:hover {
  text-decoration: none;
  background: var(--vivid-orange-4);
  color: var(--gray);
}

.inf-scroll-btn:active,
.btn-style-2:active,
.right-sec .item-list a:active,
.btn:active,
.button:active,
a.button.button--danger:active,
.user-logged-in .ast-edit-node a:active,
.btn-style-1:active,
.shortcut-view .item-list a:active,
.play-btn:active,
.edit-options .btn-style-2:active,
a.button:active {
  text-decoration: none;
  background: var(--vivid-orange-5);
  color: var(--gray);
}

.inf-scroll-btn:visited,
.btn-style-2:visited,
.right-sec .item-list a:visited,
.btn:visited,
.button:visited,
a.button.button--danger:visited,
.user-logged-in .ast-edit-node a:visited,
.btn-style-1:visited,
.shortcut-view .item-list a:visited,
.shortcut-view .item-list button:visited,
.play-btn:visited,
a.button:hover,
.share-btn:visited {
  color: var(--gray) !important;
}

button:active,
.btn:active,
.btn-check:focus+.btn-primary,
.btn-primary:focus,
a.button:focus,
a[class=button]:active:focus,
.btn-check:focus+a.button.button--danger,
a.button.button--danger:focus,
.decision-filter .form-actions .apply-btn:active {
  background: var(--vivid-orange-5);
  color: var(--gray);
  box-shadow: none;
}

.btn-check:checked+a.button.button--danger:focus,
.btn-check:active+a.button.button--danger:focus,
a.button.button--danger:active:focus,
a.button.button--danger.active:focus,
.media-library-view--widget .view-header a.button.button--danger.is-active:focus,
.show>a.button.button--danger.dropdown-toggle:focus {
  box-shadow: none;
}

.btn:hover,
.button:hover,
.btn:active,
.button:active,
.btn:focus,
.button:focus,
button:focus,
.btn-primary:active:focus {
  outline: none;
  box-shadow: none;
}

.cyan-btn {
  background: var(--moderate-cyan);
}


/*register*/

.register-btn,
.register-btn:hover,
.register-btn:active {
  background-image: url(img/button-img/register_icon.png);
  background-repeat: no-repeat;
  background-position: center right 20px;
}

.register-btn {
  padding-right: 60px;
}

/*register*/

.msg-btn,
.msg-btn:hover,
.msg-btn:active {
  background-image: url(img/button-img/mail_icon.png);
  background-repeat: no-repeat;
  background-position: center right 20px;
}

.msg-btn {
  padding-right: 60px;
}

/*download*/
.download-btn,
.download-btn:hover,
.download-btn:active {
  background-image: url(img/button-img/download.png);
  background-repeat: no-repeat;
  background-position: center right 15px;
}

.download-btn {
  padding: 4px 35px 6px 15px;
}

.download-bottom-line {
  background-image: url(img/button-img/download_underline.png) !important;
  background-position: center right 18px !important;
  padding-right: 50px;
}

.hide-dwn-icon {
  background-image: none !important;
  padding: 5px 25px 6px;
}

/*download white button*/
.download-white,
.download-white:hover,
.download-white:active,
.download-white:visited {
  color: #fff !important;
  background-image: url(img/button-img/white-download_arrow.png);
}

.btn-blue {
  background-color: var(--blue);
}

/*next page*/
.btn-right-arr,
.btn-right-arr:hover,
.btn-right-arr:active {
  background-image: url(img/button-img/go_to_page_arrow.png);
  background-repeat: no-repeat;
  background-position: center right 20px;
}

.btn-right-arr {
  padding: 4px 45px 6px 15px;
}

.hide-btn-icon a {
  background-image: none;
  padding: 4px 25px 6px;
}

/*when there is no possible way to give class for anchor tag*/
div.btn-style-2 {
  padding: 0;
}

div.btn-20 {
  padding: 0;
}

div.btn-style-2 a {
  padding: 0 25px;
  color: var(--gray);
  line-height: 1;
}

div.btn-style-2 a:hover {
  text-decoration: none;
}

/*buttom with low spacing*/
.btn-20 {
  padding-left: 20px;
  padding-right: 20px;
}

div.btn-20 a {
  padding-left: 20px;
  padding-right: 20px;
}


/*view all btn*/
.view-all-btn-wrap {
  display: flex;
  justify-content: center;
}

.view-all-btn {
  font-size: 1.125em;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--gray) !important;
  position: relative;
  border-radius: 30px;
  padding: 0 15px;
  height: 22px;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.view-all-btn:focus-visible {
  /* outline-style: dotted; */
  outline: 2px dotted var(--focus-visible-color);
}

.view-all-btn:focus-within,
.dark .view-all-btn:focus-within {
  color: inherit;
}

.view-all-btn:hover {
  background: var(--gray);
  color: #fff !important;
}

.view-all-btn:active {
  background: var(--gray);
  color: var(--dark-grayish-1) !important;
}

.view-all-btn:hover .view-all {
  background: url(img/button-img/view_all_hover.png) no-repeat center left;
}

.view-all-btn:active .view-all {
  background: url(img/button-img/view_all_click.png) no-repeat center left;
}

.view-all-btn:hover .view-less {
  background: url(img/button-img/view_less_hover.png) no-repeat center left;
}

.view-all-btn:active .view-less {
  background: url(img/button-img/view_less_click.png) no-repeat center left;
}

.view-all-btn:after,
.view-all-btn:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 1px;
  background: var(--gray);
  top: 50%;
  transform: translateY(-50%);
}

.view-all-btn:after {
  left: 100%;
}

.view-all-btn:before {
  right: 100%;
}

.read-more-btn-wrap {
  position: relative;
}

.read-more-btn-wrap .view-all-btn {
  position: static;
}

.view-all-btn:after,
.view-all-btn:before {
  width: calc(50% - 114px / 2);
}

.read-more-btn:after,
.read-more-btn:before {
  width: calc(50% - 126px / 2);
}

.read-more-btn-wrap .view-all-btn:after {
  left: 0;
}

.read-more-btn-wrap .view-all-btn:before {
  right: 0;
}

.view-all,
.view-less {
  padding-left: 25px;
}

.view-all-same-page.view-all-btn-wrap {
  margin-top: 40px;
  padding-bottom: 40px;
}

.view-all-same-page.view-all-btn-wrap a:after,
.view-all-same-page.view-all-btn-wrap a:before {
  width: 200px;
}

.view-all {
  background: url(img/button-img/view_all.png) no-repeat center left;
}

.view-less {
  background: url(img/button-img/view_less_normal.png) no-repeat center left;
}

.view-all-btn .view-less {
  display: none;
}

.show-view-more-btn .view-less {
  display: block;
}

.show-view-more-btn .view-all {
  display: none;
}

/*trim text read more for mobiles*/
.readmore-trimmed a:before,
.readmore-trimmed a:after {
  width: 80px;
}

.readmore-style-2.show-all-text .trimming-doy,
.readmore-style-2.show-all-text .trimmed-more,
.readmore-style-2:not(.show-all-text) .trimmed-less,
.readmore-style-2.show-all-text .intro-text,
.readmore-style-2 .whole-text {
  display: none;
}

.readmore-style-2 .trimming-doy,
.readmore-style-2.show-all-text .whole-text,
.readmore-style-2 .intro-text,
.readmore-style-2 .intro-text p {
  display: inline;
}

.readmore-style-2 .readmore-trimmed {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.readmore-style-2 .view-less {
  display: block;
}

/*view all button small*/
.view-all-btn-small {
  max-width: 500px;
  margin: 20px auto 0;
}

/*view all rounded button style*/
.view-all-same-page.view-all-btn-rounded-wrap {
  margin-top: 24px;
  padding-bottom: 24px;
}

/*play-btn*/
.play-btn {
  min-height: 38px;
  padding: 0 25px;
  color: var(--gray) !important;
  background: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3125em;
  font-weight: 600;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.play-btn:after {
  content: "";
  background: url(img/button-img/watch.png) no-repeat center left;
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 5px;
}

/*button with less space*/
.btn-small {
  padding-left: 20px;
  padding-right: 20px;
}

/*button center*/
.btn-center {
  text-align: center;
}

/*download*/
a.down-btn,
button.down-btn {
  color: var(--gray);
  font-weight: 700;
  padding-left: 62px;
  position: relative;
  /* display: flex; */
  display: inline-flex;
  /* outline overlapping min-height: 42px; */
  min-height: 55px;
  align-items: center;
}

a.down-btn:hover,
button.down-btn:hover {
  text-decoration: underline;
}

a.down-btn::before,
button.down-btn::before {
  content: "";
  background: var(--vivid-orange-7) url(img/button-img/download-inside.png)no-repeat center center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 55px;
  width: 55px;
  border-radius: 100%;
  border: 5px solid var(--white);
}

a.single-arrow::before,
button.single-arrow::before {
  background: var(--vivid-orange-7) url(img/button-img/single-download_arrow.png)no-repeat center center;
}

a.down-btn:hover:before,
a.single-arrow:hover:before,
button.down-btn:hover:before,
button.single-arrow:hover:before {
  background-color: var(--vivid-orange-4);
}

a.down-btn:active:before,
a.single-arrow:active:before,
button.down-btn:active:before,
button.single-arrow:active:before {
  background-color: var(--vivid-orange-5);
}

/*add to event button*/
body .addeventatc {
  z-index: 1;
  margin-bottom: 20px;
}

/*button width*/
.btn-width-80 {
  width: 80%;
}

.btn-width-100 {
  width: 100%;
}

/*link button*/
.link-btn {
  color: var(--blue);
  font-size: 1em;
  /* text-decoration: underline; */
}

.link-btn:hover {
  text-decoration: underline !important;
}

.link-btn:active,
.link-btn:focus-within {
  color: var(--moderate-cyan) !important;
}

.link-btn:visited {
  color: var(--dark-pink);
}

/*buttons list style*/
.links-list-yellow ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links-list-yellow ul li {
  margin: 0;
}

.links-list-yellow ul li:not(:last-child) {
  margin-bottom: 15px;
}

.links-list-yellow ul button {
  min-height: 40px;
  padding: 5px 25px 6px;
  color: var(--gray);
  background: var(--vivid-orange-3);
  font-weight: var(--fw-fira-medium);
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  width: 100%;
}

.links-list-yellow ul button:hover {
  text-decoration: none;
  background: var(--vivid-orange-4);
}

.links-list-yellow ul button:active {
  text-decoration: none;
  background: var(--vivid-orange-5);
}

/* inf-scroll-btn */
.inf-scroll-btn {
  background: #ffffff;
}

/*other lang*/

html[lang="fr"] .read-more-btn-wrap .view-all-btn:after,
html[lang="fr"] .read-more-btn-wrap .view-all-btn:before {
  width: calc(50% - 145px / 2);
}

/*view all toggle new button*/
.view-all-btn-2:not(:active):not(:hover) {
  background-color: var(--white) !important;
}

.view-all-btn-2>span {
  padding: 0;
  background: none !important;
}

.view-all-btn-2 .view-less {
  display: none;
}

.show-view-more-btn .view-all-btn-2 .view-less {
  display: block;
}

.show-view-more-btn .view-all-btn-2 .view-all {
  display: none;
}
