
/* Age based right section homepage */

.age-based-rights.row .age-image .field--name-field-upload-image {
    display: block !important;
}
/* *********************************** */
ul#superfish-main li a,
.footer-second ul li a {
  display: flex !important;
  align-items: center;
}
ul#superfish-main li a.about::after,
.footer-second ul li a.about::after,
.mobile-navigation ul li a.about::after {
  content: "";
  display: inline-block;
  background: url(../images/jes.webp) no-repeat right;
  background-size: contain;
  width: 28px;
  height: 31px;
  margin-left: 10px;
}
.nav-logo .view-header-topic-menu .view-content {
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-direction: row-reverse;
}
/* .topic-item img {
  margin-bottom: 7px;
  height: 34px;
} */

.topic-item img {
    margin-bottom: 7px;
    width: 50px;
    height: 30px;
    object-fit: contain;
}
.topic-item {
  color: #1c192b;
  font-weight: 700;
  text-decoration: none;
  font-family: "Figtree", serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-banner-section {
  padding: 125px 0;
}
.block-banner-section .container {
  position: relative;
  padding: 85px;
  background: #fff;
  border-radius: 60px;
  border: 4px solid #000000;
}
.block-banner-section .container::after {
  content: "";
  width: 90%;
  height: 30px;
  background: #000;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -30px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}
.block-banner-section .container .row {
  align-items: center;
}
.block-banner-section .field--name-field-description {
  font-size: clamp(16px, 1.125vw, 20px);
  line-height: clamp(25px, 2.125vw, 35px);
  color: #000000;
  margin-bottom: 25px;
}
.block-banner-section .btn-primary:hover {
  background: #0068c4;
}
.topic-listing {
  padding: 50px 0;
}
.topic-listing .view-header p {
  margin-bottom: 25px;
}
.topic-listing .views-view-responsive-grid__item {
  text-align: center;
}
.topic-listing .topic-item-listing {
  display: block;
  border: 2px solid #000;
  padding: 20px 15px;
  border-radius: 15px;
  min-height: 282px;
}
.topic-listing .topic-item-listing .img-box {
    /* padding: 15px; */
    border-radius: 50%;
    /* border: 1px solid #000000; */
    margin: auto;
    width: 100px;
    height: 100px;
}
.topic-item-listing:hover {
  transform: translate(0, -10px);
  transition: transform ease 300ms;
  background:#168FFF1A;
}
.topic-item-listing h3 {
  margin-top: 15px;
}
.topic-item-listing p {
  color: #000;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0;
}
/* .views-view-responsive-grid__item:nth-child(3) .topic-item-listing img,
.view-display-id-page_3 .article-listing-wrapper .tag-image img,
.article-listing-wrapper .tag-image.work-and-school img{
  background: #f8d71e !important;
} */
/* .views-view-responsive-grid__item:nth-child(8) .topic-item-listing img,
.view-display-id-page_8 .article-listing-wrapper .tag-image img,
.article-listing-wrapper .tag-image.money-stuff img{
  background: #bcd645 !important;
} */
/* .related-article-topic-image img {
  border-radius: 50%;
} */
.at162 .related-article-topic-image img,
.at166 .related-article-topic-image img,
.at167 .related-article-topic-image img {
    /* padding: 7px; */
    /* border: 1px solid #000; */
}
/* .at162 .related-article-topic-image img{
    background: #bcd645 !important;
} */
.at166 .related-article-topic-image img{
    /* background: #45c7d6 !important; */
    padding: 0;
}
/* .at167 .related-article-topic-image img{
    background: #f8d71e !important;
} */

/* Age based rights */
.age-based-rights {
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #000;
  align-items: center;
  margin: 0 0 50px 0;
}
.age-based-rights h3 {
  font-size: 22px;
}
.age-based-rights h3,
.age-based-rights .age-description {
  color: #ffffff;
}
.age-description ul li {
  padding: 12px 0;
}
.age-based-rights .age-cta a {
  font-weight: 700;
  background: #ffffff;
  border-radius: 5px;
  padding: 7px 20px;
  border: 2px solid #000;
  display: inline-block;
}
.age-based-rights .age-image img {
  max-width: 100%;
  border-radius: 22px;
  border: 2px solid #000;
}
#age-tabs ul {
  display: flex;
  padding: 0px 20px;
  list-style: none;
  margin-bottom: 0px;
  justify-content: space-between;
}
#age-tabs ul li {
  font-weight: bold;
  color: #1c192b;
  padding: 10px 45px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}
#age-tabs ul li.active {
  color: #ffffff;
  border: 2px solid #000;
  border-bottom: 0px;
  margin-bottom: -2px;
}
#age-tabs ul li.tab:not(.active) {
  background: #ffffff !important;
}
.view-age-based-rights {
  display: none !important;
}
/*-----Inner banner-------*/
.block-inner--banner-section a {
  color: #000000;
  background: url(../images/arrow-left.svg) no-repeat left;
  padding-left: 35px;
}

.article-page-wrapper .field--name-field-image,
.article-page-wrapper .field--name-field-thumbnail-image {
  text-align: center;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.modal.show .modal-content {
  transform: translateY(0);
}

/* Modal Content */
.modal-content {
  position: relative;
  padding: 10px;
  border-radius: 10px;
  max-width: 54.5%;
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
}

/* Close Button */
#closeModal {
  position: absolute;
  top: 80px;
  right: 39%;
  font-size: 33px;
  color: white;
  cursor: pointer;
}

/* resolving-conflict page sub-topic section */

.sub-topic .field--name-field-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.sub-topic-wrapper{
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.sub-topic .tag, 
.sub-topic .field--name-field-tags .field__item a {
    color: rgba(105, 65, 198, 1);
    background: rgba(249, 245, 255, 1);
    border: 2px solid rgba(233, 215, 254, 1);
    border-radius: 8px;
    padding: 8px 10px;
    line-height: 20px;
    text-decoration: none;
    display: inline-block;
    margin: 0 3px;
}
.related-article-sub-topic,
.related-article-sub-topic ul,
.listing-article-sub-topic,
.listing-article-sub-topic ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  list-style: none;
}
.listing-article-sub-topic ul{
  justify-content: left;
}
.global-filter .item-list ul li{
  margin: 0 0 0 0;
}
.global-filter .item-list ul li a,
.global-filter .listing-article-sub-topic a {
  color: rgba(105, 65, 198, 1);
  background: rgba(249, 245, 255, 1);
  border: 2px solid rgba(233, 215, 254, 1);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 16px;
  list-style: none;
  display: block;
}

.view-related-articles .related-article {
  position: relative;
}

.related-article-topic-image img {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 50px;
    height: 50px;
    /* border: 1px solid #000; */
    /* padding: 10px; */
}

/********* article-listing page **************/
.article-listing-wrapper .listing-article-sub-topic{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0px;
}
.article-listing .views-view-responsive-grid__item-inner,
.article-listing .views-view-responsive-grid__item-inner :is(.article-listing-wrapper, .field-content, .views-field-nothing){
  height: 100%;
}
.article-listing-wrapper {
  border: 2px solid #000;
  border-radius: 15px;
  text-align: center;
  font-size: 15px;
  overflow: hidden;
  position: relative;
}
.global-title-body-tags {
    padding: 25px 17px;
}
.article-listing-wrapper h2 {
    text-align: left;
    margin: 0 0 15px 0;
}
 .article-listing-wrapper h2 a {
  color: rgba(28, 25, 43, 1);
  font-family: Figtree;
  font-size: 24px;
  font-weight: 900;
  line-height: 120%;
  letter-spacing: 0%;
  display: block;
}
.article-listing-wrapper p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: left;
  margin-bottom: 25px;
}
.article-listing-wrapper .article-image a img {
  width: 100%;
}
.article-listing-wrapper .tag-image {
    position: absolute;
    top: 17px;
    right: 17px;
    padding: 10px;
    /* border-radius: 50% !important; */
    /* border: 1px solid #000; */
}
.article-listing-wrapper .tag-image img{
    height: 55px;
    width: 55px;
}
/* .tag-image.basic-rights,
.img-box.Basic.Rights{
  background: #45d68b;
} */
/* .tag-image.housing,
.img-box.Housing{
  background: #8245d6;
} */
/* .tag-image.work-and-school,
.img-box.Work.\&.School {
  background: #f8d71e;  
} */
/* .tag-image.family,
.img-box.Family{
  background: #9de2ea;
} */
/* .tag-image.driving,
.img-box.Driving{
  background: #d742df;
} */
/* .tag-image.legal-life-skills,
.img-box.Legal.Life.Skills{
  background: #e99541;
} */
/* .tag-image.health-and-sexuality,
.img-box.Health.\&.Sexuality {
  background: #e92121;
} */
/* .tag-image.money-stuff,
.img-box.Money.Stuff {
  background: #bcd645;
} */
/* .tag-image.crime-and-police,
.img-box.Crime.\&.Police {
  background: #168fff;
} */

/*++++++++++++ Search page ++++++++++++++*/

.path-search .search-results .search-result__title a {
  font-family: Figtree;
  font-weight: 900;
  font-size: 24px;
  line-height: 120%;
  color: rgba(28, 25, 43, 1);
  margin-bottom: 12px !important;
  text-transform: capitalize;
}

.path-search .search-results .search-result__snippet-info .search-result__snippet{
  font-family: Open Sans;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: rgba(95, 94, 96, 1);
  margin-bottom: 0px;
}
.path-search #block-legalrightsforyouth-content h2 {
  padding-bottom: 40px;
}
.path-search .search-results{
  padding: 0;
}
.path-search .search-results li {
  border-bottom: 1px solid #dedede;
  padding: 20px 0;
}
.path-search h3.search-result__title {
  margin-bottom: 12px;
}
.global-filter {
  position: relative;
  margin-bottom: 50px;
}
.global-filter .view-header{
  font-family: Figtree;
  font-weight: 900;
  font-size: 32px;
  line-height: 120%;
  color: rgba(28, 25, 43, 1);
  margin-bottom: 25px;
}
.global-filter .views-exposed-form .js-form-item input.form-text.form-control{
    height: 50px;
    min-width: 600px;
    border: 2px solid rgba(0, 0, 0, 1);
}
.global-filter .js-form-wrapper .js-form-submit {
  position: absolute;
  right: 40px;
  bottom: 20px;
  background: unset;
  border: 0;
  font-family: "Passion One";
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
}
.global-filter h2.selected-options-header {
  color: rgba(255, 255, 255, 1);
}
.global-filter .views-exposed-form .js-form-item input::placeholder {
  font-family: Open Sans;
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  line-height: 100%;
}
.global-filter .form-actions input#edit-submit-explore {
  background: url(../images/Search-icon.png) no-repeat !important;
  background-color: rgba(108, 171, 54, 1) !important;
  width: 46px;
  height: 42px;
  font-size: 0;
  background-position: center !important;
  position: absolute;
  left: 43%;
  top: 20px;
  display: none;
}
.global-filter .views-exposed-form{
  background: #8B05E4;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  border: 3px solid #000000;
}
.global-filter .view-filters {
  position: relative;
  border-bottom: 1px solid rgba(229, 229, 229, 1);
  margin-bottom: 15px;
}
.global-filter .js-form-item-sort-bef-combine label,
.global-filter .js-form-wrapper .js-hide{
  display: none !important;
}
.global-filter .form-item-sort-bef-combine {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(calc(50% - -100px));
}
.global-filter .js-form-item-sort-bef-combine .form-control {
  padding: 12px 60px 12px 11px;
}
.global-filter .view-empty h3 {
  margin-bottom: 50px;
}
.global-filter:has(.selected-options-header) .show-more-btn {
  right: 125px;
}
/* .global-filter .js-form-wrapper .js-form-submit{
  display: none !important;
} */
.global-filter .js-form-wrapper .js-form-submit{
  display: block;
  background-color: transparent;
  background: url(../images/reset.png) no-repeat right center;
  padding-right: 24px;
  padding-bottom: 12px;
}
.bef-nested ul {
  padding: 0px;
  color: #000000;
}
.bef-nested ul li {
  display: inline-flex;
  margin-right: 12px;
  margin-bottom: 7px;
}
.global-filter .show-more-btn {
  position: absolute;
  right: 40px;
  font-family: "Passion One";
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-thickness: 0%;
  color: #fff;
  background: unset !important;
  border-style: unset;
}

.bef-nested .form-type-checkbox label,
.bef-nested .form-type-radio label {
  background: url(../images/add-black-icon.png) no-repeat right 12px center;
  background-color: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  padding: 12px 50px 12px 20px;
  cursor: pointer;
}

.bef-nested .form-check-input[type=checkbox],
.bef-nested .form-radio[type=radio] {
  display: none;
}
.bef-nested .form-type-checkbox:has(input:checked) label,
.bef-nested .form-type-radio:has(input:checked) label {
  background: url(../images/check-icon.png) no-repeat right 12px center;
  background-color: #FFC305;
  border: 2px solid #000;
}
.field--name-field-age-based-rights .field__item {
  display: none;
}

.field--name-field-age-based-rights .field__item.show {
  display: block;
}

/*Text reveal card*/
.text-reveal-card .title {
  font-family: 'Open Sans';
  font-size: 20px;
  font-weight: 700;
  line-height: 27.24px;
  color: #005565;
  text-align: center;
}
.text-reveal-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  padding: 25px;
  background: #FFFFFF url(../images/Frame.png) no-repeat right;
  background-size: contain;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.16) !important;
  border-radius: 8px;
}
.text-reveal-card p {
  display: none;
  font-size: 16px;
  font-family: 'Open Sans';
  font-weight: 600;
  color: #ffffff;
  line-height: 21.79px;
  word-break: break-word;
}
.text-reveal-card:hover .title{
  display: none;
}
.text-reveal-card:hover p {
  display: block;
}
/*Text Accordian*/
.text-accordian-parent .accordion-button {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: #282c2b;
  background: #eef4f5;
  margin-bottom: 15px;
}
.text-accordian-parent .accordion-body li {
  margin-bottom: 5px;
}
.text-accordian-parent .accordion-item {
  border: 0px;
}
.text-accordian-parent .accordion-button:focus {
  box-shadow: none;
}

.age-based-main-box{
    border-radius: 15px;
    padding: 25px;
}
.age-based-main-box .age-body p{
  margin-bottom: 0px;
}
.view-age-based-rights-articles .bef-nested ul {
    margin-bottom: 0px;
}
.view-age-based-rights-articles .bef-nested .form-type-checkbox label,
.view-age-based-rights-articles .bef-nested .form-type-radio label {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    color: #ffffff;
    font-weight: bold;
    justify-content: center;
    background: none #4fda9d;
}
.view-age-based-rights-articles .bef-nested .form-type-checkbox:has(input:checked) label,
.view-age-based-rights-articles .bef-nested .form-type-radio:has(input:checked) label {
    background: unset;
    background-color: #9661de;
    border: 0px;
    justify-content: center;
}
.view-age-based-rights-articles .form-composite {
    border: 2px solid #000;
    padding: 19px;
    border-radius: 15px;
}
.view-age-based-rights-articles .bef-toggle--select-all,
.view-age-based-rights-articles .bef-toggle--deselect-all{
  font-weight: bold;
}
.toggle-icon {
    font-weight: bold;
    font-size: 20px;
}