﻿/************************************
VARIABLES
************************************/
:root {
  /* Bootstrap variables */
  --bs-border-color-translucent: rgba(220,224,229,0.6);
  --bs-border-color-translucent-10: rgba(220,224,229,0.1);
  /* Custom variables */
  --ps-border-width: 2px;
  --ps-container-width: 1320px;
}


/************************************
TABLE
************************************/
.table {
  height: auto !important;
  --bs-table-bg: transparent;
}

  .table tr,
  .table td {
    height: auto !important;
  }

    .table td p {
      margin-bottom: 0 !important;
    }

      .table td p + p {
        margin-top: 1rem;
      }

@media (min-width: 768px) {
  .table {
    max-width: 100% !important;
  }
}

/************************************
CARD
************************************/
.card {
  --bs-card-bg: #fff;
  --bs-card-title-spacer-y: .5rem;
  --bs-card-spacer-y: 1.25rem;
  --bs-card-spacer-x: 1.25rem;
  --bs-card-cap-padding-y: 1.25rem;
  --bs-card-cap-padding-x: 1.25rem;
  --bs-card-border-width: 1px;
  --bs-card-border-radius: var(--bs-border-radius);
  --bs-card-inner-border-radius: var(--bs-card-border-radius);
  --bs-card-box-shadow: none;
  --bs-card-box-shadow-hover: 0 .1rem .5rem rgba(var(--bs-body-color-rgb),.10) !important;
  --bs-card-cap-bg: var(--bs-card-bg);
  box-shadow: var(--bs-card-box-shadow);
}

  .card .card-title {
    font-size: var(--ps-h5-font-size);
    font-weight: var(--ps-title-font-weight);
    line-height: 1;
  }

  .card.card-click:hover {
    box-shadow: var(--bs-card-box-shadow-hover);
  }

  .card.card-click .card-title {
    text-decoration: none;
  }

  .card.card-click:hover .card-title {
    color: var(--bs-link-color)
  }

.card-img,
.card-img-top {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}

.card-img-start {
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
  border-top-left-radius: var(--bs-card-inner-border-radius);
}

.card-img-start-square {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: 100%;
  max-height: 80px;
  margin-right: 1rem;
  align-items: center;
  display: flex;
}

.card-footer {
  border: 0;
  padding: 0 var(--bs-card-cap-padding-x) var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
}

/* Custom card elements */
.card-label {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
  color: rgba(var(--ps-primary-text-rgb),1);
  background-color: rgba(var(--bs-primary-rgb),1);
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
}

.card .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
}

  .card .card-media.card-media-square {
    aspect-ratio: 4 / 4;
  }

  .card .card-media img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

.card .card-media-logo {
  min-width: 80px;
  width: 80px;
  height: 80px;
}

  .card .card-media-logo img {
    object-fit: contain;
    height: 100%;
    width: 100%;
  }

.card .overlay-logo {
  min-width: 100px;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #fff;
  padding: 5px;
  border-radius: var(--bs-border-radius);
}

  .card .overlay-logo img {
    object-fit: contain;
    height: 100%;
    width: 100%;
  }


.card .card-icon {
  font-size: 2rem;
  color: var(--umb-item-link-color, rgba(var(--bs-primary-rgb), 1));
}

/************************************
BUTTONS
************************************/
.btn {
  --bs-btn-font-size: var(--bs-body-font-size);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--ps-btn-border-radius);
  --bs-btn-border-width: var(--ps-border-width);
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-sm {
  --bs-btn-font-size: .8rem;
  --bs-btn-padding-x: 0.75rem;
}

.btn-rounded {
  --bs-btn-border-radius: 100%;
  --bs-btn-line-height: 1.2;
  --bs-btn-padding-y: var(--bs-btn-padding-x);
  --bs-btn-padding-x: var(--bs-btn-padding-x);
}

/* Bootstrap colors */
.btn-primary {
  --bs-btn-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-bg: rgba(var(--bs-primary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),.9);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-disabled-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-disabled-bg: rgba(var(--bs-primary-rgb),1);
  --bs-btn-disabled-border-color: rgba(var(--bs-primary-rgb),1);
}

.btn-outline-primary {
  --bs-btn-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-disabled-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgba(var(--bs-primary-rgb),1);
}

.btn-secondary {
  --bs-btn-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-bg: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb),.9);
  --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-secondary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-disabled-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-disabled-bg: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-disabled-border-color: rgba(var(--bs-secondary-rgb),1);
}

.btn-outline-secondary {
  --bs-btn-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-secondary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-secondary-rgb),.8);
  --bs-btn-disabled-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgba(var(--bs-secondary-rgb),1);
}

.btn-outline-light {
  --bs-btn-color: #000;
  --bs-btn-border-color: var(--bs-border-color);
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: var(--bs-border-color);
  --bs-btn-hover-border-color: var(--bs-border-color);
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: var(--bs-border-color);
  --bs-btn-active-border-color: var(--bs-border-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--bs-border-color);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--bs-border-color);
  --bs-gradient: none;
}

/* Custom colors */
.btn-light-transparent {
  --bs-btn-color: rgba(255,255,255,1);
  --bs-btn-bg: rgba(255,255,255,.2);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),.9);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-disabled-color: rgba(255,255,255,1);
  --bs-btn-disabled-bg: rgba(255,255,255,.2);
  --bs-btn-disabled-border-color: transparent;
}

.btn-outline-light-transparent {
  --bs-btn-color: rgba(255,255,255,1);
  --bs-btn-border-color: rgba(255,255,255,.2);
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-disabled-color: rgba(255,255,255,1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgba(255,255,255,.2);
}

.btn-dark-transparent {
  --bs-btn-color: rgba(000,000,000,1);
  --bs-btn-bg: rgba(000,000,000,.2);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),.9);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-disabled-color: rgba(000,000,000,1);
  --bs-btn-disabled-bg: rgba(000,000,000,.2);
  --bs-btn-disabled-border-color: transparent;
}

.btn-outline-dark-transparent {
  --bs-btn-color: rgba(000,000,000,1);
  --bs-btn-border-color: rgba(000,000,000,.2);
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-disabled-color: rgba(000,000,000,1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgba(000,000,000,.2);
}


/************************************
NAV TABS AND PILLS
************************************/
/* Nav tabs */
.nav-tabs .nav-link {
  border-top-left-radius: var(--bs-border-radius);
  border-top-right-radius: var(--bs-border-radius);
}

/* Nav pills */
.nav-pills {
  --bs-nav-pills-link-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-nav-pills-link-active-bg: rgba(var(--bs-primary-rgb),1);
  --bs-nav-link-font-weight: var(--ps-body-bold-font-weight);
}

  .nav-pills .nav-item + .nav-item {
    margin-left: .5rem;
  }

  .nav-pills .nav-link {
    border-width:2px;
    border-style: solid;
    border-color: transparent;
  }

      .nav-pills .nav-link:not(.active):focus,
      .nav-pills .nav-link:not(.active):hover,
      .nav-pills .nav-link.hover {
        color: rgba(var(--ps-primary-rgb),1);
        background-color: transparent;
        border-color: rgba(var(--bs-primary-rgb),1);
      }

/* Tab content */
.tab-content {
  border-top-right-radius: var(--bs-border-radius);
  border-bottom-left-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
}

/* Navbar nav-items */
.navbar-nav .nav-item + .nav-item {
  margin-left: .25rem;
}


/************************************
ACCORDION
************************************/
.accordion {
  --bs-accordion-color: var(--bs-body-color);
  --bs-accordion-bg: transparent;
  --bs-accordion-transition: color 0.2s ease-in-out,background-color 0.2s ease-in-out,border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out,border-radius 0.15s ease;
  --bs-accordion-border-color: #e2e8f0;
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: calc(var(--bs-accordion-border-radius) - 1px);
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: var(--bs-body-color);
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ed008c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: 1rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ed008c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-accordion-btn-focus-box-shadow: unset;
  --bs-accordion-body-padding-x: 1rem;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: rgba(var(--bs-primary-rgb),1);
  --bs-accordion-active-bg: var(--bs-accordion-bg);
}

.accordion-button {
  font-size: var(--bs-body-font-size);
  font-weight: var(--ps-body-bold-font-weight);
  background-image: none;
}

.accordion-item {
  border-left: 0;
  border-top: 0;
  border-right: 0;
}

.accordion-button::before {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  margin-right: .5rem;
  content: "";
  background-size: var(--bs-accordion-btn-icon-width);
  background-color: rgba(var(--bs-primary-rgb),1);
  mask-image: var(--bs-accordion-btn-icon);
  -webkit-mask-image: var(--bs-accordion-btn-icon);
  transition: var(--bs-accordion-btn-icon-transition);
  transform: rotate(-90deg);
}

.accordion-button::after {
  display: none;
}

.accordion-button:not(.collapsed)::before {
  transform: var(--bs-accordion-btn-icon-transform);
}

/************************************
LIST GROUP
************************************/
.list-group {
  --bs-list-group-color: inherit;
  --bs-list-group-bg: none;
  --bs-list-group-action-hover-color: var(--bs-link-hover-color);
  --bs-list-group-action-active-color: var(--bs-link-color);
  --bs-list-group-action-active-bg: none;
  --bs-list-group-border-radius: 0;
}

.bright-contrast .list-group {
  --bs-list-group-border-color: var(--bs-border-color-translucent-10);
  --bs-list-group-action-hover-bg: none;
  --bs-list-group-item-padding-x: 0;
}

.card > .list-group {
  border-top: 0 !important;
}

.list-group-item {
  border-style: solid;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.list-group-item-icon {
  margin-left: auto;
}


/************************************
LIST INLINE
************************************/
.ps-list-inline-separated .list-inline-item + .list-inline-item:before {
  content: "•";
  padding-right: 0.1rem;
}

.ps-list-inline-separated .list-inline-item:not(:last-child) {
  margin-right: 0.1rem;
}

/************************************
IMAGE THUMBNAIL
************************************/
.img-thumbnail {
  padding: 0;
}

/************************************
SWIPER
************************************/
/* Swiper slideshow */
.swiper-slideshow {
  position: relative;
  overflow: hidden;
}

  .swiper-slideshow .swiper-slide {
    box-shadow: 0 .125rem .25rem rgba(var(--bs-body-color-rgb),.075);
    border-radius: var(--bs-border-radius);
    height: auto !important;
  }

    .swiper-slideshow .swiper-slide img {
      display: block;
      width: 100%;
      object-fit: cover;
      border-radius: var(--bs-border-radius);
    }

  .swiper-slideshow .umb-container {
    column-gap: 0;
  }

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: rgba(var(--bs-primary-rgb),1);
}

.swiper-pagination-bullet-active {
  --swiper-pagination-color: rgba(var(--bs-primary-rgb),1);
}

/* Swiper thumbnails */
.swiper-thumbs {
  background: var(--bs-light);
}
  .swiper-thumbs .swiper-wrapper {
    justify-content: center;
  }
  .swiper-thumbs .swiper-slide {
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-radius: var(--bs-border-radius);
  }
  .swiper-thumbs .swiper-slide-thumb-active {
    border-color: var(--bs-primary);
  }
  .swiper-thumbs .swiper-slide * {
    border-radius: var(--bs-border-radius);
  }

/* Swiper articles */
.swiper-articles-container {
  --swiper-navigation-size: 15px;
  --swiper-navigation-sides-offset: -15px;
  position: relative;
}

@media(max-width:768px) {
  .swiper-articles-container {
    --swiper-navigation-top-offset: 20%;
    --swiper-navigation-sides-offset: -10px;
  }
}

.swiper-articles {
  overflow: hidden;
}

  .swiper-articles .swiper-wrapper {
    position: relative;
  }

  .swiper-articles .swiper-slide {
    height: auto;
  }

.swiper-articles-container .swiper-button-next,
.swiper-articles-container .swiper-button-prev {
  background-color: #000;
  border-radius: 100%;
  --swiper-navigation-color: #fff;
  width: calc(var(--swiper-navigation-size) * 2);
  height: calc(var(--swiper-navigation-size) * 2);
}



  .swiper-articles-container .swiper-button-next:hover,
  .swiper-articles-container .swiper-button-prev:hover {
    background-color: rgba(var(--bs-primary-rgb),1);
  }
