/************************************
VARIABLES
************************************/
:root {
  /* Bootstrap variables */
  --bs-body-font-family: 'Roboto', sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-link-color: var(--psc-color-primary);
  --bs-link-hover-color: var(--psc-color-primary-alt);
  --bs-border-color-translucent: rgba(220,224,229,0.6);
  /* Custom variables */
  --psc-border-width: 1px;
  --psc-body-font-weight-bold: 700;
  --psc-font-weight-title: 700;
  --psc-font-family-title: 'Roboto', sans-serif;
  --psc-font-size-lead: 1.25rem;
  --psc-font-size-h1: 2.2em;
  --psc-font-size-h2: 2rem;
  --psc-font-size-h3: 1.75rem;
  --psc-font-size-h4: 1.5rem;
  --psc-font-size-h5: 1.25rem;
  --psc-font-size-h6: 1rem;
  --psc-section-gutter-x: 0;
  --psc-section-gutter-y: 1.5rem;
  --psc-column-gutter-x: 1.5rem;
  --psc-column-gutter-y: 1.5rem;
  --psc-nav-link-color: #6e6e6e;
  --psc-nav-link-hover-color: var(--psc-navbar-bg);
  --psc-nav-link-hover-bg: #fff;
  --psc-nav-link-active-color: var(--psc-navbar-bg);
  --psc-nav-link-active-bg: #fff;
  --psc-nav-link-font-size: .9rem;
  --psc-nav-link-font-weight: 700;
}

/************************************
MISC
************************************/
iframe {
  max-width: 100%;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/************************************
TYPOGRAPHY
************************************/
* p:last-child,
* ul:last-child,
* ol:last-child {
  margin-bottom: 0;
}

b,
bold,
strong {
  font-weight: var(--psc-body-font-weight-bold);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--psc-font-family-title, --bs-body-font-family);
  font-weight: var(--psc-font-weight-title);
  margin-bottom: 0;
}

  h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *, .h1 + *, .h2 + *, .h3 + *, .h4 + *, .h5 + *, .h6 + * {
    margin-top: 1rem;
  }

* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
  margin-top: 2rem;
}

.lead {
  font-weight: var(--psc-font-weight-title)
}

@media (min-width: 768px) {
  h1, .h1 {
    font-size: var(--psc-font-size-h1);
  }

  h2, .h2 {
    font-size: var(--psc-font-size-h2);
  }

  h3, .h3 {
    font-size: var(--psc-font-size-h3);
  }

  h4, .h4 {
    font-size: var(--psc-font-size-h4);
  }

  h5, .h5 {
    font-size: var(--psc-font-size-h5);
  }

  h6, .h6 {
    font-size: var(--psc-font-size-h6);
  }

  .lead {
    font-size: var(--psc-font-size-lead);
  }

  small {
    font-size: 80%;
  }
}

/************************************
NAVBAR
************************************/
.navbar {
  --bs-navbar-padding-y: 1rem;
  --bs-navbar-nav-link-padding-x: 0.60rem;
  --bs-navbar-toggler-padding-y: 0.50rem;
  --bs-navbar-toggler-padding-x: 1rem;
  --bs-navbar-toggler-font-size: 1rem;
  --bs-navbar-toggler-border-radius: var(--bs-border-radius);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  background-color: var(--psc-navbar-bg);
}


  .navbar .navbar-nav {
    flex-wrap: wrap;
  }

  /* Nav item */
  .navbar .nav-item {
    --bs-nav-link-font-weight: var(--psc-nav-link-font-weight);
  }

  .navbar .nav-link {
    text-transform: uppercase;
    --bs-nav-link-font-size: var(--psc-nav-link-font-size);
  }

/* Dropdown */
.dropdown:hover > .dropdown-menu {
  display: block;
  -webkit-animation: slide-up .25s ease-in-out;
  animation: slide-up .25s ease-in-out;
}

.dropdown-menu {
  --bs-dropdown-min-width: 13rem;
  --bs-dropdown-padding-y: 0;
  --bs-dropdown-font-size: var(--psc-nav-link-font-size);
  --bs-dropdown-item-padding-y: .55rem;
  --bs-dropdown-box-shadow: 0 0.125rem 0.125rem -0.125rem rgba(0,0,0,0.08),0 0.25rem 0.75rem rgba(0,0,0,0.08);
  --bs-dropdown-border-radius: var(--bs-border-radius);
  --bs-dropdown-link-active-bg: var(--psc-navbar-bg);
  --bs-dropdown-bg: #fff !important;
}

.dropdown-toggle::after {
  font-family: "Font Awesome 5";
  content: "\f107";
  font-size: .8em;
  margin-top: 0;
  margin-left: 0.375rem;
  vertical-align: middle;
  border: 0;
}

/* Nav button */
.navbar .btn {
  --bs-btn-font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.navbar-toggler {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
}

/************************************
BUTTON
************************************/
.btn {
  --bs-btn-font-size: var(--bs-body-font-size);
  --bs-btn-font-weight: var(--bs-body-font-weight);
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-border-width: var(--psc-border-width);
  --bs-btn-padding-x: 1.25rem;
}

.btn-primary {
  --bs-btn-color: var(--psc-color-primary-text);
  --bs-btn-bg: var(--psc-color-primary);
  --bs-btn-border-color: var(--psc-color-primary);
  --bs-btn-hover-color: var(--psc-color-primary-text);
  --bs-btn-hover-bg: var(--psc-color-primary-alt);
  --bs-btn-hover-border-color: var(--psc-color-primary-alt);
  --bs-btn-focus-shadow-rgb: var(--psc-color-primary);
  --bs-btn-active-color: var(--psc-color-primary-text);
  --bs-btn-active-bg: var(--psc-color-primary);
  --bs-btn-active-border-color: var(--psc-color-primary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--psc-color-primary-text);
  --bs-btn-disabled-bg: var(--psc-color-primary-alt);
  --bs-btn-disabled-border-color: var(--psc-color-primary-alt);
}

/************************************
CARD
************************************/
.card {
  --bs-card-title-spacer-y: 1rem;
  --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: var(--psc-border-width);
  --bs-card-border-radius: var(--bs-border-radius);
  --bs-card-inner-border-radius: calc(var(--bs-card-border-radius) - var(--bs-card-border-width));
  --bs-card-box-shadow: 0 1rem 1.75rem 0 rgb(45 55 75 / 10%);
  --bs-card-box-shadow-hover: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  --bs-card-cap-bg: var(--bs-card-bg);
  box-shadow: var(--bs-card-box-shadow);
}

  .card.card-click:hover {
    box-shadow: var(--bs-card-box-shadow-hover);
  }

  .card .card-title {
    font-size: var(--psc-font-size-h5);
    font-weight: var(--psc-font-weight-title);
  }

  .card.card-click .card-title {
    text-decoration: none;
    color: var(--bs-body-color)
  }

  .card.card-click:hover .card-title {
    color: var(--bs-link-hover-color)
  }

/************************************
LIST GROUP
************************************/
.list-group {
}

.list-group-item-title {
  font-size: var(--psc-font-size-h6);
  font-weight: var(--psc-font-weight-title);
  text-decoration: none;
  color: var(--bs-body-color)
}

.list-group-item-action:hover .list-group-item-title {
  color: var(--bs-link-hover-color)
}


/************************************
MISC BOOTSTRAP
************************************/
.alert {
  --bs-alert-border-radius: var(--bs-border-radius);
}
/************************************
CONTAINERS AND ROWS
************************************/
@media (min-width:992px) {
  .container-sm {
    max-width: 992px;
  }
}

.container .container,
.container .container-sm {
  padding-right: 0;
  padding-left: 0;
}

.row {
  --bs-gutter-x: var(--psc-column-gutter-x);
  --bs-gutter-y: var(--psc-column-gutter-y);
}

/************************************
CUSTOM BOOTSTRAP
************************************/

/* Negative-margins */
.mt-n1 {
  margin-top: -0.25rem !important;
}

.mt-n5 {
  margin-top: -3rem !important;
}


/************************************
CUSTOM STYLES
************************************/

/* Sections */
.umb-section + .umb-section,
.umb-module + .umb-module {
  margin-top: var(--psc-column-gutter-y);
}

/* Negative-margins */
.mt-n1 {
  margin-top: -0.25rem !important;
}

.mt-n5 {
  margin-top: -3rem !important;
}

/* footer */
footer {
  text-align: center;
}

  footer,
  footer a {
    color: #757575
  }

    footer a:hover {
      color: var(--bs-link-hover-color);
    }

/* Sidebar */
.sidebar-banner {
  border-top-left-radius: var(--bs-border-radius);
  border-top-right-radius: var(--bs-border-radius);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 130px;
}

.sidebar-logo {
  max-width: 130px;
}

/* Social colors */
.color-facebook {
  color: #3b5999;
}

.color-instagram {
  color: #833AB4;
}

.color-twitter {
  color: #55acee;
}

.color-youtube {
  color: #ff0000;
}

/* Events */
._event-item .card-body {
  display: flex;
  flex-direction: row;
}

._event-calendar {
  width: 110px;
  display: flex;
  overflow: hidden;
  flex-shrink: 0;
  flex-direction: row;
  position: relative;
  margin-right: 1rem;
  background: #f1f1f1;
  border-radius: var(--bs-border-radius);
  text-align: center;
}

  ._event-calendar ._date-single,
  ._event-calendar ._date-from,
  ._event-calendar ._date-to {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-items: center;
    text-align: center;
  }

  ._event-calendar ._date-from,
  ._event-calendar ._date-to {
    width: 50%;
  }

  ._event-calendar ._date-arrow {
    font-size: 1.5rem;
    opacity: .6;
    align-self: center;
    justify-self: center;
    position: absolute;
    left: 50%;
    margin-left: -4px;
    margin-top: .5rem;
  }

  ._event-calendar ._date-month {
    color: #fff;
    background-color: var(--psc-color-primary);
    font-size: .7rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
  }

  ._event-calendar ._date-day {
    font-size: 1rem;
    font-weight: var(--psc-body-font-weight-bold);
  }

  ._event-calendar ._date-year {
    font-size: .76rem;
    opacity: .6;
    margin-bottom: .5rem;
  }

/************************************
FORMS
************************************/

.form-label {
  font-weight: 500;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group,
.form-control,
.form-select,
.ng-select .ng-select-container,
.invalid-feedback {
  border-radius: var(--bs-border-radius) !important;
}

/************************************
ANIMATION - KEYFRAMES
************************************/
@-webkit-keyframes slide-up {
  from {
    transform: translateY(0.5rem);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@keyframes slide-up {
  from {
    transform: translateY(0.5rem);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}
