:root {
    --mk-slider-min-height: 55vh;
    --mk-pretop-height: 48px;
    --mk-nav-height: 70px;
    --mk-nav-btn-width: 100px;
}
/*===============
    #Custom css
  ================*/
section {
  padding: 35px 0;
}

/*===============
    #Navigation
  ================*/
.navbar {
  height: var(--mk-nav-height);
}
.navbar.pre-top {
  height: var(--mk-pretop-height);
}
.navbar.fixed-top {
  top: var(--mk-pretop-height);
}
.scroll .navbar.fixed-top, .scroll .navbar-toggler {
  top: 0!important;
}
#offcanvasNavbar {
  top: calc(var(--mk-pretop-height) + var(--mk-nav-height));
}
.scroll #offcanvasNavbar {
  top: var(--mk-nav-height);
}
nav .offcanvas-backdrop.show {
  display: none;
}
nav > .container-fluid {
  height: 100%;
}
.nav-buttons {
  height: 100%;
  display: flex;
  flex-grow: 1;
}
.navbar-brand img {
    max-height: var(--mk-pretop-height);
    width:auto;
}
@media only screen and (max-width: 992px) {
  .nav-buttons {
    justify-content: flex-end;
  }
  .nav-buttons > button {
    width: 20%;
  }
}
@media only screen and (max-width: 778px) {
    .nav-buttons button {
        width: 100%;
    }
    #top-search-1 {
        border-top-left-radius:0!important;
        border-bottom-left-radius:0!important;
    }
}
@media only screen and (min-width: 769px) {
    .pt-md {
        padding-top: calc(var(--mk-nav-height));
    }
}
@media only screen and (max-width: 768px) {
    .pt-md {
        padding-top: calc(var(--mk-nav-height) * 2);
    }
}
.navbar-toggler {
    top: var(--mk-pretop-height);
    height: var(--mk-nav-height);
    right: 0;
}
.navbar-toggler:focus-visible {
  outline: auto;
}
.navbar-toggler .span-alternate {
  display: none!important;
}
.navbar-toggler .span-alternate.show {
  display: flex!important;
  align-items: center;
}
.navbar-toggler span small {
  font-size: 0.875rem !important;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-nav.text-white .nav-link {
  color: inherit;
  display: flex;
  justify-content: space-between;
}
.nav-item {
  border-bottom: 1px solid rgba(225, 225, 225, 0.2);
}
.nav-item:last-child {
  border-bottom: none;
}
.nav-item:hover .nav-link {
  opacity: 0.6;
}
.nav-link.active {
  font-weight: bolder;
}
.nav-buttons input:not([type="radio"]) {
    width: calc(100% - 200px);
}
.nav-buttons button {
    width: var(--mk-nav-btn-width);
    z-index: 20!important;
    border-radius: 0!important;
}
.pre-top .navbar-nav {
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.pre-top .nav-item .nav-link {
  color: var(--mk-blue);
}
.input-nav.input-group .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  height: 100%;
  border-radius: 0!important;
  top: 0;
}
@media only screen and (max-width: 768px) {
    .nav-buttons form .input-group {
        width: 100%;
        right: 0;
        top: calc(var(--mk-pretop-height) + var(--mk-nav-height));
        height: var(--mk-nav-height);
    }

    .scroll .nav-buttons form .input-group {
        top: var(--mk-nav-height);
    }
}

@media only screen and (min-width: 769px) {
    .nav-buttons form .input-group {
        height: var(--mk-nav-height);
        width: calc(100% - 400px);
        right: var(--mk-nav-btn-width);
    }
}

/*===============
    #Hero
  ================*/
section.hero-section {
  padding: var(--mk-nav-height) 0 35px 0;
}
.p-4-2 {
  padding: 2rem;
}
section.hero-section .bg-image {
  min-height: calc(100vh - 140px);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}
section.hero-section .input-group {
  justify-content: center;
}
section.hero-section #search-autocomplete {
  display: flex;
  align-items: center;
  width: 310px;
  position: relative;
}
section.hero-section #search-autocomplete .autoComplete_wrapper {
  width: 100%;
}
section.hero-section #search-autocomplete #autoComplete {
  height: 55px;
  border-radius: 30px;
  padding-left: 1.76rem;
  z-index: 3;
  position: relative;
  border-color: transparent;
}
section.hero-section #search-autocomplete .autoComplete_wrapper #autoComplete {
  height: 55px;
  border-radius: 30px;
  padding-left: 1.76rem;
  z-index: 3;
  position: relative;
  border-color: transparent;
}
section.hero-section #search-autocomplete  #autoComplete:focus {
  border-color: transparent;
  box-shadow: none;
}
section.hero-section #search-autocomplete .autoComplete_wrapper #autoComplete:focus {
  border-color: transparent;
  box-shadow: none;
}
section.hero-section .input-group #search-autocomplete .btn {
  position: absolute;
  right: 9px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 8px;
  z-index: 4;
}
section.hero-section .input-group #search-autocomplete .btn i {
  color: #ffffff;
}
section.hero-section .input-group #autoComplete_list_1 {
  display: flex;
  background: white;
  color: black;
  list-style: none;
  flex-flow: column;
  align-items: flex-start;
  padding: 3.5rem 1rem 1rem;
  top: 0;
  position: absolute;
  width: 310px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 30px;
  z-index: 2;
}
section.hero-section .input-group #autoComplete_list_1 li {
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: left;
}
section.hero-section .input-group #autoComplete_list_1 li:first-child {
  border-top: 1px solid black;
}
section.hero-section .input-group #autoComplete_list_1 a {
  text-decoration: none;
  color: black;
}
section.hero-section h1 {
    text-shadow: .125rem .125rem 0.125rem #555;
}
.hero-btn-group .btn-altwhite::after, .hero-btn-group .btn::after {
  content: "";
  height: 5px;
  width: 100%;
  display: block;
}
.hero-btn-group .btn:hover {
    color: #000;
}
.hero-btn-group {
  flex-wrap: wrap;
}
.btn-altwhite:hover::after, .hero-btn-group .btn:hover::after {
  border-bottom: 5px solid #003b5c;
}
.slider-hero__text-container a {
    color: var(--bs-white);
}
@media only screen and (max-width: 992px) {
    .hero-btn-group .btn {
    width: 100%;
    display: block;
    border-bottom: 1px solid #000000;
  }
  .btn-altwhite::after{
    content: none;
  }
  .btn-altwhite:hover::after {
    border-bottom: none;
  }
  .hero-btn-group .btn:last-child {
    border-bottom: none;
  }
  .btn-altwhite:hover::after, .hero-btn-group .btn:hover::after {
    border-bottom: none;
  }
}

/*===============
    #Card
  ================*/
.events-heading, .news-heading {
  border-bottom: 4px solid #99617E;
}
.news-card span.h6 {
  display: block;
  padding-bottom: 10px;
  color: #003b5c;
}
.news-card .card a {
  text-decoration: none;
}
.news-card .card .card-title:hover {
    text-decoration: underline;
}
.category-cards .card .card-body {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}
.card .card-img-top {
  height: 200px;
  object-fit: cover;
}
.card a:hover,
.card li:hover a {
  opacity: 0.7;
}
.card ul li.fs-5 a,
.card a.card-link {
  position: relative;
}
.card ul li.fs-5 a span,
.card a.card-link span {
  position: relative;
}
.card ul li.fs-5 a i {
  margin-left: 5px;
  transform: translateX(0px);
  position: absolute;
  bottom: 7%;
}
.card ul li.fs-5 a:hover i,
.card a.card-link:hover i,
.news-card a.linkReadmore:hover i {
  transform: translateX(10px);
  transition: transform 0.2s ease-in-out;
}
.card-link {
    text-decoration: none;
}
.card-text p {
    color: #000;
}
.card-text a:hover {
    text-decoration: underline;
}
.card a.card-link i {
  margin-left: 5px;
  transform: translateX(0px);
  position: absolute;
  top: 20%;
}
.btn-outline-altsecondary {
  border-width: 2px;
}
.news-card .btn-outline-altsecondary i {
  -webkit-text-stroke: 1px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: currentcolor;
  font-size: 14px;
}
.news-card .linkReadmore {
    bottom: 1rem;
    position: absolute;
    display: content;
}

/*===============
    #Slider
  ================*/
.slider-hero .bg-image {
  min-height: var(--mk-slider-min-height);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slider-hero .slider-min-h {
  min-height: var(--mk-slider-min-height);
}
.slider-hero__text-container {
  width: 100%;
  height: 100%;
  min-height: var(--mk-slider-min-height);
}
.slider-hero img {
  position: absolute;
  left: 0;
  z-index: -1;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media only screen and (max-width: 992px) {
    .slider-hero img {
      position: relative;
      height: 250px;
    }
    .slider-hero .bg-image, .slider-hero .slider-min-h, .slider-hero__text-container{
      min-height: auto;
    }
}
.carousel-control-prev,
.carousel-control-next {
  width: 2.5rem;
  opacity: 1;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
  position: relative;
}
.carousel-control-next-icon::before,
.carousel-control-prev-icon::before {
  content: "";
  height: 2.5rem;
  width: 2.5rem;
  display: block;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  top: -0.25rem;
  z-index: -1;
}
.carousel-control-next-icon::before {
  left: -0.3rem;
}
.carousel-control-prev-icon::before {
  left: -0.15rem;
}
.carousel-control-prev:hover .carousel-control-prev-icon::before,
.carousel-control-next:hover .carousel-control-next-icon::before {
  background-color: white;
}
.carousel-control-next:hover .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control-prev:hover .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 24px;
  background-color: transparent;
  border: 2px solid white;
  opacity: 1;
  border-radius: 50%;
}
.carousel-indicators .active {
  background-color: white;
}

/*===============
    #Calendar
  ================*/
.calendar {
  margin-top: 1rem;
}
.calendar a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 20px;
  color: inherit;
}

.calendar__date-box {
  display: block;
  background: var(--mk-viola-dark);
  padding: 1rem 1rem 1.5rem;
  border-radius: 0 0 40px 40px;
  font-size: 1.25rem;
  color: white;
  min-width: 80px;
  max-width: 80px;
  min-height: 84px;
}
.calendar__date-box span {
  display: block;
  text-align: center;
}
.calendar__date-box span {
  line-height: 1;
}
.calendar .list-group-item {
  padding: 1rem;
}
.calendar__date {
  margin-right: 5px;
}
.calendar__date i,
.calendar__place i {
  -webkit-text-stroke: 1px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: currentcolor;
  margin-right: 5px;
}
.list-group-flush.calendar > .list-group-item:last-child {
  border-bottom-width: 1px;
}

/*===============
    #Footer
  ================*/
footer {
  display: block;
  width: 100%;
  min-height: 500px;
  height: fit-content;
  background-color: var(--mk-blue-dark);
}
footer .bg-image {
  height: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
}
footer .footer-inner {
  height: 100%;
  padding: 70px 0;
}
footer .footer-inner a {
    color: #fff;
}
footer .list-group li {
  border: none;
  background: transparent;
  padding: 0.4rem 0;
  font-size: 1.2rem;
}
footer a:hover {
  opacity: 0.8;
}
footer .list-group li i.fa-arrow-circle-o-right{
  font-size: 24px;
  margin-right: 15px;
}
footer .footer-text-block p {
  font-size: 1.2rem;
}
footer .list-group li i.fa-external-link {
  margin-left: 15px;
}
footer .footer-logo img {
    max-width: 180px;
}

@media only screen and (min-width: 769px) {
    #breadcrumb {
        padding-top: var(--mk-nav-height);
    }
}
@media only screen and (max-width: 768px) {
  #breadcrumb {
      padding-top: calc(var(--mk-nav-height) * 2);
  }
}
