/*MAXI CARD*/
.img-content-wrapper {
  display: flex;
}

.img-content-wrapper .img-section {
  width: 538px;
  min-height: 362px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 23px 30px;
  position: relative;
}

.img-content-wrapper .img-section:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+51,000000+100&0.2+0,0.2+51,0.6+100 */
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 51%, rgba(0, 0, 0, 0.6) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 51%, rgba(0, 0, 0, 0.6) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 51%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.img-content-wrapper.maxi-card-large .img-section:after {
  background: rgb(0 0 0 / 40%);
}

.img-content-wrapper .img-section .img-field {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
}

.img-content-wrapper .img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .25s;
}

.img-content-wrapper .event-info {
  position: relative;
  z-index: 1;
}

.img-content-wrapper .content-section {
  width: 274px;
  background: var(--gray);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.img-content-wrapper .content-section p {
  color: var(--gray);
  font-size: 1em;
  font-weight: 300;
}

.img-content-wrapper .event-type {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.img-content-wrapper .content-section .type-multiple {
  padding-left: 0;
  padding-right: 0;
}

body:not(.touch-device) .img-content-wrapper {
  transition: all .25s;
}

.ast-full-wrap-link:hover {
  text-decoration: none;
}

.img-content-wrapper:not(.maxi-card-large) .content-section {
  flex-shrink: 0;
}

body:not(.touch-device) .img-content-wrapper:not(.maxi-card-large):hover {
  transform: scale(1.2);
}

body:not(.touch-device) .img-content-wrapper:hover .img-section img {
  filter: blur(2px);
  transform: scale(1.2);
}

.img-section .date-field {
  font-weight: 600;
  color: #fff;
  font-size: 1.3125em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.img-section .place {
  font-size: 1.125em;
  color: #fff;
}

.img-content-wrapper:not(.maxi-card-large) .content-section .type {
  box-shadow: none;
  min-width: auto;
}

.img-content-wrapper .content-section .title {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.5em;
  line-height: 1.1;
  font-family: 'Josefin Sans', sans-serif;
}

/* 326998 #52*/
.img-content-wrapper:not(.maxi-card-large) .content-section .ast-card-body {
  display: none;
}

.img-content-wrapper:not(.maxi-card-large) .content-section .date-field {
  font-weight: 700;
  color: #fff;
}

.img-content-wrapper:not(.maxi-card-large) .content-section .card-location p,
.img-content-wrapper .location-field p {
  color: #fff;
}

.img-content-wrapper .location-field p {
  font-weight: 500;
}

.img-content-wrapper:not(.maxi-card-large) .content-section .title {
  margin-bottom: 16px;
  margin-top: 0;
}

.img-section .title {
  margin-top: 52px;
}

.img-section .title a {
  font-size: 2.25em;
  line-height: 1.1;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
}

/*large maxi*/

/*325352 Issue 4*/
.views-row>.views-row .maxi-card-view {
  margin-top: -40px;
}

.maxi-card-large {
  padding: 0 40px 40px;
}

.maxi-card-large .img-section {
  width: 70%;
  padding: 40px 40px 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  min-height: 620px;
}

.maxi-card-large .content-section {
  width: 30%;
  padding: 60px 0 60px 40px;
  align-items: flex-start;
  background: #fff;
}

.maxi-card-large .event-type {
  position: relative;
  z-index: 1;
  left: auto;
  transform: none;
  padding: 3px 25px;
  font-size: 1.625em;
  line-height: 1;
  letter-spacing: 1px;
}

.maxi-card-large .event-type a {
  color: var(--gray);
}

.maxi-card-large .title {
  margin-top: 17px;
}

.maxi-card-large .event-type+.title {
  margin-top: 5px;
}

.maxi-card-large .title a {
  font-size: 3.75em;
}

.maxi-card-large .content-section p {
  font-size: 1.125em;
  font-weight: 600;
}

.maxi-card-large .place p {
  font-size: inherit;
}

.maxi-card-large .date-field {
  font-size: 2.875em;
  line-height: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  border-top: 10px solid var(--gray);
  margin: 36px 0 9px;
  padding-top: 51px;
  text-transform: uppercase;
  width: 100%;
}

.maxi-card-large .time-field {
  font-size: 1.75em;
  line-height: 1;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 2px;
}

.maxi-card-large .place {
  font-size: 1.75em;
  line-height: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.box-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.3125em;
  font-weight: 500;
  background: #fff;
  text-align: center;
  padding: 17px 15px 15px;
  color: var(--gray);
  text-transform: uppercase;
  margin: 0 auto -18px;
  position: relative;
  z-index: 1;
  display: table;
  min-width: 350px;
}

.box-title:before {
  content: "";
  padding-top: 3px;
  height: 0px;
  display: block;
}

.maxi-card-des {
  margin: 13px 0 24px;
}

.maxi-card-des p {
  font-size: 0.875em;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
}

/*img only*/
.max-card-img-only .event-info {
  max-width: 600px;
}

.max-card-img-only .img-section {
  width: 100%;
  min-height: 700px;
  padding: 100px 40px 80px;
  align-content: center;
}

.max-card-img-only .date-field {
  font-size: 1.5em;
  border: none;
  padding: 0;
  margin: 0;
  text-transform: none;
  font-weight: 700;
  margin-top: 8px;
  font-family: 'Fira Sans', sans-serif;
}

/*CARD*/
.view.card-view {
  padding-top: 24px;
  padding-bottom: 24px;
}

.card-view .view-header,
.additional-country-info>.view-header,
.ast-card-main-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  text-align: center;
  font-size: 1.3125em;
  line-height: 1.1;
  color: var(--gray);
  text-transform: uppercase;
  margin: 0;
}

.card-view .view-header .ast-card-main-title {
  font-size: unset;
  line-height: unset;
}

.card-with-description .view-header {
  font-size: inherit;
  line-height: initial;
}

.card-with-description .body-description {
  text-align: initial;
  text-transform: none;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  margin-top: 40px;
}

.card-with-description .body-description p {
  line-height: 1.5;
}

.additional-country-info>.view-header {
  padding-top: 24px;
}

.additional-country-info>.view-header+.views-element-container .card-view {
  padding-top: 0;
  margin-top: 29px;
}

.dark .card-view .view-header {
  color: #fff;
}

.card-view .view-header+.view-content {
  margin-top: 29px;
}

.card-view .view-content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7.5px -20px;
}

.card-view .views-row {
  width: 25%;
  padding: 0 7.5px;
  margin-bottom: 20px;
}

.card-view .views-row>div,
.listing-card-view .view-content .views-row>div {
  background: #fff;
  height: 100%;
  position: relative;
  box-shadow: var(--card-box-shadow);
}

.card-view .view-footer {
  display: flex;
  justify-content: center;
  margin: 25px 0 0;
}

.ast-view-footer {
  text-align: center;
  padding-bottom: 25px;
}

.items-below-four .view-content {
  justify-content: center;
}

.view-all-dynamic .view-footer:not(.show-view-footer) {
  display: none;
}

.card-content-area {
  text-align: center;
  padding: 8px 20px 10px;
  min-height: 85px;
}

.card-title {
  font-size: unset;
  margin: 0 0 1px;
  line-height: initial;
  color: var(--gray) !important;
  font-size: 0.8125em;
  line-height: 1.25;
  font-weight: 300;
  display: inline-block;
}

.card-view .card-body p {
  color: var(--gray);
}

.card-title a {
  color: var(--gray) !important;
  font-size: 0.8125em;
  line-height: 1.25;
  font-weight: 300;
  display: inline-block;
}

.card-title a:active {
  color: var(--moderate-cyan) !important;
}

.card-title a:visited {
  color: var(--dark-pink) !important;
}

.card-date,
.card-location p {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.8125em;
}

.card-garphi-area {
  position: relative;
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
  padding-top: 66.66%;
}

.card-view .views-row>div>span,
.card-view .views-row .card-inner,
.listing-card-view .views-row .card-inner,
.card-inner>a {
  display: block;
  height: 100%;
}

.documents .card-inner .download-btn-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  transform: translateY(0);
  z-index: 1;
}

.documents .card-inner .download-btn-wrap .download-btn {
  font-size: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  background-position: center center;
  display: block;
}

.card-garphi-area img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  object-fit: cover;
}

.card-garphi-area .card-type {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: var(--gray);
  padding: 1px 15px 1px;
  font-size: 0.8125em;
  line-height: 1.1;
  text-transform: uppercase;
  position: absolute;
  bottom: 20px;
  max-width: 80%;
  max-width: calc(100% - 30px);
  margin: 0 auto;
  text-align: center;
  letter-spacing: 1px;
  background: #fff;
  z-index: 1;
  box-shadow: 0px 0px 7px 2px rgb(0 0 0 / 30%);
}

.card-garphi-area .card-type a {
  color: #fff;
  letter-spacing: 1px;
}

.dark .card-garphi-area .card-type {
  background: #fff;
}

.dark .card-garphi-area .card-type a {
  color: var(--gray);
}

.card-view .views-row>div,
.listing-card-view .view-content .views-row>div,
.card-view .views-row img,
.listing-card-view .view-content .views-row img,
.card-view .views-row .card-title a,
.listing-card-view .view-content .card-title a,
.card-view .views-row .card-date,
.listing-card-view .view-content .card-date {
  transition: all .25s;
}

body:not(.touch-device) .card-view .views-row:hover>div,
body:not(.touch-device) .listing-card-view .view-content .views-row:hover>* {
  transform: scale(1.2);
  z-index: 2;
}

.card-inner a:hover {
  text-decoration: none;
}

body:not(.touch-device) .card-view .views-row:hover .card-garphi-area>img,
body:not(.touch-device) .listing-card-view .view-content .views-row:hover .card-garphi-area>img {
  filter: blur(2px);
}

.more-card {
  margin-bottom: 30px;
}

.more-card+.view-all-btn-wrap {
  padding-bottom: 30px;
}

/*project card*/
.project-title a {
  font-weight: 700;
}

.project-type {
  font-weight: 700;
  color: var(--gray);
  line-height: 1;
  margin-bottom: 6px;
  font-size: 0.8125em;
}

.ast-card-body {
  margin-top: 5px;
}

.ast-card-body p,
.ast-card-body {
  color: var(--gray) !important;
  font-weight: 300 !important;
  font-size: 0.8125em;
}

.card-view .btn-style-1,
.card-view-all .btn-style-1 {
  background-color: #fff !important;
}

.card-view .btn-style-1:hover,
.card-view-all .btn-style-1:hover {
  background-color: var(--light-orange-1) !important;
}

.card-view .btn-style-1:active,
.card-view-all .btn-style-1:active {
  background-color: var(--vivid-orange-4) !important;
}

/*list*/

.list-inner {
  background: #fff;
  box-shadow: var(--card-box-shadow);
  transition: all .25s;
  position: relative;
}

.list-inner .list-link-wrap {
  display: flex;
}

.list-inner .list-link-wrap:hover {
  text-decoration: none;
}

.has-download .list-content-area {
  padding-bottom: 53px;
}

.list-inner .download-btn-wrap {
  position: absolute;
  left: 240px;
  bottom: 15px;
}

body:not(.touch-device) .list-inner:hover {
  transform: scale(1.1);
}

body:not(.touch-device) .list-inner:hover .list-graphi-area>img {
  filter: blur(2px);
}

.list-inner img {
  width: 224px;
  height: 149px;
  object-fit: cover;
  transition: all .25s;
}

.list-inner .list-graphi-area {
  position: relative;
  width: 224px;
  height: 149px;
  display: flex;
  justify-content: center;
}

.list-content-area {
  width: calc(100% - 224px);
  padding: 10px 10px 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-inner .list-title {
  font-size: 1.125em;
  font-weight: 400;
  color: var(--dark-cyan);
  margin-bottom: 4px;
}

.list-inner .list-title a {
  font-size: 1.125em;
  font-weight: 400;
  color: var(--dark-cyan);
}

.list-date {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.8125em;
}

.list-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
  color: var(--gray);
}

.list-graphi-area .list-type {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: var(--gray);
  padding: 1px 15px 1px;
  display: table;
  font-size: 0.8125em;
  line-height: 1.1;
  text-transform: uppercase;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 1px;
  background: #fff;
  box-shadow: 0px 0px 7px 2px rgb(0 0 0 / 30%);
}

.list-inner .list-desc .btn {
  min-height: auto;
  padding: 0;
  background: transparent;
  font-size: inherit;
  text-transform: none;
  font-weight: initial;
  color: var(--dark-cyan);
  margin: 0;
  border-radius: 0;
  display: inline-block;
}

/*type with image*/
.type-program-wrap {
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.program-name {
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-name img {
  position: static;
  width: auto;
  height: auto;
  margin: unset;
}

.program-name span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  margin-left: 4px;
  text-transform: uppercase;
  color: #fff;
  font-size: 3em;
  line-height: 1;
}

.type-program-wrap .card-type,
.type-program-wrap .list-type {
  position: static;
  margin-top: 15px;
}

/*type multiple*/
.type-multiple {
  background: transparent !important;
  box-shadow: none !important;
}

.type-multiple ul {
  margin: 0;
  list-style: none;
  padding: 0;
  font-size: initial;
  display: inline-block;
}

.type-multiple li,
.type-multiple h3 {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 600 !important;
  color: var(--gray) !important;
  padding: 2px 15px 2px;
  font-size: 0.8125em;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 1px;
  background: #fff;
  min-height: 16px;
  box-shadow: 0px 0px 7px 2px rgb(0 0 0 / 30%);
}

.type-multiple li:not(:last-child),
.type-multiple h3 {
  margin-bottom: 7px;
}

.type-multiple .views-row {
  display: none;
}

.type-multiple .view div.view-content {
  display: inline-block;
  margin: 0 0 -10px;
  font-size: initial;
}

.card-inner .card-garphi-area .type-multiple {
  max-width: none;
  left: 0;
  right: 0;
}

/*card in dark background*/
.card-view .dark-mode>div,
.listing-card-view .view-content .dark-mode>div,
.dark-mode .list-content-area {
  background: var(--gray);
}

.dark-mode .card-type,
.dark-mode .list-type {
  background: var(--gray);
  color: #fff;
}

.dark-mode .card-title,
.dark-mode .card-date,
.dark-mode .card-location p,
.dark-mode .list-date,
.dark-mode .list-desc {
  color: #fff !important;
}

.dark-mode .card-garphi-area {
  background: #fff;
}

/*resource-collection*/
/* .resource-collection .card-garphi-area img {
  width: auto;
  height: auto;
  object-fit: contain;
}

.resource-collection .card-garphi-area img {
  top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
  max-height: 100%;
  padding: 10px;
}

.resource-collection .list-graphi-area img {
  object-fit: contain;
  max-width: 60%;
} */

.resource-collection.dark-mode .list-title a {
  color: var(--moderate-cyan);
}

.resource-collection.dark-mode .list-title a:active {
  color: var(--dark-cyan);
}

.resource-collection.dark-mode .list-title a:visited {
  color: var(--soft-red);
}

/*view all cards*/
.more-items .card-view {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 20px;
}

.dynamic-more-items.card-view {
  padding-top: 0;
  padding-bottom: 0;
}

.dynamic-more-items .view-header {
  padding-top: 40px;
}

/*show first 4 cards*/
.view-all-latest-four .views-row:nth-child(n+5) {
  display: none;
}

/*see also hide and show*/
.see-also-card-check:not(.show-see-also) {
  display: none;
}

/*see also without button*/
.view.card-view.no-view-all {
  padding-bottom: 40px;
}
